yujialong 1 year ago
parent 045748284c
commit b1b7840730
  1. 4
      config/request.js
  2. 6
      order/orderDetail/orderDetail.vue
  3. 4
      team/qrcode/qrcode.vue
  4. 2
      team/setting/setting.vue

@ -5,9 +5,9 @@
*/ */
export default { export default {
// baseURL: 'https://huorantech.cn/', baseURL: 'https://huorantech.cn/',
// baseURL: 'http://192.168.31.151:9000/', // baseURL: 'http://192.168.31.151:9000/',
baseURL: 'http://121.37.12.51/', // baseURL: 'http://121.37.12.51/',
headers: { headers: {
'Content-Type': 'application/json;charset=UTF-8' 'Content-Type': 'application/json;charset=UTF-8'
}, },

@ -1101,6 +1101,12 @@
font-size: 32rpx; font-size: 32rpx;
color: #007EFF; color: #007EFF;
} }
.period {
flex: none;
width: 100rpx;
font-size: 28rpx;
text-align: center;
}
} }
.bottom { .bottom {
z-index: 2; z-index: 2;

@ -59,8 +59,8 @@
generateInvitationCode(accountId).then(({ expireTime }) => { generateInvitationCode(accountId).then(({ expireTime }) => {
const date = new Date(Date.now() + expireTime * 1000) // *1000 const date = new Date(Date.now() + expireTime * 1000) // *1000
this.expireTime = `${date.getFullYear()}-${this.$util.preZero(date.getMonth() + 1)}-${this.$util.preZero(date.getDate())} ${this.$util.preZero(date.getHours())}:${this.$util.preZero(date.getMinutes())}:${this.$util.preZero(date.getMinutes())}` this.expireTime = `${date.getFullYear()}-${this.$util.preZero(date.getMonth() + 1)}-${this.$util.preZero(date.getDate())} ${this.$util.preZero(date.getHours())}:${this.$util.preZero(date.getMinutes())}:${this.$util.preZero(date.getMinutes())}`
// this.link = `https://huorantech.cn/#/join?accountId=${accountId}&id=${this.id}&isTeam=1` this.link = `https://huorantech.cn/#/join?accountId=${accountId}&id=${this.id}&isTeam=1`
this.link = `http://121.37.12.51/backstage/#/join?accountId=${accountId}&id=${this.id}&isTeam=1` // this.link = `http://121.37.12.51/backstage/#/join?accountId=${accountId}&id=${this.id}&isTeam=1`
}).catch(e => {}) }).catch(e => {})
}, },
// imageimage // imageimage

@ -65,7 +65,7 @@
success(res) { success(res) {
if (res.confirm) { if (res.confirm) {
uni.clearStorageSync() uni.clearStorageSync()
that.$util.to('../login/login') that.$util.to('/pages/login/login')
} }
} }
}) })

Loading…
Cancel
Save