Commit 4ed1baf593ac4c694ca79f2e9a1cc3d442bfa075
合并
Showing
28 changed files
with
3705 additions
and
332 deletions
app.json
| @@ -237,7 +237,8 @@ | @@ -237,7 +237,8 @@ | ||
| 237 | "pages/order/refund_order/refund_order", | 237 | "pages/order/refund_order/refund_order", |
| 238 | "pages/payment/payment/payment", | 238 | "pages/payment/payment/payment", |
| 239 | "pages/user/my_service/tment_details", | 239 | "pages/user/my_service/tment_details", |
| 240 | - "pages/user/my_service/tment_eval" | 240 | + "pages/user/my_service/tment_eval", |
| 241 | + "pages/user_template/index" | ||
| 241 | ] | 242 | ] |
| 242 | } | 243 | } |
| 243 | ], | 244 | ], |
components/com_top_nav/com_top_nav.js
| @@ -23,7 +23,7 @@ Component({ | @@ -23,7 +23,7 @@ Component({ | ||
| 23 | }, | 23 | }, |
| 24 | ready: function() { | 24 | ready: function() { |
| 25 | let height= getApp().globalData.navBarHeight; | 25 | let height= getApp().globalData.navBarHeight; |
| 26 | - let menuInfo = getApp().globalData.menuInfo; | 26 | + let menuInfo = getApp().globalData.menuInfo || {height:0}; |
| 27 | let user_no=''; | 27 | let user_no=''; |
| 28 | if(getApp().globalData.userInfo){ | 28 | if(getApp().globalData.userInfo){ |
| 29 | user_no=getApp().globalData.userInfo.erpvipno | 29 | user_no=getApp().globalData.userInfo.erpvipno |
components/diy_user_info/diy_user_info.js
0 → 100644
| 1 | +const rq = require("../../utils/request.js"); | ||
| 2 | +const ut = require("../../utils/util.js"); | ||
| 3 | +const {qrcode} = require("../../utils/index.js"); | ||
| 4 | +var s = getApp().globalData.setting; | ||
| 5 | +var r=s; | ||
| 6 | +Component({ | ||
| 7 | + properties: { | ||
| 8 | + object: { | ||
| 9 | + type: Object, | ||
| 10 | + value: null | ||
| 11 | + }, | ||
| 12 | + qy_data:{ | ||
| 13 | + type: Object, | ||
| 14 | + value: null | ||
| 15 | + }, | ||
| 16 | + pulscardname:{ | ||
| 17 | + type:String, | ||
| 18 | + value:"--" | ||
| 19 | + }, | ||
| 20 | + rfmName:{ | ||
| 21 | + type:String, | ||
| 22 | + value:"--" | ||
| 23 | + }, | ||
| 24 | + yuer:{ | ||
| 25 | + type:Number, | ||
| 26 | + value:0 | ||
| 27 | + }, | ||
| 28 | + byquan:{ | ||
| 29 | + type:Number, | ||
| 30 | + value:0 | ||
| 31 | + }, | ||
| 32 | + udata:{ | ||
| 33 | + type: Object, | ||
| 34 | + value: null | ||
| 35 | + }, | ||
| 36 | + | ||
| 37 | + }, | ||
| 38 | + data: { | ||
| 39 | + // 这里是一些组件内部数据 | ||
| 40 | + iurl: s.imghost, | ||
| 41 | + defaultAvatar: s.imghost + "/miniapp/images/no-head.jpg", | ||
| 42 | + userInfo:null, | ||
| 43 | + | ||
| 44 | + sys_switch:null, | ||
| 45 | + tc_hide:true, //会员卡的弹出层隐藏 | ||
| 46 | + }, | ||
| 47 | + | ||
| 48 | + ready: function() { | ||
| 49 | + var th=this; | ||
| 50 | + if(getApp().globalData.userInfo){ | ||
| 51 | + this.setData({userInfo:getApp().globalData.userInfo}); | ||
| 52 | + } | ||
| 53 | + /*-------系统是否开通等级卡,会员是等级卡-----*/ | ||
| 54 | + getApp().getConfig2(function (e) { | ||
| 55 | + var t_swi = e.switch_list; | ||
| 56 | + if (t_swi) t_swi = JSON.parse(t_swi) | ||
| 57 | + if (t_swi) { | ||
| 58 | + th.setData({sys_switch: t_swi}); | ||
| 59 | + } | ||
| 60 | + var getuserqy_color=e.userqy_color; | ||
| 61 | + if (getuserqy_color) getuserqy_color = JSON.parse(getuserqy_color) | ||
| 62 | + if(getuserqy_color){ | ||
| 63 | + th.setData({userqy_color:getuserqy_color}) | ||
| 64 | + } | ||
| 65 | + }) | ||
| 66 | + | ||
| 67 | + }, | ||
| 68 | + | ||
| 69 | + pageLifetimes: { | ||
| 70 | + //要处理一下,游客登录后的界面的变化,主要还该是改变会员 | ||
| 71 | + show: function () { | ||
| 72 | + if(!this.data.userInfo && getApp().globalData.userInfo){ | ||
| 73 | + this.setData({userInfo:getApp().globalData.userInfo}); | ||
| 74 | + } | ||
| 75 | + } | ||
| 76 | + }, | ||
| 77 | + | ||
| 78 | + methods: { | ||
| 79 | + //登陆会员 | ||
| 80 | + login_user(){ | ||
| 81 | + getApp().goto('/packageE/pages/togoin/togoin'); | ||
| 82 | + }, | ||
| 83 | + //------卡片的显示和关闭-------- | ||
| 84 | + show_tc: function () { | ||
| 85 | + var that=this; | ||
| 86 | + if (!this.data.userInfo) return false; | ||
| 87 | + var getnowtime; | ||
| 88 | + getApp().request.get("/api/weshop/users/getServerTime", { | ||
| 89 | + success: function (res) { | ||
| 90 | + if (res.data.code == 0) | ||
| 91 | + { | ||
| 92 | + getnowtime=res.data.data; | ||
| 93 | + if (!getnowtime) | ||
| 94 | + { | ||
| 95 | + ut.m_toast("获取服务时间失败"); | ||
| 96 | + return; | ||
| 97 | + } | ||
| 98 | + //base64_encode($user.mobile.'|'.date('Y-m-d H:i:s') | ||
| 99 | + var val = that.data.userInfo.mobile + "|" +getnowtime+"|"+that.data.getusercode_vailtime; | ||
| 100 | + val = "^" + ut.base64_encode(val); | ||
| 101 | + | ||
| 102 | + qrcode('qrcode', val, 480, 480, that); | ||
| 103 | + that.setData({ | ||
| 104 | + tc_hide: false, | ||
| 105 | + }); | ||
| 106 | + } | ||
| 107 | + } | ||
| 108 | + }) | ||
| 109 | + }, | ||
| 110 | + //隐藏会员卡 | ||
| 111 | + hide_tc: function () { | ||
| 112 | + this.setData({ | ||
| 113 | + tc_hide: true, | ||
| 114 | + }); | ||
| 115 | + }, | ||
| 116 | + | ||
| 117 | + //--跳转到预存款页面-- | ||
| 118 | + deposit: function () { | ||
| 119 | + if (!this.data.userInfo) | ||
| 120 | + { | ||
| 121 | + this.login_user(); | ||
| 122 | + return false; | ||
| 123 | + } | ||
| 124 | + wx.navigateTo({ | ||
| 125 | + url: '/packageD/pages/user/deposit/deposit', | ||
| 126 | + }) | ||
| 127 | + }, | ||
| 128 | + //--跳转到余额页面-- | ||
| 129 | + balance: function () { | ||
| 130 | + if (!this.data.userInfo) | ||
| 131 | + { | ||
| 132 | + this.login_user(); | ||
| 133 | + return false; | ||
| 134 | + }; | ||
| 135 | + wx.navigateTo({ | ||
| 136 | + url: '/packageD/pages/user/member/menber', | ||
| 137 | + }) | ||
| 138 | + }, | ||
| 139 | + //--跳转到优惠券-- | ||
| 140 | + coupon: function () { | ||
| 141 | + var th = this; | ||
| 142 | + if (!this.data.userInfo) | ||
| 143 | + { | ||
| 144 | + this.login_user(); | ||
| 145 | + return false; | ||
| 146 | + }; | ||
| 147 | + // th.sendsm(); | ||
| 148 | + wx.navigateTo({ | ||
| 149 | + url: '/packageD/pages/user/coupons/coupons', | ||
| 150 | + }) | ||
| 151 | + }, | ||
| 152 | + //--跳转到积分-- | ||
| 153 | + integral: function () { | ||
| 154 | + if (!this.data.userInfo) | ||
| 155 | + { | ||
| 156 | + this.login_user(); | ||
| 157 | + return false; | ||
| 158 | + } | ||
| 159 | + wx.navigateTo({ | ||
| 160 | + url: '/packageD/pages/user/integral/integral', | ||
| 161 | + }) | ||
| 162 | + }, | ||
| 163 | + | ||
| 164 | + jump: function () { | ||
| 165 | + let isRfm = wx.getStorageSync('isRfm') | ||
| 166 | + //升级为RFM就不跳转成长值详情 | ||
| 167 | + if (!isRfm) { | ||
| 168 | + getApp().goto("/packageE/pages/user/grow_value/grow_value") | ||
| 169 | + } | ||
| 170 | + }, | ||
| 171 | + | ||
| 172 | + //跳转到链接 | ||
| 173 | + goto: function (e) { | ||
| 174 | + console.log(e); | ||
| 175 | + console.log('跳转'); | ||
| 176 | + var url = e.currentTarget.dataset.url; | ||
| 177 | + wx.navigateTo({ url: url }) | ||
| 178 | + | ||
| 179 | + }, | ||
| 180 | + | ||
| 181 | + | ||
| 182 | + } | ||
| 183 | +}) | ||
| 0 | \ No newline at end of file | 184 | \ No newline at end of file |
components/diy_user_info/diy_user_info.json
0 → 100644
components/diy_user_info/diy_user_info.wxml
0 → 100644
| 1 | +<view class="xc-user" > | ||
| 2 | + <view class="xc-head rel"> | ||
| 3 | + <block wx:if="{{object.bg_type==1}}"> | ||
| 4 | + <image class="xc-background" src="{{iurl}}{{ad_img?ad_img:'/miniapp/images/user_index_powder.jpg'}}"> | ||
| 5 | + <block wx:if="{{object.style==0}}"> | ||
| 6 | + <include src="style1.wxml"></include>s | ||
| 7 | + </block> | ||
| 8 | + <block wx:if="{{object.style==1}}"> | ||
| 9 | + <include src="style2.wxml"></include>s | ||
| 10 | + </block> | ||
| 11 | + <block wx:if="{{object.style==2}}"> | ||
| 12 | + <include src="style3.wxml"></include>s | ||
| 13 | + </block> | ||
| 14 | + | ||
| 15 | + </image> | ||
| 16 | + </block> | ||
| 17 | + <block wx:else> | ||
| 18 | + <view class="xc-background" style="background-color:{{object.bg_color}}"> | ||
| 19 | + <block wx:if="{{object.style==0}}"> | ||
| 20 | + <include src="style1.wxml"></include> | ||
| 21 | + </block> | ||
| 22 | + <block wx:if="{{object.style==1}}"> | ||
| 23 | + <include src="style2.wxml"></include> | ||
| 24 | + </block> | ||
| 25 | + <block wx:if="{{object.style==2}}"> | ||
| 26 | + <include src="style3.wxml"></include> | ||
| 27 | + </block> | ||
| 28 | + </view> | ||
| 29 | + </block> | ||
| 30 | + </view> | ||
| 31 | +</view> | ||
| 32 | + | ||
| 33 | +<block wx:if="{{is_no_plus}}"> | ||
| 34 | + <view class="xc-add-member-frame flex-level rel addplus" wx:if="{{is_dengji==2 && show_buy_plus }}"> | ||
| 35 | + <view class="xc-add-member flex-center-around "> | ||
| 36 | + <view class="flex jc-center ai-center"> | ||
| 37 | + <image class="xc-icon" src="{{iurl}}/miniapp/images/user/user_vip.png"></image> | ||
| 38 | + <view class="member fs28 "> 加入plus会员预计可省3031元</view> | ||
| 39 | + </view> | ||
| 40 | + <view class="xc-opening-button t-c" data-url="/pages/user/plus/plus" bindtap="goto"> | ||
| 41 | + <view class="xc-opening fs28">立即开通</view> | ||
| 42 | + </view> | ||
| 43 | + </view> | ||
| 44 | + </view> | ||
| 45 | + | ||
| 46 | + <view class="xc-add-member-frame flex-level rel addplus" wx:if="{{is_dengji==3 && show_buy_plus}}"> | ||
| 47 | + <view class="xc-add-member flex-center-around "> | ||
| 48 | + <view class="flex jc-center ai-center"> | ||
| 49 | + <image class="xc-icon" src="{{iurl}}/miniapp/images/user/user_vip.png"></image> | ||
| 50 | + <view class="member fs28 "> 加入plus会员预计可省3031元</view> | ||
| 51 | + </view> | ||
| 52 | + <view class="xc-opening-button t-c" data-url="/packageE/pages/user/cardinfo/cardinfo" bindtap="goto"> | ||
| 53 | + <view class="xc-opening fs28">立即续费</view> | ||
| 54 | + </view> | ||
| 55 | + </view> | ||
| 56 | + </view> | ||
| 57 | +</block> | ||
| 58 | + | ||
| 59 | + | ||
| 60 | + | ||
| 61 | +<!--弹出层内容,其中的“我知道”中绑定让弹出层消失的函数:bindtap="hide"--> | ||
| 62 | +<view class="tc_view" hidden='{{tc_hide}}' bindtap='hide_tc'> | ||
| 63 | + <view class="modal-box" hidden="{{flag}}" bindtap="hide" catchtouchmove="true"></view> | ||
| 64 | + <view class="modal-body" catchtouchmove="true"> | ||
| 65 | + <view class="modal-content"> | ||
| 66 | + <view class="flex"> | ||
| 67 | + <image src="{{userInfo.head_pic?userInfo.head_pic:defaultAvatar}}" class="hd_img"></image> | ||
| 68 | + <view class="ctent_txt"> | ||
| 69 | + <view class='txt1'>{{userInfo.nickname}} | ||
| 70 | + <image wx:if="{{userInfo.sex==2}}" class="arrow-right" style="width: 35rpx; height:35rpx; top: 5rpx" src="{{iurl}}/miniapp/images/user/wum.png"></image> | ||
| 71 | + <image wx:else class="arrow-right fu" style="width: 35rpx; height:35rpx;top:5rpx" src="{{iurl}}/miniapp/images/user/man.png"></image> | ||
| 72 | + </view> | ||
| 73 | + <view wx:if="{{userInfo.address}}" class='txt2'>{{userInfo.address}}</view> | ||
| 74 | + </view> | ||
| 75 | + </view> | ||
| 76 | + <view class="m_ta"> | ||
| 77 | + <!--<image class='g_img' src='https://mshop.yolipai.net//index.php?m=Home&c=Index&a=qr_code&data={{userInfo.mobile}}'></image>--> | ||
| 78 | + <canvas class="g_img" canvas-id="qrcode" /> | ||
| 79 | + </view> | ||
| 80 | + <view class="s_sao">前台收银扫此二维码,即可享受优惠!</view> | ||
| 81 | + </view> | ||
| 82 | + </view> | ||
| 83 | +</view> | ||
| 0 | \ No newline at end of file | 84 | \ No newline at end of file |
components/diy_user_info/diy_user_info.wxss
0 → 100644
| 1 | +@import '../../app.wxss'; | ||
| 2 | +.addplus { | ||
| 3 | + width: 100%; | ||
| 4 | +} | ||
| 5 | +.xc-add-member-farem { | ||
| 6 | + width: 100%; | ||
| 7 | + height: 84rpx; | ||
| 8 | +} | ||
| 9 | +.xc-add-member { | ||
| 10 | + background-size: 100%; | ||
| 11 | + margin-top: 10rpx; | ||
| 12 | + color: rgb(238, 205, 172); | ||
| 13 | + width: 730rpx; | ||
| 14 | + height: 90rpx; | ||
| 15 | + border-radius: 15rpx 15rpx 0 0; | ||
| 16 | + background: url("data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAABkAAD/4QN6aHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjUtYzAxNCA3OS4xNTE0ODEsIDIwMTMvMDMvMTMtMTI6MDk6MTUgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vI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zNWyQQmTbBBCZYNmgkg8JYOgiak8UEJlzw2KCMzhzfxQSlQFBBBGf8AIoJzLR40QRQRkXNEHKCMi5PgOCDlBnQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEHzz8T/8A1e5/0/8AXjb/AFP4f4/+n/080HzGP8Re+HFB2gIPcMfbBB3/AITf+I42/wDt+6Do/wAf8WFv5fqg6QEBB4Lm+F7ckHn/ANX8tv8AtQTnfHnxKDk3N743570BB4bG/K/Legn/AID/ACwvbkg4QcyxvbC19uSCKAedxbj6IIy/kb3x2sgmbm/8cOJ80ETc3vjfnvQTn/HH+WPNBNAQTnz9sfNBGX8TfkgiggbnifVBycL3FvfcgzzxvfC/8sN6Dif8Re4vexvvQZpfyF74cv8A3IOTfHndBmQeS/ifZB12f/7fbf6f+vo/6v8Ap/6kf5/9GaD9KQ/hD+P8Y/x/jYfx/wCnJB2bm98b896DmVvC17iyD0WHvfmg9QEHM/4nl6hAjbHnww3IOJ3GwQcYi+NuBvuQEEp35e5QcIPDbHldBA3N743570GdBx/iP8r/APbYX3oOZ35e5QQnYXvy/VBGf8Ty9QgzT/jjfZ0EkEDc+9+aCEv5G98drIM0v5G98UEp2F78v1QTQcT/AI432dBE2N+V+W9BBBCX8je+O1kEtTDn7IJGxvyvy3oIIJz5+2PmgmggbnifVBybHgfRBBAQf//Z") no-repeat center; | ||
| 17 | +} | ||
| 18 | +.xc-add-member .xc-icon { | ||
| 19 | + width: 30rpx; | ||
| 20 | + height: 30rpx; | ||
| 21 | +} | ||
| 22 | +.xc-add-member .member { | ||
| 23 | + margin-left: 10rpx; | ||
| 24 | +} | ||
| 25 | + | ||
| 26 | +.xc-opening { | ||
| 27 | + border-radius: 20rpx; | ||
| 28 | + background: rgb(238, 205, 172); | ||
| 29 | + height: 34rpx; | ||
| 30 | + line-height: 34rpx; | ||
| 31 | + color: #000; | ||
| 32 | + padding-left: 15rpx; | ||
| 33 | + padding-right: 17rpx; | ||
| 34 | + padding: 5rpx 18rpx 5rpx 15rpx; | ||
| 35 | +} | ||
| 36 | + | ||
| 37 | + | ||
| 38 | +/*-- 头部 --*/ | ||
| 39 | +.xc-user .xc-head { | ||
| 40 | + height: 380rpx; | ||
| 41 | +} | ||
| 42 | + | ||
| 43 | +.xc-background { | ||
| 44 | + width:100%; | ||
| 45 | + height: 100%; | ||
| 46 | +} | ||
| 47 | + | ||
| 48 | +.xc-user-frame { | ||
| 49 | + width: 83%; | ||
| 50 | + height: 35%; | ||
| 51 | + top: 44rpx; | ||
| 52 | + left: 56rpx; | ||
| 53 | +} | ||
| 54 | +.xc-user-left { | ||
| 55 | + height: 110rpx; | ||
| 56 | + margin-top: 10rpx; | ||
| 57 | + margin-left: 5rpx; | ||
| 58 | +} | ||
| 59 | +.xc-user-img { | ||
| 60 | + width: 110rpx; | ||
| 61 | + height: 110rpx; | ||
| 62 | +} | ||
| 63 | + | ||
| 64 | +/*等级卡有关*/ | ||
| 65 | +.plusMax { | ||
| 66 | + background: linear-gradient(to bottom, #4c3217, #010100); | ||
| 67 | + height: 40rpx; | ||
| 68 | + border-radius: 20rpx; | ||
| 69 | + line-height: 40rpx; | ||
| 70 | + padding-left: 15rpx; | ||
| 71 | + padding-right: 15rpx; | ||
| 72 | + font-size: 20rpx; | ||
| 73 | + position: absolute; | ||
| 74 | + left: 50%; | ||
| 75 | + bottom: -20rpx; | ||
| 76 | + white-space: nowrap; | ||
| 77 | + transform: translate(-50%, 0); | ||
| 78 | + color: #fff; | ||
| 79 | +} | ||
| 80 | +.fuls { | ||
| 81 | + width: 25rpx; | ||
| 82 | + height: 25rpx; | ||
| 83 | + margin-right: 5rpx; | ||
| 84 | +} | ||
| 85 | +.xc-uesr-name { | ||
| 86 | + color: #fff; | ||
| 87 | + font-size: 32rpx; | ||
| 88 | + margin-top: 17rpx; | ||
| 89 | + margin-left: 20rpx; | ||
| 90 | +} | ||
| 91 | +.hvip { | ||
| 92 | + display: inline-block; | ||
| 93 | + font-size: 20rpx; | ||
| 94 | + height: 40rpx; | ||
| 95 | + line-height: 40rpx; | ||
| 96 | + color: #e7bf77; | ||
| 97 | + background: #383838; | ||
| 98 | + padding: 0 15rpx; | ||
| 99 | + border-radius: 20rpx; | ||
| 100 | + margin-left: 5rpx; | ||
| 101 | +} | ||
| 102 | +.vip-mem { | ||
| 103 | + width: 26rpx; | ||
| 104 | + height: 23rpx; | ||
| 105 | + vertical-align: top; | ||
| 106 | + margin-top: 8rpx; | ||
| 107 | + margin-right: 5rpx; | ||
| 108 | +} | ||
| 109 | +.grow-up-val { | ||
| 110 | + /* padding:1rpx 13rpx 1rpx 13rpx; */ | ||
| 111 | + border-radius: 20rpx; | ||
| 112 | + background: #ffbdce; | ||
| 113 | + padding-left: 16rpx; | ||
| 114 | + padding-right: 16rpx; | ||
| 115 | + padding-bottom: 3rpx; | ||
| 116 | + margin-right: 5rpx; | ||
| 117 | +} | ||
| 118 | +.xc-assets { | ||
| 119 | + width: 94%; | ||
| 120 | + bottom: 26rpx; | ||
| 121 | + color: #fff; | ||
| 122 | + line-height: 46rpx; | ||
| 123 | + margin-left: 10rpx; | ||
| 124 | +} | ||
| 125 | + | ||
| 126 | + | ||
| 127 | +.xc-qrcode-frame { | ||
| 128 | + /* border-radius: 10rpx; | ||
| 129 | + border: 5rpx solid #fe9db5; | ||
| 130 | + background: #fe9db5; | ||
| 131 | + width: 70rpx; | ||
| 132 | + height: 70rpx; */ | ||
| 133 | + top: 40rpx; | ||
| 134 | + right: 40rpx; | ||
| 135 | +} | ||
| 136 | + | ||
| 137 | +.xc-qrcode { | ||
| 138 | + border-radius: 10rpx; | ||
| 139 | + border: 5rpx solid #fe9db5; | ||
| 140 | + background: #fe9db5; | ||
| 141 | + width: 70rpx; | ||
| 142 | + height: 70rpx; | ||
| 143 | +} | ||
| 144 | + | ||
| 145 | +/*---弹出层---*/ | ||
| 146 | +.modal-box { | ||
| 147 | + position: fixed; | ||
| 148 | + width: 100%; | ||
| 149 | + height: 100%; | ||
| 150 | + top: 0px; | ||
| 151 | + background: rgba(0, 0, 0, 0.4); | ||
| 152 | + overflow: hidden; | ||
| 153 | +} | ||
| 154 | + | ||
| 155 | +.modal-body { | ||
| 156 | + position: fixed; | ||
| 157 | + top: 0; | ||
| 158 | + bottom: 0; | ||
| 159 | + left: 0; | ||
| 160 | + right: 0; | ||
| 161 | + margin: auto; | ||
| 162 | + z-index: 100; | ||
| 163 | + background: #fff; | ||
| 164 | + /* margin-left: 73rpx; */ | ||
| 165 | + width: 600rpx; | ||
| 166 | + height: 860rpx; | ||
| 167 | + border-radius: 8px; | ||
| 168 | + text-align: center; | ||
| 169 | +} | ||
| 170 | + | ||
| 171 | +.modal-content { | ||
| 172 | + width: 480rpx; | ||
| 173 | + margin: 0 auto; | ||
| 174 | + margin-top: 60rpx; | ||
| 175 | + overflow: hidden; | ||
| 176 | +} | ||
| 177 | + | ||
| 178 | +.modal-content .hd_img { | ||
| 179 | + width: 170rpx; | ||
| 180 | + height: 170rpx; | ||
| 181 | + border-radius: 5px; | ||
| 182 | +} | ||
| 183 | + | ||
| 184 | +.ctent_txt { | ||
| 185 | + margin-left: 30rpx; | ||
| 186 | + text-align: left; | ||
| 187 | +} | ||
| 188 | + | ||
| 189 | +.txt1 { | ||
| 190 | + font-size: 34rpx; | ||
| 191 | + font-weight: bold; | ||
| 192 | +} | ||
| 193 | + | ||
| 194 | +.txt2 { | ||
| 195 | + font-size: 30rpx; | ||
| 196 | + color: #999; | ||
| 197 | + margin-top: 20rpx; | ||
| 198 | +} | ||
| 199 | + | ||
| 200 | +.arrow-right { | ||
| 201 | + width: 20rpx; | ||
| 202 | + height: 40rpx; | ||
| 203 | + position: relative; | ||
| 204 | + top: 13rpx; | ||
| 205 | + margin-left: 20rpx; | ||
| 206 | +} | ||
| 207 | + | ||
| 208 | +.m_ta { | ||
| 209 | + margin-top: 50rpx; | ||
| 210 | +} | ||
| 211 | + | ||
| 212 | +.g_img { | ||
| 213 | + width: 480rpx; | ||
| 214 | + height: 480rpx; | ||
| 215 | +} | ||
| 216 | + | ||
| 217 | +.s_sao { | ||
| 218 | + font-size: 27rpx; | ||
| 219 | + margin-top: 25rpx; | ||
| 220 | +} | ||
| 221 | + | ||
| 222 | +.gr_box { | ||
| 223 | + position: relative; | ||
| 224 | + height: 16rpx; | ||
| 225 | + background-color: #fff; | ||
| 226 | + border-radius: 8rpx; | ||
| 227 | + overflow: hidden; | ||
| 228 | +} | ||
| 229 | +.gr_box_item{ | ||
| 230 | + height: 16rpx; | ||
| 231 | + background-color: #999; | ||
| 232 | +} | ||
| 233 | + | ||
| 234 | + |
components/diy_user_info/style1.wxml
0 → 100644
| 1 | +<view class="flex-space-between abs xc-user-frame"> | ||
| 2 | + | ||
| 3 | + <!-- 会员有登陆登陆的情况 --> | ||
| 4 | + <view class="xc-user-left flex" wx:if="{{userInfo}}"> | ||
| 5 | + | ||
| 6 | + | ||
| 7 | + <view style="position:relative;"> | ||
| 8 | + <image class="xc-user-img {{object.head_pic_type?'circle':''}} " bindtap="go_info" src="{{userInfo.head_pic?userInfo.head_pic:defaultAvatar}}"></image> | ||
| 9 | + <block wx:if="{{pulscardname && sys_switch.rank_switch > 0 && object.is_plus }}"> | ||
| 10 | + <view data-url="/pages/user/plus/plus" catchtap="goto" class="flex-center plusMax"> | ||
| 11 | + <image class="fuls" src="{{iurl}}/miniapp/images/userinfo/userinfo/privilege_t.png"></image> | ||
| 12 | + <view>{{pulscardname}}</view> | ||
| 13 | + </view> | ||
| 14 | + </block> | ||
| 15 | + </view> | ||
| 16 | + | ||
| 17 | + <view class="xc-uesr-name" style="color:{{object.word_color}}"> | ||
| 18 | + <view class="flex ai-center"> | ||
| 19 | + <text class="ellipsis-1" style="max-width: 290rpx;display: inline-block">{{userInfo.nickname}}</text> | ||
| 20 | + | ||
| 21 | + <view class="hvip" wx:if='{{qy_data && qy_data.GradeName && qy_data.is_init && object.is_qy}}'> | ||
| 22 | + <image class="vip-mem" src="{{iurl}}/miniapp/images/vip_hg0.png"></image>{{qy_data.GradeName}} | ||
| 23 | + </view> | ||
| 24 | + </view> | ||
| 25 | + <view class="flex fs24 xc-grow-ups" style="margin-left:8rpx;margin-top:6rpx" wx:if="{{qy_data && qy_data.is_init && qy_data.gradeId && object.is_cz}}" bindtap='jump'> | ||
| 26 | + <block wx:if="{{qy_data.cz_val<qy_data.full_cz_val}}"> | ||
| 27 | + {{" "}} | ||
| 28 | + <text class="grow-up-val" style="background:{{userqy_color.secord_bgcolor?userqy_color.secord_bgcolor:'#fe9db5'}};color:{{userqy_color.font_color}}">{{rfmName}}</text> | ||
| 29 | + <view style='margin-left:5rpx; color:{{userqy_color.font_color}} '>{{qy_data.cz_val}} / {{qy_data.need_money}}</view> | ||
| 30 | + </block> | ||
| 31 | + <block wx:else> | ||
| 32 | + {{" "}} | ||
| 33 | + <text style="color:{{userqy_color.font_color}}"> | ||
| 34 | + <text class="grow-up-val" style="background:{{userqy_color.secord_bgcolor?userqy_color.secord_bgcolor:'#fe9db5'}};">{{rfmName}}</text>{{cz_val}} | ||
| 35 | + </text> | ||
| 36 | + | ||
| 37 | + </block> | ||
| 38 | + </view> | ||
| 39 | + </view> | ||
| 40 | + | ||
| 41 | + </view> | ||
| 42 | + | ||
| 43 | + <!-- 会员没有登陆的情况 --> | ||
| 44 | + <view class="xc-user-left flex" wx:else bindtap="login_user"> | ||
| 45 | + <image class="xc-user-img circle" src="{{defaultAvatar}}"></image> | ||
| 46 | + <view class="xc-uesr-name" style="color:{{object.word_color}}">请点击注册</view> | ||
| 47 | + </view> | ||
| 48 | +</view> | ||
| 49 | + | ||
| 50 | + | ||
| 51 | +<view wx:if="{{userInfo && object.is_user_card}}" class="xc-qrcode-frame abs" style="top:46rpx"> | ||
| 52 | + <image bindtap='show_tc' class=" xc-qrcode " style="border: 5rpx solid {{object.user_bg_color}};background: {{object.user_bg_color}};" src="{{iurl}}/miniapp/images/qrcode1.png"></image> | ||
| 53 | + <view style="font-size:12px;color:{{object.word_color}}">会员卡</view> | ||
| 54 | +</view> | ||
| 55 | + | ||
| 56 | +<view class="flex-vertical abs xc-grow-frame rel" style="display: none"> | ||
| 57 | + <view class="xc-grow-up">{{rfmName}}</view> | ||
| 58 | + <view class="xc-line-not rel"> | ||
| 59 | + <image class="xc-bj-img abs" src="{{iurl}}/miniapp/images/baijing.png"></image> | ||
| 60 | + <image class="xc-zs-img abs" src="{{iurl}}/miniapp/images/zhuangshi.png"></image> | ||
| 61 | + <view class="xc-line-Yes abs" style="width:{{length}}rpx;"></view> | ||
| 62 | + </view> | ||
| 63 | + <view class="xc-grow-val">0/0</view> | ||
| 64 | +</view> | ||
| 65 | + | ||
| 66 | + | ||
| 67 | +<!-- 底部显示余额,储值卡,积分,优惠券等 --> | ||
| 68 | +<view class="flex-equality abs xc-assets" style="color:{{object.word_color}}"> | ||
| 69 | + | ||
| 70 | + <block wx:for="{{object.show_arr}}"> | ||
| 71 | + <block wx:if="{{item.show}}"> | ||
| 72 | + <block wx:if="{{item.type=='user_money'}}"> | ||
| 73 | + <view class="t-c typefont" bindtap='balance'>{{yuer?yuer:0}} | ||
| 74 | + <view class='numfont'>余额</view> | ||
| 75 | + </view> | ||
| 76 | + </block> | ||
| 77 | + <block wx:if="{{item.type=='yc' && !is_close_chuzhi}}"> | ||
| 78 | + <view class="t-c typefont" bindtap='deposit'>{{udata.Balance?udata.Balance:0}} | ||
| 79 | + <view class='numfont'>储值款</view> | ||
| 80 | + </view> | ||
| 81 | + </block> | ||
| 82 | + <block wx:if="{{item.type=='jf'}}"> | ||
| 83 | + <view class="t-c typefont" bindtap='integral'>{{udata.Integral?udata.Integral:0}} | ||
| 84 | + <view class='numfont'>积分</view> | ||
| 85 | + </view> | ||
| 86 | + </block> | ||
| 87 | + <block wx:if="{{item.type=='quan'}}"> | ||
| 88 | + <view class="t-c typefont" bindtap='coupon'>{{udata.CashCount+byquan?udata.CashCount+byquan:0}} | ||
| 89 | + <view class='numfont'>优惠券</view> | ||
| 90 | + </view> | ||
| 91 | + </block> | ||
| 92 | + </block> | ||
| 93 | + | ||
| 94 | + | ||
| 95 | + </block> | ||
| 96 | +</view> | ||
| 0 | \ No newline at end of file | 97 | \ No newline at end of file |
components/diy_user_info/style2.wxml
0 → 100644
| 1 | +<!-- 会员有登陆登陆的情况 --> | ||
| 2 | +<view class="xc-user-frame abs" wx:if="{{userInfo}}" style="top:20rpx"> | ||
| 3 | + | ||
| 4 | + <view class="flex jc-center"> | ||
| 5 | + <view style="position:relative;"> | ||
| 6 | + <image class="xc-user-img {{object.head_pic_type?'circle':''}}" bindtap="go_info" src="{{userInfo.head_pic?userInfo.head_pic:defaultAvatar}}"></image> | ||
| 7 | + <block wx:if="{{pulscardname && sys_switch.rank_switch > 0 && object.is_plus }}"> | ||
| 8 | + <view data-url="/pages/user/plus/plus" catchtap="goto" class="flex-center plusMax" style="bottom:-12rpx"> | ||
| 9 | + <image class="fuls" src="{{iurl}}/miniapp/images/userinfo/userinfo/privilege_t.png"></image> | ||
| 10 | + <view>{{pulscardname}}</view> | ||
| 11 | + </view> | ||
| 12 | + </block> | ||
| 13 | + </view> | ||
| 14 | + </view> | ||
| 15 | + | ||
| 16 | + <view class="xc-uesr-name" style="color:{{object.word_color}}"> | ||
| 17 | + <view class="flex ai-center jc-center"> | ||
| 18 | + <text class="ellipsis-1" style="max-width: 290rpx;display: inline-block">{{userInfo.nickname}}</text> | ||
| 19 | + | ||
| 20 | + <view class="hvip" wx:if='{{qy_data && qy_data.GradeName && qy_data.is_init && object.is_qy}}'> | ||
| 21 | + <image class="vip-mem" src="{{iurl}}/miniapp/images/vip_hg0.png"></image>{{qy_data.GradeName}} | ||
| 22 | + </view> | ||
| 23 | + </view> | ||
| 24 | + <view class="flex fs24 xc-grow-ups jc-center" style="margin-left:8rpx;margin-top:4rpx" wx:if="{{qy_data && qy_data.is_init && qy_data.gradeId && object.is_cz}}" bindtap='jump'> | ||
| 25 | + <block wx:if="{{qy_data.cz_val<qy_data.full_cz_val}}"> | ||
| 26 | + {{" "}} | ||
| 27 | + <text class="grow-up-val" style="background:{{userqy_color.secord_bgcolor?userqy_color.secord_bgcolor:'#fe9db5'}}; color:{{userqy_color.font_color}}">{{rfmName}}</text> | ||
| 28 | + <view style='margin-left:5rpx; color:{{userqy_color.font_color}}'>{{qy_data.cz_val}} / {{qy_data.need_money}}</view> | ||
| 29 | + </block> | ||
| 30 | + <block wx:else> | ||
| 31 | + {{" "}} | ||
| 32 | + <text class="grow-up-val" style="background:{{userqy_color.secord_bgcolor?userqy_color.secord_bgcolor:'#fe9db5'}}; color:{{userqy_color.font_color}}">{{rfmName}}</text> {{cz_val}} | ||
| 33 | + </block> | ||
| 34 | + </view> | ||
| 35 | + </view> | ||
| 36 | + | ||
| 37 | +</view> | ||
| 38 | + | ||
| 39 | + | ||
| 40 | +<view wx:else class="flex-space-between abs xc-user-frame"> | ||
| 41 | + <!-- 会员没有登陆的情况 --> | ||
| 42 | + <view class="xc-user-left flex" bindtap="login_user"> | ||
| 43 | + <image class="xc-user-img circle" src="{{defaultAvatar}}"></image> | ||
| 44 | + <view class="xc-uesr-name" style="color:{{object.word_color}}">请点击注册</view> | ||
| 45 | + </view> | ||
| 46 | +</view> | ||
| 47 | + | ||
| 48 | + | ||
| 49 | +<view wx:if="{{userInfo && object.is_user_card}}" class="xc-qrcode-frame abs "> | ||
| 50 | + <image bindtap='show_tc' class=" xc-qrcode " style="border: 5rpx solid {{object.user_bg_color}};background: {{object.user_bg_color}};" src="{{iurl}}/miniapp/images/qrcode1.png"></image> | ||
| 51 | + <view style="font-size:12px;color:{{object.word_color}}">会员卡</view> | ||
| 52 | +</view> | ||
| 53 | + | ||
| 54 | +<view class="flex-vertical abs xc-grow-frame rel" style="display: none"> | ||
| 55 | + <view class="xc-grow-up">{{rfmName}}</view> | ||
| 56 | + <view class="xc-line-not rel"> | ||
| 57 | + <image class="xc-bj-img abs" src="{{iurl}}/miniapp/images/baijing.png"></image> | ||
| 58 | + <image class="xc-zs-img abs" src="{{iurl}}/miniapp/images/zhuangshi.png"></image> | ||
| 59 | + <view class="xc-line-Yes abs" style="width:{{length}}rpx;"></view> | ||
| 60 | + </view> | ||
| 61 | + <view class="xc-grow-val">0/0</view> | ||
| 62 | +</view> | ||
| 63 | + | ||
| 64 | + | ||
| 65 | +<!-- 底部显示余额,储值卡,积分,优惠券等 --> | ||
| 66 | +<view class="flex-equality abs xc-assets" style="color:{{object.word_color}}"> | ||
| 67 | + | ||
| 68 | + <block wx:for="{{object.show_arr}}"> | ||
| 69 | + <block wx:if="{{item.show}}"> | ||
| 70 | + <block wx:if="{{item.type=='user_money'}}"> | ||
| 71 | + <view class="t-c typefont" bindtap='balance'>{{yuer?yuer:0}} | ||
| 72 | + <view class='numfont'>余额</view> | ||
| 73 | + </view> | ||
| 74 | + </block> | ||
| 75 | + <block wx:if="{{item.type=='yc' && !is_close_chuzhi}}"> | ||
| 76 | + <view class="t-c typefont" bindtap='deposit'>{{udata.Balance?udata.Balance:0}} | ||
| 77 | + <view class='numfont'>储值款</view> | ||
| 78 | + </view> | ||
| 79 | + </block> | ||
| 80 | + <block wx:if="{{item.type=='jf'}}"> | ||
| 81 | + <view class="t-c typefont" bindtap='integral'>{{udata.Integral?udata.Integral:0}} | ||
| 82 | + <view class='numfont'>积分</view> | ||
| 83 | + </view> | ||
| 84 | + </block> | ||
| 85 | + <block wx:if="{{item.type=='quan'}}"> | ||
| 86 | + <view class="t-c typefont" bindtap='coupon'>{{udata.CashCount+byquan?udata.CashCount+byquan:0}} | ||
| 87 | + <view class='numfont'>优惠券</view> | ||
| 88 | + </view> | ||
| 89 | + </block> | ||
| 90 | + </block> | ||
| 91 | + | ||
| 92 | + | ||
| 93 | + </block> | ||
| 94 | +</view> | ||
| 0 | \ No newline at end of file | 95 | \ No newline at end of file |
components/diy_user_info/style3.wxml
0 → 100644
| 1 | +<!-- 会员有登陆登陆的情况 --> | ||
| 2 | +<view class="xc-user-frame abs" wx:if="{{userInfo}}" style="width:700rpx;left:25rpx;top:32rpx"> | ||
| 3 | + <view class="xc-uesr-name" style="color:{{object.word_color}}" > | ||
| 4 | + <view class="flex ai-center"> | ||
| 5 | + <text class="ellipsis-1" style="max-width: 290rpx;display: inline-block">{{userInfo.nickname}}</text> | ||
| 6 | + </view> | ||
| 7 | + <view class="flex fs24 xc-grow-ups ai-center" style="margin-top:4rpx"> | ||
| 8 | + <view class="hvip" wx:if='{{qy_data && qy_data.GradeName && qy_data.is_init && object.is_qy}}' style="margin-right:6rpx"> | ||
| 9 | + <image class="vip-mem" src="{{iurl}}/miniapp/images/vip_hg0.png"></image>{{qy_data.GradeName}} | ||
| 10 | + </view> | ||
| 11 | + <image bindtap='show_tc' class="xc-qrcode" wx:if="{{userInfo && object.is_user_card}}" | ||
| 12 | + style="border: 5rpx solid {{object.user_bg_color}};background: {{object.user_bg_color}};width:40rpx; height:40rpx;" src="{{iurl}}/miniapp/images/qrcode1.png"></image> | ||
| 13 | + </view> | ||
| 14 | + | ||
| 15 | + <!-- 显示成长值,综合分 --> | ||
| 16 | + <block wx:if="{{qy_data && qy_data.is_init && qy_data.gradeId && object.is_cz}}"> | ||
| 17 | + <view class="fs22" style="margin-top:15rpx;color:{{userqy_color.font_color}} ">距{{qy_data.nextGradeName}}还有{{qy_data.need_money-qy_data.cz_val}}</view> | ||
| 18 | + <view class="gr_box" style="margin-top:10rpx"> | ||
| 19 | + <view class="gr_box_item" style="width:{{(qy_data.cz_val*100)/qy_data.need_money}}%;background:{{userqy_color.secord_bgcolor?userqy_color.secord_bgcolor:'#fe9db5'}}"></view> | ||
| 20 | + </view> | ||
| 21 | + </block> | ||
| 22 | + | ||
| 23 | + </view> | ||
| 24 | + | ||
| 25 | +</view> | ||
| 26 | + | ||
| 27 | +<!-- 显示头像 --> | ||
| 28 | +<view wx:else class="flex-space-between abs xc-user-frame" > | ||
| 29 | + <!-- 会员没有登陆的情况 --> | ||
| 30 | + <view class="xc-user-left flex" bindtap="login_user"> | ||
| 31 | + <image class="xc-user-img circle" src="{{defaultAvatar}}"></image> | ||
| 32 | + <view class="xc-uesr-name" style="color:{{object.word_color}}">请点击注册</view> | ||
| 33 | + </view> | ||
| 34 | +</view> | ||
| 35 | + | ||
| 36 | + | ||
| 37 | +<view class="xc-qrcode-frame abs" style="right:50rpx;top:38rpx"> | ||
| 38 | + <view style="position:relative;"> | ||
| 39 | + <image class="xc-user-img {{object.head_pic_type?'circle':''}}" bindtap="go_info" src="{{userInfo.head_pic?userInfo.head_pic:defaultAvatar}}"></image> | ||
| 40 | + <block wx:if="{{pulscardname && sys_switch.rank_switch > 0 && object.is_plus }}"> | ||
| 41 | + <view data-url="/pages/user/plus/plus" catchtap="goto" class="flex-center plusMax" style="bottom:-12rpx"> | ||
| 42 | + <image class="fuls" src="{{iurl}}/miniapp/images/userinfo/userinfo/privilege_t.png"></image> | ||
| 43 | + <view>{{pulscardname}}</view> | ||
| 44 | + </view> | ||
| 45 | + </block> | ||
| 46 | + </view> | ||
| 47 | +</view> | ||
| 48 | + | ||
| 49 | +<view class="flex-vertical abs xc-grow-frame rel" style="display: none"> | ||
| 50 | + <view class="xc-grow-up">{{rfmName}}</view> | ||
| 51 | + <view class="xc-line-not rel"> | ||
| 52 | + <image class="xc-bj-img abs" src="{{iurl}}/miniapp/images/baijing.png"></image> | ||
| 53 | + <image class="xc-zs-img abs" src="{{iurl}}/miniapp/images/zhuangshi.png"></image> | ||
| 54 | + <view class="xc-line-Yes abs" style="width:{{length}}rpx;"></view> | ||
| 55 | + </view> | ||
| 56 | + <view class="xc-grow-val">0/0</view> | ||
| 57 | +</view> | ||
| 58 | + | ||
| 59 | + | ||
| 60 | +<!-- 底部显示余额,储值卡,积分,优惠券等 --> | ||
| 61 | +<view class="flex-equality abs xc-assets" style="color:{{object.word_color}}"> | ||
| 62 | + | ||
| 63 | + <block wx:for="{{object.show_arr}}"> | ||
| 64 | + <block wx:if="{{item.show}}"> | ||
| 65 | + <block wx:if="{{item.type=='user_money'}}"> | ||
| 66 | + <view class="t-c typefont" bindtap='balance'>{{yuer?yuer:0}} | ||
| 67 | + <view class='numfont'>余额</view> | ||
| 68 | + </view> | ||
| 69 | + </block> | ||
| 70 | + <block wx:if="{{item.type=='yc' && !is_close_chuzhi}}"> | ||
| 71 | + <view class="t-c typefont" bindtap='deposit'>{{udata.Balance?udata.Balance:0}} | ||
| 72 | + <view class='numfont'>储值款</view> | ||
| 73 | + </view> | ||
| 74 | + </block> | ||
| 75 | + <block wx:if="{{item.type=='jf'}}"> | ||
| 76 | + <view class="t-c typefont" bindtap='integral'>{{udata.Integral?udata.Integral:0}} | ||
| 77 | + <view class='numfont'>积分</view> | ||
| 78 | + </view> | ||
| 79 | + </block> | ||
| 80 | + <block wx:if="{{item.type=='quan'}}"> | ||
| 81 | + <view class="t-c typefont" bindtap='coupon'>{{udata.CashCount+byquan?udata.CashCount+byquan:0}} | ||
| 82 | + <view class='numfont'>优惠券</view> | ||
| 83 | + </view> | ||
| 84 | + </block> | ||
| 85 | + </block> | ||
| 86 | + | ||
| 87 | + | ||
| 88 | + </block> | ||
| 89 | +</view> | ||
| 0 | \ No newline at end of file | 90 | \ No newline at end of file |
components/diy_user_my_rights/diy_user_my_rights.js
0 → 100644
| 1 | +var os = getApp().globalData.setting; | ||
| 2 | +Component({ | ||
| 3 | + properties: { | ||
| 4 | + object: { | ||
| 5 | + type: Object, | ||
| 6 | + value: null | ||
| 7 | + }, | ||
| 8 | + qy_data:{ | ||
| 9 | + type: Object, | ||
| 10 | + value: null | ||
| 11 | + }, | ||
| 12 | + b_gift:{ | ||
| 13 | + type: Object, | ||
| 14 | + value: null | ||
| 15 | + }, | ||
| 16 | + }, | ||
| 17 | + data: { | ||
| 18 | + iurl:os.imghost, | ||
| 19 | + qy_list:[] | ||
| 20 | + }, | ||
| 21 | + methods: { | ||
| 22 | + | ||
| 23 | + // | ||
| 24 | + clike_banne: function () { | ||
| 25 | + var th = this; | ||
| 26 | + var actId = th.properties.b_gift.actId; | ||
| 27 | + var giftbagid = th.properties.b_gift.giftbagid; | ||
| 28 | + | ||
| 29 | + if (actId != "" && giftbagid != "") { | ||
| 30 | + getApp().goto("/pages/giftpack/birthdaygift/birthdaygift?actId=" + actId + "&gifbagid=" + giftbagid + "&orderType=" + 3); | ||
| 31 | + } else { | ||
| 32 | + getApp().showWarning("请稍后重试"); | ||
| 33 | + } | ||
| 34 | + }, | ||
| 35 | + | ||
| 36 | + //--跳转到权益页面-- | ||
| 37 | + go_qy: function () { | ||
| 38 | + if (!getApp().globalData.userInfo) return false; | ||
| 39 | + var url = "/pages/user/userqy/userqy"; | ||
| 40 | + getApp().goto(url); | ||
| 41 | + }, | ||
| 42 | + }, | ||
| 43 | + observers: { | ||
| 44 | + // 监听 num1 和 num2 数据的变化 | ||
| 45 | + 'qy_data': function(obj){ | ||
| 46 | + console.log(1111); | ||
| 47 | + console.log(obj); | ||
| 48 | + if(obj){ | ||
| 49 | + //4个4个一组 | ||
| 50 | + let arr = new Array(); | ||
| 51 | + let ater=this.properties.object.show_num; | ||
| 52 | + let arr_data= this.properties.qy_data.old_qy_list | ||
| 53 | + for (let i = 0; i < arr_data.length; i += ater) { | ||
| 54 | + arr.push(arr_data.slice(i, i + ater)); | ||
| 55 | + } | ||
| 56 | + this.setData({qy_list:arr}) | ||
| 57 | + } | ||
| 58 | + } | ||
| 59 | + }, | ||
| 60 | + | ||
| 61 | +}) | ||
| 0 | \ No newline at end of file | 62 | \ No newline at end of file |
components/diy_user_my_rights/diy_user_my_rights.json
0 → 100644
components/diy_user_my_rights/diy_user_my_rights.wxml
0 → 100644
| 1 | +<!-- 我的权益 --> | ||
| 2 | +<view class="xc-my-equity-frame" wx:if="{{qy_data && qy_data.is_init}}"> | ||
| 3 | + <view class="xc-equity-title flex-level" bindtap="go_qy" wx:if="{{object.is_title}}"> | ||
| 4 | + <view class="xc-title-frame flex-space-between"> | ||
| 5 | + <view class="flex-vertical xc-title-content"> | ||
| 6 | + <image class="xc-title-img" src="{{iurl}}/miniapp/images/medal.png"></image> | ||
| 7 | + <view class="three-level-word">我的权益</view> | ||
| 8 | + </view> | ||
| 9 | + </view> | ||
| 10 | + <view wx:if="{{qy_data.is_grad_get}}" class="three-level-word xc-more-frame flex-vertical"> | ||
| 11 | + <view class="three-level-word xc-more">更多</view> | ||
| 12 | + <view class="bg_right xc-more-click bcolor"></view> | ||
| 13 | + </view> | ||
| 14 | + <view wx:else class="three-level-word xc-more-frame flex-vertical" style="justify-content: flex-end"> | ||
| 15 | + <image style="width: 40rpx; height: 40rpx; margin-right: 20rpx" src="{{iurl}}/miniapp/images/loader.gif"></image> | ||
| 16 | + </view> | ||
| 17 | + </view> | ||
| 18 | + | ||
| 19 | + <block wx:if="{{qy_data && qy_data.is_grad_get}}"> | ||
| 20 | + <block wx:if="{{qy_data && qy_data.qy_list && qy_data.gradeId}}"> | ||
| 21 | + <view class="xc-specific-more-frame flex-vertical" wx:if="{{qy_data.qy_list}}"> | ||
| 22 | + | ||
| 23 | + <view bindtap="click_pre"> | ||
| 24 | + <view class="bg_left xc-left bcolor"></view> | ||
| 25 | + </view> | ||
| 26 | + | ||
| 27 | + <swiper current="{{sw_index}}" style='width:82.7%; height:108rpx' bindchange='onSli' indicator-dots="{{false}}" autoplay="{{false}}"> | ||
| 28 | + <swiper-item wx:for="{{qy_list}}" wx:for-item="aitem" wx:for-index="pidx"> | ||
| 29 | + <view class="flex xc-middle"> | ||
| 30 | + | ||
| 31 | + <view class="xc-center-frame t-c" wx:for="{{aitem}}" data-img="{{item.PrivilegeImageUrl}}" data-no="{{item.PrivilegeType}}" | ||
| 32 | + data-ind="{{index}}" data-find="{{pidx}}" bindtap="go_qy_url"> | ||
| 33 | + <!-- <text>qy_list.privilegeICOUrl</text> --> | ||
| 34 | + <image wx:if="{{object.is_icon}}" class="xc-center-img {{item.ishas==1?'':'img_gray'}}" src="{{item.PrivilegeICOUrl}}"></image> | ||
| 35 | + <view class="four-level-word">{{item.PrivilegeName}}</view> | ||
| 36 | + </view> | ||
| 37 | + </view> | ||
| 38 | + </swiper-item> | ||
| 39 | + | ||
| 40 | + </swiper> | ||
| 41 | + | ||
| 42 | + <view bindtap="click_next"> | ||
| 43 | + <view class="bg_right xc-right bcolor mt"></view> | ||
| 44 | + </view> | ||
| 45 | + </view> | ||
| 46 | + </block> | ||
| 47 | + <view wx:else style="text-align: center"> | ||
| 48 | + 未找到数据 | ||
| 49 | + </view> | ||
| 50 | + </block> | ||
| 51 | +</view> | ||
| 52 | + | ||
| 53 | + <!-- 生日营销 is_banner--> | ||
| 54 | +<block wx:if="{{b_gift}}"> | ||
| 55 | + <view class="t-c banner-frame" bindtap="clike_banne"> | ||
| 56 | + <image class="banner-img" src="{{b_gift.actImg==''?iurl+'/miniapp/images/user/banner-img.jpg':iurl+b_gift.actImg}}"> | ||
| 57 | + </image> | ||
| 58 | + </view> | ||
| 59 | +</block> | ||
| 0 | \ No newline at end of file | 60 | \ No newline at end of file |
components/diy_user_my_rights/diy_user_my_rights.wxss
0 → 100644
| 1 | +@import '../../app.wxss'; | ||
| 2 | +/* 我的权益 */ | ||
| 3 | +.xc-my-equity-frame { | ||
| 4 | + width: 100%; | ||
| 5 | + height: 248rpx; | ||
| 6 | +} | ||
| 7 | + | ||
| 8 | +.xc-equity-title { | ||
| 9 | + width: 100%; | ||
| 10 | + height: 79rpx; | ||
| 11 | + border-bottom: 1rpx solid #f2f2f2; | ||
| 12 | +} | ||
| 13 | + | ||
| 14 | +.xc-title-frame { | ||
| 15 | + width: 85%; | ||
| 16 | + height: 100%; | ||
| 17 | +} | ||
| 18 | + | ||
| 19 | +.xc-title-img { | ||
| 20 | + width: 50rpx; | ||
| 21 | + height: 50rpx; | ||
| 22 | + margin-left: 20rpx; | ||
| 23 | +} | ||
| 24 | + | ||
| 25 | +.xc-title-content { | ||
| 26 | + height: 100%; | ||
| 27 | +} | ||
| 28 | + | ||
| 29 | +.xc-more { | ||
| 30 | + color: #878787; | ||
| 31 | +} | ||
| 32 | + | ||
| 33 | +.xc-more-frame { | ||
| 34 | + width: 16.1%; | ||
| 35 | + height: 100%; | ||
| 36 | +} | ||
| 37 | + | ||
| 38 | + | ||
| 39 | +.xc-more-click { | ||
| 40 | + width: 15rpx; | ||
| 41 | + height: 15rpx; | ||
| 42 | + margin-left: 10rpx; | ||
| 43 | + color: #898989; | ||
| 44 | +} | ||
| 45 | + | ||
| 46 | +.bg_right.bcolor, | ||
| 47 | +.bg_left.bcolor { | ||
| 48 | + border-color: #333; | ||
| 49 | +} | ||
| 50 | + | ||
| 51 | +.bg_right.mt { | ||
| 52 | + margin-top: -9rpx; | ||
| 53 | +} | ||
| 54 | + | ||
| 55 | +.bg_right.mt2 { | ||
| 56 | + margin-top: -5rpx; | ||
| 57 | +} | ||
| 58 | + | ||
| 59 | + | ||
| 60 | +.xc-specific-more-frame { | ||
| 61 | + width: 100%; | ||
| 62 | + height: 169rpx; | ||
| 63 | + padding-left: 43rpx; | ||
| 64 | +} | ||
| 65 | + | ||
| 66 | +.xc-specific-more-frame .xc-left { | ||
| 67 | + width: 20rpx; | ||
| 68 | + height: 20rpx; | ||
| 69 | +} | ||
| 70 | + | ||
| 71 | +.xc-specific-more-frame .xc-middle { | ||
| 72 | + width: 100%; | ||
| 73 | + margin-left: 2%; | ||
| 74 | + height:100%; | ||
| 75 | + align-items: center; | ||
| 76 | +} | ||
| 77 | +.xc-center-frame { | ||
| 78 | + width: 20%; | ||
| 79 | + margin-right: 5%; | ||
| 80 | +} | ||
| 81 | +.xc-center-img { | ||
| 82 | + width: 60rpx; | ||
| 83 | + height: 60rpx; | ||
| 84 | +} | ||
| 85 | + | ||
| 86 | +/*---生日营销的显示 ---*/ | ||
| 87 | +.banner-img { | ||
| 88 | + width: 95%; | ||
| 89 | + height: 140rpx; | ||
| 90 | + border-radius: 10px 10px 0px 0px; | ||
| 91 | + margin-bottom: -5rpx; | ||
| 92 | + | ||
| 93 | +} | ||
| 94 | + | ||
| 95 | +.banner-frame { | ||
| 96 | + width: 100%; | ||
| 97 | + background: #f2f2f2; | ||
| 98 | + padding-top: 20rpx; | ||
| 99 | +} | ||
| 100 | + | ||
| 101 | +button::after { | ||
| 102 | + border: 0 | ||
| 103 | +} | ||
| 104 | + | ||
| 105 | + |
components/diy_user_order/diy_user_order.js
0 → 100644
| 1 | +var os = getApp().globalData.setting; | ||
| 2 | +Component({ | ||
| 3 | + properties: { | ||
| 4 | + object: { | ||
| 5 | + type: Object, | ||
| 6 | + value: null | ||
| 7 | + }, | ||
| 8 | + // 统计相关的 | ||
| 9 | + toji:{ | ||
| 10 | + type: Object, | ||
| 11 | + value: null | ||
| 12 | + }, | ||
| 13 | + | ||
| 14 | + }, | ||
| 15 | + data: { | ||
| 16 | + iurl:os.imghost, | ||
| 17 | + }, | ||
| 18 | + methods: { | ||
| 19 | + | ||
| 20 | + //跳转到订单的优化 | ||
| 21 | + go_order: function (e) { | ||
| 22 | + if (!getApp().globalData.user_id) | ||
| 23 | + { | ||
| 24 | + getApp().goto('/packageE/pages/togoin/togoin'); | ||
| 25 | + return false; | ||
| 26 | + }; | ||
| 27 | + var url = e.currentTarget.dataset.url; | ||
| 28 | + wx.navigateTo({ | ||
| 29 | + url: url, | ||
| 30 | + }) | ||
| 31 | + }, | ||
| 32 | + } | ||
| 33 | +}) | ||
| 0 | \ No newline at end of file | 34 | \ No newline at end of file |
components/diy_user_order/diy_user_order.json
0 → 100644
components/diy_user_order/diy_user_order.wxml
0 → 100644
| 1 | +<view class="xc-after-sale rel"> | ||
| 2 | + <!-- 顶上的一栏 --> | ||
| 3 | + <view class="xc-equity-title flex-level" wx:if="{{object.is_title}}"> | ||
| 4 | + <view class="xc-title-frame flex ai-center"> | ||
| 5 | + <view class="flex-vertical xc-title-content" bindtap="go_order" data-url="/pages/user/order_list/order_list"> | ||
| 6 | + <image class="xc-title-img" src="{{iurl}}/miniapp/images/hdindan.png" style="width: 50rpx; height: 55rpx;margin-right: 5rpx"></image> | ||
| 7 | + <view class="three-level-word">我的订单</view> | ||
| 8 | + </view> | ||
| 9 | + <!-- 物流信息提醒 --> | ||
| 10 | + <view class="fs26 c-5 pdl60" wx:if="{{countDadaOrder && countDadaOrder != 0}}" bindtap="go_order" data-url="/pages/user/order_list/order_list?index=1"><text class="iconfont icon-dingwei"></text>您有<text class="c-red">{{countDadaOrder}}</text>个同城配送订单</view> | ||
| 11 | + </view> | ||
| 12 | + <view class="three-level-word xc-more-frame flex-vertical" bindtap="go_order" data-url="/pages/user/order_list/order_list"> | ||
| 13 | + <view class="three-level-word xc-more">更多</view> | ||
| 14 | + <view class="bg_right xc-more-click bcolor"></view> | ||
| 15 | + </view> | ||
| 16 | + </view> | ||
| 17 | + <!-- 内容的一栏 --> | ||
| 18 | + <view class="xc-after-sale-left flex-center-around"> | ||
| 19 | + <block wx:for="{{object.list}}"> | ||
| 20 | + <!-- 判断自定义的判断显示--> | ||
| 21 | + <block wx:if="{{item.show}}"> | ||
| 22 | + <block wx:if="{{item.name=='待付款'}}"> | ||
| 23 | + <view class="t-c margin-auto rel" bindtap="go_order" data-url="/pages/user/order_list/order_list?type=1"> | ||
| 24 | + <image mode="heightFix" wx:if="{{object.is_icon}}" class="xc-no-money" src="{{item.src}}"></image> | ||
| 25 | + <view class=" xc-word-color four-level-word">待付款</view> | ||
| 26 | + <text class="order-num" hidden='{{toji.wait_pay>0?"":"true"}}'>{{toji.wait_pay}}</text> | ||
| 27 | + </view> | ||
| 28 | + </block> | ||
| 29 | + <block wx:if="{{item.name=='待发货'}}"> | ||
| 30 | + <view class="t-c margin-auto rel" bindtap="go_order" data-url="/pages/user/order_list/order_list?type=2"> | ||
| 31 | + <image mode="heightFix" wx:if="{{object.is_icon}}" class="xc-send" src="{{item.src}}"></image> | ||
| 32 | + <view class="xc-word-color four-level-word">待发货</view> | ||
| 33 | + <text class="order-num" hidden='{{toji.wait_send>0?"":"true"}}'>{{toji.wait_send}}</text> | ||
| 34 | + </view> | ||
| 35 | + | ||
| 36 | + </block> | ||
| 37 | + <block wx:if="{{item.name=='待收货'}}"> | ||
| 38 | + <view class="t-c margin-auto rel" bindtap="go_order" data-url="/pages/user/order_list/order_list?type=3"> | ||
| 39 | + <image mode="heightFix" wx:if="{{object.is_icon}}" class="xc-await" src="{{item.src}}"></image> | ||
| 40 | + <view class="xc-word-color four-level-word">待收货</view> | ||
| 41 | + <text class="order-num" hidden='{{toji.wait_receive>0?"":"true"}}'>{{toji.wait_receive}}</text> | ||
| 42 | + </view> | ||
| 43 | + | ||
| 44 | + </block> | ||
| 45 | + <block wx:if="{{item.name=='待评论'}}"> | ||
| 46 | + <view class="t-c margin-auto rel" bindtap="go_order" data-url="/pages/user/order_list/order_list?type=4"> | ||
| 47 | + <image mode="heightFix" wx:if="{{object.is_icon}}" class="xc-no-money" src="{{item.src}}"></image> | ||
| 48 | + <view class="xc-word-color four-level-word">待评论</view> | ||
| 49 | + <text class="order-num" hidden='{{toji.wait_pj>0?"":"true"}}'>{{toji.wait_pj}}</text> | ||
| 50 | + </view> | ||
| 51 | + | ||
| 52 | + </block> | ||
| 53 | + <block wx:if="{{item.name=='售后/退款'}}"> | ||
| 54 | + <view class="t-c margin-auto rel" style='margin-left:30rpx;' bindtap="go_order" data-url="/packageF/pages/user/return_goods_list/return_goods_list"> | ||
| 55 | + <image mode="heightFix" wx:if="{{object.is_icon}}" class="xc-no-money" src="{{item.src}}"></image> | ||
| 56 | + <view style='height:36rpx;'> </view> | ||
| 57 | + <view class="xc-word-color four-level-word abs">售后/退款</view> | ||
| 58 | + </view> | ||
| 59 | + </block> | ||
| 60 | + </block> | ||
| 61 | + </block> | ||
| 62 | + </view> | ||
| 63 | + <view style="clear: both"></view> | ||
| 64 | +</view> |
components/diy_user_order/diy_user_order.wxss
0 → 100644
| 1 | +@import '../../app.wxss'; | ||
| 2 | +.xc-after-sale { | ||
| 3 | + width: 100%; | ||
| 4 | +} | ||
| 5 | +.xc-after-sale-left { | ||
| 6 | + width: 96%; | ||
| 7 | + height: 100%; | ||
| 8 | + margin-top: 40rpx; | ||
| 9 | + margin-bottom: 25rpx; | ||
| 10 | +} | ||
| 11 | + | ||
| 12 | +.xc-equity-title { | ||
| 13 | + width: 100%; | ||
| 14 | + height: 79rpx; | ||
| 15 | + border-bottom: 1rpx solid #f2f2f2; | ||
| 16 | +} | ||
| 17 | +.xc-title-img { | ||
| 18 | + width: 50rpx; | ||
| 19 | + height: 50rpx; | ||
| 20 | + margin-left: 20rpx; | ||
| 21 | +} | ||
| 22 | + | ||
| 23 | + | ||
| 24 | +.xc-title-frame { | ||
| 25 | + width: 85%; | ||
| 26 | + height: 100%; | ||
| 27 | +} | ||
| 28 | +.xc-title-content { | ||
| 29 | + height: 100%; | ||
| 30 | +} | ||
| 31 | +.xc-more-frame { | ||
| 32 | + width: 16.1%; | ||
| 33 | + height: 100%; | ||
| 34 | +} | ||
| 35 | +.xc-more { | ||
| 36 | + color: #878787; | ||
| 37 | +} | ||
| 38 | + | ||
| 39 | +.xc-more-click { | ||
| 40 | + width: 15rpx; | ||
| 41 | + height: 15rpx; | ||
| 42 | + margin-left: 10rpx; | ||
| 43 | + color: #898989; | ||
| 44 | +} | ||
| 45 | + | ||
| 46 | + | ||
| 47 | +.bg_right.bcolor, | ||
| 48 | +.bg_left.bcolor { | ||
| 49 | + border-color: #333; | ||
| 50 | +} | ||
| 51 | + | ||
| 52 | +.bg_right.mt { | ||
| 53 | + margin-top: -9rpx; | ||
| 54 | +} | ||
| 55 | + | ||
| 56 | +.bg_right.mt2 { | ||
| 57 | + margin-top: -5rpx; | ||
| 58 | +} | ||
| 59 | + | ||
| 60 | +.xc-no-money { | ||
| 61 | + width: auto; | ||
| 62 | + height: 50rpx; | ||
| 63 | +} | ||
| 64 | + | ||
| 65 | +.xc-send { | ||
| 66 | + width: auto; | ||
| 67 | + height: 50rpx; | ||
| 68 | +} | ||
| 69 | +.xc-await { | ||
| 70 | + width: auto; | ||
| 71 | + height: 50rpx; | ||
| 72 | +} | ||
| 73 | + | ||
| 74 | + | ||
| 75 | +.xc-word-color { | ||
| 76 | + color: #595758; | ||
| 77 | + top: 61rpx; | ||
| 78 | + width: 110rpx; | ||
| 79 | + right: -28rpx; | ||
| 80 | +} | ||
| 81 | +.order-num { | ||
| 82 | + position: absolute; | ||
| 83 | + right: 0rpx; | ||
| 84 | + top: -18rpx; | ||
| 85 | + width: 35rpx; | ||
| 86 | + height: 35rpx; | ||
| 87 | + line-height: 35rpx; | ||
| 88 | + font-size: 22rpx; | ||
| 89 | + border-radius: 50%; | ||
| 90 | + background-color: rgba(217, 81, 99, 0.9); | ||
| 91 | + color: #fff; | ||
| 92 | +} |
components/diy_user_tools_services/diy_user_tools_services.js
0 → 100644
| 1 | +const ut = require("../../utils/util.js"); | ||
| 2 | +var os = getApp().globalData.setting; | ||
| 3 | +Component({ | ||
| 4 | + properties: { | ||
| 5 | + object: { | ||
| 6 | + type: Object, | ||
| 7 | + value: null | ||
| 8 | + }, | ||
| 9 | + f_user_tool: { | ||
| 10 | + type: Object, | ||
| 11 | + value: null | ||
| 12 | + }, | ||
| 13 | + c_list: { | ||
| 14 | + type: Object, | ||
| 15 | + value: null | ||
| 16 | + }, | ||
| 17 | + qy_data: { | ||
| 18 | + type: Object, | ||
| 19 | + value: null | ||
| 20 | + }, | ||
| 21 | + // 这里定义了innerText属性,属性值可以在组件使用时指定 | ||
| 22 | + //-- 是不是初始化了 -- | ||
| 23 | + is_dengji:{ | ||
| 24 | + type:Number, | ||
| 25 | + value:0 | ||
| 26 | + }, | ||
| 27 | + //-- 是不是有助力活动 -- | ||
| 28 | + is_assistance:{ | ||
| 29 | + type:Number, | ||
| 30 | + value:0 | ||
| 31 | + }, | ||
| 32 | + enableMeiye:{ | ||
| 33 | + type:Number, | ||
| 34 | + value:0 | ||
| 35 | + } | ||
| 36 | + }, | ||
| 37 | + | ||
| 38 | + data: { | ||
| 39 | + iurl:os.imghost, | ||
| 40 | + sys_switch:null, | ||
| 41 | + userInfo:null, | ||
| 42 | + hiddenCS: true, | ||
| 43 | + }, | ||
| 44 | + | ||
| 45 | + ready: function() { | ||
| 46 | + | ||
| 47 | + var th=this; | ||
| 48 | + | ||
| 49 | + if(getApp().globalData.userInfo){ | ||
| 50 | + this.setData({userInfo:getApp().globalData.userInfo}); | ||
| 51 | + } | ||
| 52 | + | ||
| 53 | + /*-------系统是否开通等级卡,会员是等级卡-----*/ | ||
| 54 | + getApp().getConfig2(function (e) { | ||
| 55 | + var t_swi = e.switch_list; | ||
| 56 | + if (t_swi) t_swi = JSON.parse(t_swi) | ||
| 57 | + if (t_swi) { | ||
| 58 | + th.setData({sys_switch: t_swi}); | ||
| 59 | + } | ||
| 60 | + }) | ||
| 61 | + let img_host=this.data.iurl; | ||
| 62 | + | ||
| 63 | + }, | ||
| 64 | + | ||
| 65 | + methods: { | ||
| 66 | + // 这里是一个自定义方法 | ||
| 67 | + goto_nav: function (e) { | ||
| 68 | + var th = this; | ||
| 69 | + var url = e.currentTarget.dataset.url; | ||
| 70 | + if (th.data.userInfo != null) { | ||
| 71 | + console.log('跳转'); | ||
| 72 | + getApp().goto(url); | ||
| 73 | + } else { | ||
| 74 | + wx.navigateTo({ | ||
| 75 | + url: '/packageE/pages/togoin/togoin', | ||
| 76 | + }) | ||
| 77 | + } | ||
| 78 | + }, | ||
| 79 | + //跳转到链接 | ||
| 80 | + goto: function (e) { | ||
| 81 | + console.log(e); | ||
| 82 | + console.log('跳转'); | ||
| 83 | + var url = e.currentTarget.dataset.url; | ||
| 84 | + wx.navigateTo({ url: url }) | ||
| 85 | + // getApp().goto(url); | ||
| 86 | + }, | ||
| 87 | + //--跳转到权益页面-- | ||
| 88 | + go_qy: function () { | ||
| 89 | + if (!this.data.userInfo) return false; | ||
| 90 | + var url = "/pages/user/userqy/userqy"; | ||
| 91 | + getApp().goto(url); | ||
| 92 | + }, | ||
| 93 | + | ||
| 94 | + openCS() { | ||
| 95 | + let self=this; | ||
| 96 | + // 判断会员状态 | ||
| 97 | + let user_info = getApp().globalData.userInfo; | ||
| 98 | + if (user_info == null || user_info.mobile == undefined || user_info.mobile == '' || user_info.mobile == null) { | ||
| 99 | + wx.navigateTo({ | ||
| 100 | + url: '/packageE/pages/togoin/togoin', | ||
| 101 | + }) | ||
| 102 | + return false; | ||
| 103 | + }; | ||
| 104 | + // csType/在线客服设置: | ||
| 105 | + // 0关闭(如果有设置热线电话,则显示拨打热线电话)、 | ||
| 106 | + // 1小程序客服、 | ||
| 107 | + // 2企业微信客服 | ||
| 108 | + if (this.data.sys_switch) { | ||
| 109 | + let csType = this.data.sys_switch.weapp_customertype; | ||
| 110 | + if (csType == 0) { | ||
| 111 | + // 拨打电话号码 | ||
| 112 | + this.contactService(); | ||
| 113 | + } else { | ||
| 114 | + this.getTel() | ||
| 115 | + .then(() => { | ||
| 116 | + self.setData({ | ||
| 117 | + hiddenCS: false, | ||
| 118 | + }); | ||
| 119 | + }); | ||
| 120 | + } | ||
| 121 | + } | ||
| 122 | + }, | ||
| 123 | + | ||
| 124 | + //---------联系客服------------ | ||
| 125 | + contactService: function () { | ||
| 126 | + getApp().com_call(this); | ||
| 127 | + }, | ||
| 128 | + | ||
| 129 | + //关闭客服操作菜单 | ||
| 130 | + closeCS() { | ||
| 131 | + this.setData({ | ||
| 132 | + hiddenCS: true, | ||
| 133 | + }); | ||
| 134 | + }, | ||
| 135 | + | ||
| 136 | + //添加卡包 | ||
| 137 | + addcard: function () { | ||
| 138 | + var res = this.data.add_card_data; | ||
| 139 | + if (!res) return false; | ||
| 140 | + | ||
| 141 | + var arr = new Array(6) | ||
| 142 | + arr[0] = res.code; | ||
| 143 | + arr[1] = res.timestamp; | ||
| 144 | + arr[2] = res.jsapiTicket; | ||
| 145 | + arr[3] = res.openid; | ||
| 146 | + arr[4] = res.cardid; | ||
| 147 | + arr[5] = res.nonceStr; | ||
| 148 | + var c = arr.sort(); | ||
| 149 | + var newstr = ""; | ||
| 150 | + for (var i = 0; i < c.length; i++) { | ||
| 151 | + newstr += c[i]; | ||
| 152 | + } | ||
| 153 | + | ||
| 154 | + var sh1 = ut.sha1(newstr); | ||
| 155 | + wx.addCard({ | ||
| 156 | + cardList: [ | ||
| 157 | + { | ||
| 158 | + cardId: res.cardid, | ||
| 159 | + cardExt: '{"code": "' + res.code + '", "openid": "' + res.openid + '","timestamp": "' + res.timestamp + '","nonce_str":"' + res.nonceStr + '","outer_str":"web", "signature":"' + sh1 + '"}' | ||
| 160 | + } | ||
| 161 | + | ||
| 162 | + ], | ||
| 163 | + success: function (res) { }, | ||
| 164 | + cancel: function (res) { } | ||
| 165 | + }); | ||
| 166 | + }, | ||
| 167 | + | ||
| 168 | + // 获取客服热线 | ||
| 169 | + getTel() { | ||
| 170 | + var self = this; | ||
| 171 | + return new Promise((resolve, reject) => { | ||
| 172 | + var s = getApp(); | ||
| 173 | + s.getConfig(function (t) { | ||
| 174 | + if (t.store_tel == undefined) { | ||
| 175 | + getApp().request.get("/api/weshop/store/get/" + os.stoid, { | ||
| 176 | + isShowLoading: 1, | ||
| 177 | + data: {}, | ||
| 178 | + success: function (rs) { | ||
| 179 | + getApp().globalData.config = rs.data.data; | ||
| 180 | + if (rs.data.data.store_tel == null && rs.data.data.store_tel == undefined) { | ||
| 181 | + getApp().showWarning("商家未设置电话"); | ||
| 182 | + return false; | ||
| 183 | + } else { | ||
| 184 | + self.setData({ | ||
| 185 | + store_tel: rs.data.data.store_tel, | ||
| 186 | + }); | ||
| 187 | + // s.confirmBox("客服热线:" + rs.data.data.store_tel); | ||
| 188 | + }; | ||
| 189 | + | ||
| 190 | + } | ||
| 191 | + }) | ||
| 192 | + } else { | ||
| 193 | + self.setData({ | ||
| 194 | + store_tel: t.store_tel, | ||
| 195 | + }); | ||
| 196 | + // s.confirmBox("客服热线:" + t.store_tel); | ||
| 197 | + } | ||
| 198 | + resolve(); | ||
| 199 | + }); | ||
| 200 | + }); | ||
| 201 | + }, | ||
| 202 | + | ||
| 203 | + | ||
| 204 | + | ||
| 205 | + }, | ||
| 206 | + | ||
| 207 | + observers: { | ||
| 208 | + // 监听 num1 和 num2 数据的变化 | ||
| 209 | + 'f_user_tool': function(obj){ | ||
| 210 | + console.log(1111); | ||
| 211 | + console.log(obj); | ||
| 212 | + if(obj){ | ||
| 213 | + var f_user_tool=JSON.parse(JSON.stringify(obj)); | ||
| 214 | + var list=this.properties.object.list; | ||
| 215 | + | ||
| 216 | + if(list && list.length) { | ||
| 217 | + //进行循环 | ||
| 218 | + for (let iu = 0; iu < list.length; iu++) { | ||
| 219 | + let fd = f_user_tool.find(function (e) { | ||
| 220 | + return e.id == list[iu].id; | ||
| 221 | + }) | ||
| 222 | + if (fd) { | ||
| 223 | + list[iu].icoimg = fd.icoimg; | ||
| 224 | + list[iu].new_weappurl = fd.new_weappurl; | ||
| 225 | + } else { | ||
| 226 | + list.splice(iu, 1); | ||
| 227 | + iu--; | ||
| 228 | + } | ||
| 229 | + } | ||
| 230 | + }else{ | ||
| 231 | + list=[]; | ||
| 232 | + } | ||
| 233 | + //-- 如果是有新的tool要添加进去 -- | ||
| 234 | + for (let ig = 0; ig <f_user_tool.length ; ig++) { | ||
| 235 | + let fd= list.find(function (e){ | ||
| 236 | + return e.id==f_user_tool[ig].id; | ||
| 237 | + }) | ||
| 238 | + if(fd) continue; | ||
| 239 | + let ob={ | ||
| 240 | + show:true,id:fd.id,icoimg:fd.icoimg,name:item.name,new_weappurl:item.new_weappurl | ||
| 241 | + } | ||
| 242 | + list.push(ob); | ||
| 243 | + } | ||
| 244 | + | ||
| 245 | + | ||
| 246 | + this.setData({user_tool:list}) | ||
| 247 | + } | ||
| 248 | + } | ||
| 249 | + }, | ||
| 250 | +}) | ||
| 0 | \ No newline at end of file | 251 | \ No newline at end of file |
components/diy_user_tools_services/diy_user_tools_services.json
0 → 100644
components/diy_user_tools_services/diy_user_tools_services.wxml
0 → 100644
| 1 | +<!-- 工具与服务 --> | ||
| 2 | +<view class="xc-tool-service"> | ||
| 3 | + <view class="xc-tool-service-title flex-vertical" wx:if="{{object.is_title}}"> | ||
| 4 | + <image class="xc-tool-service-img" src="{{iurl}}/miniapp/images/gj.png"></image> | ||
| 5 | + <view class="three-level-word xc-tool-service-word">工具与服务</view> | ||
| 6 | + </view> | ||
| 7 | + <view class="xc-project-frame" wx:if="{{user_tool}}"> | ||
| 8 | + <!-- 跳转页面 --> | ||
| 9 | + <view class="center_v" style="display: flex;flex-wrap: wrap;align-items: center;"> | ||
| 10 | + <!-- 循环使用自定义菜单,显示和掩藏 --> | ||
| 11 | + <block wx:for="{{user_tool}}"> | ||
| 12 | + <!-- 判断自定义的判断显示--> | ||
| 13 | + <block wx:if="{{item.show}}"> | ||
| 14 | + <!-- 有链接地址的时候 --> | ||
| 15 | + <block wx:if="{{item.new_weappurl}}"> | ||
| 16 | + <block wx:if="{{item.name=='PLUS会员'}}"> | ||
| 17 | + <view class="item t-c" data-url="{{item.new_weappurl}}" bindtap="goto" wx:if="{{is_dengji==1}}"> | ||
| 18 | + <image wx:if="{{object.is_icon}}" class="xc-center-img " src="{{iurl+item.icoimg}}"></image> | ||
| 19 | + <view class="fs26">PLUS会员</view> | ||
| 20 | + </view> | ||
| 21 | + </block> | ||
| 22 | + <block wx:elif="{{item.name=='助力活动'}}"> | ||
| 23 | + <view class="item t-c" data-url="/pages/user/assistance/assistance" bindtap="goto_nav" wx:if="{{is_assistance==1}}"> | ||
| 24 | + <image wx:if="{{object.is_icon}}" class="xc-center-img" src="{{iurl}}/miniapp/images/friendhelp/icon-zl.png"></image> | ||
| 25 | + <view class="four-level-word">助力活动</view> | ||
| 26 | + </view> | ||
| 27 | + </block> | ||
| 28 | + <block wx:elif="{{item.name=='我的权益'}}"> | ||
| 29 | + <view class="item t-c" bindtap="go_qy" wx:if="{{qy_data && qy_data.qy_list!=null && qy_data.is_init && qy_data.gradeId}}"> | ||
| 30 | + <image wx:if="{{object.is_icon}}" class="xc-center-img" src="{{iurl+item.icoimg}}"></image> | ||
| 31 | + <view class="fs26">我的权益</view> | ||
| 32 | + </view> | ||
| 33 | + </block> | ||
| 34 | + <block wx:elif="{{item.name=='套盒商品'}}"> | ||
| 35 | + <view class="item t-c" data-url="{{item.new_weappurl}}" bindtap="goto" wx:if="{{enableMeiye}}"> | ||
| 36 | + <image wx:if="{{object.is_icon}}" class="xc-center-img" src="{{iurl+item.icoimg}}"></image> | ||
| 37 | + <view class="fs26">套盒商品</view> | ||
| 38 | + </view> | ||
| 39 | + </block> | ||
| 40 | + | ||
| 41 | + <block wx:elif="{{item.name=='瘦身日记'}}"> | ||
| 42 | + <view wx:if="{{has_rj>0}}" class="item t-c" data-url="{{item.new_weappurl}}" bindtap="goto_nav"> | ||
| 43 | + <image wx:if="{{object.is_icon}}" class="xc-center-img" src="{{iurl+item.icoimg}}"></image> | ||
| 44 | + <view class="fs26">{{item.name}}</view> | ||
| 45 | + </view> | ||
| 46 | + </block> | ||
| 47 | + | ||
| 48 | + <block wx:else> | ||
| 49 | + <view class="item t-c" data-url="{{item.new_weappurl}}" bindtap="goto_nav"> | ||
| 50 | + <image wx:if="{{object.is_icon}}" class="xc-center-img" src="{{iurl+item.icoimg}}"></image> | ||
| 51 | + <view class="fs26">{{item.name}}</view> | ||
| 52 | + </view> | ||
| 53 | + </block> | ||
| 54 | + </block> | ||
| 55 | + <!-- 没有链接地址的时候 --> | ||
| 56 | + <block wx:else> | ||
| 57 | + <block wx:if="{{item.name=='联系客服'}}"> | ||
| 58 | + | ||
| 59 | + <view class="item t-c" bindtap="openCS"> | ||
| 60 | + <image wx:if="{{object.is_icon}}" class="xc-center-img " src="{{iurl+item.icoimg}}"></image> | ||
| 61 | + <view class="fs26">联系客服</view> | ||
| 62 | + </view> | ||
| 63 | + | ||
| 64 | + </block> | ||
| 65 | + <block wx:elif="{{item.name=='收入卡包'}}"> | ||
| 66 | + <view class="item t-c" bindtap="addcard" wx:if="{{add_card_data}}"> | ||
| 67 | + <image wx:if="{{object.is_icon}}" class="xc-center-img " src="{{iurl+item.icoimg}}"></image> | ||
| 68 | + <view class="four-level-word">收入卡包</view> | ||
| 69 | + </view> | ||
| 70 | + </block> | ||
| 71 | + </block> | ||
| 72 | + </block> | ||
| 73 | + </block> | ||
| 74 | + </view> | ||
| 75 | + </view> | ||
| 76 | +</view> | ||
| 77 | + | ||
| 78 | +<include src="../../components/com_servicer/com_servicer.wxml"/> | ||
| 0 | \ No newline at end of file | 79 | \ No newline at end of file |
components/diy_user_tools_services/diy_user_tools_services.wxss
0 → 100644
| 1 | +@import '../../app.wxss'; | ||
| 2 | +.xc-center-img { | ||
| 3 | + width: 60rpx; | ||
| 4 | + height: 60rpx; | ||
| 5 | +} | ||
| 6 | + | ||
| 7 | +/* 工具与服务 */ | ||
| 8 | +.xc-tool-service { | ||
| 9 | + width: 100%; | ||
| 10 | + border-bottom: 20rpx solid #f2f2f2; | ||
| 11 | + padding-bottom: 30rpx; | ||
| 12 | +} | ||
| 13 | + | ||
| 14 | +.xc-tool-service .xc-tool-service-title { | ||
| 15 | + width: 100%; | ||
| 16 | + height: 90rpx; | ||
| 17 | + | ||
| 18 | +} | ||
| 19 | + | ||
| 20 | + | ||
| 21 | +.xc-tool-service-img { | ||
| 22 | + width: 38rpx; | ||
| 23 | + height: 38rpx; | ||
| 24 | + margin-left: 30rpx; | ||
| 25 | +} | ||
| 26 | + | ||
| 27 | +.xc-tool-service-word { | ||
| 28 | + margin-left: 10rpx; | ||
| 29 | +} | ||
| 30 | + | ||
| 31 | +.xc-project-frame { | ||
| 32 | + width: 100%; | ||
| 33 | +} | ||
| 34 | + | ||
| 35 | +.xc-project-frame .item { | ||
| 36 | + width: 25%; | ||
| 37 | + margin-top: 30rpx; | ||
| 38 | + display: inline-block; | ||
| 39 | + line-height: 40rpx; | ||
| 40 | + margin-left: 0 !important; | ||
| 41 | + margin-right: 0 !important; | ||
| 42 | +} | ||
| 0 | \ No newline at end of file | 43 | \ No newline at end of file |
packageG/pages/user_template/index.js
0 → 100644
| 1 | +var t = getApp(), | ||
| 2 | + a = t.request, | ||
| 3 | + os = t.globalData.setting, | ||
| 4 | + ut = require("../../../utils/util.js"), | ||
| 5 | + com = require("../../../utils/common.js"); | ||
| 6 | +var regeneratorRuntime = require('../../../utils/runtime.js'); | ||
| 7 | +const rq = require("../../../utils/request.js"); | ||
| 8 | +var appd = getApp().globalData; | ||
| 9 | + | ||
| 10 | +Page({ | ||
| 11 | + data: { | ||
| 12 | + url: os.imghost, | ||
| 13 | + temp_id: 0, | ||
| 14 | + goodsGroupArr: [], | ||
| 15 | + pulscardname: '', | ||
| 16 | + rfmName: '成长值', | ||
| 17 | + | ||
| 18 | + byquan: 0, | ||
| 19 | + yuer: 0, | ||
| 20 | + udata: {}, | ||
| 21 | + | ||
| 22 | + is_assistance: 0, //助力活动 | ||
| 23 | + b_gift:null, //生日礼包 | ||
| 24 | + toji: null, //统计相关 | ||
| 25 | + | ||
| 26 | + userInfo:null, | ||
| 27 | + enableMeiye:null, | ||
| 28 | + | ||
| 29 | + is_show_recommend:false, | ||
| 30 | + }, | ||
| 31 | + | ||
| 32 | + onLoad: function (e) { | ||
| 33 | + var th = this; | ||
| 34 | + this.data.temp_id = e.scene; | ||
| 35 | + if (!this.data.temp_id) wx.showModal({title: "未读取到模板ID",}) | ||
| 36 | + | ||
| 37 | + var first_leader = e.first_leader; | ||
| 38 | + if (first_leader) { | ||
| 39 | + //-- user_id代过来免登录 -- | ||
| 40 | + getApp().globalData.first_leader = first_leader; | ||
| 41 | + //调用接口判断是不是会员 | ||
| 42 | + getApp().request.promiseGet("/api/weshop/shoppingGuide/get/" + os.stoid + "/" + first_leader, {}).then(res => { | ||
| 43 | + if (res.data.code == 0) { | ||
| 44 | + getApp().globalData.guide_id = res.data.data.id; | ||
| 45 | + getApp().globalData.guide_pick_id = res.data.data.pickup_id | ||
| 46 | + } | ||
| 47 | + }) | ||
| 48 | + } | ||
| 49 | + //判断有没有登陆 | ||
| 50 | + setTimeout(() =>{ | ||
| 51 | + if (!getApp().globalData.userInfo) { | ||
| 52 | + getApp().goto('/packageE/pages/togoin/togoin'); | ||
| 53 | + } | ||
| 54 | + },1500) | ||
| 55 | + | ||
| 56 | + }, | ||
| 57 | + | ||
| 58 | + async onShow() { | ||
| 59 | + getApp().check_can_share(); | ||
| 60 | + var th = this; | ||
| 61 | + | ||
| 62 | + if(!th.data.userInfo){ | ||
| 63 | + this.data.userInfo =getApp().globalData.userInfo; | ||
| 64 | + } | ||
| 65 | + | ||
| 66 | + /*-----统计-----*/ | ||
| 67 | + getApp().request.get("/api/weshop/order/waitlist", { | ||
| 68 | + isShowLoading: 0, | ||
| 69 | + data: { | ||
| 70 | + user_id: getApp().globalData.user_id,isdel:0 | ||
| 71 | + }, | ||
| 72 | + success: function (su) { | ||
| 73 | + th.setData({ | ||
| 74 | + toji: su.data.data, | ||
| 75 | + }); | ||
| 76 | + } | ||
| 77 | + }) | ||
| 78 | + | ||
| 79 | + /*-------系统是否开通等级卡,会员是等级卡-----*/ | ||
| 80 | + getApp().getConfig2(function (e) { | ||
| 81 | + var t_swi = e.switch_list; | ||
| 82 | + if (t_swi) t_swi = JSON.parse(t_swi) | ||
| 83 | + if (t_swi) { | ||
| 84 | + th.setData({sys_switch: t_swi}); | ||
| 85 | + var user_tool = []; | ||
| 86 | + if (t_swi.usertool) user_tool = JSON.parse(t_swi.usertool); | ||
| 87 | + th.setData({c_list: user_tool}); | ||
| 88 | + | ||
| 89 | + if (parseInt(t_swi.rank_switch) == 2) { | ||
| 90 | + var userInfo = th.data.userInfo; | ||
| 91 | + if (userInfo && userInfo.card_field != null && userInfo.card_field != undefined && userInfo.card_field != "") { | ||
| 92 | + var now = ut.gettimestamp(); | ||
| 93 | + var str = userInfo.card_expiredate; | ||
| 94 | + var end = new Date(str); | ||
| 95 | + end = Date.parse(end) / 1000; | ||
| 96 | + //---判断是不是有过期--- | ||
| 97 | + if (now < end) { | ||
| 98 | + th.setData({ | ||
| 99 | + is_dengji: 1 | ||
| 100 | + }) | ||
| 101 | + } else { | ||
| 102 | + th.setData({ | ||
| 103 | + is_dengji: 3 | ||
| 104 | + }) | ||
| 105 | + } | ||
| 106 | + } else { | ||
| 107 | + th.setData({ | ||
| 108 | + is_dengji: 2 | ||
| 109 | + }) | ||
| 110 | + } | ||
| 111 | + } | ||
| 112 | + } | ||
| 113 | + }) | ||
| 114 | + | ||
| 115 | + //--我的权益初始化是否有打勾,-- | ||
| 116 | + getApp().request.get("/api/weshop/users/grade/vip/init/get", { | ||
| 117 | + data: { | ||
| 118 | + storeId: os.stoid | ||
| 119 | + }, | ||
| 120 | + success: function (rs) { | ||
| 121 | + if (rs.data.code == 0 && rs.data.data.isBool) { | ||
| 122 | + th.setData({is_init: 1}); | ||
| 123 | + /*-----获取会员权益列表-----*/ | ||
| 124 | + rq.get("/api/weshop/users/grade/vipprivilegeinfo/page", { | ||
| 125 | + isShowLoading: 0, | ||
| 126 | + data: { | ||
| 127 | + storeId: os.stoid, | ||
| 128 | + pageSize: 100 | ||
| 129 | + }, | ||
| 130 | + success: async function (res) { | ||
| 131 | + | ||
| 132 | + //判断有没有值,没有值返回 | ||
| 133 | + if (!ut.ajax_ok(res)) return false; | ||
| 134 | + | ||
| 135 | + var arr_data = res.data.data.pageData; | ||
| 136 | + var gid = null, | ||
| 137 | + g_qy_list = null, | ||
| 138 | + cz_vals = 0, | ||
| 139 | + need_money = 0, | ||
| 140 | + backClass = null, | ||
| 141 | + GradeName = ''; | ||
| 142 | + | ||
| 143 | + var app_d = getApp().globalData; | ||
| 144 | + | ||
| 145 | + //获取成长值 | ||
| 146 | + await getApp().request.promiseGet("/api/weshop/users/grade/aftervipinfo/get", { | ||
| 147 | + data: { | ||
| 148 | + storeId: os.stoid, | ||
| 149 | + userId: app_d.user_id | ||
| 150 | + } | ||
| 151 | + }).then(res => { | ||
| 152 | + if (res.data.code == 0 && res.data.data) { | ||
| 153 | + gid = res.data.data.GradeId; | ||
| 154 | + var cz_val = res.data.data.GradeSum; | ||
| 155 | + cz_vals = parseInt(cz_val); | ||
| 156 | + GradeName = res.data.data.GradeName; | ||
| 157 | + } | ||
| 158 | + //th.setData({ cz_val: cz_vals, GradeName: res.data.data.GradeName, is_init: is_init, gradeId: gid}); | ||
| 159 | + }) | ||
| 160 | + var obj = { | ||
| 161 | + cz_val: cz_vals, | ||
| 162 | + GradeName: GradeName, | ||
| 163 | + gradeId: gid, | ||
| 164 | + is_grad_get: 1 | ||
| 165 | + }; | ||
| 166 | + | ||
| 167 | + // 获取最大值 | ||
| 168 | + await getApp().request.promiseGet("/api/weshop/users/grade/vipgradeinfo/page", { | ||
| 169 | + data: { | ||
| 170 | + storeId: os.stoid | ||
| 171 | + } | ||
| 172 | + }).then(res => { | ||
| 173 | + if (res.data.data) | ||
| 174 | + backClass = res.data.data.pageData; | ||
| 175 | + if (backClass) { | ||
| 176 | + var full_cz_val = backClass[backClass.length - 1].BuyGradeSum; | ||
| 177 | + obj.full_cz_val = full_cz_val | ||
| 178 | + } | ||
| 179 | + }) | ||
| 180 | + | ||
| 181 | + //--会员权益中心页的修改-- | ||
| 182 | + for (var i in backClass) { | ||
| 183 | + var im = backClass[i]; | ||
| 184 | + if (cz_vals < im.BuyGradeSum && need_money == 0) { | ||
| 185 | + need_money = im.BuyGradeSum; | ||
| 186 | + obj.need_money = need_money; | ||
| 187 | + obj.nextGradeName=im.GradeName; | ||
| 188 | + break; | ||
| 189 | + } | ||
| 190 | + } | ||
| 191 | + | ||
| 192 | + //获取当前等级的特权 | ||
| 193 | + await getApp().request.promiseGet("/api/weshop/users/grade/privilegeform/list/page", { | ||
| 194 | + data: { | ||
| 195 | + storeId: os.stoid, | ||
| 196 | + GradeId: gid, | ||
| 197 | + userId: app_d.user_id, | ||
| 198 | + pageSize: 100 | ||
| 199 | + } | ||
| 200 | + }).then(res => { | ||
| 201 | + if (res.data.data) | ||
| 202 | + g_qy_list = res.data.data.pageData; | ||
| 203 | + }); | ||
| 204 | + | ||
| 205 | + for (var i in arr_data) { | ||
| 206 | + var item = arr_data[i]; | ||
| 207 | + var FromId = th.check_is_has_qy(item, g_qy_list); | ||
| 208 | + arr_data[i].ishas = 0; | ||
| 209 | + if (FromId) { | ||
| 210 | + arr_data[i].ishas = 1; | ||
| 211 | + arr_data[i].FromId = FromId; | ||
| 212 | + } | ||
| 213 | + } | ||
| 214 | + arr_data.sort(function (a, b) { | ||
| 215 | + return b.ishas - a.ishas | ||
| 216 | + }) | ||
| 217 | + | ||
| 218 | + //4个4个一组 | ||
| 219 | + var arr = new Array(); | ||
| 220 | + for (var i = 0; i < arr_data.length; i += 4) { | ||
| 221 | + arr.push(arr_data.slice(i, i + 4)); | ||
| 222 | + } | ||
| 223 | + //th.setData({ qy_list: arr, need_money: need_money}); | ||
| 224 | + obj.qy_list = arr; | ||
| 225 | + obj.old_qy_list = arr_data; | ||
| 226 | + th.setData(obj); | ||
| 227 | + obj.is_init = 1; | ||
| 228 | + th.setData({qy_data: obj}) | ||
| 229 | + } | ||
| 230 | + }) | ||
| 231 | + } | ||
| 232 | + } | ||
| 233 | + }) | ||
| 234 | + | ||
| 235 | + this.puls_user(); | ||
| 236 | + this.getVison(); | ||
| 237 | + | ||
| 238 | + //-----获取线下会员的预存款和优惠券的数量----- | ||
| 239 | + getApp().request.get("/api/weshop/users/getinfo/" + os.stoid + "/" + getApp().globalData.user_id, { | ||
| 240 | + isShowLoading: 0, | ||
| 241 | + success: function (su) { | ||
| 242 | + if (su.data.code == 0 && su.data.data) { | ||
| 243 | + var data = su.data.data; | ||
| 244 | + if (!data) data = {}; | ||
| 245 | + data.cashcount = parseInt(data.cashcount); | ||
| 246 | + th.setData({ | ||
| 247 | + udata: data, | ||
| 248 | + }); | ||
| 249 | + } | ||
| 250 | + } | ||
| 251 | + }) | ||
| 252 | + | ||
| 253 | + //-----获取会员提现金额----- | ||
| 254 | + getApp().request.get("/api/weshop/withdrawals/summoney", { | ||
| 255 | + isShowLoading: 0, | ||
| 256 | + data: { | ||
| 257 | + user_id: getApp().globalData.user_id, | ||
| 258 | + store_id: os.stoid, | ||
| 259 | + status: 0 | ||
| 260 | + }, | ||
| 261 | + success: function (su) { | ||
| 262 | + if (su.data.code == 0) { | ||
| 263 | + | ||
| 264 | + let user = getApp().globalData.userInfo; | ||
| 265 | + var yuer = parseFloat(user.user_money - user.frozen_money - su.data.data.summoney).toFixed(2); | ||
| 266 | + th.setData({ | ||
| 267 | + txmon: su.data.data.summoney, | ||
| 268 | + yuer: yuer | ||
| 269 | + }); | ||
| 270 | + } | ||
| 271 | + } | ||
| 272 | + }) | ||
| 273 | + | ||
| 274 | + /*-----获取会员包邮券的数量-----*/ | ||
| 275 | + getApp().request.get("/api/weshop/userfeemail/page", { | ||
| 276 | + isShowLoading: 0, | ||
| 277 | + data: { | ||
| 278 | + user_id: getApp().globalData.user_id, | ||
| 279 | + store_id: os.stoid, | ||
| 280 | + pageSize: 1, | ||
| 281 | + isuse: 0 | ||
| 282 | + }, | ||
| 283 | + success: function (su) { | ||
| 284 | + if (su.data.code == 0) { | ||
| 285 | + th.setData({ | ||
| 286 | + byquan: parseInt(su.data.data.total) | ||
| 287 | + }); | ||
| 288 | + } | ||
| 289 | + } | ||
| 290 | + }); | ||
| 291 | + | ||
| 292 | + | ||
| 293 | + // 判断是否开启美业 | ||
| 294 | + getApp().promiseGet('/api/weshop/store/getTabSys/' + os.stoid, {}).then(res => { | ||
| 295 | + if (res.data.code == 0) { | ||
| 296 | + th.setData({ | ||
| 297 | + enableMeiye: res.data.data.EnableMeiye, | ||
| 298 | + }); | ||
| 299 | + }; | ||
| 300 | + }); | ||
| 301 | + | ||
| 302 | + //判断一下是不是助力活动 | ||
| 303 | + this.is_assistance(); | ||
| 304 | + //获取工具 | ||
| 305 | + await this.init_user_tool(); | ||
| 306 | + //获取一下生日相关 | ||
| 307 | + this.birthday(); | ||
| 308 | + | ||
| 309 | + //获取自定义模板 | ||
| 310 | + await this.init_load(); | ||
| 311 | + | ||
| 312 | + //自定义组件一定要等到页面加载完了,才来调用selectComponnent | ||
| 313 | + setTimeout(function () { | ||
| 314 | + | ||
| 315 | + th.setData({ is_show_recommend:true }) | ||
| 316 | + if (getApp().globalData.user_id) getApp().requestCardNum(th); | ||
| 317 | + var goods_list = th.selectComponent("#goods_recommend"); //组件的id | ||
| 318 | + | ||
| 319 | + if(goods_list){ | ||
| 320 | + goods_list.init(); | ||
| 321 | + goods_list.get_list(); | ||
| 322 | + } | ||
| 323 | + | ||
| 324 | + }, 1500) | ||
| 325 | + | ||
| 326 | + }, | ||
| 327 | + | ||
| 328 | + //获取商品模块实例 | ||
| 329 | + newGoodsGroup() { | ||
| 330 | + let arr = [] | ||
| 331 | + if (this.data.template_arr.length == 0) { | ||
| 332 | + return | ||
| 333 | + } | ||
| 334 | + this.data.template_arr.map((item, index) => { | ||
| 335 | + if (item.ename == 'goodsGroup') { | ||
| 336 | + arr.push(`goodsGroup${index}`) | ||
| 337 | + } | ||
| 338 | + }) | ||
| 339 | + if (arr.length > 0) { | ||
| 340 | + this.setData({ | ||
| 341 | + goodsGroupArr: arr | ||
| 342 | + }) | ||
| 343 | + arr.map(item => { | ||
| 344 | + let a = '.' + item | ||
| 345 | + this[item] = this.selectComponent(a); | ||
| 346 | + }) | ||
| 347 | + } | ||
| 348 | + }, | ||
| 349 | + //当隐藏的时候就关闭计时器 | ||
| 350 | + onHide: function () { | ||
| 351 | + | ||
| 352 | + }, | ||
| 353 | + //同步初始加载 | ||
| 354 | + async init_load() { | ||
| 355 | + var th = this; | ||
| 356 | + //因为营销版本的功能包含了自定义模板的功能,是同时的 | ||
| 357 | + //读取全局是否有弄自定义模板 | ||
| 358 | + await getApp().request.promiseGet("/api/weshop/store_module/get/" + th.data.temp_id + "/8", {1: 1}).then(res => { | ||
| 359 | + var data = res.data.data; | ||
| 360 | + if (data) { | ||
| 361 | + var temp_data = data; | ||
| 362 | + wx.setNavigationBarTitle({ | ||
| 363 | + title: temp_data.page_title, | ||
| 364 | + }); | ||
| 365 | + var t_arr = JSON.parse(temp_data.json_str); | ||
| 366 | + | ||
| 367 | + let obj={ | ||
| 368 | + share_title: temp_data.page_title, | ||
| 369 | + template_arr: t_arr, | ||
| 370 | + isTemplate: 1, | ||
| 371 | + bgcolor_t: temp_data.bkcolor | ||
| 372 | + }; | ||
| 373 | + | ||
| 374 | + setTimeout(() => { | ||
| 375 | + th.newGoodsGroup() | ||
| 376 | + }, 1000) | ||
| 377 | + | ||
| 378 | + //---如果有设定顶部的颜色的时候-- | ||
| 379 | + if (temp_data.top_color && temp_data.top_color != 'null') { | ||
| 380 | + var top_w_color = "#ffffff"; | ||
| 381 | + if (temp_data.top_word_color) { | ||
| 382 | + top_w_color = temp_data.top_word_color | ||
| 383 | + } | ||
| 384 | + wx.setNavigationBarColor({ | ||
| 385 | + frontColor: top_w_color, // 必写项 | ||
| 386 | + backgroundColor: temp_data.top_color, // 必写项 | ||
| 387 | + }) | ||
| 388 | + obj.topwColor=top_w_color; | ||
| 389 | + obj.topbgColor=temp_data.top_color; | ||
| 390 | + } | ||
| 391 | + | ||
| 392 | + th.setData(obj); | ||
| 393 | + | ||
| 394 | + } | ||
| 395 | + }) | ||
| 396 | + }, | ||
| 397 | + | ||
| 398 | + onPullDownRefresh: function (e) { | ||
| 399 | + | ||
| 400 | + }, | ||
| 401 | + | ||
| 402 | + | ||
| 403 | + onShareAppMessage: async function (e) { | ||
| 404 | + var th = this; | ||
| 405 | + getApp().globalData.no_clear = 1; | ||
| 406 | + getApp().getConfig(await function (e) { | ||
| 407 | + th.setData({ | ||
| 408 | + store_config: e | ||
| 409 | + }) | ||
| 410 | + }.bind(this)) | ||
| 411 | + | ||
| 412 | + var url = `pages/template/index?sence=` + this.data.temp_id; | ||
| 413 | + var userInfo = getApp().globalData.userInfo; | ||
| 414 | + //是分销商才带 | ||
| 415 | + if (userInfo) { | ||
| 416 | + url += "&first_leader=" + userInfo.user_id; | ||
| 417 | + } | ||
| 418 | + | ||
| 419 | + var ob = { | ||
| 420 | + title: this.data.share_title, | ||
| 421 | + path: url, | ||
| 422 | + //imageUrl:this.data.url+this.data.store_config.store_logo, | ||
| 423 | + }; | ||
| 424 | + return ob; | ||
| 425 | + }, | ||
| 426 | + | ||
| 427 | + /** | ||
| 428 | + * 用户分享朋友圈 | ||
| 429 | + */ | ||
| 430 | + async onShareTimeline() { | ||
| 431 | + | ||
| 432 | + var th = this; | ||
| 433 | + getApp().globalData.no_clear = 1; | ||
| 434 | + getApp().getConfig(await function (e) { | ||
| 435 | + th.setData({ | ||
| 436 | + store_config: e | ||
| 437 | + }) | ||
| 438 | + }.bind(this)) | ||
| 439 | + var {share_title, temp_id, store_config} = this.data; | ||
| 440 | + var url = `sence=${temp_id}`; | ||
| 441 | + | ||
| 442 | + var userInfo = getApp().globalData.userInfo; | ||
| 443 | + //是分销商才带 | ||
| 444 | + if (userInfo) { | ||
| 445 | + url += "&first_leader=" + userInfo.user_id; | ||
| 446 | + } | ||
| 447 | + | ||
| 448 | + var ob = { | ||
| 449 | + title: share_title, | ||
| 450 | + query: url, | ||
| 451 | + //imageUrl:this.data.url+store_config.store_logo, | ||
| 452 | + }; | ||
| 453 | + console.log(ob); | ||
| 454 | + return ob; | ||
| 455 | + }, | ||
| 456 | + | ||
| 457 | + //---加载更多是靠这个函数---- | ||
| 458 | + onReachBottom: function () { | ||
| 459 | + if (getApp().globalData.func_list) { | ||
| 460 | + for (let i in getApp().globalData.func_list) { | ||
| 461 | + let item = getApp().globalData.func_list[i]; | ||
| 462 | + item.re_show(); | ||
| 463 | + } | ||
| 464 | + } | ||
| 465 | + | ||
| 466 | + //自定义时商品自动加载更多 | ||
| 467 | + let goodsGroupArr = this.data.goodsGroupArr | ||
| 468 | + if (this.data.isTemplate && goodsGroupArr.length > 0) { | ||
| 469 | + goodsGroupArr.map(item => { | ||
| 470 | + this[item].automore() | ||
| 471 | + }) | ||
| 472 | + } | ||
| 473 | + | ||
| 474 | + var e = getApp().globalData.userInfo; | ||
| 475 | + if (e != undefined && e != null && e.mobile) { | ||
| 476 | + var goods_list = this.selectComponent("#goods_recommend"); //组件的id | ||
| 477 | + goods_list.init(); | ||
| 478 | + setTimeout(function () { | ||
| 479 | + goods_list.get_list(); | ||
| 480 | + }, 300) | ||
| 481 | + } | ||
| 482 | + | ||
| 483 | + }, | ||
| 484 | + | ||
| 485 | + //-----Plus会员获取----------- | ||
| 486 | + puls_user: function () { | ||
| 487 | + var th = this; | ||
| 488 | + getApp().request.get("/api/weshop/plus/vip/mem/list", { | ||
| 489 | + data: { | ||
| 490 | + storeId: os.stoid, | ||
| 491 | + userId: getApp().globalData.user_id, | ||
| 492 | + }, | ||
| 493 | + success: function (su) { | ||
| 494 | + if (su.data.code == 0) { | ||
| 495 | + var cardname = su.data.data[0].MemCardName; | ||
| 496 | + th.setData({ | ||
| 497 | + pulscardname: cardname | ||
| 498 | + }); | ||
| 499 | + } | ||
| 500 | + } | ||
| 501 | + }); | ||
| 502 | + }, | ||
| 503 | + | ||
| 504 | + //判断会员是后有改服务项目 | ||
| 505 | + check_is_has_qy: function (item, g_qy_list) { | ||
| 506 | + if (!g_qy_list) return false; | ||
| 507 | + | ||
| 508 | + for (var i in g_qy_list) { | ||
| 509 | + var iter = g_qy_list[i]; | ||
| 510 | + if (iter.FormId == item.Id) return g_qy_list[i].FormId; | ||
| 511 | + } | ||
| 512 | + return false; | ||
| 513 | + }, | ||
| 514 | + | ||
| 515 | + //获取会员权益等级是否升级 | ||
| 516 | + getVison() { | ||
| 517 | + let isRfm = wx.getStorageSync('isRfm') | ||
| 518 | + if (isRfm) { | ||
| 519 | + this.setData({ | ||
| 520 | + rfmName: '综合分' | ||
| 521 | + }) | ||
| 522 | + } else { | ||
| 523 | + rq.get(`/api/weshop/users/grade/vip/getSysPara?storeId=${os.stoid}&classInfo=IsUpRMF`, { | ||
| 524 | + success: (res) => { | ||
| 525 | + console.log('会员权益等级升级查询-------'); | ||
| 526 | + console.log(res); | ||
| 527 | + if (res.data.code == 0 && res.data.data && res.data.data.IsBool) { | ||
| 528 | + this.setData({ | ||
| 529 | + rfmName: '综合分' | ||
| 530 | + }) | ||
| 531 | + wx.setStorageSync('isRfm', true) | ||
| 532 | + } | ||
| 533 | + } | ||
| 534 | + }) | ||
| 535 | + } | ||
| 536 | + }, | ||
| 537 | + | ||
| 538 | + | ||
| 539 | + //-- 初始话按钮图标,服务与工具的优化 --- | ||
| 540 | + init_user_tool: async function () { | ||
| 541 | + var d_list = null; | ||
| 542 | + //读取user_tool按钮图标 | ||
| 543 | + await getApp().promiseGet("/api/weshop/userTool/page?pageSize=100&store_id=" + os.stoid, {}).then(res => { | ||
| 544 | + if (ut.ajax_ok(res)) { | ||
| 545 | + d_list = res.data.data.pageData; | ||
| 546 | + } | ||
| 547 | + }) | ||
| 548 | + | ||
| 549 | + if (!d_list) return false; | ||
| 550 | + //过滤掉分销关闭的 | ||
| 551 | + let distribut_end_time = await getApp().user_tools_endTime(2);//过滤掉分销到期的 | ||
| 552 | + await getApp().promiseGet("/api/weshop/storeDistribut/get/" + os.stoid, {}).then(rs => { | ||
| 553 | + if (rs.data.code == 0 || !rs.data.data) { | ||
| 554 | + var is_ok = 1; | ||
| 555 | + | ||
| 556 | + if (!distribut_end_time) { | ||
| 557 | + is_ok = 0; | ||
| 558 | + } else if (!rs.data.data) { | ||
| 559 | + is_ok = 0; | ||
| 560 | + } else { | ||
| 561 | + var dis = rs.data.data; | ||
| 562 | + if (!dis || dis.switch == 0) { | ||
| 563 | + is_ok = 0; | ||
| 564 | + } | ||
| 565 | + } | ||
| 566 | + | ||
| 567 | + for (var i in d_list) { | ||
| 568 | + if (d_list[i].name == '我的分销' && !is_ok) { | ||
| 569 | + d_list.splice(i, 1); | ||
| 570 | + } | ||
| 571 | + } | ||
| 572 | + } | ||
| 573 | + }) | ||
| 574 | + | ||
| 575 | + //判断有没有开AI测肤 | ||
| 576 | + await getApp().promiseGet("/api/weshop/wx/weappSkin/get/" + os.stoid, {}).then(rs => { | ||
| 577 | + if (rs.data.code != 0 || !rs.data.data) { | ||
| 578 | + for (var i in d_list) { | ||
| 579 | + if (d_list[i].name == 'AI测肤') { | ||
| 580 | + d_list.splice(i, 1); | ||
| 581 | + } | ||
| 582 | + } | ||
| 583 | + } | ||
| 584 | + }) | ||
| 585 | + this.setData({user_tool: d_list}); | ||
| 586 | + }, | ||
| 587 | + | ||
| 588 | + // 判断助力活动是不是存在 | ||
| 589 | + is_assistance: function () { | ||
| 590 | + var th = this, r = Math.random() * 100; | ||
| 591 | + getApp().promiseGet("/api/weshop/marketing/help/act/judge", { | ||
| 592 | + data: { | ||
| 593 | + storeId: os.stoid, | ||
| 594 | + userId: getApp().globalData.user_id, | ||
| 595 | + r: r, | ||
| 596 | + } | ||
| 597 | + }).then(res => { | ||
| 598 | + var code = res.data.code; | ||
| 599 | + if (code == 0) { | ||
| 600 | + th.setData({ | ||
| 601 | + is_assistance: 1 | ||
| 602 | + }); | ||
| 603 | + } else { | ||
| 604 | + th.setData({ | ||
| 605 | + is_assistance: 0 | ||
| 606 | + }); | ||
| 607 | + } | ||
| 608 | + }) | ||
| 609 | + }, | ||
| 610 | + | ||
| 611 | + // 判断生日营销的页面是不是存在 | ||
| 612 | + birthday: function () { | ||
| 613 | + var th = this; | ||
| 614 | + getApp().request.get("/api/weshop/marketing/birthday/act/judge", { | ||
| 615 | + data: { storeId: os.stoid, userId: getApp().globalData.user_id }, | ||
| 616 | + success: function (res) { | ||
| 617 | + var code = res.data.code; | ||
| 618 | + if (code == 0) { | ||
| 619 | + var giftbagid = res.data.data.giftBagId; | ||
| 620 | + var actId = res.data.data.id; | ||
| 621 | + var actImg = res.data.data.actImg; | ||
| 622 | + th.setData({ b_gift:{ giftbagid: giftbagid, actId: actId, actImg: actImg } }); | ||
| 623 | + } | ||
| 624 | + | ||
| 625 | + } | ||
| 626 | + }) | ||
| 627 | + }, | ||
| 628 | + | ||
| 629 | + | ||
| 630 | +}); | ||
| 0 | \ No newline at end of file | 631 | \ No newline at end of file |
packageG/pages/user_template/index.json
0 → 100644
| 1 | +{ | ||
| 2 | + "navigationBarBackgroundColor": "#ff7295", | ||
| 3 | + "navigationBarTextStyle": "white", | ||
| 4 | + "usingComponents": { | ||
| 5 | + "advertising":"/components/diy_advertising/diy_advertising", | ||
| 6 | + "assist":"/components/diy_assist/diy_assist", | ||
| 7 | + "diy_user_info":"/components/diy_user_info/diy_user_info", | ||
| 8 | + "diy_user_order":"/components/diy_user_order/diy_user_order", | ||
| 9 | + "diy_user_my_rights":"/components/diy_user_my_rights/diy_user_my_rights", | ||
| 10 | + "diy_user_tools_services":"/components/diy_user_tools_services/diy_user_tools_services", | ||
| 11 | + "com_top_nav": "/components/com_top_nav/com_top_nav", | ||
| 12 | + "goods_recommend": "/components/goods_list/goods_list" | ||
| 13 | + }, | ||
| 14 | + "enablePullDownRefresh": false, | ||
| 15 | + "onReachBottomDistance":300, | ||
| 16 | + "navigationStyle": "custom", | ||
| 17 | + "navigationBarTitleText": "会员中心" | ||
| 18 | +} | ||
| 0 | \ No newline at end of file | 19 | \ No newline at end of file |
packageG/pages/user_template/index.wxml
0 → 100644
| 1 | +<com_top_nav title="会员中心" bcolor="{{topbgColor}}" color="{{topwColor}}"></com_top_nav> | ||
| 2 | +<view class="container" style="background-color:{{bgcolor_t}}"> | ||
| 3 | + <block wx:for="{{template_arr}}" wx:key="{{index}}"> | ||
| 4 | + <view> | ||
| 5 | + <!--广告组合--> | ||
| 6 | + <block wx:if="{{item.ename=='advertising'}}"> | ||
| 7 | + <advertising object="{{item.content}}"></advertising> | ||
| 8 | + </block> | ||
| 9 | + <!--辅助空白--> | ||
| 10 | + <block wx:if="{{item.ename=='white'}}"> | ||
| 11 | + <assist object="{{item.content}}"></assist> | ||
| 12 | + </block> | ||
| 13 | + <!-- 会员信息 --> | ||
| 14 | + <block wx:if="{{item.ename=='userinfo'}}"> | ||
| 15 | + <diy_user_info object="{{item.content}}" | ||
| 16 | + byquan="{{byquan}}" yuer="{{yuer}}" udata="{{udata}}" | ||
| 17 | + qy_data="{{qy_data}}" pulscardname="{{pulscardname}}" rfmName="{{rfmName}}" ></diy_user_info> | ||
| 18 | + </block> | ||
| 19 | + <!-- 我的订单 --> | ||
| 20 | + <block wx:if="{{item.ename=='order'}}"> | ||
| 21 | + <diy_user_order object="{{item.content}}" toji="{{toji}}" ></diy_user_order> | ||
| 22 | + </block> | ||
| 23 | + <!-- 我的权益 --> | ||
| 24 | + <block wx:if="{{item.ename=='my_rights'}}"> | ||
| 25 | + <diy_user_my_rights object="{{item.content}}" qy_data="{{qy_data}}" b_gift="{{b_gift}}" ></diy_user_my_rights> | ||
| 26 | + </block> | ||
| 27 | + <!-- 工具与服务 --> | ||
| 28 | + <block wx:if="{{item.ename=='tools_services'}}"> | ||
| 29 | + <diy_user_tools_services object="{{item.content}}" is_dengji="{{is_dengji}}" qy_data="{{qy_data}}" | ||
| 30 | + enableMeiye="{{enableMeiye}}" f_user_tool="{{user_tool}}" c_list="{{c_list}}"></diy_user_tools_services> | ||
| 31 | + </block> | ||
| 32 | + | ||
| 33 | + </view> | ||
| 34 | + </block> | ||
| 35 | +</view> | ||
| 36 | +<!-- 蒙尘 --> | ||
| 37 | +<block wx:if="{{is_disgraceful}}"> | ||
| 38 | + <view class="disgraceful"> | ||
| 39 | + <!-- 新人礼领取图片 --> | ||
| 40 | + <view class="newreceive flex-center"> | ||
| 41 | + <view> | ||
| 42 | + <navigator bindtap="new_nav"> | ||
| 43 | + <view class="flex-level"> | ||
| 44 | + <image class="receive" src="{{url}}{{new_image==''?'/miniapp/images/newpeople/newreceive.png':new_image}}"></image> | ||
| 45 | + </view> | ||
| 46 | + </navigator> | ||
| 47 | + <view class="flex-level"> | ||
| 48 | + <image class="close" src="{{url}}/miniapp/images/plus/Close.png" bindtap="close_disgraceful"></image> | ||
| 49 | + </view> | ||
| 50 | + </view> | ||
| 51 | + </view> | ||
| 52 | + </view> | ||
| 53 | +</block> | ||
| 54 | + | ||
| 55 | +<!-- 显示商品 --> | ||
| 56 | +<!-- 显示推荐 --> | ||
| 57 | +<view style='width:100%;height:73rpx;' wx:if="{{is_show_recommend}}"> | ||
| 58 | + <view class="xc-recommend-goods flex-center"> | ||
| 59 | + <view class="circle xc-small"> | ||
| 60 | + </view> | ||
| 61 | + <view class="circle xc-zhong"> | ||
| 62 | + </view> | ||
| 63 | + <view class="circle xc-big"> | ||
| 64 | + </view> | ||
| 65 | + <view class="three-level-word xc-recommend">为你推荐</view> | ||
| 66 | + <view class="circle xc-big"> | ||
| 67 | + </view> | ||
| 68 | + <view class="circle xc-zhong"> | ||
| 69 | + </view> | ||
| 70 | + <view class="circle xc-small" style='margin-left:15rpx;'> | ||
| 71 | + <!-- </view> --> | ||
| 72 | + </view> | ||
| 73 | + </view> | ||
| 74 | +</view> | ||
| 75 | +<!-- 好物推荐 --> | ||
| 76 | +<block wx:if="{{is_show_recommend}}"> | ||
| 77 | + <goods_recommend id="goods_recommend"></goods_recommend> | ||
| 78 | +</block> |
packageG/pages/user_template/index.wxss
0 → 100644
| 1 | +.pink-b { | ||
| 2 | + background: #ff7295; | ||
| 3 | +} | ||
| 4 | + | ||
| 5 | +.search-box { | ||
| 6 | + position: fixed; | ||
| 7 | + top: 0; | ||
| 8 | + left: 0; | ||
| 9 | + width: 100%; | ||
| 10 | + height: 88rpx; | ||
| 11 | + z-index: 10; | ||
| 12 | +} | ||
| 13 | + | ||
| 14 | +.classify-img { | ||
| 15 | + width: 50rpx; | ||
| 16 | + height: 45rpx; | ||
| 17 | +} | ||
| 18 | + | ||
| 19 | +.logo { | ||
| 20 | + width: 48rpx; | ||
| 21 | + height: 48rpx; | ||
| 22 | + margin: 0 18rpx; | ||
| 23 | + border-radius: 50%; | ||
| 24 | + overflow: hidden; | ||
| 25 | +} | ||
| 26 | + | ||
| 27 | +.search-inner { | ||
| 28 | + display: flex; | ||
| 29 | + align-items: center; | ||
| 30 | + margin: 20rpx 25rpx; | ||
| 31 | + width: 566rpx; | ||
| 32 | + height: 58rpx; | ||
| 33 | + border-radius: 29rpx; | ||
| 34 | + background-color: #fff; | ||
| 35 | + justify-content: center; | ||
| 36 | +} | ||
| 37 | + | ||
| 38 | +.search-img { | ||
| 39 | + width: 30rpx; | ||
| 40 | + height: 30rpx; | ||
| 41 | + margin-left: 36rpx; | ||
| 42 | + display: flex; | ||
| 43 | + align-items: center; | ||
| 44 | + position: absolute; | ||
| 45 | + left: 10%; | ||
| 46 | +} | ||
| 47 | + | ||
| 48 | +.search-cont { | ||
| 49 | + height: 58rpx; | ||
| 50 | + width: 530rpx; | ||
| 51 | + padding-left: 12rpx; | ||
| 52 | + line-height: 58rpx; | ||
| 53 | + font-size: 24rpx; | ||
| 54 | + color: #666; | ||
| 55 | + margin-left: 56rpx; | ||
| 56 | +} | ||
| 57 | + | ||
| 58 | +.search-fixed { | ||
| 59 | + background: #ff7295; | ||
| 60 | +} | ||
| 61 | + | ||
| 62 | +.swiper_box { | ||
| 63 | + width: 100%; | ||
| 64 | + height: auto; | ||
| 65 | +} | ||
| 66 | + | ||
| 67 | +.s_prom { | ||
| 68 | + width: 100%; | ||
| 69 | + height: 340rpx; | ||
| 70 | +} | ||
| 71 | + | ||
| 72 | +.s_proms { | ||
| 73 | + width: 100%; | ||
| 74 | + height: 590rpx; | ||
| 75 | +} | ||
| 76 | + | ||
| 77 | +.slide-image { | ||
| 78 | + width: 100%; | ||
| 79 | + display: inline-block; | ||
| 80 | + overflow: hidden; | ||
| 81 | + border-radius: 14rpx; | ||
| 82 | + height: auto; | ||
| 83 | +} | ||
| 84 | + | ||
| 85 | +.venues_box { | ||
| 86 | + background-color: #fff; | ||
| 87 | + padding: 20rpx 10rpx; | ||
| 88 | +} | ||
| 89 | + | ||
| 90 | +.venues_item { | ||
| 91 | + display: block; | ||
| 92 | + float: left; | ||
| 93 | + width: 20%; | ||
| 94 | + text-align: center; | ||
| 95 | + margin: 25rpx 0; | ||
| 96 | +} | ||
| 97 | + | ||
| 98 | +.venues_item image { | ||
| 99 | + vertical-align: middle; | ||
| 100 | + width: 90rpx; | ||
| 101 | + height: 90rpx; | ||
| 102 | + border: 0; | ||
| 103 | +} | ||
| 104 | + | ||
| 105 | +.venues_item view { | ||
| 106 | + font-size: 26rpx; | ||
| 107 | + margin-top: 10rpx; | ||
| 108 | +} | ||
| 109 | + | ||
| 110 | +.choice_box { | ||
| 111 | + font-size: 14px; | ||
| 112 | +} | ||
| 113 | + | ||
| 114 | +.choice_box .choice_list .choice_item { | ||
| 115 | + width: 368rpx; | ||
| 116 | + float: left; | ||
| 117 | + margin: 2rpx; | ||
| 118 | + background-color: #fff; | ||
| 119 | +} | ||
| 120 | + | ||
| 121 | +.choice_box .choice_list image { | ||
| 122 | + width: 100%; | ||
| 123 | + height: auto; | ||
| 124 | +} | ||
| 125 | + | ||
| 126 | +.title-img { | ||
| 127 | + margin-top: 110rpx; | ||
| 128 | + margin-bottom: 15rpx; | ||
| 129 | + height: auto; | ||
| 130 | +} | ||
| 131 | + | ||
| 132 | +.choice_box .choice_list .title { | ||
| 133 | + height: 36rpx; | ||
| 134 | + line-height: 36rpx; | ||
| 135 | + /* font-weight: bold; */ | ||
| 136 | + text-align: left; | ||
| 137 | + color: #333; | ||
| 138 | + margin-left: 20rpx; | ||
| 139 | + font-size: 30rpx; | ||
| 140 | +} | ||
| 141 | + | ||
| 142 | +.choice_box .choice_list .choice_footer { | ||
| 143 | + display: block; | ||
| 144 | + margin-top: 20rpx; | ||
| 145 | + margin-left: 15rpx; | ||
| 146 | + position: relative; | ||
| 147 | + height: 74rpx; | ||
| 148 | + line-height: 17rpx; | ||
| 149 | +} | ||
| 150 | + | ||
| 151 | +.choice_box .choice_list .choice_footer .price { | ||
| 152 | + color: #f23030; | ||
| 153 | + height: 10px; | ||
| 154 | +} | ||
| 155 | + | ||
| 156 | +.choice_box .choice_list .choice_footer .similer { | ||
| 157 | + position: absolute; | ||
| 158 | + bottom: 0; | ||
| 159 | + right: 0; | ||
| 160 | + text-align: center; | ||
| 161 | + color: #686868; | ||
| 162 | + width: fit-content; | ||
| 163 | + line-height: 30rpx; | ||
| 164 | + border: 1rpx solid #bfbfbf; | ||
| 165 | + padding: 1rpx 6rpx; | ||
| 166 | + border-radius: 5rpx; | ||
| 167 | +} | ||
| 168 | + | ||
| 169 | +.section { | ||
| 170 | + margin-top: 20rpx; | ||
| 171 | + background-color: #fff; | ||
| 172 | +} | ||
| 173 | + | ||
| 174 | +.section-title { | ||
| 175 | + padding-top: 30rpx; | ||
| 176 | + height: 54rpx; | ||
| 177 | + line-height: 54rpx; | ||
| 178 | + font-size: 36rpx; | ||
| 179 | + font-weight: 700; | ||
| 180 | + color: #333; | ||
| 181 | + text-align: center; | ||
| 182 | + letter-spacing: 3rpx; | ||
| 183 | +} | ||
| 184 | + | ||
| 185 | +.section-subtitle { | ||
| 186 | + line-height: 0; | ||
| 187 | + width: 340rpx; | ||
| 188 | + height: 16rpx; | ||
| 189 | + padding-bottom: 20rpx; | ||
| 190 | + margin: 0 auto; | ||
| 191 | +} | ||
| 192 | + | ||
| 193 | +.seckill { | ||
| 194 | + margin-top: 20rpx; | ||
| 195 | + background-color: #fff; | ||
| 196 | + padding-bottom: 30rpx; | ||
| 197 | +} | ||
| 198 | + | ||
| 199 | +.seckill-time { | ||
| 200 | + display: flex; | ||
| 201 | + justify-content: space-between; | ||
| 202 | + padding: 0 30rpx; | ||
| 203 | + align-items: center; | ||
| 204 | + height: 72rpx; | ||
| 205 | + color: #333; | ||
| 206 | + margin-bottom: 20rpx; | ||
| 207 | +} | ||
| 208 | + | ||
| 209 | +.sk-tips { | ||
| 210 | + font-size: 36rpx; | ||
| 211 | + font-weight: bold; | ||
| 212 | + margin-right: 20rpx; | ||
| 213 | +} | ||
| 214 | + | ||
| 215 | +.sk-time { | ||
| 216 | + position: relative; | ||
| 217 | + display: inline-block; | ||
| 218 | + font-size: 24rpx; | ||
| 219 | + width: 36rpx; | ||
| 220 | + line-height: 36rpx; | ||
| 221 | + background-color: #333; | ||
| 222 | + margin-right: 20rpx; | ||
| 223 | + color: #fff; | ||
| 224 | + text-align: center; | ||
| 225 | +} | ||
| 226 | + | ||
| 227 | +.sk-time::before { | ||
| 228 | + content: ':'; | ||
| 229 | + position: absolute; | ||
| 230 | + right: -13rpx; | ||
| 231 | + top: 0; | ||
| 232 | + color: #333; | ||
| 233 | + font-weight: bold; | ||
| 234 | +} | ||
| 235 | + | ||
| 236 | +.sk-time:last-child::before { | ||
| 237 | + content: ''; | ||
| 238 | +} | ||
| 239 | + | ||
| 240 | +.seckill-time>navigator { | ||
| 241 | + font-size: 28rpx; | ||
| 242 | +} | ||
| 243 | + | ||
| 244 | +.sk-pic { | ||
| 245 | + width: 28rpx; | ||
| 246 | + height: 28rpx; | ||
| 247 | + vertical-align: top; | ||
| 248 | +} | ||
| 249 | + | ||
| 250 | +.seckill-list { | ||
| 251 | + overflow: hidden; | ||
| 252 | +} | ||
| 253 | + | ||
| 254 | +/* .seckill-list navigator { | ||
| 255 | + width: 236rpx; margin-right: 10rpx; position: relative; | ||
| 256 | +} */ | ||
| 257 | + | ||
| 258 | +.seckill-list view { | ||
| 259 | + height: 62rpx; | ||
| 260 | + padding: 0 10rpx; | ||
| 261 | + line-height: 33rpx; | ||
| 262 | + overflow: hidden; | ||
| 263 | + font-size: 28rpx; | ||
| 264 | + width: 203rpx; | ||
| 265 | +} | ||
| 266 | + | ||
| 267 | +.seckill-list view.imgview { | ||
| 268 | + width: 203rpx; | ||
| 269 | + height: 210rpx; | ||
| 270 | + position: relative; | ||
| 271 | + overflow: hidden; | ||
| 272 | +} | ||
| 273 | + | ||
| 274 | +.imgview image { | ||
| 275 | + width: 203rpx; | ||
| 276 | + height: 203rpx; | ||
| 277 | + border-radius: 10rpx; | ||
| 278 | +} | ||
| 279 | + | ||
| 280 | +.seckill-list view.djs_view { | ||
| 281 | + background: rgba(9, 9, 9, 0.5); | ||
| 282 | + color: #fff; | ||
| 283 | + font-size: 20rpx; | ||
| 284 | + width: 216rpx; | ||
| 285 | + height: 36rpx; | ||
| 286 | + line-height: 36rpx; | ||
| 287 | + position: absolute; | ||
| 288 | + bottom: 0; | ||
| 289 | + left: 10rpx; | ||
| 290 | + z-index: 5; | ||
| 291 | + text-align-last: center; | ||
| 292 | +} | ||
| 293 | + | ||
| 294 | +.seckill-list image.status_img { | ||
| 295 | + width: 100rpx; | ||
| 296 | + height: 35rpx; | ||
| 297 | + position: absolute; | ||
| 298 | + top: 0rpx; | ||
| 299 | + left: 10rpx; | ||
| 300 | + z-index: 5; | ||
| 301 | +} | ||
| 302 | + | ||
| 303 | +.seckill-list view.status_view { | ||
| 304 | + width: 60rpx; | ||
| 305 | + height: 60rpx; | ||
| 306 | + text-align: center; | ||
| 307 | + line-height: 60rpx; | ||
| 308 | + position: absolute; | ||
| 309 | + background: #e9030d; | ||
| 310 | + color: #fff; | ||
| 311 | + font-size: 18rpx; | ||
| 312 | + top: 5rpx; | ||
| 313 | + right: 10rpx; | ||
| 314 | + z-index: 5; | ||
| 315 | + border-radius: 50%; | ||
| 316 | + padding: 0; | ||
| 317 | +} | ||
| 318 | + | ||
| 319 | +.xiafa { | ||
| 320 | + text-decoration: line-through; | ||
| 321 | + font-size: 10px; | ||
| 322 | + color: #999; | ||
| 323 | + margin-left: 10rpx; | ||
| 324 | +} | ||
| 325 | + | ||
| 326 | +.shelue { | ||
| 327 | + /* text-overflow: -o-ellipsis-lastline; | ||
| 328 | + overflow: hidden; | ||
| 329 | + text-overflow: ellipsis; | ||
| 330 | + display: -webkit-box; | ||
| 331 | + -webkit-line-clamp: 2; | ||
| 332 | + -webkit-box-orient: vertical; */ | ||
| 333 | + white-space: nowrap; | ||
| 334 | + text-overflow: ellipsis; | ||
| 335 | + overflow: hidden; | ||
| 336 | +} | ||
| 337 | + | ||
| 338 | +.meiz { | ||
| 339 | + padding: 0 10rpx; | ||
| 340 | + background: #c4182e; | ||
| 341 | + color: #fff; | ||
| 342 | + height: 18px; | ||
| 343 | + line-height: 18px; | ||
| 344 | + margin-top: -10rpx; | ||
| 345 | + border-radius: 10rpx; | ||
| 346 | +} | ||
| 347 | + | ||
| 348 | +.dengj { | ||
| 349 | + padding: 0 10rpx; | ||
| 350 | + background: #ffd700; | ||
| 351 | + color: #fff; | ||
| 352 | + height: 18px; | ||
| 353 | + line-height: 18px; | ||
| 354 | + margin-top: -10rpx; | ||
| 355 | + border-radius: 10rpx; | ||
| 356 | +} | ||
| 357 | + | ||
| 358 | +.kongge { | ||
| 359 | + width: 20rpx; | ||
| 360 | +} | ||
| 361 | + | ||
| 362 | +.choice_footer .ys { | ||
| 363 | + color: #999; | ||
| 364 | + margin-top: 20rpx; | ||
| 365 | + font-size: 11px; | ||
| 366 | + margin-left: 5rpx; | ||
| 367 | +} | ||
| 368 | + | ||
| 369 | +.p_swiper { | ||
| 370 | + display: flex; | ||
| 371 | +} | ||
| 372 | + | ||
| 373 | +.p_swiper .un_line { | ||
| 374 | + text-decoration: line-through; | ||
| 375 | + font-size: 22rpx; | ||
| 376 | + color: #b2a2c2; | ||
| 377 | +} | ||
| 378 | + | ||
| 379 | +.seckill-list view.co-red2 { | ||
| 380 | + font-size: 22rpx; | ||
| 381 | + color: #c2aebb; | ||
| 382 | + margin-top: -8rpx; | ||
| 383 | +} | ||
| 384 | + | ||
| 385 | +.seckill-list view.cantuan { | ||
| 386 | + width: 72rpx; | ||
| 387 | + height: 36rpx; | ||
| 388 | + text-align: center; | ||
| 389 | + line-height: 36rpx; | ||
| 390 | + position: absolute; | ||
| 391 | + background: #e9030d; | ||
| 392 | + color: #fff; | ||
| 393 | + font-size: 18rpx; | ||
| 394 | + bottom: 30rpx; | ||
| 395 | + right: 10rpx; | ||
| 396 | + z-index: 5; | ||
| 397 | + border-radius: 5rpx; | ||
| 398 | + padding: 0; | ||
| 399 | +} | ||
| 400 | + | ||
| 401 | +.arrow-right { | ||
| 402 | + width: 24rpx; | ||
| 403 | + height: 24rpx; | ||
| 404 | +} | ||
| 405 | + | ||
| 406 | +.pd-view { | ||
| 407 | + height: 80rpx; | ||
| 408 | +} | ||
| 409 | + | ||
| 410 | +.xc-grow-ups { | ||
| 411 | + margin-left: 8rpx; | ||
| 412 | + margin-top: 6rpx; | ||
| 413 | +} | ||
| 414 | + | ||
| 415 | +.xc-top-img { | ||
| 416 | + width: 100%; | ||
| 417 | + top: -1rpx; | ||
| 418 | + height: 315rpx; | ||
| 419 | +} | ||
| 420 | + | ||
| 421 | +.classify-frame { | ||
| 422 | + line-height: 25rpx; | ||
| 423 | +} | ||
| 424 | + | ||
| 425 | +.slide-image-frame { | ||
| 426 | + width: 95%; | ||
| 427 | + margin: auto; | ||
| 428 | + border-radius: 10rpx; | ||
| 429 | +} | ||
| 430 | + | ||
| 431 | +.xc-hook { | ||
| 432 | + width: 52rpx; | ||
| 433 | + height: 52rpx; | ||
| 434 | +} | ||
| 435 | + | ||
| 436 | +.margin-left { | ||
| 437 | + margin-left: 10rpx; | ||
| 438 | +} | ||
| 439 | + | ||
| 440 | +.xc-class-img { | ||
| 441 | + width: 83rpx; | ||
| 442 | + height: 83rpx; | ||
| 443 | +} | ||
| 444 | + | ||
| 445 | +.xc-class-frame { | ||
| 446 | + line-height: 40rpx; | ||
| 447 | + margin-top: 40rpx; | ||
| 448 | + margin-bottom: 20rpx; | ||
| 449 | +} | ||
| 450 | + | ||
| 451 | +.xc-title-img { | ||
| 452 | + height: 220rpx; | ||
| 453 | + width: 100%; | ||
| 454 | + border-radius: 15rpx; | ||
| 455 | +} | ||
| 456 | + | ||
| 457 | +.title-img-frame { | ||
| 458 | + width: 94%; | ||
| 459 | + margin: auto; | ||
| 460 | + margin-top: 30rpx; | ||
| 461 | + padding-bottom: 10rpx; | ||
| 462 | +} | ||
| 463 | + | ||
| 464 | +.seckill-list { | ||
| 465 | + line-height: 24rpx; | ||
| 466 | +} | ||
| 467 | + | ||
| 468 | +.seckill-lists { | ||
| 469 | + line-height: 30rpx; | ||
| 470 | +} | ||
| 471 | + | ||
| 472 | +.xc-marfin-right { | ||
| 473 | + margin-right: 8rpx; | ||
| 474 | +} | ||
| 475 | + | ||
| 476 | +.classname .clock-img { | ||
| 477 | + width: 36rpx; | ||
| 478 | + height: 36rpx; | ||
| 479 | + margin-right: 10rpx; | ||
| 480 | +} | ||
| 481 | + | ||
| 482 | +.classname .seckill-ttitle-img { | ||
| 483 | + width: 150rpx; | ||
| 484 | + height: 40rpx; | ||
| 485 | +} | ||
| 486 | + | ||
| 487 | +.seckill-ttitle-img.height { | ||
| 488 | + height: 35rpx; | ||
| 489 | +} | ||
| 490 | + | ||
| 491 | +.split-line { | ||
| 492 | + width: 100%; | ||
| 493 | + height: 10rpx; | ||
| 494 | + background: #eee; | ||
| 495 | +} | ||
| 496 | + | ||
| 497 | +.mar-top10 { | ||
| 498 | + margin-top: 10rpx; | ||
| 499 | +} | ||
| 500 | + | ||
| 501 | +.classname .user-img { | ||
| 502 | + width: 30rpx; | ||
| 503 | + height: 30rpx; | ||
| 504 | + margin-left: 20rpx; | ||
| 505 | + margin-right: 10rpx; | ||
| 506 | +} | ||
| 507 | + | ||
| 508 | +.user-frame { | ||
| 509 | + /* border-left: 5rpx solid #eee; */ | ||
| 510 | + height: 35rpx; | ||
| 511 | + line-height: 35rpx; | ||
| 512 | + margin-left: 10rpx; | ||
| 513 | +} | ||
| 514 | + | ||
| 515 | +.user-name { | ||
| 516 | + width: 66rpx; | ||
| 517 | + border-left: 5rpx solid #eee; | ||
| 518 | +} | ||
| 519 | + | ||
| 520 | +/* 团购列表 */ | ||
| 521 | + | ||
| 522 | +.kill-item { | ||
| 523 | + display: flex; | ||
| 524 | + justify-content: space-between; | ||
| 525 | + background-color: #fff; | ||
| 526 | + padding: 10rpx 10rpx; | ||
| 527 | + margin-bottom: 10rpx; | ||
| 528 | + border-radius: 10rpx; | ||
| 529 | + height: 249rpx; | ||
| 530 | + align-items: center; | ||
| 531 | +} | ||
| 532 | + | ||
| 533 | +.kill-pic { | ||
| 534 | + width: 215rpx; | ||
| 535 | + height: 215rpx; | ||
| 536 | + position: relative; | ||
| 537 | +} | ||
| 538 | + | ||
| 539 | +.teamheight { | ||
| 540 | + height: 289rpx; | ||
| 541 | + border-bottom: 6rpx solid #eee; | ||
| 542 | +} | ||
| 543 | + | ||
| 544 | +.kill-cont { | ||
| 545 | + width: 440rpx; | ||
| 546 | + height: 215rpx; | ||
| 547 | + margin-left: 16rpx; | ||
| 548 | +} | ||
| 549 | + | ||
| 550 | +.goods-name { | ||
| 551 | + max-height: 60rpx; | ||
| 552 | + font-size: 24rpx; | ||
| 553 | + color: #555; | ||
| 554 | + line-height: 55rpx; | ||
| 555 | +} | ||
| 556 | + | ||
| 557 | +.xc-team-img { | ||
| 558 | + width: 38rpx; | ||
| 559 | + height: 45rpx; | ||
| 560 | + left: -1rpx; | ||
| 561 | + top: -16rpx; | ||
| 562 | +} | ||
| 563 | + | ||
| 564 | +.tneirong { | ||
| 565 | + color: #fff; | ||
| 566 | + font-size: 20rpx; | ||
| 567 | + border-radius: 20rpx; | ||
| 568 | + padding-left: 32rpx; | ||
| 569 | + padding-right: 15rpx; | ||
| 570 | + padding-bottom: 2rpx; | ||
| 571 | + height: 28rpx; | ||
| 572 | + line-height: 28rpx; | ||
| 573 | + white-space: nowrap; | ||
| 574 | +} | ||
| 575 | + | ||
| 576 | +.xc-people-val-frame { | ||
| 577 | + border: 3rpx solid #d60021; | ||
| 578 | + border-radius: 8rpx; | ||
| 579 | + white-space: nowrap; | ||
| 580 | + height: 28rpx; | ||
| 581 | +} | ||
| 582 | + | ||
| 583 | +.xc-people-val-frame .val-img { | ||
| 584 | + width: 33rpx; | ||
| 585 | + height: 28rpx; | ||
| 586 | + border-radius: 8rpx; | ||
| 587 | + margin-left: -2rpx; | ||
| 588 | +} | ||
| 589 | + | ||
| 590 | +.people-img { | ||
| 591 | + width: 20rpx; | ||
| 592 | + height: 20rpx; | ||
| 593 | +} | ||
| 594 | + | ||
| 595 | +.goods-num { | ||
| 596 | + height: 50rpx; | ||
| 597 | + display: flex; | ||
| 598 | + justify-content: space-between; | ||
| 599 | + margin-top: 10rpx; | ||
| 600 | + font-size: 24rpx; | ||
| 601 | + color: #999; | ||
| 602 | +} | ||
| 603 | + | ||
| 604 | +.xc-top15 { | ||
| 605 | + padding-top: 15rpx; | ||
| 606 | + margin-top: 25rpx; | ||
| 607 | +} | ||
| 608 | + | ||
| 609 | +.underline { | ||
| 610 | + text-decoration: line-through; | ||
| 611 | + color: #999; | ||
| 612 | + font-size: 20rpx; | ||
| 613 | + margin-left: 5rpx; | ||
| 614 | + margin-top: 5rpx; | ||
| 615 | +} | ||
| 616 | + | ||
| 617 | +.navigator.navwidth { | ||
| 618 | + width: 100%;; | ||
| 619 | +} | ||
| 620 | + | ||
| 621 | +.view.left { | ||
| 622 | + padding: 0 5rpx; | ||
| 623 | +} | ||
| 624 | + | ||
| 625 | +/* 热门好物 */ | ||
| 626 | + | ||
| 627 | +.title .China { | ||
| 628 | + width: 100%; | ||
| 629 | + margin-top: 10rpx; | ||
| 630 | + margin-bottom: 10rpx; | ||
| 631 | + line-height: 0rpx; | ||
| 632 | +} | ||
| 633 | + | ||
| 634 | +.title .China .line view { | ||
| 635 | + width: 2rpx; | ||
| 636 | +} | ||
| 637 | + | ||
| 638 | +.title .China .line { | ||
| 639 | + height: 40rpx; | ||
| 640 | + color: rgb(51, 51, 51); | ||
| 641 | +} | ||
| 642 | + | ||
| 643 | +.title .China .line view { | ||
| 644 | + border-left: 3rpx solid #000; | ||
| 645 | + margin-left: 5rpx; | ||
| 646 | +} | ||
| 647 | + | ||
| 648 | +.title .China .line .one { | ||
| 649 | + height: 23rpx; | ||
| 650 | +} | ||
| 651 | + | ||
| 652 | +.title .China .line .two { | ||
| 653 | + height: 15rpx; | ||
| 654 | +} | ||
| 655 | + | ||
| 656 | +.title .China .line .three { | ||
| 657 | + height: 18rpx; | ||
| 658 | +} | ||
| 659 | + | ||
| 660 | +.title .China .Recommend { | ||
| 661 | + margin: 0rpx 20rpx; | ||
| 662 | + font-size: 28rpx; | ||
| 663 | + line-height: 39rpx; | ||
| 664 | + font-weight: bold; | ||
| 665 | +} | ||
| 666 | + | ||
| 667 | +.title .english .silk { | ||
| 668 | + width: 214rpx; | ||
| 669 | + height: 2rpx; | ||
| 670 | + background-color: #000; | ||
| 671 | +} | ||
| 672 | + | ||
| 673 | +.title .english .esh { | ||
| 674 | + margin: 0rpx 15rpx; | ||
| 675 | +} | ||
| 676 | + | ||
| 677 | +.collects { | ||
| 678 | + margin-top: 40rpx; | ||
| 679 | +} | ||
| 680 | + | ||
| 681 | +.hang { | ||
| 682 | + width: 100%; | ||
| 683 | + margin: auto; | ||
| 684 | + padding-left: 21rpx; | ||
| 685 | +} | ||
| 686 | + | ||
| 687 | +.hang .collect { | ||
| 688 | + width: 347rpx; | ||
| 689 | + height: 571rpx; | ||
| 690 | + border-radius: 25rpx; | ||
| 691 | + border: 1rpx solid rgb(214, 214, 214); | ||
| 692 | + overflow: hidden; | ||
| 693 | + margin-right: 14rpx; | ||
| 694 | + margin-bottom: 5rpx; | ||
| 695 | +} | ||
| 696 | + | ||
| 697 | +.collect .bottom { | ||
| 698 | + padding: 0rpx 20rpx; | ||
| 699 | +} | ||
| 700 | + | ||
| 701 | +.collect .sp { | ||
| 702 | + width: 100%; | ||
| 703 | + height: 326rpx; | ||
| 704 | +} | ||
| 705 | + | ||
| 706 | +.collect .money { | ||
| 707 | + margin-top: 60rpx; | ||
| 708 | + margin-bottom: 18rpx; | ||
| 709 | + line-height: 28rpx; | ||
| 710 | + align-items: baseline; | ||
| 711 | +} | ||
| 712 | + | ||
| 713 | +.collect .money view { | ||
| 714 | + line-height: 28rpx; | ||
| 715 | +} | ||
| 716 | + | ||
| 717 | +.collect .money .flex { | ||
| 718 | + font-weight: bold; | ||
| 719 | +} | ||
| 720 | + | ||
| 721 | +.collect .money .flex .fs24 { | ||
| 722 | + padding-top: 5rpx; | ||
| 723 | +} | ||
| 724 | + | ||
| 725 | +.collect .Discount { | ||
| 726 | + width: 156rpx; | ||
| 727 | + height: 28rpx; | ||
| 728 | + border-radius: 20rpx; | ||
| 729 | + background-color: rgb(56, 56, 56); | ||
| 730 | + font-size: 18rpx; | ||
| 731 | + color: rgb(255, 255, 255); | ||
| 732 | +} | ||
| 733 | + | ||
| 734 | +.collect .Discount image { | ||
| 735 | + height: 18rpx; | ||
| 736 | + width: 18rpx; | ||
| 737 | + line-height: 28rpx; | ||
| 738 | + margin-right: 3rpx; | ||
| 739 | +} | ||
| 740 | + | ||
| 741 | +.collect.ml20 { | ||
| 742 | + margin-left: 13rpx; | ||
| 743 | +} | ||
| 744 | + | ||
| 745 | +.fs24.dollar { | ||
| 746 | + padding: 0rpx; | ||
| 747 | +} | ||
| 748 | + | ||
| 749 | +.money .price { | ||
| 750 | + margin-left: 12rpx; | ||
| 751 | + text-decoration: line-through; | ||
| 752 | + line-height: 23rpx; | ||
| 753 | +} | ||
| 754 | + | ||
| 755 | +.province { | ||
| 756 | + line-height: 26rpx; | ||
| 757 | +} | ||
| 758 | + | ||
| 759 | +.nothing { | ||
| 760 | + height: 75rpx; | ||
| 761 | + width: 100%; | ||
| 762 | +} | ||
| 763 | + | ||
| 764 | +.nothing .no_content { | ||
| 765 | + margin: 0rpx 11rpx; | ||
| 766 | + color: rgb(138, 138, 138); | ||
| 767 | +} | ||
| 768 | + | ||
| 769 | +.nothing .Foil { | ||
| 770 | + width: 80rpx; | ||
| 771 | + height: 2rpx; | ||
| 772 | + background-color: rgb(138, 138, 138); | ||
| 773 | +} | ||
| 774 | + | ||
| 775 | +.goods_name { | ||
| 776 | + height: 70rpx; | ||
| 777 | + margin-top: 6rpx; | ||
| 778 | +} | ||
| 779 | + | ||
| 780 | +.seckill-list view.translation { | ||
| 781 | + width: 108rpx; | ||
| 782 | + height: 20rpx; | ||
| 783 | + border-radius: 20rpx; | ||
| 784 | + background: #dfdfdf; | ||
| 785 | + margin: auto; | ||
| 786 | + line-height: 20rpx; | ||
| 787 | +} | ||
| 788 | + | ||
| 789 | +.seckill-list view.spot { | ||
| 790 | + width: 10rpx; | ||
| 791 | + height: 10rpx; | ||
| 792 | + padding: 0rpx; | ||
| 793 | +} | ||
| 794 | + | ||
| 795 | +.spot { | ||
| 796 | + width: 10rpx; | ||
| 797 | + height: 10rpx; | ||
| 798 | + padding: 0rpx; | ||
| 799 | +} | ||
| 800 | + | ||
| 801 | +.translation { | ||
| 802 | + width: 108rpx; | ||
| 803 | + height: 20rpx; | ||
| 804 | + border-radius: 20rpx; | ||
| 805 | + background: #e0e0e0; | ||
| 806 | + line-height: 20rpx; | ||
| 807 | + bottom: 45rpx; | ||
| 808 | + left: 43%; | ||
| 809 | +} | ||
| 810 | + | ||
| 811 | +.translation { | ||
| 812 | + width: 108rpx; | ||
| 813 | + height: 20rpx; | ||
| 814 | + border-radius: 20rpx; | ||
| 815 | + background: #b8d1d6; | ||
| 816 | + line-height: 20rpx; | ||
| 817 | + bottom: 12rpx; | ||
| 818 | + left: 43%; | ||
| 819 | +} | ||
| 820 | + | ||
| 821 | +.translations { | ||
| 822 | + width: 108rpx; | ||
| 823 | + height: 20rpx; | ||
| 824 | + border-radius: 20rpx; | ||
| 825 | + background: #dfdfdf; | ||
| 826 | + line-height: 20rpx; | ||
| 827 | + bottom: 25rpx; | ||
| 828 | + left: 43%; | ||
| 829 | +} | ||
| 830 | + | ||
| 831 | +.mar-top { | ||
| 832 | + margin-top: 20rpx; | ||
| 833 | +} | ||
| 834 | + | ||
| 835 | +.mar-tops { | ||
| 836 | + margin-top: 10rpx; | ||
| 837 | +} | ||
| 838 | + | ||
| 839 | +.pt_active { | ||
| 840 | + animation: sport 0.5s; | ||
| 841 | +} | ||
| 842 | + | ||
| 843 | +@keyframes sport { | ||
| 844 | + 0% { | ||
| 845 | + transform: translateY(80rpx); | ||
| 846 | + opacity: 0; | ||
| 847 | + } | ||
| 848 | + | ||
| 849 | + 100% { | ||
| 850 | + transform: translateY(0rpx); | ||
| 851 | + opacity: 1; | ||
| 852 | + } | ||
| 853 | +} | ||
| 854 | + | ||
| 855 | +.m-left { | ||
| 856 | + margin-left: 18rpx; | ||
| 857 | +} | ||
| 858 | + | ||
| 859 | +.martop4 { | ||
| 860 | + margin-top: 4rpx; | ||
| 861 | +} | ||
| 862 | + | ||
| 863 | +.time-blue { | ||
| 864 | + margin-left: 10rpx; | ||
| 865 | +} | ||
| 866 | + | ||
| 867 | +.is_seckill_height { | ||
| 868 | + height: 40rpx; | ||
| 869 | + line-height: 32rpx; | ||
| 870 | +} | ||
| 871 | + | ||
| 872 | +.assemble-top-border { | ||
| 873 | + border-top: 10rpx solid #eee; | ||
| 874 | + padding-top: 20rpx; | ||
| 875 | + margin-top: 0rpx; | ||
| 876 | +} | ||
| 877 | + | ||
| 878 | +.gonju { | ||
| 879 | + max-width: 120rpx; | ||
| 880 | +} | ||
| 881 | + | ||
| 882 | +.disgraceful { | ||
| 883 | + position: fixed; | ||
| 884 | + width: 100%; | ||
| 885 | + height: 100%; | ||
| 886 | + left: 0rpx; | ||
| 887 | + bottom: 0rpx; | ||
| 888 | + background-color: rgba(182, 174, 174, 0.753); | ||
| 889 | + z-index: 10; | ||
| 890 | +} | ||
| 891 | + | ||
| 892 | +.newreceive { | ||
| 893 | + position: fixed; | ||
| 894 | + width: 100%; | ||
| 895 | + height: 100%; | ||
| 896 | + z-index: 11; | ||
| 897 | +} | ||
| 898 | + | ||
| 899 | +.receive { | ||
| 900 | + width: 570rpx; | ||
| 901 | + height: 750rpx; | ||
| 902 | +} | ||
| 903 | +.close{ | ||
| 904 | + width: 70rpx; | ||
| 905 | + height: 70rpx; | ||
| 906 | + margin-top: 30rpx; | ||
| 907 | +} | ||
| 908 | +.swiper{ | ||
| 909 | + height: 250rpx; | ||
| 910 | + padding-bottom:30rpx; | ||
| 911 | +} | ||
| 912 | +.container{ overflow: hidden;} | ||
| 913 | + | ||
| 914 | +.xc-recommend-goods { | ||
| 915 | + width: 100%; | ||
| 916 | + height: 73rpx; | ||
| 917 | + margin: auto; | ||
| 918 | +} | ||
| 919 | + | ||
| 920 | +.xc-small { | ||
| 921 | + width: 10rpx; | ||
| 922 | + height: 10rpx; | ||
| 923 | + background: #ff5f80; | ||
| 924 | + margin-top: 6rpx; | ||
| 925 | +} | ||
| 926 | + | ||
| 927 | +.xc-zhong { | ||
| 928 | + width: 15rpx; | ||
| 929 | + height: 15rpx; | ||
| 930 | + background: #ff5f80; | ||
| 931 | + margin-left: 12rpx; | ||
| 932 | + margin-top: 2rpx; | ||
| 933 | +} | ||
| 934 | + | ||
| 935 | +.xc-big { | ||
| 936 | + width: 17rpx; | ||
| 937 | + height: 17rpx; | ||
| 938 | + background: #ff5f80; | ||
| 939 | + margin-left: 15rpx; | ||
| 940 | +} | ||
| 0 | \ No newline at end of file | 941 | \ No newline at end of file |
pages/user/index/index.js
| @@ -52,8 +52,9 @@ Page({ | @@ -52,8 +52,9 @@ Page({ | ||
| 52 | 52 | ||
| 53 | has_rj:0, | 53 | has_rj:0, |
| 54 | rfmName:'成长值', | 54 | rfmName:'成长值', |
| 55 | - is_close_chuzhi:0 | 55 | + is_close_chuzhi:0, |
| 56 | 56 | ||
| 57 | + pshow:0 | ||
| 57 | 58 | ||
| 58 | }, | 59 | }, |
| 59 | goto_nav: function (e) { | 60 | goto_nav: function (e) { |
| @@ -118,8 +119,11 @@ Page({ | @@ -118,8 +119,11 @@ Page({ | ||
| 118 | */ | 119 | */ |
| 119 | onShow: function () { | 120 | onShow: function () { |
| 120 | 121 | ||
| 122 | + | ||
| 121 | var _that=this; | 123 | var _that=this; |
| 122 | 124 | ||
| 125 | + this.init_load() | ||
| 126 | + | ||
| 123 | //-- 看一下隐私政策要不要显示 -- | 127 | //-- 看一下隐私政策要不要显示 -- |
| 124 | var privacy_pop = this.selectComponent("#privacy_pop"); //组件的id | 128 | var privacy_pop = this.selectComponent("#privacy_pop"); //组件的id |
| 125 | if (privacy_pop) { | 129 | if (privacy_pop) { |
| @@ -200,7 +204,6 @@ Page({ | @@ -200,7 +204,6 @@ Page({ | ||
| 200 | 204 | ||
| 201 | if (e != undefined && e != null && e.mobile) { | 205 | if (e != undefined && e != null && e.mobile) { |
| 202 | 206 | ||
| 203 | - | ||
| 204 | if (e.card_field != '' && e.card_field != null && e.card_field != undefined && e.card_expiredate) { | 207 | if (e.card_field != '' && e.card_field != null && e.card_field != undefined && e.card_expiredate) { |
| 205 | var now = ut.gettimestamp(); | 208 | var now = ut.gettimestamp(); |
| 206 | var str = e.card_expiredate.replace(/-/g, '/');; | 209 | var str = e.card_expiredate.replace(/-/g, '/');; |
| @@ -438,6 +441,8 @@ Page({ | @@ -438,6 +441,8 @@ Page({ | ||
| 438 | if (cz_vals < im.BuyGradeSum && need_money == 0) { | 441 | if (cz_vals < im.BuyGradeSum && need_money == 0) { |
| 439 | need_money = im.BuyGradeSum; | 442 | need_money = im.BuyGradeSum; |
| 440 | obj.need_money = need_money; | 443 | obj.need_money = need_money; |
| 444 | + obj.nextGradeName=im.GradeName; | ||
| 445 | + break; | ||
| 441 | } | 446 | } |
| 442 | } | 447 | } |
| 443 | 448 | ||
| @@ -475,6 +480,9 @@ Page({ | @@ -475,6 +480,9 @@ Page({ | ||
| 475 | //th.setData({ qy_list: arr, need_money: need_money}); | 480 | //th.setData({ qy_list: arr, need_money: need_money}); |
| 476 | obj.qy_list = arr; | 481 | obj.qy_list = arr; |
| 477 | th.setData(obj); | 482 | th.setData(obj); |
| 483 | + obj.is_init=1; | ||
| 484 | + obj.old_qy_list = arr_data; | ||
| 485 | + th.setData({qy_data:obj}) | ||
| 478 | } | 486 | } |
| 479 | }) | 487 | }) |
| 480 | } | 488 | } |
| @@ -528,7 +536,7 @@ Page({ | @@ -528,7 +536,7 @@ Page({ | ||
| 528 | //自定义组件一定要等到页面加载完了,才来调用selectComponnent | 536 | //自定义组件一定要等到页面加载完了,才来调用selectComponnent |
| 529 | setTimeout(function () { | 537 | setTimeout(function () { |
| 530 | 538 | ||
| 531 | - th.setData({ is_show_recommend:true }) | 539 | + th.setData({ is_show_recommend:true,pshow:1 }) |
| 532 | if (getApp().globalData.user_id) getApp().requestCardNum(th); | 540 | if (getApp().globalData.user_id) getApp().requestCardNum(th); |
| 533 | var goods_list = th.selectComponent("#goods_recommend"); //组件的id | 541 | var goods_list = th.selectComponent("#goods_recommend"); //组件的id |
| 534 | 542 | ||
| @@ -537,13 +545,14 @@ Page({ | @@ -537,13 +545,14 @@ Page({ | ||
| 537 | goods_list.get_list(); | 545 | goods_list.get_list(); |
| 538 | } | 546 | } |
| 539 | 547 | ||
| 540 | - }, 1000) | ||
| 541 | - } | 548 | + }, 1200) |
| 542 | 549 | ||
| 543 | 550 | ||
| 544 | 551 | ||
| 552 | + } | ||
| 545 | 553 | ||
| 546 | }, | 554 | }, |
| 555 | + | ||
| 547 | //获取会员权益等级是否升级 | 556 | //获取会员权益等级是否升级 |
| 548 | getVison(){ | 557 | getVison(){ |
| 549 | let isRfm = wx.getStorageSync('isRfm') | 558 | let isRfm = wx.getStorageSync('isRfm') |
| @@ -940,7 +949,7 @@ Page({ | @@ -940,7 +949,7 @@ Page({ | ||
| 940 | var giftbagid = res.data.data.giftBagId; | 949 | var giftbagid = res.data.data.giftBagId; |
| 941 | var actId = res.data.data.id; | 950 | var actId = res.data.data.id; |
| 942 | var actImg = res.data.data.actImg; | 951 | var actImg = res.data.data.actImg; |
| 943 | - th.setData({ giftbagid: giftbagid, actId: actId, actImg: actImg }); | 952 | + th.setData({ giftbagid: giftbagid, actId: actId, actImg: actImg, b_gift:{ giftbagid: giftbagid, actId: actId, actImg: actImg } }); |
| 944 | th.setData({ is_banner: 1 }); | 953 | th.setData({ is_banner: 1 }); |
| 945 | } | 954 | } |
| 946 | 955 | ||
| @@ -1171,6 +1180,45 @@ Page({ | @@ -1171,6 +1180,45 @@ Page({ | ||
| 1171 | }); | 1180 | }); |
| 1172 | }, | 1181 | }, |
| 1173 | 1182 | ||
| 1183 | + //同步初始加载 | ||
| 1184 | + async init_load() { | ||
| 1185 | + var th = this; | ||
| 1186 | + //因为营销版本的功能包含了自定义模板的功能,是同时的 | ||
| 1187 | + //读取全局是否有弄自定义模板 | ||
| 1188 | + await getApp().request.promiseGet("/api/weshop/store_module/gets/"+os.stoid+"/1/8", {1: 1}).then(res => { | ||
| 1189 | + var data = res.data.data; | ||
| 1190 | + if (data && data.length) { | ||
| 1191 | + var temp_data = data[0]; | ||
| 1192 | + var t_arr = JSON.parse(temp_data.json_str); | ||
| 1193 | + | ||
| 1194 | + let obj={ | ||
| 1195 | + share_title: temp_data.page_title, | ||
| 1196 | + template_arr: t_arr, | ||
| 1197 | + isTemplate: 1, | ||
| 1198 | + bgcolor_t: temp_data.bkcolor, | ||
| 1199 | + pshow:1 | ||
| 1200 | + }; | ||
| 1201 | + | ||
| 1202 | + //---如果有设定顶部的颜色的时候-- | ||
| 1203 | + if (temp_data.top_color && temp_data.top_color != 'null') { | ||
| 1204 | + var top_w_color = "#ffffff"; | ||
| 1205 | + if (temp_data.top_word_color) { | ||
| 1206 | + top_w_color = temp_data.top_word_color | ||
| 1207 | + } | ||
| 1208 | + wx.setNavigationBarColor({ | ||
| 1209 | + frontColor: top_w_color, // 必写项 | ||
| 1210 | + backgroundColor: temp_data.top_color, // 必写项 | ||
| 1211 | + }) | ||
| 1212 | + obj.topwColor=top_w_color; | ||
| 1213 | + obj.topbgColor=temp_data.top_color; | ||
| 1214 | + } | ||
| 1215 | + | ||
| 1216 | + th.setData(obj); | ||
| 1217 | + | ||
| 1218 | + } | ||
| 1219 | + }) | ||
| 1220 | + }, | ||
| 1221 | + | ||
| 1174 | 1222 | ||
| 1175 | 1223 | ||
| 1176 | 1224 |
pages/user/index/index.json
| @@ -3,7 +3,14 @@ | @@ -3,7 +3,14 @@ | ||
| 3 | "pop_txt": "/components/userqy_pop_up/userqy_pop_up", | 3 | "pop_txt": "/components/userqy_pop_up/userqy_pop_up", |
| 4 | "goods_recommend": "/components/goods_list/goods_list", | 4 | "goods_recommend": "/components/goods_list/goods_list", |
| 5 | "privacy_pop": "/components/privacy_pop/privacy_pop", | 5 | "privacy_pop": "/components/privacy_pop/privacy_pop", |
| 6 | - "com_top_nav": "/components/com_top_nav/com_top_nav" | 6 | + "com_top_nav": "/components/com_top_nav/com_top_nav", |
| 7 | + "advertising":"/components/diy_advertising/diy_advertising", | ||
| 8 | + "assist":"/components/diy_assist/diy_assist", | ||
| 9 | + "diy_user_info":"/components/diy_user_info/diy_user_info", | ||
| 10 | + "diy_user_order":"/components/diy_user_order/diy_user_order", | ||
| 11 | + "diy_user_my_rights":"/components/diy_user_my_rights/diy_user_my_rights", | ||
| 12 | + "diy_user_tools_services":"/components/diy_user_tools_services/diy_user_tools_services" | ||
| 13 | + | ||
| 7 | }, | 14 | }, |
| 8 | "navigationBarTitleText": "会员中心", | 15 | "navigationBarTitleText": "会员中心", |
| 9 | "navigationStyle": "custom" | 16 | "navigationStyle": "custom" |
pages/user/index/index.wxml
| @@ -5,387 +5,463 @@ | @@ -5,387 +5,463 @@ | ||
| 5 | <wxs src="filter.wxs" module="util"></wxs> | 5 | <wxs src="filter.wxs" module="util"></wxs> |
| 6 | <com_top_nav title="会员中心"></com_top_nav> | 6 | <com_top_nav title="会员中心"></com_top_nav> |
| 7 | 7 | ||
| 8 | -<view class="xc-page" style="margin-bottom:{{isIpx ? '168rpx' : '100rpx'}}"> | ||
| 9 | - <view class="xc-user"> | ||
| 10 | - <view class="xc-head rel"> | ||
| 11 | - <image class="xc-background" src="{{iurl}}{{ad_img?ad_img:'/miniapp/images/user_index_powder.jpg'}}"> | ||
| 12 | - <view class="flex-space-between abs xc-user-frame"> | ||
| 13 | - <view class="xc-user-left flex" wx:if="{{userInfo}}"> | ||
| 14 | - <view style="position:relative;"> | ||
| 15 | - <image class="xc-user-img circle" bindtap="go_info" src="{{userInfo.head_pic?userInfo.head_pic:defaultAvatar}}"></image> | ||
| 16 | - <block wx:if="{{pulscardname && sys_switch.rank_switch > 0 }}"> | ||
| 17 | - <view data-url="/pages/user/plus/plus" catchtap="goto" class="flex-center plusMax"> | ||
| 18 | - <image class="fuls" src="{{iurl}}/miniapp/images/userinfo/userinfo/privilege_t.png"></image> | ||
| 19 | - <view>{{pulscardname}}</view> | 8 | + |
| 9 | + | ||
| 10 | +<block wx:if="{{pshow}}"> | ||
| 11 | + <!-- 显示自定义模板 --> | ||
| 12 | + <block wx:if="{{isTemplate}}"> | ||
| 13 | + <block wx:for="{{template_arr}}" wx:key="{{index}}"> | ||
| 14 | + <view> | ||
| 15 | + <!--广告组合--> | ||
| 16 | + <block wx:if="{{item.ename=='advertising'}}"> | ||
| 17 | + <advertising object="{{item.content}}"></advertising> | ||
| 18 | + </block> | ||
| 19 | + <!--辅助空白--> | ||
| 20 | + <block wx:if="{{item.ename=='white'}}"> | ||
| 21 | + <assist object="{{item.content}}"></assist> | ||
| 22 | + </block> | ||
| 23 | + <!-- 会员信息 --> | ||
| 24 | + <block wx:if="{{item.ename=='userinfo'}}"> | ||
| 25 | + <diy_user_info object="{{item.content}}" | ||
| 26 | + byquan="{{byquan}}" yuer="{{yuer}}" udata="{{udata}}" | ||
| 27 | + qy_data="{{qy_data}}" pulscardname="{{pulscardname}}" rfmName="{{rfmName}}" ></diy_user_info> | ||
| 28 | + </block> | ||
| 29 | + <!-- 我的订单 --> | ||
| 30 | + <block wx:if="{{item.ename=='order'}}"> | ||
| 31 | + <diy_user_order object="{{item.content}}" toji="{{toji}}" ></diy_user_order> | ||
| 32 | + </block> | ||
| 33 | + <!-- 我的权益 --> | ||
| 34 | + <block wx:if="{{item.ename=='my_rights'}}"> | ||
| 35 | + <diy_user_my_rights object="{{item.content}}" qy_data="{{qy_data}}" b_gift="{{b_gift}}" ></diy_user_my_rights> | ||
| 36 | + </block> | ||
| 37 | + <!-- 工具与服务 --> | ||
| 38 | + <block wx:if="{{item.ename=='tools_services'}}"> | ||
| 39 | + <diy_user_tools_services object="{{item.content}}" is_dengji="{{is_dengji}}" qy_data="{{qy_data}}" | ||
| 40 | + enableMeiye="{{enableMeiye}}" f_user_tool="{{user_tool}}" c_list="{{c_list}}"></diy_user_tools_services> | ||
| 41 | + </block> | ||
| 42 | + | ||
| 43 | + </view> | ||
| 44 | + </block> | ||
| 45 | + | ||
| 46 | + <!-- 显示推荐 --> | ||
| 47 | + <view style='width:100%;height:73rpx;' wx:if="{{is_show_recommend}}"> | ||
| 48 | + <view class="xc-recommend-goods flex-center"> | ||
| 49 | + | ||
| 50 | + <view class="circle xc-small"> | ||
| 51 | + </view> | ||
| 52 | + <view class="circle xc-zhong"> | ||
| 53 | + </view> | ||
| 54 | + <view class="circle xc-big"> | ||
| 55 | + </view> | ||
| 56 | + <view class="three-level-word xc-recommend">为你推荐</view> | ||
| 57 | + <view class="circle xc-big"> | ||
| 58 | + </view> | ||
| 59 | + <view class="circle xc-zhong"> | ||
| 60 | + </view> | ||
| 61 | + <view class="circle xc-small" style='margin-left:15rpx;'> | ||
| 62 | + <!-- </view> --> | ||
| 63 | + </view> | ||
| 64 | + </view> | ||
| 65 | + </view> | ||
| 66 | + <!-- 显示商品 --> | ||
| 67 | + <!-- 好物推荐 --> | ||
| 68 | + <block wx:if="{{is_show_recommend}}"> | ||
| 69 | + <goods_recommend id="goods_recommend"></goods_recommend> | ||
| 70 | + </block> | ||
| 71 | + | ||
| 72 | + <!-- 技术支持 --> | ||
| 73 | + <view class="logo-container t-c"> | ||
| 74 | + <view class="flex ai_c fs24 jc-center pdv30 white"> | ||
| 75 | + <image src="{{iurl + 'miniapp/images/luckDraw/logo.png?v=3'}}" class="logo" lazy-load></image>提供技术支持 | ||
| 76 | + </view> | ||
| 77 | + </view> | ||
| 78 | + </block> | ||
| 79 | + | ||
| 80 | + <block wx:else> | ||
| 81 | + <view class="xc-page" style="margin-bottom:{{isIpx ? '168rpx' : '100rpx'}}"> | ||
| 82 | + <view class="xc-user"> | ||
| 83 | + <view class="xc-head rel"> | ||
| 84 | + <image class="xc-background" src="{{iurl}}{{ad_img?ad_img:'/miniapp/images/user_index_powder.jpg'}}"> | ||
| 85 | + <view class="flex-space-between abs xc-user-frame"> | ||
| 86 | + <view class="xc-user-left flex" wx:if="{{userInfo}}"> | ||
| 87 | + <view style="position:relative;"> | ||
| 88 | + <image class="xc-user-img circle" bindtap="go_info" src="{{userInfo.head_pic?userInfo.head_pic:defaultAvatar}}"></image> | ||
| 89 | + <block wx:if="{{pulscardname && sys_switch.rank_switch > 0 }}"> | ||
| 90 | + <view data-url="/pages/user/plus/plus" catchtap="goto" class="flex-center plusMax"> | ||
| 91 | + <image class="fuls" src="{{iurl}}/miniapp/images/userinfo/userinfo/privilege_t.png"></image> | ||
| 92 | + <view>{{pulscardname}}</view> | ||
| 93 | + </view> | ||
| 94 | + </block> | ||
| 20 | </view> | 95 | </view> |
| 21 | - </block> | ||
| 22 | - </view> | ||
| 23 | 96 | ||
| 24 | - <view class="xc-uesr-name"> | ||
| 25 | - <view class="flex ai-center"> | ||
| 26 | - <text class="ellipsis-1" style="max-width: 290rpx;display: inline-block">{{userInfo.nickname}}</text> | ||
| 27 | - <view class="hvip" wx:if='{{GradeName && is_init}}'> | ||
| 28 | - <image class="vip-mem" src="{{iurl}}/miniapp/images/vip_hg0.png"></image>{{GradeName}} | 97 | + <view class="xc-uesr-name"> |
| 98 | + <view class="flex ai-center"> | ||
| 99 | + <text class="ellipsis-1" style="max-width: 290rpx;display: inline-block">{{userInfo.nickname}}</text> | ||
| 100 | + <view class="hvip" wx:if='{{GradeName && is_init}}'> | ||
| 101 | + <image class="vip-mem" src="{{iurl}}/miniapp/images/vip_hg0.png"></image>{{GradeName}} | ||
| 102 | + </view> | ||
| 103 | + </view> | ||
| 104 | + | ||
| 105 | + | ||
| 106 | + | ||
| 107 | + | ||
| 108 | + <view class="flex fs24 xc-grow-ups" style="margin-left:8rpx;margin-top:6rpx" wx:if="{{is_init && gradeId}}" bindtap='jump'> | ||
| 109 | + <block wx:if="{{cz_val<full_cz_val}}"> | ||
| 110 | + {{" "}} | ||
| 111 | + <text class="grow-up-val" style="background:{{usertop_ad.bgcolor?usertop_ad.bgcolor:'#fe9db5'}};">{{rfmName}}</text> | ||
| 112 | + <view style='margin-left:5rpx; '>{{cz_val}} / {{need_money}}</view> | ||
| 113 | + </block> | ||
| 114 | + <block wx:else> | ||
| 115 | + {{" "}} | ||
| 116 | + <text class="grow-up-val" style="background:{{usertop_ad.bgcolor?usertop_ad.bgcolor:'#fe9db5'}};">{{rfmName}}</text> {{cz_val}} | ||
| 117 | + </block> | ||
| 118 | + </view> | ||
| 29 | </view> | 119 | </view> |
| 120 | + | ||
| 30 | </view> | 121 | </view> |
| 31 | 122 | ||
| 123 | + <view class="xc-user-left flex" wx:else bindtap="gobindtel"> | ||
| 124 | + <image class="xc-user-img circle" src="{{userInfo.head_pic?userInfo.head_pic:defaultAvatar}}"></image> | ||
| 125 | + <view class="xc-uesr-name">请点击注册</view> | ||
| 126 | + </view> | ||
| 32 | 127 | ||
| 33 | 128 | ||
| 129 | + </view> | ||
| 130 | + <view wx:if="{{userInfo}}" class="xc-qrcode-frame abs "> | ||
| 131 | + <!-- {{iurl}}/miniapp --> | ||
| 132 | + <image bindtap='show_tc' class=" xc-qrcode " style="border: 5rpx solid {{usertop_ad.bgcolor?usertop_ad.bgcolor:'#fe9db5'}};background: {{usertop_ad.bgcolor?usertop_ad.bgcolor:'#fe9db5'}};" src="{{iurl}}/miniapp/images/qrcode1.png"></image> | ||
| 133 | + <view style="font-size:12px;color: #fff;">会员卡</view> | ||
| 134 | + </view> | ||
| 135 | + <view class="flex-vertical abs xc-grow-frame rel" style="display: none"> | ||
| 136 | + <view class="xc-grow-up">{{rfmName}}</view> | ||
| 34 | 137 | ||
| 35 | - <view class="flex fs24 xc-grow-ups" style="margin-left:8rpx;margin-top:6rpx" wx:if="{{is_init && gradeId}}" bindtap='jump'> | ||
| 36 | - <block wx:if="{{cz_val<full_cz_val}}"> | ||
| 37 | - {{" "}} | ||
| 38 | - <text class="grow-up-val" style="background:{{usertop_ad.bgcolor?usertop_ad.bgcolor:'#fe9db5'}};">{{rfmName}}</text> | ||
| 39 | - <view style='margin-left:5rpx; '>{{cz_val}} / {{need_money}}</view> | ||
| 40 | - </block> | ||
| 41 | - <block wx:else> | ||
| 42 | - {{" "}} | ||
| 43 | - <text class="grow-up-val" style="background:{{usertop_ad.bgcolor?usertop_ad.bgcolor:'#fe9db5'}};">{{rfmName}}</text> {{cz_val}} | ||
| 44 | - </block> | 138 | + <view class="xc-line-not rel"> |
| 139 | + <image class="xc-bj-img abs" src="{{iurl}}/miniapp/images/baijing.png"></image> | ||
| 140 | + <image class="xc-zs-img abs" src="{{iurl}}/miniapp/images/zhuangshi.png"></image> | ||
| 141 | + <view class="xc-line-Yes abs" style="width:{{length}}rpx;"></view> | ||
| 45 | </view> | 142 | </view> |
| 46 | - </view> | ||
| 47 | 143 | ||
| 48 | - </view> | 144 | + <view class="xc-grow-val">0/0</view> |
| 145 | + </view> | ||
| 146 | + <view class="flex-equality abs xc-assets"> | ||
| 147 | + <view class="t-c typefont" bindtap='balance'>{{yuer?yuer:0}} | ||
| 148 | + <view class='numfont'>余额</view> | ||
| 149 | + </view> | ||
| 150 | + <!-- 是否关闭 --> | ||
| 151 | + <block wx:if="{{!is_close_chuzhi}}"> | ||
| 152 | + <view class="t-c typefont" bindtap='deposit'>{{udata.Balance?udata.Balance:0}} | ||
| 153 | + <view class='numfont'>储值款</view> | ||
| 154 | + </view> | ||
| 155 | + </block> | ||
| 49 | 156 | ||
| 50 | - <view class="xc-user-left flex" wx:else bindtap="gobindtel"> | ||
| 51 | - <image class="xc-user-img circle" src="{{userInfo.head_pic?userInfo.head_pic:defaultAvatar}}"></image> | ||
| 52 | - <view class="xc-uesr-name">请点击注册</view> | ||
| 53 | - </view> | 157 | + <view class="t-c typefont" bindtap='integral'>{{udata.Integral?udata.Integral:0}} |
| 158 | + <view class='numfont'>积分</view> | ||
| 159 | + </view> | ||
| 54 | 160 | ||
| 161 | + <view class="t-c typefont" bindtap='coupon'>{{udata.CashCount+byquan?udata.CashCount+byquan:0}} | ||
| 162 | + <view class='numfont'>优惠券</view> | ||
| 163 | + </view> | ||
| 164 | + </view> | ||
| 165 | + </image> | ||
| 55 | 166 | ||
| 56 | </view> | 167 | </view> |
| 57 | - <view wx:if="{{userInfo}}" class="xc-qrcode-frame abs "> | ||
| 58 | - <!-- {{iurl}}/miniapp --> | ||
| 59 | - <image bindtap='show_tc' class=" xc-qrcode " style="border: 5rpx solid {{usertop_ad.bgcolor?usertop_ad.bgcolor:'#fe9db5'}};background: {{usertop_ad.bgcolor?usertop_ad.bgcolor:'#fe9db5'}};" src="{{iurl}}/miniapp/images/qrcode1.png"></image> | ||
| 60 | - <view style="font-size:12px;color: #fff;">会员卡</view> | ||
| 61 | - </view> | ||
| 62 | - <view class="flex-vertical abs xc-grow-frame rel" style="display: none"> | ||
| 63 | - <view class="xc-grow-up">{{rfmName}}</view> | 168 | + <block wx:if="{{is_no_plus}}"> |
| 169 | + <view class="xc-add-member-frame flex-level rel addplus" wx:if="{{is_dengji==2 && show_buy_plus }}"> | ||
| 170 | + <view class="xc-add-member flex-center-around "> | ||
| 171 | + <view class="flex jc-center ai-center"> | ||
| 172 | + <image class="xc-icon" src="{{iurl}}/miniapp/images/user/user_vip.png"></image> | ||
| 173 | + <view class="member fs28 "> 加入plus会员预计可省3031元</view> | ||
| 174 | + </view> | ||
| 175 | + <view class="xc-opening-button t-c" data-url="/pages/user/plus/plus" bindtap="goto"> | ||
| 176 | + <view class="xc-opening fs28">立即开通</view> | ||
| 177 | + </view> | ||
| 178 | + </view> | ||
| 179 | + </view> | ||
| 64 | 180 | ||
| 65 | - <view class="xc-line-not rel"> | ||
| 66 | - <image class="xc-bj-img abs" src="{{iurl}}/miniapp/images/baijing.png"></image> | ||
| 67 | - <image class="xc-zs-img abs" src="{{iurl}}/miniapp/images/zhuangshi.png"></image> | ||
| 68 | - <view class="xc-line-Yes abs" style="width:{{length}}rpx;"></view> | 181 | + <view class="xc-add-member-frame flex-level rel addplus" wx:if="{{is_dengji==3 && show_buy_plus}}"> |
| 182 | + <view class="xc-add-member flex-center-around "> | ||
| 183 | + <view class="flex jc-center ai-center"> | ||
| 184 | + <image class="xc-icon" src="{{iurl}}/miniapp/images/user/user_vip.png"></image> | ||
| 185 | + <view class="member fs28 "> 加入plus会员预计可省3031元</view> | ||
| 186 | + </view> | ||
| 187 | + <view class="xc-opening-button t-c" data-url="/packageE/pages/user/cardinfo/cardinfo" bindtap="goto"> | ||
| 188 | + <view class="xc-opening fs28">立即续费</view> | ||
| 189 | + </view> | ||
| 190 | + </view> | ||
| 69 | </view> | 191 | </view> |
| 192 | + </block> | ||
| 70 | 193 | ||
| 71 | - <view class="xc-grow-val">0/0</view> | ||
| 72 | - </view> | ||
| 73 | - <view class="flex-equality abs xc-assets"> | ||
| 74 | - <view class="t-c typefont" bindtap='balance'>{{yuer?yuer:0}} | ||
| 75 | - <view class='numfont'>余额</view> | 194 | + </view> |
| 195 | + <view class="xc-after-sale rel"> | ||
| 196 | + <!-- 顶上的一栏 --> | ||
| 197 | + <view class="xc-equity-title flex-level"> | ||
| 198 | + <view class="xc-title-frame flex ai-center"> | ||
| 199 | + <view class="flex-vertical xc-title-content" bindtap="go_order" data-url="/pages/user/order_list/order_list"> | ||
| 200 | + <image class="xc-title-img" src="{{iurl}}/miniapp/images/hdindan.png" style="width: 50rpx; height: 55rpx;margin-right: 5rpx"></image> | ||
| 201 | + <view class="three-level-word">我的订单</view> | ||
| 202 | + </view> | ||
| 203 | + <!-- 物流信息提醒 --> | ||
| 204 | + <view class="fs26 c-5 pdl60" wx:if="{{countDadaOrder && countDadaOrder != 0}}" bindtap="go_order" data-url="/pages/user/order_list/order_list?index=1"><text class="iconfont icon-dingwei"></text>您有<text class="c-red">{{countDadaOrder}}</text>个同城配送订单</view> | ||
| 76 | </view> | 205 | </view> |
| 77 | - <!-- 是否关闭 --> | ||
| 78 | - <block wx:if="{{!is_close_chuzhi}}"> | ||
| 79 | - <view class="t-c typefont" bindtap='deposit'>{{udata.Balance?udata.Balance:0}} | ||
| 80 | - <view class='numfont'>储值款</view> | 206 | + <view class="three-level-word xc-more-frame flex-vertical" bindtap="go_order" data-url="/pages/user/order_list/order_list"> |
| 207 | + <view class="three-level-word xc-more">更多</view> | ||
| 208 | + <view class="bg_right xc-more-click bcolor"></view> | ||
| 209 | + </view> | ||
| 210 | + </view> | ||
| 211 | + <!-- 内容的一栏 --> | ||
| 212 | + <view class="xc-after-sale-left flex-center-around"> | ||
| 213 | + <view class="t-c margin-auto rel" bindtap="go_order" data-url="/pages/user/order_list/order_list?type=1"> | ||
| 214 | + <image class="xc-no-money" src="{{iurl}}/miniapp/images/daifuk.png"></image> | ||
| 215 | + <view class=" xc-word-color four-level-word">待付款</view> | ||
| 216 | + <text class="order-num" hidden='{{toji.wait_pay>0?"":"true"}}'>{{toji.wait_pay}}</text> | ||
| 81 | </view> | 217 | </view> |
| 82 | - </block> | ||
| 83 | 218 | ||
| 84 | - <view class="t-c typefont" bindtap='integral'>{{udata.Integral?udata.Integral:0}} | ||
| 85 | - <view class='numfont'>积分</view> | 219 | + <view class="t-c margin-auto rel" bindtap="go_order" data-url="/pages/user/order_list/order_list?type=2"> |
| 220 | + <image class="xc-send" src="{{iurl}}/miniapp/images/dfahuo.png?v=1"></image> | ||
| 221 | + <view class="xc-word-color four-level-word">待发货</view> | ||
| 222 | + <text class="order-num" hidden='{{toji.wait_send>0?"":"true"}}'>{{toji.wait_send}}</text> | ||
| 86 | </view> | 223 | </view> |
| 87 | 224 | ||
| 88 | - <view class="t-c typefont" bindtap='coupon'>{{udata.CashCount+byquan?udata.CashCount+byquan:0}} | ||
| 89 | - <view class='numfont'>优惠券</view> | 225 | + <view class="t-c margin-auto rel" bindtap="go_order" data-url="/pages/user/order_list/order_list?type=3"> |
| 226 | + <image class="xc-await" src="{{iurl}}/miniapp/images/shouhuo1.png"></image> | ||
| 227 | + <view class="xc-word-color four-level-word">待收货</view> | ||
| 228 | + <text class="order-num" hidden='{{toji.wait_receive>0?"":"true"}}'>{{toji.wait_receive}}</text> | ||
| 229 | + </view> | ||
| 230 | + <view class="t-c margin-auto rel" bindtap="go_order" data-url="/pages/user/order_list/order_list?type=4"> | ||
| 231 | + <image class="xc-no-money" src="{{iurl}}/miniapp/images/dpr1.png"></image> | ||
| 232 | + <view class="xc-word-color four-level-word">待评论</view> | ||
| 233 | + <text class="order-num" hidden='{{toji.wait_pj>0?"":"true"}}'>{{toji.wait_pj}}</text> | ||
| 234 | + </view> | ||
| 235 | + <view class="t-c margin-auto rel" style='margin-left:30rpx;' bindtap="go_order" data-url="/packageF/pages/user/return_goods_list/return_goods_list"> | ||
| 236 | + <image class="xc-no-money" src="{{iurl}}/miniapp/images/shouh1.png"></image> | ||
| 237 | + <view style='height:36rpx;'> </view> | ||
| 238 | + <view class="xc-word-color four-level-word abs">售后/退款</view> | ||
| 239 | + <!--<text class="order-num" hidden='{{toji.wait_return>0>0?"":"true"}}' style="right: -20rpx">{{toji.wait_return}}</text>--> | ||
| 90 | </view> | 240 | </view> |
| 91 | - </view> | ||
| 92 | - </image> | ||
| 93 | 241 | ||
| 94 | - </view> | ||
| 95 | - <block wx:if="{{is_no_plus}}"> | ||
| 96 | - <view class="xc-add-member-frame flex-level rel addplus" wx:if="{{is_dengji==2 && show_buy_plus }}"> | ||
| 97 | - <view class="xc-add-member flex-center-around "> | ||
| 98 | - <view class="flex jc-center ai-center"> | ||
| 99 | - <image class="xc-icon" src="{{iurl}}/miniapp/images/user/user_vip.png"></image> | ||
| 100 | - <view class="member fs28 "> 加入plus会员预计可省3031元</view> | ||
| 101 | - </view> | ||
| 102 | - <view class="xc-opening-button t-c" data-url="/pages/user/plus/plus" bindtap="goto"> | ||
| 103 | - <view class="xc-opening fs28">立即开通</view> | ||
| 104 | </view> | 242 | </view> |
| 105 | - </view> | ||
| 106 | - </view> | 243 | + <view style="clear: both"></view> |
| 107 | 244 | ||
| 108 | - <view class="xc-add-member-frame flex-level rel addplus" wx:if="{{is_dengji==3 && show_buy_plus}}"> | ||
| 109 | - <view class="xc-add-member flex-center-around "> | ||
| 110 | - <view class="flex jc-center ai-center"> | ||
| 111 | - <image class="xc-icon" src="{{iurl}}/miniapp/images/user/user_vip.png"></image> | ||
| 112 | - <view class="member fs28 "> 加入plus会员预计可省3031元</view> | ||
| 113 | - </view> | ||
| 114 | - <view class="xc-opening-button t-c" data-url="/packageE/pages/user/cardinfo/cardinfo" bindtap="goto"> | ||
| 115 | - <view class="xc-opening fs28">立即续费</view> | ||
| 116 | - </view> | ||
| 117 | </view> | 245 | </view> |
| 118 | - </view> | ||
| 119 | - </block> | ||
| 120 | - | ||
| 121 | - </view> | ||
| 122 | - <view class="xc-after-sale rel"> | ||
| 123 | - <!-- 顶上的一栏 --> | ||
| 124 | - <view class="xc-equity-title flex-level"> | ||
| 125 | - <view class="xc-title-frame flex ai-center"> | ||
| 126 | - <view class="flex-vertical xc-title-content" bindtap="go_order" data-url="/pages/user/order_list/order_list"> | ||
| 127 | - <image class="xc-title-img" src="{{iurl}}/miniapp/images/hdindan.png" style="width: 50rpx; height: 55rpx;margin-right: 5rpx"></image> | ||
| 128 | - <view class="three-level-word">我的订单</view> | 246 | + |
| 247 | + <!-- 我的权益 --> | ||
| 248 | + <view class="xc-my-equity-frame" wx:if="{{is_init }}"> | ||
| 249 | + <view class="xc-equity-title flex-level" bindtap="go_qy"> | ||
| 250 | + <view class="xc-title-frame flex-space-between"> | ||
| 251 | + <view class="flex-vertical xc-title-content"> | ||
| 252 | + <image class="xc-title-img" src="{{iurl}}/miniapp/images/medal.png"></image> | ||
| 253 | + <view class="three-level-word">我的权益</view> | ||
| 254 | + </view> | ||
| 255 | + </view> | ||
| 256 | + <view wx:if="{{is_grad_get}}" class="three-level-word xc-more-frame flex-vertical"> | ||
| 257 | + <view class="three-level-word xc-more">更多</view> | ||
| 258 | + <view class="bg_right xc-more-click bcolor"></view> | ||
| 259 | + </view> | ||
| 260 | + <view wx:else class="three-level-word xc-more-frame flex-vertical" style="justify-content: flex-end"> | ||
| 261 | + <image style="width: 40rpx; height: 40rpx; margin-right: 20rpx" src="{{iurl}}/miniapp/images/loader.gif"></image> | ||
| 262 | + </view> | ||
| 129 | </view> | 263 | </view> |
| 130 | - <!-- 物流信息提醒 --> | ||
| 131 | - <view class="fs26 c-5 pdl60" wx:if="{{countDadaOrder && countDadaOrder != 0}}" bindtap="go_order" data-url="/pages/user/order_list/order_list?index=1"><text class="iconfont icon-dingwei"></text>您有<text class="c-red">{{countDadaOrder}}</text>个同城配送订单</view> | ||
| 132 | - </view> | ||
| 133 | - <view class="three-level-word xc-more-frame flex-vertical" bindtap="go_order" data-url="/pages/user/order_list/order_list"> | ||
| 134 | - <view class="three-level-word xc-more">更多</view> | ||
| 135 | - <view class="bg_right xc-more-click bcolor"></view> | ||
| 136 | - </view> | ||
| 137 | - </view> | ||
| 138 | - <!-- 内容的一栏 --> | ||
| 139 | - <view class="xc-after-sale-left flex-center-around"> | ||
| 140 | - <view class="t-c margin-auto rel" bindtap="go_order" data-url="/pages/user/order_list/order_list?type=1"> | ||
| 141 | - <image class="xc-no-money" src="{{iurl}}/miniapp/images/daifuk.png"></image> | ||
| 142 | - <view class=" xc-word-color four-level-word">待付款</view> | ||
| 143 | - <text class="order-num" hidden='{{toji.wait_pay>0?"":"true"}}'>{{toji.wait_pay}}</text> | ||
| 144 | - </view> | ||
| 145 | 264 | ||
| 146 | - <view class="t-c margin-auto rel" bindtap="go_order" data-url="/pages/user/order_list/order_list?type=2"> | ||
| 147 | - <image class="xc-send" src="{{iurl}}/miniapp/images/dfahuo.png?v=1"></image> | ||
| 148 | - <view class="xc-word-color four-level-word">待发货</view> | ||
| 149 | - <text class="order-num" hidden='{{toji.wait_send>0?"":"true"}}'>{{toji.wait_send}}</text> | ||
| 150 | - </view> | 265 | + <block wx:if="{{is_grad_get}}"> |
| 266 | + <block wx:if="{{qy_list && gradeId}}"> | ||
| 267 | + <view class="xc-specific-more-frame flex-vertical" wx:if="{{qy_list}}"> | ||
| 151 | 268 | ||
| 152 | - <view class="t-c margin-auto rel" bindtap="go_order" data-url="/pages/user/order_list/order_list?type=3"> | ||
| 153 | - <image class="xc-await" src="{{iurl}}/miniapp/images/shouhuo1.png"></image> | ||
| 154 | - <view class="xc-word-color four-level-word">待收货</view> | ||
| 155 | - <text class="order-num" hidden='{{toji.wait_receive>0?"":"true"}}'>{{toji.wait_receive}}</text> | ||
| 156 | - </view> | ||
| 157 | - <view class="t-c margin-auto rel" bindtap="go_order" data-url="/pages/user/order_list/order_list?type=4"> | ||
| 158 | - <image class="xc-no-money" src="{{iurl}}/miniapp/images/dpr1.png"></image> | ||
| 159 | - <view class="xc-word-color four-level-word">待评论</view> | ||
| 160 | - <text class="order-num" hidden='{{toji.wait_pj>0?"":"true"}}'>{{toji.wait_pj}}</text> | ||
| 161 | - </view> | ||
| 162 | - <view class="t-c margin-auto rel" style='margin-left:30rpx;' bindtap="go_order" data-url="/packageF/pages/user/return_goods_list/return_goods_list"> | ||
| 163 | - <image class="xc-no-money" src="{{iurl}}/miniapp/images/shouh1.png"></image> | ||
| 164 | - <view style='height:36rpx;'> </view> | ||
| 165 | - <view class="xc-word-color four-level-word abs">售后/退款</view> | ||
| 166 | - <!--<text class="order-num" hidden='{{toji.wait_return>0>0?"":"true"}}' style="right: -20rpx">{{toji.wait_return}}</text>--> | ||
| 167 | - </view> | 269 | + <view bindtap="click_pre"> |
| 270 | + <view class="bg_left xc-left bcolor"></view> | ||
| 271 | + </view> | ||
| 168 | 272 | ||
| 169 | - </view> | ||
| 170 | - <view style="clear: both"></view> | 273 | + <swiper current="{{sw_index}}" style='width:82.7%; height:108rpx' bindchange='onSli' indicator-dots="{{false}}" autoplay="{{false}}"> |
| 171 | 274 | ||
| 172 | - </view> | 275 | + <swiper-item wx:for="{{qy_list}}" wx:for-item="aitem" wx:for-index="pidx"> |
| 276 | + <view class="flex xc-middle"> | ||
| 173 | 277 | ||
| 174 | - <!-- 我的权益 --> | ||
| 175 | - <view class="xc-my-equity-frame" wx:if="{{is_init }}"> | ||
| 176 | - <view class="xc-equity-title flex-level" bindtap="go_qy"> | ||
| 177 | - <view class="xc-title-frame flex-space-between"> | ||
| 178 | - <view class="flex-vertical xc-title-content"> | ||
| 179 | - <image class="xc-title-img" src="{{iurl}}/miniapp/images/medal.png"></image> | ||
| 180 | - <view class="three-level-word">我的权益</view> | ||
| 181 | - </view> | ||
| 182 | - </view> | ||
| 183 | - <view wx:if="{{is_grad_get}}" class="three-level-word xc-more-frame flex-vertical"> | ||
| 184 | - <view class="three-level-word xc-more">更多</view> | ||
| 185 | - <view class="bg_right xc-more-click bcolor"></view> | ||
| 186 | - </view> | ||
| 187 | - <view wx:else class="three-level-word xc-more-frame flex-vertical" style="justify-content: flex-end"> | ||
| 188 | - <image style="width: 40rpx; height: 40rpx; margin-right: 20rpx" src="{{iurl}}/miniapp/images/loader.gif"></image> | ||
| 189 | - </view> | ||
| 190 | - </view> | 278 | + <view class="xc-center-frame t-c" wx:for="{{aitem}}" data-img="{{item.PrivilegeImageUrl}}" data-no="{{item.PrivilegeType}}" data-ind="{{index}}" data-find="{{pidx}}" bindtap="go_qy_url"> |
| 279 | + <!-- <text>qy_list.privilegeICOUrl</text> --> | ||
| 280 | + <image class="xc-center-img {{item.ishas==1?'':'img_gray'}}" src="{{item.PrivilegeICOUrl}}"></image> | ||
| 281 | + <view class="four-level-word">{{item.PrivilegeName}}</view> | ||
| 282 | + </view> | ||
| 283 | + </view> | ||
| 284 | + </swiper-item> | ||
| 191 | 285 | ||
| 192 | - <block wx:if="{{is_grad_get}}"> | ||
| 193 | - <block wx:if="{{qy_list && gradeId}}"> | ||
| 194 | - <view class="xc-specific-more-frame flex-vertical" wx:if="{{qy_list}}"> | 286 | + </swiper> |
| 195 | 287 | ||
| 196 | - <view bindtap="click_pre"> | ||
| 197 | - <view class="bg_left xc-left bcolor"></view> | 288 | + <view bindtap="click_next"> |
| 289 | + <view class="bg_right xc-right bcolor mt"></view> | ||
| 290 | + </view> | ||
| 291 | + </view> | ||
| 292 | + </block> | ||
| 293 | + <view wx:else style="text-align: center"> | ||
| 294 | + 未找到数据 | ||
| 198 | </view> | 295 | </view> |
| 296 | + </block> | ||
| 199 | 297 | ||
| 200 | - <swiper current="{{sw_index}}" style='width:82.7%; height:108rpx' bindchange='onSli' indicator-dots="{{false}}" autoplay="{{false}}"> | ||
| 201 | 298 | ||
| 202 | - <swiper-item wx:for="{{qy_list}}" wx:for-item="aitem" wx:for-index="pidx"> | ||
| 203 | - <view class="flex xc-middle"> | ||
| 204 | 299 | ||
| 205 | - <view class="xc-center-frame t-c" wx:for="{{aitem}}" data-img="{{item.PrivilegeImageUrl}}" data-no="{{item.PrivilegeType}}" data-ind="{{index}}" data-find="{{pidx}}" bindtap="go_qy_url"> | ||
| 206 | - <!-- <text>qy_list.privilegeICOUrl</text> --> | ||
| 207 | - <image class="xc-center-img {{item.ishas==1?'':'img_gray'}}" src="{{item.PrivilegeICOUrl}}"></image> | ||
| 208 | - <view class="four-level-word">{{item.PrivilegeName}}</view> | ||
| 209 | - </view> | ||
| 210 | - </view> | ||
| 211 | - </swiper-item> | ||
| 212 | 300 | ||
| 213 | - </swiper> | ||
| 214 | - | ||
| 215 | - <view bindtap="click_next"> | ||
| 216 | - <view class="bg_right xc-right bcolor mt"></view> | ||
| 217 | - </view> | 301 | + </view> |
| 302 | + <!-- 生日营销 is_banner--> | ||
| 303 | + <block wx:if="{{is_banner}}"> | ||
| 304 | + <view class="t-c banner-frame" bindtap="clike_banne"> | ||
| 305 | + <image class="banner-img" src="{{actImg==''?iurl+'/miniapp/images/user/banner-img.jpg':iurl+actImg}}"> | ||
| 306 | + </image> | ||
| 218 | </view> | 307 | </view> |
| 219 | </block> | 308 | </block> |
| 220 | - <view wx:else style="text-align: center"> | ||
| 221 | - 未找到数据 | ||
| 222 | - </view> | ||
| 223 | - </block> | ||
| 224 | - | ||
| 225 | - | ||
| 226 | - | ||
| 227 | - | ||
| 228 | - </view> | ||
| 229 | - <!-- 生日营销 is_banner--> | ||
| 230 | - <block wx:if="{{is_banner}}"> | ||
| 231 | - <view class="t-c banner-frame" bindtap="clike_banne"> | ||
| 232 | - <image class="banner-img" src="{{actImg==''?iurl+'/miniapp/images/user/banner-img.jpg':iurl+actImg}}"> | ||
| 233 | - </image> | ||
| 234 | - </view> | ||
| 235 | - </block> | ||
| 236 | - | ||
| 237 | - <!-- 工具与服务 --> | ||
| 238 | - <view class="xc-tool-service"> | ||
| 239 | - <view class="xc-tool-service-title flex-vertical"> | ||
| 240 | - <image class="xc-tool-service-img" src="{{iurl}}/miniapp/images/gj.png"></image> | ||
| 241 | - <view class="three-level-word xc-tool-service-word">工具与服务</view> | ||
| 242 | - </view> | ||
| 243 | - <view class="xc-project-frame"> | ||
| 244 | - <!-- 跳转页面 --> | ||
| 245 | - <view class="center_v" style="display: flex;flex-wrap: wrap;align-items: center;"> | ||
| 246 | - <!-- 循环使用自定义菜单,显示和掩藏 --> | ||
| 247 | - <block wx:for="{{user_tool}}"> | ||
| 248 | - <!-- 判断系统配置中有没有把菜单关闭 --> | ||
| 249 | - <block wx:if="{{!util.is_close(item.name,c_list)}}"> | ||
| 250 | - <!-- 有链接地址的时候 --> | ||
| 251 | - <block wx:if="{{item.new_weappurl}}"> | ||
| 252 | - <block wx:if="{{item.name=='PLUS会员'}}"> | ||
| 253 | - <view class="item t-c" data-url="{{item.new_weappurl}}" bindtap="goto" wx:if="{{is_dengji==1}}"> | ||
| 254 | - <image class="xc-center-img " src="{{iurl+item.icoimg}}"></image> | ||
| 255 | - <view class="fs26">PLUS会员</view> | ||
| 256 | - </view> | ||
| 257 | - </block> | ||
| 258 | - <block wx:elif="{{item.name=='助力活动'}}"> | ||
| 259 | - <view class="item t-c" data-url="/pages/user/assistance/assistance" bindtap="goto_nav" wx:if="{{is_assistance==1}}"> | ||
| 260 | - <image class="xc-center-img" src="{{iurl}}/miniapp/images/friendhelp/icon-zl.png"></image> | ||
| 261 | - <view class="four-level-word">助力活动</view> | ||
| 262 | - </view> | ||
| 263 | - </block> | ||
| 264 | - <block wx:elif="{{item.name=='我的权益'}}"> | ||
| 265 | - <view class="item t-c" bindtap="go_qy" wx:if="{{qy_list!=null && is_init && gradeId}}"> | ||
| 266 | - <image class="xc-center-img" src="{{iurl+item.icoimg}}"></image> | ||
| 267 | - <view class="fs26">我的权益</view> | ||
| 268 | - </view> | ||
| 269 | - </block> | ||
| 270 | - <block wx:elif="{{item.name=='套盒商品'}}"> | ||
| 271 | - <view class="item t-c" data-url="{{item.new_weappurl}}" bindtap="goto" wx:if="{{enableMeiye}}"> | ||
| 272 | - <image class="xc-center-img" src="{{iurl+item.icoimg}}"></image> | ||
| 273 | - <view class="fs26">套盒商品</view> | ||
| 274 | - </view> | ||
| 275 | - </block> | ||
| 276 | 309 | ||
| 277 | - <block wx:elif="{{item.name=='瘦身日记'}}"> | ||
| 278 | - <view wx:if="{{has_rj>0}}" class="item t-c" data-url="{{item.new_weappurl}}" bindtap="goto_nav"> | ||
| 279 | - <image class="xc-center-img" src="{{iurl+item.icoimg}}"></image> | ||
| 280 | - <view class="fs26">{{item.name}}</view> | ||
| 281 | - </view> | ||
| 282 | - </block> | ||
| 283 | - | ||
| 284 | - <block wx:else> | ||
| 285 | - <view class="item t-c" data-url="{{item.new_weappurl}}" bindtap="goto_nav"> | ||
| 286 | - <image class="xc-center-img" src="{{iurl+item.icoimg}}"></image> | ||
| 287 | - <view class="fs26">{{item.name}}</view> | ||
| 288 | - </view> | 310 | + <!-- 工具与服务 --> |
| 311 | + <view class="xc-tool-service"> | ||
| 312 | + <view class="xc-tool-service-title flex-vertical"> | ||
| 313 | + <image class="xc-tool-service-img" src="{{iurl}}/miniapp/images/gj.png"></image> | ||
| 314 | + <view class="three-level-word xc-tool-service-word">工具与服务</view> | ||
| 315 | + </view> | ||
| 316 | + <view class="xc-project-frame"> | ||
| 317 | + <!-- 跳转页面 --> | ||
| 318 | + <view class="center_v" style="display: flex;flex-wrap: wrap;align-items: center;"> | ||
| 319 | + <!-- 循环使用自定义菜单,显示和掩藏 --> | ||
| 320 | + <block wx:for="{{user_tool}}"> | ||
| 321 | + <!-- 判断系统配置中有没有把菜单关闭 --> | ||
| 322 | + <block wx:if="{{!util.is_close(item.name,c_list)}}"> | ||
| 323 | + <!-- 有链接地址的时候 --> | ||
| 324 | + <block wx:if="{{item.new_weappurl}}"> | ||
| 325 | + <block wx:if="{{item.name=='PLUS会员'}}"> | ||
| 326 | + <view class="item t-c" data-url="{{item.new_weappurl}}" bindtap="goto" wx:if="{{is_dengji==1}}"> | ||
| 327 | + <image class="xc-center-img " src="{{iurl+item.icoimg}}"></image> | ||
| 328 | + <view class="fs26">PLUS会员</view> | ||
| 329 | + </view> | ||
| 330 | + </block> | ||
| 331 | + <block wx:elif="{{item.name=='助力活动'}}"> | ||
| 332 | + <view class="item t-c" data-url="/pages/user/assistance/assistance" bindtap="goto_nav" wx:if="{{is_assistance==1}}"> | ||
| 333 | + <image class="xc-center-img" src="{{iurl}}/miniapp/images/friendhelp/icon-zl.png"></image> | ||
| 334 | + <view class="four-level-word">助力活动</view> | ||
| 335 | + </view> | ||
| 336 | + </block> | ||
| 337 | + <block wx:elif="{{item.name=='我的权益'}}"> | ||
| 338 | + <view class="item t-c" bindtap="go_qy" wx:if="{{qy_list!=null && is_init && gradeId}}"> | ||
| 339 | + <image class="xc-center-img" src="{{iurl+item.icoimg}}"></image> | ||
| 340 | + <view class="fs26">我的权益</view> | ||
| 341 | + </view> | ||
| 342 | + </block> | ||
| 343 | + <block wx:elif="{{item.name=='套盒商品'}}"> | ||
| 344 | + <view class="item t-c" data-url="{{item.new_weappurl}}" bindtap="goto" wx:if="{{enableMeiye}}"> | ||
| 345 | + <image class="xc-center-img" src="{{iurl+item.icoimg}}"></image> | ||
| 346 | + <view class="fs26">套盒商品</view> | ||
| 347 | + </view> | ||
| 348 | + </block> | ||
| 349 | + | ||
| 350 | + <block wx:elif="{{item.name=='瘦身日记'}}"> | ||
| 351 | + <view wx:if="{{has_rj>0}}" class="item t-c" data-url="{{item.new_weappurl}}" bindtap="goto_nav"> | ||
| 352 | + <image class="xc-center-img" src="{{iurl+item.icoimg}}"></image> | ||
| 353 | + <view class="fs26">{{item.name}}</view> | ||
| 354 | + </view> | ||
| 355 | + </block> | ||
| 356 | + | ||
| 357 | + <block wx:else> | ||
| 358 | + <view class="item t-c" data-url="{{item.new_weappurl}}" bindtap="goto_nav"> | ||
| 359 | + <image class="xc-center-img" src="{{iurl+item.icoimg}}"></image> | ||
| 360 | + <view class="fs26">{{item.name}}</view> | ||
| 361 | + </view> | ||
| 362 | + </block> | ||
| 363 | + </block> | ||
| 364 | + <!-- 没有链接地址的时候 --> | ||
| 365 | + <block wx:else> | ||
| 366 | + <block wx:if="{{item.name=='联系客服'}}"> | ||
| 367 | + <!-- <button class="item t-c" wx:if="{{sys_switch.weapp_customertype==1}}" bindtap="click_contact" open-type="contact" session-from="wechat|{{userInfo.user_id}}|{{userInfo.nickname}}|{{userInfo.head_pic}}"> | ||
| 368 | + <image class="xc-center-img " src="{{iurl+item.icoimg}}"></image> | ||
| 369 | + <view class="fs26">联系客服</view> | ||
| 370 | + </button> | ||
| 371 | + | ||
| 372 | + <view class="item t-c" bindtap="con_weixin" wx:elif="{{sys_switch.weapp_customertype==2}}"> | ||
| 373 | + <image class="xc-center-img " src="{{iurl+item.icoimg}}"></image> | ||
| 374 | + <view class="fs26">联系客服</view> | ||
| 375 | + </view> | ||
| 376 | + | ||
| 377 | + <view class="item t-c" bindtap="contactService" wx:else> | ||
| 378 | + <image class="xc-center-img " src="{{iurl+item.icoimg}}"></image> | ||
| 379 | + <view class="fs26">联系客服</view> | ||
| 380 | + </view> --> | ||
| 381 | + | ||
| 382 | + <view class="item t-c" bindtap="openCS"> | ||
| 383 | + <image class="xc-center-img " src="{{iurl+item.icoimg}}"></image> | ||
| 384 | + <view class="fs26">联系客服</view> | ||
| 385 | + </view> | ||
| 386 | + | ||
| 387 | + </block> | ||
| 388 | + <block wx:elif="{{item.name=='收入卡包'}}"> | ||
| 389 | + <view class="item t-c" bindtap="addcard" wx:if="{{add_card_data}}"> | ||
| 390 | + <image class="xc-center-img " src="{{iurl+item.icoimg}}"></image> | ||
| 391 | + <view class="four-level-word">收入卡包</view> | ||
| 392 | + </view> | ||
| 393 | + </block> | ||
| 394 | + </block> | ||
| 289 | </block> | 395 | </block> |
| 290 | </block> | 396 | </block> |
| 291 | - <!-- 没有链接地址的时候 --> | ||
| 292 | - <block wx:else> | ||
| 293 | - <block wx:if="{{item.name=='联系客服'}}"> | ||
| 294 | - <!-- <button class="item t-c" wx:if="{{sys_switch.weapp_customertype==1}}" bindtap="click_contact" open-type="contact" session-from="wechat|{{userInfo.user_id}}|{{userInfo.nickname}}|{{userInfo.head_pic}}"> | ||
| 295 | - <image class="xc-center-img " src="{{iurl+item.icoimg}}"></image> | ||
| 296 | - <view class="fs26">联系客服</view> | ||
| 297 | - </button> | ||
| 298 | - | ||
| 299 | - <view class="item t-c" bindtap="con_weixin" wx:elif="{{sys_switch.weapp_customertype==2}}"> | ||
| 300 | - <image class="xc-center-img " src="{{iurl+item.icoimg}}"></image> | ||
| 301 | - <view class="fs26">联系客服</view> | ||
| 302 | - </view> | ||
| 303 | - | ||
| 304 | - <view class="item t-c" bindtap="contactService" wx:else> | ||
| 305 | - <image class="xc-center-img " src="{{iurl+item.icoimg}}"></image> | ||
| 306 | - <view class="fs26">联系客服</view> | ||
| 307 | - </view> --> | ||
| 308 | - | ||
| 309 | - <view class="item t-c" bindtap="openCS"> | ||
| 310 | - <image class="xc-center-img " src="{{iurl+item.icoimg}}"></image> | ||
| 311 | - <view class="fs26">联系客服</view> | ||
| 312 | - </view> | 397 | + </view> |
| 313 | 398 | ||
| 314 | - </block> | ||
| 315 | - <block wx:elif="{{item.name=='收入卡包'}}"> | ||
| 316 | - <view class="item t-c" bindtap="addcard" wx:if="{{add_card_data}}"> | ||
| 317 | - <image class="xc-center-img " src="{{iurl+item.icoimg}}"></image> | ||
| 318 | - <view class="four-level-word">收入卡包</view> | ||
| 319 | - </view> | ||
| 320 | - </block> | ||
| 321 | - </block> | ||
| 322 | - </block> | ||
| 323 | - </block> | 399 | + </view> |
| 324 | </view> | 400 | </view> |
| 325 | 401 | ||
| 326 | - </view> | ||
| 327 | - </view> | ||
| 328 | - | ||
| 329 | - <!-- 显示推荐 --> | ||
| 330 | - <view style='width:100%;height:73rpx;' wx:if="{{is_show_recommend}}"> | ||
| 331 | - <view class="xc-recommend-goods flex-center"> | 402 | + <!-- 显示推荐 --> |
| 403 | + <view style='width:100%;height:73rpx;' wx:if="{{is_show_recommend}}"> | ||
| 404 | + <view class="xc-recommend-goods flex-center"> | ||
| 332 | 405 | ||
| 333 | - <view class="circle xc-small"> | ||
| 334 | - </view> | ||
| 335 | - <view class="circle xc-zhong"> | ||
| 336 | - </view> | ||
| 337 | - <view class="circle xc-big"> | ||
| 338 | - </view> | ||
| 339 | - <view class="three-level-word xc-recommend">为你推荐</view> | ||
| 340 | - <view class="circle xc-big"> | ||
| 341 | - </view> | ||
| 342 | - <view class="circle xc-zhong"> | 406 | + <view class="circle xc-small"> |
| 407 | + </view> | ||
| 408 | + <view class="circle xc-zhong"> | ||
| 409 | + </view> | ||
| 410 | + <view class="circle xc-big"> | ||
| 411 | + </view> | ||
| 412 | + <view class="three-level-word xc-recommend">为你推荐</view> | ||
| 413 | + <view class="circle xc-big"> | ||
| 414 | + </view> | ||
| 415 | + <view class="circle xc-zhong"> | ||
| 416 | + </view> | ||
| 417 | + <view class="circle xc-small" style='margin-left:15rpx;'> | ||
| 418 | + <!-- </view> --> | ||
| 419 | + </view> | ||
| 420 | + </view> | ||
| 343 | </view> | 421 | </view> |
| 344 | - <view class="circle xc-small" style='margin-left:15rpx;'> | ||
| 345 | - <!-- </view> --> | 422 | + <!-- 显示商品 --> |
| 423 | + <!-- 好物推荐 --> | ||
| 424 | + <block wx:if="{{is_show_recommend}}"> | ||
| 425 | + <goods_recommend id="goods_recommend"></goods_recommend> | ||
| 426 | + </block> | ||
| 427 | + | ||
| 428 | + <!-- 技术支持 --> | ||
| 429 | + <view class="logo-container t-c"> | ||
| 430 | + <view class="flex ai_c fs24 jc-center pdv30 white"> | ||
| 431 | + <image src="{{iurl + 'miniapp/images/luckDraw/logo.png?v=3'}}" class="logo" lazy-load></image>提供技术支持 | ||
| 432 | + </view> | ||
| 346 | </view> | 433 | </view> |
| 347 | - </view> | ||
| 348 | - </view> | ||
| 349 | 434 | ||
| 350 | - <!-- 显示商品 --> | ||
| 351 | - <!-- 好物推荐 --> | ||
| 352 | - <block wx:if="{{is_show_recommend}}"> | ||
| 353 | - <goods_recommend id="goods_recommend"></goods_recommend> | ||
| 354 | - </block> | ||
| 355 | 435 | ||
| 356 | - <!-- 技术支持 --> | ||
| 357 | - <view class="logo-container t-c"> | ||
| 358 | - <view class="flex ai_c fs24 jc-center pdv30 white"> | ||
| 359 | - <image src="{{iurl + 'miniapp/images/luckDraw/logo.png?v=3'}}" class="logo" lazy-load></image>提供技术支持 | ||
| 360 | </view> | 436 | </view> |
| 361 | - </view> | ||
| 362 | -</view> | ||
| 363 | - | ||
| 364 | -<!--弹出层内容,其中的“我知道”中绑定让弹出层消失的函数:bindtap="hide"--> | ||
| 365 | -<view class="tc_view" hidden='{{tc_hide}}' bindtap='hide_tc'> | ||
| 366 | - <view class="modal-box" hidden="{{flag}}" bindtap="hide" catchtouchmove="true"></view> | ||
| 367 | - <view class="modal-body" catchtouchmove="true"> | ||
| 368 | - <view class="modal-content"> | ||
| 369 | - <view class="flex"> | ||
| 370 | - <image src="{{userInfo.head_pic}}" class="hd_img"></image> | ||
| 371 | - <view class="ctent_txt"> | ||
| 372 | - <view class='txt1'>{{userInfo.nickname}} | ||
| 373 | - <image wx:if="{{userInfo.sex==2}}" class="arrow-right" style="width: 35rpx; height:35rpx; top: 5rpx" src="{{iurl}}/miniapp/images/user/wum.png"></image> | ||
| 374 | - <image wx:else class="arrow-right fu" style="width: 35rpx; height:35rpx;top:5rpx" src="{{iurl}}/miniapp/images/user/man.png"></image> | 437 | + |
| 438 | + <!--弹出层内容,其中的“我知道”中绑定让弹出层消失的函数:bindtap="hide"--> | ||
| 439 | + <view class="tc_view" hidden='{{tc_hide}}' bindtap='hide_tc'> | ||
| 440 | + <view class="modal-box" hidden="{{flag}}" bindtap="hide" catchtouchmove="true"></view> | ||
| 441 | + <view class="modal-body" catchtouchmove="true"> | ||
| 442 | + <view class="modal-content"> | ||
| 443 | + <view class="flex"> | ||
| 444 | + <image src="{{userInfo.head_pic}}" class="hd_img"></image> | ||
| 445 | + <view class="ctent_txt"> | ||
| 446 | + <view class='txt1'>{{userInfo.nickname}} | ||
| 447 | + <image wx:if="{{userInfo.sex==2}}" class="arrow-right" style="width: 35rpx; height:35rpx; top: 5rpx" src="{{iurl}}/miniapp/images/user/wum.png"></image> | ||
| 448 | + <image wx:else class="arrow-right fu" style="width: 35rpx; height:35rpx;top:5rpx" src="{{iurl}}/miniapp/images/user/man.png"></image> | ||
| 449 | + </view> | ||
| 450 | + <view wx:if="{{userInfo.address}}" class='txt2'>{{userInfo.address}}</view> | ||
| 451 | + </view> | ||
| 452 | + </view> | ||
| 453 | + <view class="m_ta"> | ||
| 454 | + <!--<image class='g_img' src='https://mshop.yolipai.net//index.php?m=Home&c=Index&a=qr_code&data={{userInfo.mobile}}'></image>--> | ||
| 455 | + <canvas class="g_img" canvas-id="qrcode" /> | ||
| 375 | </view> | 456 | </view> |
| 376 | - <view wx:if="{{userInfo.address}}" class='txt2'>{{userInfo.address}}</view> | 457 | + <view class="s_sao">前台收银扫此二维码,即可享受优惠!</view> |
| 377 | </view> | 458 | </view> |
| 378 | </view> | 459 | </view> |
| 379 | - <view class="m_ta"> | ||
| 380 | - <!--<image class='g_img' src='https://mshop.yolipai.net//index.php?m=Home&c=Index&a=qr_code&data={{userInfo.mobile}}'></image>--> | ||
| 381 | - <canvas class="g_img" canvas-id="qrcode" /> | ||
| 382 | - </view> | ||
| 383 | - <view class="s_sao">前台收银扫此二维码,即可享受优惠!</view> | ||
| 384 | </view> | 460 | </view> |
| 385 | - </view> | ||
| 386 | -</view> | ||
| 387 | 461 | ||
| 388 | -<pop_txt id="pop_txt"></pop_txt> | 462 | + <pop_txt id="pop_txt"></pop_txt> |
| 463 | + <include src="../../../components/com_servicer/com_servicer.wxml"/> | ||
| 389 | 464 | ||
| 465 | + </block> | ||
| 390 | 466 | ||
| 391 | -<include src="../../../components/com_servicer/com_servicer.wxml"/> | 467 | +</block> |