diff --git a/pages/index/index.vue b/pages/index/index.vue index 8cb6532..3c219e1 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -112,7 +112,7 @@ - + @@ -120,7 +120,7 @@ 《服务协议》 - 45元/张 + 下一步 @@ -184,6 +184,11 @@ } }, async onLoad(query){ + //如果看过协议,默认协议勾选住 + if(uni.getStorageSync('AgreementChecked')){ + this.isConsentAgreement = true + } + this.getSysInfo(); if(query && query.q){ @@ -211,6 +216,9 @@ } }, methods: { + onAgreementCheck(e){ + this.isConsentAgreement = !this.isConsentAgreement + }, tipsDetail(index){ console.log("tipsDetail",index) console.log("tipsDetail id",this.tipsDatas[index].id) diff --git a/pages/write/baseInfo.vue b/pages/write/baseInfo.vue index 9787c23..625262f 100644 --- a/pages/write/baseInfo.vue +++ b/pages/write/baseInfo.vue @@ -103,7 +103,7 @@ - + {{columnsData[columnsIndex].desc}} @@ -175,6 +175,7 @@ // }, // }, onLoad(options){ + uni.setStorageSync('AgreementChecked',1); this.rateIndex = options.rate_index || 0; let d = uni.getStorageSync('qxk_sysinfo') if(d){