diff --git a/components/Authorize.vue b/components/Authorize.vue index b2285fd..d14bf87 100644 --- a/components/Authorize.vue +++ b/components/Authorize.vue @@ -2,9 +2,9 @@ - + 授权提醒 {{title}} @@ -25,6 +25,10 @@ {{info}} + + + 我已同意《用户协议》《隐私政策》 + 随便逛逛 @@ -96,6 +100,7 @@ }, data() { return { + isAgree: false, title: '用户登录', info: '请登录,将为您提供更好的服务!', //#ifdef H5 @@ -134,6 +139,16 @@ this.getCode(this.isShowAuth) }, methods: { + userAgree(){ + uni.navigateTo({ + url: '/pages/users/user_about/index?from=sys_user_agree' + }) + }, + userPrivacyAgree(){ + uni.navigateTo({ + url: '/pages/users/user_about/index?from=sys_userr_privacy' + }) + }, // #ifdef MP editSuccess() { this.editModal = false @@ -184,7 +199,13 @@ toLogin(true); }, getUserProfile() { + let self = this; + if (!self.isAgree){ + return self.$util.Tips({ + title: '请勾选用户协议与隐私政策' + }); + } Routine.getUserProfile() .then(res => { let userInfo = res.userInfo; @@ -255,11 +276,11 @@ flex: 1; align-items: center; justify-content: center; - width: 500rpx; + width: 80%; background-color: #fff; position: fixed; top: 500rpx; - left: 125rpx; + left: 10%; z-index: 1000; } .Popup { @@ -304,7 +325,7 @@ justify-content: center; } .Popup .bottom .item { - width: 250rpx; + width: 50%; height: 80rpx; background-color: #eeeeee; text-align: center; diff --git a/pages/columnGoods/goods_search_con/index.vue b/pages/columnGoods/goods_search_con/index.vue index 64a3222..e958ccd 100644 --- a/pages/columnGoods/goods_search_con/index.vue +++ b/pages/columnGoods/goods_search_con/index.vue @@ -1340,7 +1340,8 @@ position: fixed; left: 0; // top: 238rpx; - top: 434rpx; + top: 27%; + // top: 434rpx; width: 100%; padding: 0 40rpx 28rpx 74rpx; background-color: #F8F8F8; diff --git a/pages/order_details/index.vue b/pages/order_details/index.vue index 8e948af..23d01c3 100644 --- a/pages/order_details/index.vue +++ b/pages/order_details/index.vue @@ -90,7 +90,7 @@ {{orderInfo.take.mer_take_address}} - + {{orderInfo.merchant.mer_name}} diff --git a/pages/shop/shop.vue b/pages/shop/shop.vue index ef713f6..99571d3 100644 --- a/pages/shop/shop.vue +++ b/pages/shop/shop.vue @@ -197,9 +197,10 @@ activeIndex: 0, }; }, - onLoad: function(options) { + onLoad(options) { console.log(this.basePicPath) this.getStoreType(); + this.searchSubmit() }, onReady() { diff --git a/pages/shop/shop1.vue b/pages/shop/shop1.vue index 4ffc3c8..2a66bf1 100644 --- a/pages/shop/shop1.vue +++ b/pages/shop/shop1.vue @@ -200,6 +200,7 @@ onLoad: function(options) { this.getStoreType(); + this.searchSubmit() }, onReady() {