diff --git a/template/uni-app/components/recommend/index.vue b/template/uni-app/components/recommend/index.vue index 37acd10b8..228f15a33 100644 --- a/template/uni-app/components/recommend/index.vue +++ b/template/uni-app/components/recommend/index.vue @@ -19,6 +19,14 @@ {{item.store_name}} {{$t(`¥`)}}{{item.price}} + + {{$t(`¥`)}}{{item.vip_price}} + + + + {{$t(`¥`)}}{{item.vip_price}} + + @@ -93,7 +101,7 @@ margin-bottom: 30rpx; border-radius: 20rpx 20rpx 0 0; box-shadow: 0rpx 3rpx 10rpx 2rpx rgba(0, 0, 0, 0.03); - ; + padding-bottom: 10rpx; } .recommend .recommendList .item .pictrue { @@ -126,7 +134,22 @@ .recommend .recommendList .item .money { font-size: 20rpx; margin-top: 8rpx; - padding: 0 10rpx 10rpx 10rpx; + padding: 0 10rpx 0rpx 10rpx; + } + + .recommend .vip-money { + font-size: 24rpx; + color: #282828; + font-weight: bold; + display: flex; + align-items: center; + padding: 0rpx 0 0 10rpx; + + image { + width: 46rpx; + height: 21rpx; + margin-left: 4rpx; + } } .recommend .recommendList .item .money .num { diff --git a/template/uni-app/pages/annex/vip_paid/index.vue b/template/uni-app/pages/annex/vip_paid/index.vue index c5cb183d6..9ba564416 100644 --- a/template/uni-app/pages/annex/vip_paid/index.vue +++ b/template/uni-app/pages/annex/vip_paid/index.vue @@ -4,7 +4,7 @@ - {{userInfo.nickname}} + {{userInfo.nickname}} {{$t(`永久SVIP会员`)}} {{$t(`SVIP会员`)}} {{userInfo.overdue_time | dateFormat}} {{$t(`到期`)}} @@ -816,7 +816,8 @@ font-weight: bold; font-size: 30rpx; line-height: 42rpx; - color: #333333; + color: #333333; + max-width: 360rpx; } .info { diff --git a/template/uni-app/pages/goods/goods_comment_con/components/lotteryAleart.vue b/template/uni-app/pages/goods/goods_comment_con/components/lotteryAleart.vue index c60da2688..2ceed23a1 100644 --- a/template/uni-app/pages/goods/goods_comment_con/components/lotteryAleart.vue +++ b/template/uni-app/pages/goods/goods_comment_con/components/lotteryAleart.vue @@ -1,123 +1,123 @@ - - - - - diff --git a/template/uni-app/pages/goods/goods_comment_con/lottery_comment.vue b/template/uni-app/pages/goods/goods_comment_con/lottery_comment.vue index 0f4dcbef2..2033b89b5 100644 --- a/template/uni-app/pages/goods/goods_comment_con/lottery_comment.vue +++ b/template/uni-app/pages/goods/goods_comment_con/lottery_comment.vue @@ -163,7 +163,6 @@ this.$set(this, 'couponsHidden', !this.couponsHidden); }, getWiningIndex(callback) { - this.aleartType = 0 startLottery({ id: this.id }).then(res => { @@ -174,6 +173,7 @@ callback(this.lottery_draw_param); } }) + this.aleartType = 0 }).catch(err => { this.$util.Tips({ title: err diff --git a/template/uni-app/pages/goods/order_list/index.vue b/template/uni-app/pages/goods/order_list/index.vue index 00fee6727..7ce298216 100644 --- a/template/uni-app/pages/goods/order_list/index.vue +++ b/template/uni-app/pages/goods/order_list/index.vue @@ -225,38 +225,39 @@ isShowAuth: false //是否隐藏授权 }; }, - computed: mapGetters(['isLogin']), - onLoad() { - console.log('1') - if (this.isLogin) { - this.page = 1; - this.orderList = [] - this.loadend = false; - this.pay_close = false; - this.onLoadFun(); - this.getOrderList(); - } else { - toLogin(); - } - }, - onShow() { - console.log('2') - let options = wx.getEnterOptionsSync(); - if (options.scene == '1038' && options.referrerInfo.appId == 'wxef277996acc166c3' && this.initIn) { - // 代表从收银台小程序返回 - let extraData = options.referrerInfo.extraData; - this.initIn = false - if (!extraData) { - this.getOrderList(); - // "当前通过物理按键返回,未接收到返参,建议自行查询交易结果"; - } else { - if (extraData.code == 'success') { - this.getOrderList(); - } else if (extraData.code == 'cancel') {} else { - // "支付失败:" + extraData.errmsg; - } - } - } + computed: mapGetters(['isLogin']), + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function(options) { + if (options.status) this.orderStatus = options.status; + console.log('1') + if (this.isLogin) { + this.page = 1; + this.orderList = [] + this.loadend = false; + this.pay_close = false; + this.onLoadFun(); + this.getOrderList(); + } else { + toLogin(); + } + let EnOptions = wx.getEnterOptionsSync(); + if (EnOptions.scene == '1038' && EnOptions.referrerInfo.appId == 'wxef277996acc166c3' && this.initIn) { + // 代表从收银台小程序返回 + let extraData = EnOptions.referrerInfo.extraData; + this.initIn = false + if (!extraData) { + this.getOrderList(); + // "当前通过物理按键返回,未接收到返参,建议自行查询交易结果"; + } else { + if (extraData.code == 'success') { + this.getOrderList(); + } else if (extraData.code == 'cancel') {} else { + // "支付失败:" + extraData.errmsg; + } + } + } }, methods: { onLoadFun() { @@ -295,12 +296,7 @@ payClose: function() { this.pay_close = false; }, - /** - * 生命周期函数--监听页面加载 - */ - onLoad: function(options) { - if (options.status) this.orderStatus = options.status; - }, + /** * 获取订单统计数据 * diff --git a/template/uni-app/pages/users/user_info/index.vue b/template/uni-app/pages/users/user_info/index.vue index 904945898..cfd2380f4 100644 --- a/template/uni-app/pages/users/user_info/index.vue +++ b/template/uni-app/pages/users/user_info/index.vue @@ -43,7 +43,7 @@ {{$t(`昵称`)}} - diff --git a/template/uni-app/pages/users/user_invoice_form/index.vue b/template/uni-app/pages/users/user_invoice_form/index.vue index e6182208b..6c172f7bc 100644 --- a/template/uni-app/pages/users/user_invoice_form/index.vue +++ b/template/uni-app/pages/users/user_invoice_form/index.vue @@ -372,8 +372,8 @@ } } formData.is_default = formData.is_default.length; - formData.id = this.id; - + formData.id = this.id; + uni.showLoading({ title: that.$t(`保存中`) }); @@ -424,7 +424,14 @@ }, // 调起发票类型弹窗 callType() { - this.popupType = true; + if (this.header_type == 2) { + this.popupType = true; + } else { + uni.showToast({ + title: this.$t(`个人仅支持普通发票`), + icon: 'none' + }); + } }, // 选择发票类型 changeType(e) { diff --git a/template/uni-app/pages/users/user_sgin/index.vue b/template/uni-app/pages/users/user_sgin/index.vue index 4a5ce085b..f77c0c695 100644 --- a/template/uni-app/pages/users/user_sgin/index.vue +++ b/template/uni-app/pages/users/user_sgin/index.vue @@ -8,7 +8,7 @@ - {{userInfo.nickname}} + {{userInfo.nickname || ''}} {{$t(`积分`)}}: {{userInfo.integral || ''}} diff --git a/template/uni-app/pages/users/visit_list/index.vue b/template/uni-app/pages/users/visit_list/index.vue index 0dd7d4bd2..0f6359bec 100644 --- a/template/uni-app/pages/users/visit_list/index.vue +++ b/template/uni-app/pages/users/visit_list/index.vue @@ -465,7 +465,8 @@ color: #fff; font-size: 22rpx; border-radius: 50%; - padding: 22rpx 0; + // padding: 22rpx 0; + line-height: 110rpx; text-align: center; } }