liudan 6 months ago
parent a4427b6f1d
commit acca221cd9
  1. 31
      components/Authorize.vue
  2. 3
      pages/columnGoods/goods_search_con/index.vue
  3. 4
      pages/order_details/index.vue
  4. 3
      pages/shop/shop.vue
  5. 1
      pages/shop/shop1.vue

@ -2,9 +2,9 @@
<view> <view>
<view class='mask' v-if='isShowAuth && code' @click='close'></view> <view class='mask' v-if='isShowAuth && code' @click='close'></view>
<view class='Popup' v-if='isShowAuth && code' :style="'top:'+top+'px;'"> <view class='Popup' v-if='isShowAuth && code' :style="'top:'+top+'px;'">
<view class="logo-auth"> <!-- <view class="logo-auth">
<image class="image" :src='routine_logo' mode="aspectFit"></image> <image class="image" :src='routine_logo' mode="aspectFit"></image>
</view> </view> -->
<!--#ifdef H5--> <!--#ifdef H5-->
<text v-if="isWeixin" class='title'>授权提醒</text> <text v-if="isWeixin" class='title'>授权提醒</text>
<text v-else class='title'>{{title}}</text> <text v-else class='title'>{{title}}</text>
@ -25,6 +25,10 @@
<!--#ifdef MP--> <!--#ifdef MP-->
<text class='tip'>{{info}}</text> <text class='tip'>{{info}}</text>
<!--#endif--> <!--#endif-->
<checkbox-group class="checkgroup" @change='isAgree=!isAgree' style="padding: 0 12px;margin-top: 20px;font-size:12px;text-align: center;">
<checkbox class="checkbox" :checked="isAgree ? true : false" />
<text class="protocol_text">我已同意<text @click="userAgree" class="font_pro">用户协议</text><text @click="userPrivacyAgree" class="font_pro">隐私政策</text></text>
</checkbox-group>
<view class='bottom flex'> <view class='bottom flex'>
<text class='item' @click='close'>随便逛逛</text> <text class='item' @click='close'>随便逛逛</text>
<!-- #ifdef MP --> <!-- #ifdef MP -->
@ -96,6 +100,7 @@
}, },
data() { data() {
return { return {
isAgree: false,
title: '用户登录', title: '用户登录',
info: '请登录,将为您提供更好的服务!', info: '请登录,将为您提供更好的服务!',
//#ifdef H5 //#ifdef H5
@ -134,6 +139,16 @@
this.getCode(this.isShowAuth) this.getCode(this.isShowAuth)
}, },
methods: { 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 // #ifdef MP
editSuccess() { editSuccess() {
this.editModal = false this.editModal = false
@ -184,7 +199,13 @@
toLogin(true); toLogin(true);
}, },
getUserProfile() { getUserProfile() {
let self = this; let self = this;
if (!self.isAgree){
return self.$util.Tips({
title: '请勾选用户协议与隐私政策'
});
}
Routine.getUserProfile() Routine.getUserProfile()
.then(res => { .then(res => {
let userInfo = res.userInfo; let userInfo = res.userInfo;
@ -255,11 +276,11 @@
flex: 1; flex: 1;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
width: 500rpx; width: 80%;
background-color: #fff; background-color: #fff;
position: fixed; position: fixed;
top: 500rpx; top: 500rpx;
left: 125rpx; left: 10%;
z-index: 1000; z-index: 1000;
} }
.Popup { .Popup {
@ -304,7 +325,7 @@
justify-content: center; justify-content: center;
} }
.Popup .bottom .item { .Popup .bottom .item {
width: 250rpx; width: 50%;
height: 80rpx; height: 80rpx;
background-color: #eeeeee; background-color: #eeeeee;
text-align: center; text-align: center;

@ -1340,7 +1340,8 @@
position: fixed; position: fixed;
left: 0; left: 0;
// top: 238rpx; // top: 238rpx;
top: 434rpx; top: 27%;
// top: 434rpx;
width: 100%; width: 100%;
padding: 0 40rpx 28rpx 74rpx; padding: 0 40rpx 28rpx 74rpx;
background-color: #F8F8F8; background-color: #F8F8F8;

@ -90,7 +90,7 @@
</view> </view>
<view class="line2">{{orderInfo.take.mer_take_address}}</view> <view class="line2">{{orderInfo.take.mer_take_address}}</view>
</view> </view>
<view v-if="orderInfo.take" class="take-info"> <!-- <view v-if="orderInfo.take" class="take-info">
<view class="take-msg"> <view class="take-msg">
<view class="left"> <view class="left">
<view class="title"> <view class="title">
@ -111,7 +111,7 @@
</view> </view>
</view> </view>
</view> </view>
</view> </view> -->
<view class="merchant" v-if="orderInfo.merchant && orderInfo.order_type != 1" @click="goStore(orderInfo.mer_id)"> <view class="merchant" v-if="orderInfo.merchant && orderInfo.order_type != 1" @click="goStore(orderInfo.mer_id)">
{{orderInfo.merchant.mer_name}} {{orderInfo.merchant.mer_name}}
<text class="iconfont icon-xiangyou"></text> <text class="iconfont icon-xiangyou"></text>

@ -197,9 +197,10 @@
activeIndex: 0, activeIndex: 0,
}; };
}, },
onLoad: function(options) { onLoad(options) {
console.log(this.basePicPath) console.log(this.basePicPath)
this.getStoreType(); this.getStoreType();
this.searchSubmit()
}, },
onReady() { onReady() {

@ -200,6 +200,7 @@
onLoad: function(options) { onLoad: function(options) {
this.getStoreType(); this.getStoreType();
this.searchSubmit()
}, },
onReady() { onReady() {

Loading…
Cancel
Save