diff --git a/components/productWindow/index.vue b/components/productWindow/index.vue index b5e2fb7..99e0dfa 100644 --- a/components/productWindow/index.vue +++ b/components/productWindow/index.vue @@ -47,7 +47,7 @@ {{item.name}} - 须知:租期内,你可随时买断商品,获得商品所有权:如未买断 + 须知:先享后付到期后将自动从您的账户上扣除款项 @@ -166,7 +166,7 @@ }, /** * 购物车手动输入数量 - * + * */ bindCode: function(e) { this.$emit('iptCartNum', this.attr.productSelect.cart_num); @@ -494,4 +494,4 @@ background-color: rgb(255, 87, 51); color: #fff !important; } - \ No newline at end of file + diff --git a/pages/users/order_confirm/index.vue b/pages/users/order_confirm/index.vue index 009835e..6220366 100644 --- a/pages/users/order_confirm/index.vue +++ b/pages/users/order_confirm/index.vue @@ -55,7 +55,7 @@ - + @@ -145,31 +145,31 @@ - + - 分期计划 - {{installmentobj.name}} + 先享后付 + + + + + + + + + + + + + + + + + + - 首付金额 - ¥{{downPaymentAmount}} - - - 还款周期(间隔) - {{fenqiobj.cycle}}天 - - - 还款期数 - {{fenqiobj.downPaymentNumber}} - - - 每期还款 - ¥{{fenqiobj.repaymentAmount}} - - - 合计付款 + 还款金额 ¥{{totalAmount}} @@ -220,7 +220,7 @@ - 我已阅读并同意《隐私协议》《租赁服务协议》《用户协议》《意外保障协议》 + 我已阅读并同意《隐私协议》《先享后付协议》《用户协议》 合计: @@ -401,7 +401,7 @@ installmentobj: {}, downPaymentAmount: 0, totalAmount: 0, - identification:{}, //获取是否存有身份信息 + identification:{}, //获取是否存有身份信息 zongmey:'' }; }, @@ -411,7 +411,7 @@ let markNum = 0; if (this.mark) { markNum = 150 - this.mark.length - return markNum + return markNum } }, }, @@ -428,7 +428,7 @@ onLoad(options) { // #ifdef H5 this.payChannel = this.$wechat.isWeixin() ? 'public' : 'weixinh5'; - // #endif + // #endif // #ifdef MP this.payChannel = 'routine'; // #endif @@ -453,7 +453,7 @@ // this.installmentid = JSON.parse(localStorage.getItem('installments')).id // this.fenqiname = JSON.parse(localStorage.getItem('installments')).name this.installmentobj = JSON.parse(this.$Cache.get('installments')) - + }, /** * 生命周期函数--监听页面显示 @@ -462,7 +462,7 @@ // console.log(this.$Cache.get('improvescode')) this.getidentityq() let _this = this - // wx.getLaunchOptionsSync + // wx.getLaunchOptionsSync this.textareaStatus = true; uni.$on("handClick", res => { @@ -477,6 +477,11 @@ }, methods: { + toArticle(id){ + uni.navigateTo({ + url: '/pages/news_details/index?id=' + id + }); + }, // 页面加载请求分期计划 getinstallmentpost: function() { let data = { @@ -498,8 +503,8 @@ // this.zongmey = this.orderInfoVo.payFee this.getinstallmentpost() }, - - + + // 跳转到分期计划 btnment() { uni.navigateTo({ @@ -524,8 +529,8 @@ this.zongmey = orderInfoVo.payFee // console.log(this.zongmey,11) this.getinstallmentpost() - - + + this.orderInfoVo = orderInfoVo; this.shopmey = this.orderInfoVo.proTotalFee //商品金额 if (orderInfoVo.addressId && this.addressChangeId === 0) { @@ -608,7 +613,7 @@ // console.log(this.orderInfoVo.payFee,11) this.zongmey = this.orderInfoVo.payFee this.getinstallmentpost() - + }).catch(err => { return this.$util.Tips({ title: err @@ -636,7 +641,7 @@ }, /** * 处理点击优惠券后的事件 - * + * */ ChangCoupons: function(e) { // this.usableCoupon = e @@ -680,7 +685,7 @@ }, /** * 获取当前金额可用优惠券 - * + * */ getCouponList: function() { getCouponsOrderPrice(this.preOrderNo).then(res => { @@ -1098,7 +1103,7 @@ this.checkeds = true } }, - + // 查询是否进行过身份保存 getidentityq:function(){ let data = { @@ -1111,7 +1116,7 @@ } }) }, - + // 立即申请 SubOrder(e) { let that = this, @@ -1133,7 +1138,7 @@ data = { realName: that.contacts, phone: that.contactsTel, - addressId: that.addressId, + addressId: that.addressId, couponId: that.couponId, payType: 'fenqi', useIntegral: that.useIntegral, @@ -1161,12 +1166,12 @@ // #ifndef MP that.payment(data); // #endif - + // 获取当前时间 let now = new Date(); - let year = now.getFullYear(); // 获取年份 - let month = now.getMonth() + 1; // 获取月份(注意,月份从0开始计数,所以需要加1) - let day = now.getDate(); // 获取日期 + let year = now.getFullYear(); // 获取年份 + let month = now.getMonth() + 1; // 获取月份(注意,月份从0开始计数,所以需要加1) + let day = now.getDate(); // 获取日期 let shi = now.toLocaleTimeString(); // 获取本地时间字符串 this.timeString = year + '-' + month + '-' + day + ' ' + shi this.shopobj.shopmey = this.orderInfoVo.payFee @@ -1705,4 +1710,4 @@ font-size: 40rpx; font-weight: 700; } - \ No newline at end of file + diff --git a/pages/users/pay_success/index.vue b/pages/users/pay_success/index.vue index e40b399..dc60b42 100644 --- a/pages/users/pay_success/index.vue +++ b/pages/users/pay_success/index.vue @@ -13,7 +13,7 @@ 下单时间 {{shopobj.date}} - 支付方式 分期支付 + 支付方式 先享后付 支付金额 {{shopobj.shopmey}} @@ -22,7 +22,7 @@ 查看订单 返回首页 - + @@ -46,17 +46,17 @@ this.ordermo = this.$Cache.get('ordernobh') this.logoflag = false // console.log(this.ordermo) - }, 3000); // 定时器时间设置为1秒 + }, 3000); // 定时器时间设置为1秒 }, onShow() { }, onUnload() { - // 页面卸载时清除定时器 + // 页面卸载时清除定时器 clearTimeout(this.timer); }, onBeforeUnload() { - // 页面跳转前清除定时器 + // 页面跳转前清除定时器 clearInterval(this.timer); }, created() { @@ -72,11 +72,11 @@ \ No newline at end of file +