Commit 382f0a1b31498c04529bc27507b13bedf0a01347
Merge branch 'qa' of http://git.vipzhuang.cn/wxd/MShopWeApp
Showing
42 changed files
with
231 additions
and
64 deletions
app.js
| @@ -135,6 +135,14 @@ App({ | @@ -135,6 +135,14 @@ App({ | ||
| 135 | } | 135 | } |
| 136 | }) | 136 | }) |
| 137 | } | 137 | } |
| 138 | + else if(app.globalData.user_id){ //-- 启用默认的user_id -- | ||
| 139 | + app.promiseGet("/api/weshop/users/get/" + app.globalData.setting.stoid + "/" + app.globalData.user_id,{}).then(res=>{ | ||
| 140 | + if(res.data.code==0){ | ||
| 141 | + app.globalData.userInfo = res.data.data; | ||
| 142 | + wx.setStorageSync("userinfo",app.globalData.userInfo); | ||
| 143 | + } | ||
| 144 | + }) | ||
| 145 | + } | ||
| 138 | else { | 146 | else { |
| 139 | //--拿下code-- | 147 | //--拿下code-- |
| 140 | wx.login({ | 148 | wx.login({ |
| @@ -179,14 +187,7 @@ App({ | @@ -179,14 +187,7 @@ App({ | ||
| 179 | }) | 187 | }) |
| 180 | } | 188 | } |
| 181 | 189 | ||
| 182 | - // else if(app.globalData.user_id){ //-- 启用默认的user_id -- | ||
| 183 | - // app.promiseGet("/api/weshop/users/get/" + app.globalData.setting.stoid + "/" + app.globalData.user_id,{}).then(res=>{ | ||
| 184 | - // if(res.data.code==0){ | ||
| 185 | - // app.globalData.userInfo = res.data.data; | ||
| 186 | - // wx.setStorageSync("userinfo",app.globalData.userInfo); | ||
| 187 | - // } | ||
| 188 | - // }) | ||
| 189 | - // } | 190 | + |
| 190 | } | 191 | } |
| 191 | wx.getSystemInfo({ | 192 | wx.getSystemInfo({ |
| 192 | success: (res) => { | 193 | success: (res) => { |
| @@ -196,8 +197,10 @@ App({ | @@ -196,8 +197,10 @@ App({ | ||
| 196 | if (modelmes && modelmes.indexOf('iPhone X') != -1) { //XS,XR,XS MAX均可以适配,因为indexOf()会将包含'iPhone X'的字段都查出来 | 197 | if (modelmes && modelmes.indexOf('iPhone X') != -1) { //XS,XR,XS MAX均可以适配,因为indexOf()会将包含'iPhone X'的字段都查出来 |
| 197 | this.globalData.isIpx = true | 198 | this.globalData.isIpx = true |
| 198 | } | 199 | } |
| 200 | + this.globalData.navBarHeight = 44 + res.statusBarHeight | ||
| 199 | }, | 201 | }, |
| 200 | }) | 202 | }) |
| 203 | + this.globalData.menuInfo = wx.getMenuButtonBoundingClientRect() || {} | ||
| 201 | 204 | ||
| 202 | var th = this; | 205 | var th = this; |
| 203 | var pages = getCurrentPages(); //获取加载的页面 | 206 | var pages = getCurrentPages(); //获取加载的页面 |
components/com_top_nav/com_top_nav.js
0 → 100644
| 1 | +var t = getApp(),os = t.globalData.setting; | ||
| 2 | +Component({ | ||
| 3 | + properties: { | ||
| 4 | + title:{ | ||
| 5 | + type: String,value: '你好' | ||
| 6 | + }, | ||
| 7 | + bcolor:{ | ||
| 8 | + type: String,value: '#fff' | ||
| 9 | + }, | ||
| 10 | + color:{ | ||
| 11 | + type: String,value: '#313131' | ||
| 12 | + } | ||
| 13 | + }, | ||
| 14 | + data: { | ||
| 15 | + iurl: os.imghost, | ||
| 16 | + height:0, | ||
| 17 | + h1:0, | ||
| 18 | + h2:0, | ||
| 19 | + user_id:0 | ||
| 20 | + }, | ||
| 21 | + ready: function() { | ||
| 22 | + let height= getApp().globalData.navBarHeight; | ||
| 23 | + let menuInfo = getApp().globalData.menuInfo; | ||
| 24 | + let user_no=''; | ||
| 25 | + if(getApp().globalData.userInfo){ | ||
| 26 | + user_no=getApp().globalData.userInfo.erpvipno | ||
| 27 | + } | ||
| 28 | + //-- 胶囊的高度 -- | ||
| 29 | + this.setData({height,h1:menuInfo.top,h2:menuInfo.height,user_no}); | ||
| 30 | + }, | ||
| 31 | + pageLifetimes: { | ||
| 32 | + //要处理一下,游客登录后的界面的变化,主要还该是改变会员 | ||
| 33 | + show: function () { | ||
| 34 | + let user_no=''; | ||
| 35 | + if(getApp().globalData.userInfo){ | ||
| 36 | + user_no=getApp().globalData.userInfo.erpvipno | ||
| 37 | + } | ||
| 38 | + //-- 胶囊的高度 -- | ||
| 39 | + this.setData({user_no}); | ||
| 40 | + } | ||
| 41 | + }, | ||
| 42 | + | ||
| 43 | + methods: { | ||
| 44 | + go_back(){ | ||
| 45 | + let pages = getCurrentPages(); | ||
| 46 | + if (pages[pages.length - 2]) { | ||
| 47 | + wx.navigateBack(); | ||
| 48 | + } else { | ||
| 49 | + getApp().goto('/pages/index/index/index') | ||
| 50 | + } | ||
| 51 | + } | ||
| 52 | + | ||
| 53 | + } | ||
| 54 | + | ||
| 55 | +}) | ||
| 0 | \ No newline at end of file | 56 | \ No newline at end of file |
components/com_top_nav/com_top_nav.json
0 → 100644
components/com_top_nav/com_top_nav.wxml
0 → 100644
| 1 | +<cover-view class="t_nav" style="height:{{height}}px;background-color:{{bcolor}};color:{{color}}"> | ||
| 2 | + <cover-view class="tab" style="height:{{h1}}px;"> | ||
| 3 | + <cover-view wx:if="{{user_no}}" class="tb_con" >ID:{{user_no}}<cover-view style="width:20rpx"></cover-view></cover-view> | ||
| 4 | + <cover-view wx:else class="tb_con" ></cover-view> | ||
| 5 | + </cover-view> | ||
| 6 | + <cover-view bindtap="go_back" class="contant" style="height:{{h2}}px"> | ||
| 7 | + <cover-view class="gback"> | ||
| 8 | + <cover-view class="rote_view" style="border: 3rpx solid {{color}};"></cover-view> | ||
| 9 | + </cover-view> | ||
| 10 | + <cover-view >{{title}}</cover-view> | ||
| 11 | + </cover-view> | ||
| 12 | + | ||
| 13 | +</cover-view> | ||
| 14 | +<!-- 用于顶开层的高 --> | ||
| 15 | +<cover-view style="height:{{height}}px"></cover-view> | ||
| 0 | \ No newline at end of file | 16 | \ No newline at end of file |
components/com_top_nav/com_top_nav.wxss
0 → 100644
| 1 | +.t_nav{position:fixed;top:0;left:0; width:100%;z-index:9999; background-color: #fff;font-size: 30rpx } | ||
| 2 | +.tab{ font-size:18rpx; position: relative } | ||
| 3 | +.tb_con{ | ||
| 4 | + position: absolute; bottom: 0; right: 10rpx; display: flex; | ||
| 5 | +} | ||
| 6 | +.contant{ display: flex; justify-content: center; align-items: center; width: 100%; position: relative } | ||
| 7 | +.gback{ | ||
| 8 | + position: absolute; left: 24rpx; width: 17rpx; height: 37rpx;overflow: hidden; | ||
| 9 | +} | ||
| 10 | + | ||
| 11 | +.rote_view{ | ||
| 12 | + width: 24rpx; height: 24rpx; margin-left: 6rpx; margin-top: 6rpx; | ||
| 13 | + transform: rotate(45deg); | ||
| 14 | +} |
packageA/pages/checkin/checkin.json
| 1 | { | 1 | { |
| 2 | - "usingComponents": {}, | 2 | + "usingComponents": { |
| 3 | + "com_top_nav": "/components/com_top_nav/com_top_nav" | ||
| 4 | + }, | ||
| 3 | "navigationBarTitleText": "签到领积分", | 5 | "navigationBarTitleText": "签到领积分", |
| 4 | - "enablePullDownRefresh": false | 6 | + "enablePullDownRefresh": false, |
| 7 | + "navigationStyle": "custom" | ||
| 5 | } | 8 | } |
| 6 | \ No newline at end of file | 9 | \ No newline at end of file |
packageA/pages/checkin/checkin.wxml
| 1 | <wxs module="filters" src="../../../utils/filter.wxs"></wxs> | 1 | <wxs module="filters" src="../../../utils/filter.wxs"></wxs> |
| 2 | <wxs module="g_filter" src="g_filter.wxs"></wxs> | 2 | <wxs module="g_filter" src="g_filter.wxs"></wxs> |
| 3 | <wxs src="checkin.wxs" module="myUtil"></wxs> | 3 | <wxs src="checkin.wxs" module="myUtil"></wxs> |
| 4 | + | ||
| 5 | +<com_top_nav title="签到领积分"></com_top_nav> | ||
| 6 | + | ||
| 4 | <view class="checkin-container"> | 7 | <view class="checkin-container"> |
| 5 | <view class="rule-container flex"> | 8 | <view class="rule-container flex"> |
| 6 | <view class="rule" bindtap="showRules">规则</view> | 9 | <view class="rule" bindtap="showRules">规则</view> |
packageA/pages/goodsInfo/goodsInfo.json
| @@ -5,6 +5,8 @@ | @@ -5,6 +5,8 @@ | ||
| 5 | "nav_box": "/components/nav_box/nav_box", | 5 | "nav_box": "/components/nav_box/nav_box", |
| 6 | "warn": "/components/long_warn/long_warn", | 6 | "warn": "/components/long_warn/long_warn", |
| 7 | "serviceCard_recommend": "/components/serviceCard_list/serviceCard_list", | 7 | "serviceCard_recommend": "/components/serviceCard_list/serviceCard_list", |
| 8 | - "privacy_pop": "/components/privacy_pop/privacy_pop" | ||
| 9 | - } | 8 | + "privacy_pop": "/components/privacy_pop/privacy_pop", |
| 9 | + "com_top_nav": "/components/com_top_nav/com_top_nav" | ||
| 10 | + }, | ||
| 11 | + "navigationStyle": "custom" | ||
| 10 | } | 12 | } |
| 11 | \ No newline at end of file | 13 | \ No newline at end of file |
packageA/pages/goodsInfo/goodsInfo.wxml
| @@ -3,6 +3,8 @@ | @@ -3,6 +3,8 @@ | ||
| 3 | <wxs module="g_filters" src="g_filter.wxs"></wxs> | 3 | <wxs module="g_filters" src="g_filter.wxs"></wxs> |
| 4 | <wxs module="tool" src="filter.wxs"></wxs> | 4 | <wxs module="tool" src="filter.wxs"></wxs> |
| 5 | 5 | ||
| 6 | +<com_top_nav title="{{data.goods_name}}"></com_top_nav> | ||
| 7 | + | ||
| 6 | <!-- 判断隐私是不是显示 --> | 8 | <!-- 判断隐私是不是显示 --> |
| 7 | <privacy_pop id="privacy_pop" bind:agree_pri="agree_pri"></privacy_pop> | 9 | <privacy_pop id="privacy_pop" bind:agree_pri="agree_pri"></privacy_pop> |
| 8 | 10 |
packageA/pages/quan_pro/quan_pro.js
| @@ -118,9 +118,11 @@ Page({ | @@ -118,9 +118,11 @@ Page({ | ||
| 118 | 118 | ||
| 119 | 119 | ||
| 120 | }, | 120 | }, |
| 121 | - | 121 | + onUnload:function(){ |
| 122 | + wx.offCopyUrl() | ||
| 123 | + }, | ||
| 122 | onHide: function() { | 124 | onHide: function() { |
| 123 | - | 125 | + wx.offCopyUrl() |
| 124 | }, | 126 | }, |
| 125 | //--滚动到顶部-- | 127 | //--滚动到顶部-- |
| 126 | doScrollTop: function() { | 128 | doScrollTop: function() { |
packageA/pages/serviceCard_pd/goodsInfo/goodsInfo.json
| @@ -6,6 +6,8 @@ | @@ -6,6 +6,8 @@ | ||
| 6 | "warn": "/components/long_warn/long_warn", | 6 | "warn": "/components/long_warn/long_warn", |
| 7 | "serviceCard_recommend": "/components/serviceCard_list/serviceCard_list", | 7 | "serviceCard_recommend": "/components/serviceCard_list/serviceCard_list", |
| 8 | "share": "/components/share/share", | 8 | "share": "/components/share/share", |
| 9 | - "privacy_pop": "/components/privacy_pop/privacy_pop" | ||
| 10 | - } | 9 | + "privacy_pop": "/components/privacy_pop/privacy_pop", |
| 10 | + "com_top_nav": "/components/com_top_nav/com_top_nav" | ||
| 11 | + }, | ||
| 12 | + "navigationStyle": "custom" | ||
| 11 | } | 13 | } |
| 12 | \ No newline at end of file | 14 | \ No newline at end of file |
packageA/pages/serviceCard_pd/goodsInfo/goodsInfo.wxml
| @@ -3,6 +3,8 @@ | @@ -3,6 +3,8 @@ | ||
| 3 | <wxs module="g_filters" src="g_filter.wxs"></wxs> | 3 | <wxs module="g_filters" src="g_filter.wxs"></wxs> |
| 4 | <wxs module="tool" src="filter.wxs"></wxs> | 4 | <wxs module="tool" src="filter.wxs"></wxs> |
| 5 | 5 | ||
| 6 | +<com_top_nav title="{{data.goods_name}}"></com_top_nav> | ||
| 7 | + | ||
| 6 | <!-- 判断隐私是不是显示 --> | 8 | <!-- 判断隐私是不是显示 --> |
| 7 | <privacy_pop id="privacy_pop" bind:agree_pri="agree_pri"></privacy_pop> | 9 | <privacy_pop id="privacy_pop" bind:agree_pri="agree_pri"></privacy_pop> |
| 8 | 10 |
packageB/pages/luckactivity/luckinfo/luckinfo.js
| @@ -262,11 +262,10 @@ Page({ | @@ -262,11 +262,10 @@ Page({ | ||
| 262 | let first_leader = null; | 262 | let first_leader = null; |
| 263 | this.data.options = options; | 263 | this.data.options = options; |
| 264 | 264 | ||
| 265 | - | ||
| 266 | - wx.setNavigationBarTitle({ | ||
| 267 | - title: options.title, | ||
| 268 | - }); | ||
| 269 | - | 265 | + // wx.setNavigationBarTitle({ |
| 266 | + // title: options.title, | ||
| 267 | + // }); | ||
| 268 | + this.setData({l_title:options.title}) | ||
| 270 | 269 | ||
| 271 | app.isLogin().then(function (data) {//进入页面前已经授权登录成功 | 270 | app.isLogin().then(function (data) {//进入页面前已经授权登录成功 |
| 272 | self.setData({ | 271 | self.setData({ |
packageB/pages/luckactivity/luckinfo/luckinfo.json
| @@ -2,10 +2,12 @@ | @@ -2,10 +2,12 @@ | ||
| 2 | "usingComponents": { | 2 | "usingComponents": { |
| 3 | "lucky-wheel":"/packageB/miniprogram_npm/mini-luck-draw/lucky-wheel/index", | 3 | "lucky-wheel":"/packageB/miniprogram_npm/mini-luck-draw/lucky-wheel/index", |
| 4 | "qrcode": "/components/my-qrcode/my-qrcode", | 4 | "qrcode": "/components/my-qrcode/my-qrcode", |
| 5 | - "nodata": "/components/nodata/nodata", | ||
| 6 | - "store_popup":"/components/store_popup/store_popup", | ||
| 7 | - "painter": "/packageB/components/painter/painter" | 5 | + "nodata": "/components/nodata/nodata", |
| 6 | + "store_popup":"/components/store_popup/store_popup", | ||
| 7 | + "painter": "/packageB/components/painter/painter", | ||
| 8 | + "com_top_nav": "/components/com_top_nav/com_top_nav" | ||
| 8 | }, | 9 | }, |
| 9 | "enablePullDownRefresh": false, | 10 | "enablePullDownRefresh": false, |
| 10 | - "navigationBarTitleText": "幸运大转盘" | 11 | + "navigationBarTitleText": "幸运大转盘", |
| 12 | + "navigationStyle": "custom" | ||
| 11 | } | 13 | } |
| 12 | \ No newline at end of file | 14 | \ No newline at end of file |
packageB/pages/luckactivity/luckinfo/luckinfo.wxml
| 1 | <wxs module="filter" src="../../../../utils/filter.wxs"></wxs> | 1 | <wxs module="filter" src="../../../../utils/filter.wxs"></wxs> |
| 2 | <wxs module="tool" src="./tool.wxs"></wxs> | 2 | <wxs module="tool" src="./tool.wxs"></wxs> |
| 3 | + | ||
| 4 | +<com_top_nav title="{{l_title}}"></com_top_nav> | ||
| 5 | + | ||
| 3 | <view class="luck-container {{!template&&custom ? 'on':''}}" style="{{luckStyle}}"> | 6 | <view class="luck-container {{!template&&custom ? 'on':''}}" style="{{luckStyle}}"> |
| 4 | <!-- <view class="luck-container {{!template&&custom ? 'on':''}}" style="background: {{template&&template.colorCode ? template.colorCode:(custom ? '#f0f0f0':'#da104b')}} url({{bannerUrl ? bannerUrl:''}}) no-repeat;"> --> | 7 | <!-- <view class="luck-container {{!template&&custom ? 'on':''}}" style="background: {{template&&template.colorCode ? template.colorCode:(custom ? '#f0f0f0':'#da104b')}} url({{bannerUrl ? bannerUrl:''}}) no-repeat;"> --> |
| 5 | <!-- 中奖人员 --> | 8 | <!-- 中奖人员 --> |
packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.js
| @@ -1075,10 +1075,11 @@ Page({ | @@ -1075,10 +1075,11 @@ Page({ | ||
| 1075 | } | 1075 | } |
| 1076 | 1076 | ||
| 1077 | //动态获取商品名称 | 1077 | //动态获取商品名称 |
| 1078 | - wx.setNavigationBarTitle({ | ||
| 1079 | - title: t.data.data.goods_name, | ||
| 1080 | - }); | 1078 | + // wx.setNavigationBarTitle({ |
| 1079 | + // title: t.data.data.goods_name, | ||
| 1080 | + // }); | ||
| 1081 | 1081 | ||
| 1082 | + ee.setData({gtitle: t.data.data.goods_name }) | ||
| 1082 | 1083 | ||
| 1083 | 1084 | ||
| 1084 | //-- 把商品的赋值 -- | 1085 | //-- 把商品的赋值 -- |
packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.json
| @@ -6,6 +6,8 @@ | @@ -6,6 +6,8 @@ | ||
| 6 | "warn": "/components/long_warn/long_warn", | 6 | "warn": "/components/long_warn/long_warn", |
| 7 | "goods_recommend": "/components/goods_list/goods_list", | 7 | "goods_recommend": "/components/goods_list/goods_list", |
| 8 | "share": "/components/share/share", | 8 | "share": "/components/share/share", |
| 9 | - "privacy_pop": "/components/privacy_pop/privacy_pop" | ||
| 10 | - } | 9 | + "privacy_pop": "/components/privacy_pop/privacy_pop", |
| 10 | + "com_top_nav": "/components/com_top_nav/com_top_nav" | ||
| 11 | + }, | ||
| 12 | + "navigationStyle": "custom" | ||
| 11 | } | 13 | } |
| 12 | \ No newline at end of file | 14 | \ No newline at end of file |
packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.wxml
| @@ -3,6 +3,8 @@ | @@ -3,6 +3,8 @@ | ||
| 3 | <wxs module="g_filters" src="g_filter.wxs"></wxs> | 3 | <wxs module="g_filters" src="g_filter.wxs"></wxs> |
| 4 | <wxs module="tool" src="filter.wxs"></wxs> | 4 | <wxs module="tool" src="filter.wxs"></wxs> |
| 5 | 5 | ||
| 6 | +<com_top_nav title="{{gtitle}}"></com_top_nav> | ||
| 7 | + | ||
| 6 | <!-- 判断隐私是不是显示 --> | 8 | <!-- 判断隐私是不是显示 --> |
| 7 | <privacy_pop id="privacy_pop" bind:agree_pri="agree_pri"></privacy_pop> | 9 | <privacy_pop id="privacy_pop" bind:agree_pri="agree_pri"></privacy_pop> |
| 8 | 10 |
packageC/pages/presell/cardInfo/goodsInfo.json
| @@ -6,6 +6,8 @@ | @@ -6,6 +6,8 @@ | ||
| 6 | "warn": "/components/long_warn/long_warn", | 6 | "warn": "/components/long_warn/long_warn", |
| 7 | "goods_recommend": "/components/goods_list/goods_list", | 7 | "goods_recommend": "/components/goods_list/goods_list", |
| 8 | "share": "/components/share/share", | 8 | "share": "/components/share/share", |
| 9 | - "privacy_pop": "/components/privacy_pop/privacy_pop" | ||
| 10 | - } | 9 | + "privacy_pop": "/components/privacy_pop/privacy_pop", |
| 10 | + "com_top_nav": "/components/com_top_nav/com_top_nav" | ||
| 11 | + }, | ||
| 12 | + "navigationStyle": "custom" | ||
| 11 | } | 13 | } |
| 12 | \ No newline at end of file | 14 | \ No newline at end of file |
packageC/pages/presell/cardInfo/goodsInfo.wxml
| @@ -3,6 +3,8 @@ | @@ -3,6 +3,8 @@ | ||
| 3 | <wxs module="g_filters" src="g_filter.wxs"></wxs> | 3 | <wxs module="g_filters" src="g_filter.wxs"></wxs> |
| 4 | <wxs module="tool" src="filter.wxs"></wxs> | 4 | <wxs module="tool" src="filter.wxs"></wxs> |
| 5 | 5 | ||
| 6 | +<com_top_nav title="{{data.goods_name}}"></com_top_nav> | ||
| 7 | + | ||
| 6 | <!-- 判断隐私是不是显示 --> | 8 | <!-- 判断隐私是不是显示 --> |
| 7 | <privacy_pop id="privacy_pop" bind:agree_pri="agree_pri"></privacy_pop> | 9 | <privacy_pop id="privacy_pop" bind:agree_pri="agree_pri"></privacy_pop> |
| 8 | 10 |
packageC/pages/presell/cart/cart.js
| @@ -3018,7 +3018,7 @@ Page({ | @@ -3018,7 +3018,7 @@ Page({ | ||
| 3018 | } | 3018 | } |
| 3019 | }) | 3019 | }) |
| 3020 | 3020 | ||
| 3021 | - if(!presellList || !presellList.length){ | 3021 | + if(!presellList){ |
| 3022 | var content = good.goods_name + '未找到预售活动,请取消订单'; | 3022 | var content = good.goods_name + '未找到预售活动,请取消订单'; |
| 3023 | th.toast(content); | 3023 | th.toast(content); |
| 3024 | th.setData({ paying: 0 }); | 3024 | th.setData({ paying: 0 }); |
packageC/pages/presell/goodsInfo/goodsInfo.js
| @@ -814,9 +814,11 @@ Page({ | @@ -814,9 +814,11 @@ Page({ | ||
| 814 | } | 814 | } |
| 815 | } | 815 | } |
| 816 | //动态获取商品名称 | 816 | //动态获取商品名称 |
| 817 | - wx.setNavigationBarTitle({ | ||
| 818 | - title: t.data.data.goods_name, | ||
| 819 | - }); | 817 | + // wx.setNavigationBarTitle({ |
| 818 | + // title: t.data.data.goods_name, | ||
| 819 | + // }); | ||
| 820 | + | ||
| 821 | + ee.setData({gtitle:t.data.data.goods_name}) | ||
| 820 | 822 | ||
| 821 | t.data.data.prom_id= th.data.presell_id; | 823 | t.data.data.prom_id= th.data.presell_id; |
| 822 | t.data.data.prom_type= 8; | 824 | t.data.data.prom_type= 8; |
packageC/pages/presell/goodsInfo/goodsInfo.json
| @@ -6,6 +6,8 @@ | @@ -6,6 +6,8 @@ | ||
| 6 | "warn": "/components/long_warn/long_warn", | 6 | "warn": "/components/long_warn/long_warn", |
| 7 | "goods_recommend": "/components/goods_list/goods_list", | 7 | "goods_recommend": "/components/goods_list/goods_list", |
| 8 | "share": "/components/share/share", | 8 | "share": "/components/share/share", |
| 9 | - "privacy_pop": "/components/privacy_pop/privacy_pop" | ||
| 10 | - } | 9 | + "privacy_pop": "/components/privacy_pop/privacy_pop", |
| 10 | + "com_top_nav": "/components/com_top_nav/com_top_nav" | ||
| 11 | + }, | ||
| 12 | + "navigationStyle": "custom" | ||
| 11 | } | 13 | } |
| 12 | \ No newline at end of file | 14 | \ No newline at end of file |
packageC/pages/presell/goodsInfo/goodsInfo.wxml
| 1 | +<com_top_nav title="{{gtitle}}"></com_top_nav> | ||
| 1 | <import src="../../../../utils/wxParse/wxParse.wxml"></import> | 2 | <import src="../../../../utils/wxParse/wxParse.wxml"></import> |
| 2 | <wxs module="filters" src="../../../../utils/filter.wxs"></wxs> | 3 | <wxs module="filters" src="../../../../utils/filter.wxs"></wxs> |
| 3 | <wxs module="g_filters" src="g_filter.wxs"></wxs> | 4 | <wxs module="g_filters" src="g_filter.wxs"></wxs> |
packageE/pages/cart/cart2/cart2.js
| @@ -1437,17 +1437,17 @@ Page({ | @@ -1437,17 +1437,17 @@ Page({ | ||
| 1437 | item1.is_order_yh=1; | 1437 | item1.is_order_yh=1; |
| 1438 | item1.is_post_temp=1; | 1438 | item1.is_post_temp=1; |
| 1439 | //如果是秒杀,团购的时候,优惠促销和搭配购的时候 | 1439 | //如果是秒杀,团购的时候,优惠促销和搭配购的时候 |
| 1440 | - if([1,2,3,5,6,7].indexOf(item1.prom_type)>-1){ | 1440 | + if([1,2,3,5,6,7,10].indexOf(item1.prom_type)>-1){ |
| 1441 | var url= "/api/weshop/activitylist/getSJGoodsPriceNew/" + os.stoid | 1441 | var url= "/api/weshop/activitylist/getSJGoodsPriceNew/" + os.stoid |
| 1442 | + "/" + item1.goods_id + "/"+item1.prom_type+"/" + item1.prom_id + "/" + app.globalData.user_id; | 1442 | + "/" + item1.goods_id + "/"+item1.prom_type+"/" + item1.prom_id + "/" + app.globalData.user_id; |
| 1443 | await app.request.promiseGet(url,{}).then(res=>{ | 1443 | await app.request.promiseGet(url,{}).then(res=>{ |
| 1444 | if(res.data.code==0){ | 1444 | if(res.data.code==0){ |
| 1445 | console.log(res.data.data,"111"); | 1445 | console.log(res.data.data,"111"); |
| 1446 | //组合促销有另外一个字段名is_orderyh,在控制订单促销的叠加 | 1446 | //组合促销有另外一个字段名is_orderyh,在控制订单促销的叠加 |
| 1447 | - if(item1.prom_type!=7){ | 1447 | + |
| 1448 | + if(item1.prom_type!=7 && item1.prom_type!=10) { | ||
| 1448 | item1.is_order_yh=res.data.data.is_order_yh; | 1449 | item1.is_order_yh=res.data.data.is_order_yh; |
| 1449 | - } | ||
| 1450 | - else item1.is_order_yh=0; | 1450 | + }else item1.is_order_yh=0; |
| 1451 | 1451 | ||
| 1452 | item1.is_post_temp=res.data.data.is_post_temp; | 1452 | item1.is_post_temp=res.data.data.is_post_temp; |
| 1453 | } | 1453 | } |
| @@ -2956,12 +2956,14 @@ Page({ | @@ -2956,12 +2956,14 @@ Page({ | ||
| 2956 | o_price += item[jc].goods_price * item[jc].goods_num; | 2956 | o_price += item[jc].goods_price * item[jc].goods_num; |
| 2957 | 2957 | ||
| 2958 | //--- 秒杀, 团购的时候,判断有没有订单优惠和包邮模板的叠加 --- | 2958 | //--- 秒杀, 团购的时候,判断有没有订单优惠和包邮模板的叠加 --- |
| 2959 | - if( [1,2,3,5,6,7].indexOf(item[jc].prom_type)>-1){ | 2959 | + if( [1,2,3,5,6,7,10].indexOf(item[jc].prom_type)>-1){ |
| 2960 | 2960 | ||
| 2961 | var gd_price=item[jc].goods_price; | 2961 | var gd_price=item[jc].goods_price; |
| 2962 | if(item[jc].account_fir) gd_price=item[jc].account_fir; | 2962 | if(item[jc].account_fir) gd_price=item[jc].account_fir; |
| 2963 | 2963 | ||
| 2964 | - if(!item[jc].is_order_yh && !item[jc].whsle_id && item[jc].prom_type!=7){ | 2964 | + |
| 2965 | + //组合购和阶梯购是订单优惠是另外算的 | ||
| 2966 | + if(!item[jc].is_order_yh && !item[jc].whsle_id && item[jc].prom_type!=7 && item[jc].prom_type!=10){ | ||
| 2965 | no_order_yh+=gd_price * item[jc].goods_num; | 2967 | no_order_yh+=gd_price * item[jc].goods_num; |
| 2966 | if(item[jc].quan_num) no_order_yh-=item[jc].quan_num; //券要把他补回去 | 2968 | if(item[jc].quan_num) no_order_yh-=item[jc].quan_num; //券要把他补回去 |
| 2967 | 2969 |
pages/giftpack/giftpacklist/giftpacklist.js
| @@ -687,7 +687,12 @@ Page({ | @@ -687,7 +687,12 @@ Page({ | ||
| 687 | }); | 687 | }); |
| 688 | 688 | ||
| 689 | }, | 689 | }, |
| 690 | - | 690 | + onUnload:function(){ |
| 691 | + wx.offCopyUrl() | ||
| 692 | + }, | ||
| 693 | + onHide: function() { | ||
| 694 | + wx.offCopyUrl() | ||
| 695 | + }, | ||
| 691 | 696 | ||
| 692 | //显示核销码 | 697 | //显示核销码 |
| 693 | code_show: function (e) { | 698 | code_show: function (e) { |
pages/giftpack/giftpacklist/giftpacklist.json
| @@ -5,6 +5,8 @@ | @@ -5,6 +5,8 @@ | ||
| 5 | "my_confirm": "/components/my_confirm/my_confirm", | 5 | "my_confirm": "/components/my_confirm/my_confirm", |
| 6 | "qr_code": "/components/qr_code/qr_code", | 6 | "qr_code": "/components/qr_code/qr_code", |
| 7 | "nav_b": "/components/nav_b/nav_b", | 7 | "nav_b": "/components/nav_b/nav_b", |
| 8 | - "share": "/components/share/share" | ||
| 9 | - } | 8 | + "share": "/components/share/share", |
| 9 | + "com_top_nav": "/components/com_top_nav/com_top_nav" | ||
| 10 | + }, | ||
| 11 | + "navigationStyle": "custom" | ||
| 10 | } | 12 | } |
| 11 | \ No newline at end of file | 13 | \ No newline at end of file |
pages/giftpack/giftpacklist/giftpacklist.wxml
| 1 | <wxs module="filter" src="../../../utils/filter.wxs"></wxs> | 1 | <wxs module="filter" src="../../../utils/filter.wxs"></wxs> |
| 2 | +<com_top_nav title="礼包详情"></com_top_nav> | ||
| 3 | + | ||
| 2 | <view class="box data-v-3a5b7e36" style="background-color:{{default_color?default_color:'#e85f93'}}"> | 4 | <view class="box data-v-3a5b7e36" style="background-color:{{default_color?default_color:'#e85f93'}}"> |
| 3 | <view class="box_top data-v-3a5b7e36"> | 5 | <view class="box_top data-v-3a5b7e36"> |
| 4 | <image src="{{giftImage}}" class="data-v-3a5b7e36" lazy-load="true" binderror="bind_bnerr" data-errorimg="giftImage"></image> | 6 | <image src="{{giftImage}}" class="data-v-3a5b7e36" lazy-load="true" binderror="bind_bnerr" data-errorimg="giftImage"></image> |
pages/goods/goodsInfo/goodsInfo.js
| @@ -1029,7 +1029,7 @@ Page({ | @@ -1029,7 +1029,7 @@ Page({ | ||
| 1029 | title: '商品已经下架', | 1029 | title: '商品已经下架', |
| 1030 | showCancel: !1, | 1030 | showCancel: !1, |
| 1031 | complete: function () { | 1031 | complete: function () { |
| 1032 | - let pages = getCurrentPages(); | 1032 | + let pages = getCurrentPages(); |
| 1033 | if (pages[pages.length - 2]) { | 1033 | if (pages[pages.length - 2]) { |
| 1034 | wx.navigateBack(); | 1034 | wx.navigateBack(); |
| 1035 | } else { | 1035 | } else { |
| @@ -1079,9 +1079,12 @@ Page({ | @@ -1079,9 +1079,12 @@ Page({ | ||
| 1079 | 1079 | ||
| 1080 | 1080 | ||
| 1081 | //动态获取商品名称 | 1081 | //动态获取商品名称 |
| 1082 | - wx.setNavigationBarTitle({ | ||
| 1083 | - title: t.data.data.goods_name, | ||
| 1084 | - }); | 1082 | + // wx.setNavigationBarTitle({ |
| 1083 | + // title: t.data.data.goods_name, | ||
| 1084 | + // }); | ||
| 1085 | + | ||
| 1086 | + ee.setData({gtitle:t.data.data.goods_name}) | ||
| 1087 | + | ||
| 1085 | 1088 | ||
| 1086 | var p_type = parseInt(ee.data.prom_type ? ee.data.prom_type : 0); | 1089 | var p_type = parseInt(ee.data.prom_type ? ee.data.prom_type : 0); |
| 1087 | 1090 | ||
| @@ -3433,7 +3436,7 @@ Page({ | @@ -3433,7 +3436,7 @@ Page({ | ||
| 3433 | var req_d = { | 3436 | var req_d = { |
| 3434 | "store_id": os.stoid, | 3437 | "store_id": os.stoid, |
| 3435 | "goods_id": that.data.gid, | 3438 | "goods_id": that.data.gid, |
| 3436 | - "user_id": user_id, | 3439 | + "user_id": getApp().globalData.user_id, |
| 3437 | } | 3440 | } |
| 3438 | getApp().request.get(url, { | 3441 | getApp().request.get(url, { |
| 3439 | data: req_d, | 3442 | data: req_d, |
| @@ -8487,7 +8490,7 @@ Page({ | @@ -8487,7 +8490,7 @@ Page({ | ||
| 8487 | } | 8490 | } |
| 8488 | var url = "/api/ms/flash_sale/getNew/" + os.stoid + "/" + user_id + "/" + item.act_id; | 8491 | var url = "/api/ms/flash_sale/getNew/" + os.stoid + "/" + user_id + "/" + item.act_id; |
| 8489 | await getApp().request.promiseGet(url, {}).then(rs => { | 8492 | await getApp().request.promiseGet(url, {}).then(rs => { |
| 8490 | - if (rs.data.code == 0) { | 8493 | + if (rs.data.code == 0 && rs.data.data) { |
| 8491 | f_more[i].price = rs.data.data.user_price; | 8494 | f_more[i].price = rs.data.data.user_price; |
| 8492 | 8495 | ||
| 8493 | } | 8496 | } |
pages/goods/goodsInfo/goodsInfo.json
| @@ -7,6 +7,8 @@ | @@ -7,6 +7,8 @@ | ||
| 7 | "goods_recommend": "/components/goods_list/goods_list", | 7 | "goods_recommend": "/components/goods_list/goods_list", |
| 8 | "share": "/components/share/share", | 8 | "share": "/components/share/share", |
| 9 | "pro_pop": "/components/promate_pop/promate_pop", | 9 | "pro_pop": "/components/promate_pop/promate_pop", |
| 10 | - "privacy_pop": "/components/privacy_pop/privacy_pop" | ||
| 11 | - } | 10 | + "privacy_pop": "/components/privacy_pop/privacy_pop", |
| 11 | + "com_top_nav": "/components/com_top_nav/com_top_nav" | ||
| 12 | + }, | ||
| 13 | + "navigationStyle": "custom" | ||
| 12 | } | 14 | } |
| 13 | \ No newline at end of file | 15 | \ No newline at end of file |
pages/goods/goodsInfo/goodsInfo.wxml
pages/goods/goodsList/goodsList.js
| @@ -280,6 +280,17 @@ Page({ | @@ -280,6 +280,17 @@ Page({ | ||
| 280 | var content=JSON.parse(arr[i].preferential_type); | 280 | var content=JSON.parse(arr[i].preferential_type); |
| 281 | arr[i].content=content; | 281 | arr[i].content=content; |
| 282 | 282 | ||
| 283 | + | ||
| 284 | + //--送礼包-- | ||
| 285 | + if(parseInt(content.is_coupon)) { | ||
| 286 | + //-- 获取 -- | ||
| 287 | + await getApp().request.promiseGet("/api/weshop/prom/coupon/get/"+content.coupon, { | ||
| 288 | + }).then(res => { | ||
| 289 | + if(res.data.code==0 && res.data.data ) | ||
| 290 | + arr[i].content.coupon_money=res.data.data.money; | ||
| 291 | + }) | ||
| 292 | + } | ||
| 293 | + | ||
| 283 | //--送礼包-- | 294 | //--送礼包-- |
| 284 | if(parseInt(content.is_libao)) { | 295 | if(parseInt(content.is_libao)) { |
| 285 | //-- 获取 -- | 296 | //-- 获取 -- |
pages/goods/goodsList/goodsList.wxml
| @@ -10,13 +10,14 @@ | @@ -10,13 +10,14 @@ | ||
| 10 | <text space="{{true}}" wx:if="{{item.content.past && item.content.past!='0'}}">包邮 </text> | 10 | <text space="{{true}}" wx:if="{{item.content.past && item.content.past!='0'}}">包邮 </text> |
| 11 | <text space="{{true}}" wx:if="{{item.content.is_sale && item.content.is_sale!='0'}}">打{{item.content.sale}}折 </text> | 11 | <text space="{{true}}" wx:if="{{item.content.is_sale && item.content.is_sale!='0'}}">打{{item.content.sale}}折 </text> |
| 12 | <text space="{{true}}" wx:if="{{item.content.is_int && item.content.is_int!='0'}}">送{{item.content.int}}积分 </text> | 12 | <text space="{{true}}" wx:if="{{item.content.is_int && item.content.is_int!='0'}}">送{{item.content.int}}积分 </text> |
| 13 | - <text space="{{true}}" wx:if="{{item.content.is_coupon && item.content.is_coupon!='0'}}">送{{item.content.coupon}}元优惠券 </text> | 13 | + <text space="{{true}}" wx:if="{{item.content.is_coupon && item.content.is_coupon!='0'}}">送{{item.content.coupon_money}}元优惠券 </text> |
| 14 | <text space="{{true}}" wx:if="{{item.content.is_gift && item.content.is_gift!='0'}}">送{{item.content.zp_mode==1?'多赠品':item.content.gift_name}} </text> | 14 | <text space="{{true}}" wx:if="{{item.content.is_gift && item.content.is_gift!='0'}}">送{{item.content.zp_mode==1?'多赠品':item.content.gift_name}} </text> |
| 15 | <text space="{{true}}" wx:if="{{item.content.is_libao && item.content.is_libao!='0'}}">送{{item.content.lb_name}} </text> | 15 | <text space="{{true}}" wx:if="{{item.content.is_libao && item.content.is_libao!='0'}}">送{{item.content.lb_name}} </text> |
| 16 | <text space="{{true}}" wx:if="{{item.content.is_zxlibao && item.content.is_zxlibao!='0'}}">送{{item.content.zxlb_name}} </text> | 16 | <text space="{{true}}" wx:if="{{item.content.is_zxlibao && item.content.is_zxlibao!='0'}}">送{{item.content.zxlb_name}} </text> |
| 17 | <text space="{{true}}" wx:if="{{item.content.is_monthgiftbag && item.content.is_monthgiftbag!='0'}}">送{{item.content.monthgift_name}} </text> | 17 | <text space="{{true}}" wx:if="{{item.content.is_monthgiftbag && item.content.is_monthgiftbag!='0'}}">送{{item.content.monthgift_name}} </text> |
| 18 | </view> | 18 | </view> |
| 19 | </block> | 19 | </block> |
| 20 | + | ||
| 20 | <!-- 新增 --> | 21 | <!-- 新增 --> |
| 21 | <view wx:if="{{jieti_prom}}" class="fs30 ellipsis-1" style="padding: 20rpx">阶梯促销:{{jieti_prom}}</view> | 22 | <view wx:if="{{jieti_prom}}" class="fs30 ellipsis-1" style="padding: 20rpx">阶梯促销:{{jieti_prom}}</view> |
| 22 | 23 |
pages/index/index/index.js
| @@ -91,7 +91,7 @@ Page({ | @@ -91,7 +91,7 @@ Page({ | ||
| 91 | 91 | ||
| 92 | 92 | ||
| 93 | onLoad: async function (tt) { | 93 | onLoad: async function (tt) { |
| 94 | - | 94 | + wx.offCopyUrl() |
| 95 | wx.showShareMenu({ | 95 | wx.showShareMenu({ |
| 96 | withShareTicket:true, | 96 | withShareTicket:true, |
| 97 | menus:['shareAppMessage','shareTimeline'] | 97 | menus:['shareAppMessage','shareTimeline'] |
pages/user/index/index.js
| @@ -72,6 +72,7 @@ Page({ | @@ -72,6 +72,7 @@ Page({ | ||
| 72 | * 生命周期函数--监听页面加载 | 72 | * 生命周期函数--监听页面加载 |
| 73 | */ | 73 | */ |
| 74 | onLoad: function (options) { | 74 | onLoad: function (options) { |
| 75 | + wx.offCopyUrl() | ||
| 75 | self = this; | 76 | self = this; |
| 76 | var th = this; | 77 | var th = this; |
| 77 | getApp().request.get("/api/weshop/ad/page?pid=401&store_id=" + os.stoid, { | 78 | getApp().request.get("/api/weshop/ad/page?pid=401&store_id=" + os.stoid, { |
pages/user/index/index.json
| @@ -2,7 +2,9 @@ | @@ -2,7 +2,9 @@ | ||
| 2 | "usingComponents": { | 2 | "usingComponents": { |
| 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 | }, | 7 | }, |
| 7 | - "navigationBarTitleText": "会员中心" | 8 | + "navigationBarTitleText": "会员中心", |
| 9 | + "navigationStyle": "custom" | ||
| 8 | } | 10 | } |
| 9 | \ No newline at end of file | 11 | \ No newline at end of file |
pages/user/index/index.wxml
| @@ -3,6 +3,8 @@ | @@ -3,6 +3,8 @@ | ||
| 3 | <!-- <import src="../../tabbar/tabbar.wxml" /> | 3 | <!-- <import src="../../tabbar/tabbar.wxml" /> |
| 4 | <template is="tabBar" data="{{tabBar}}" /> --> | 4 | <template is="tabBar" data="{{tabBar}}" /> --> |
| 5 | <wxs src="filter.wxs" module="util"></wxs> | 5 | <wxs src="filter.wxs" module="util"></wxs> |
| 6 | +<com_top_nav title="会员中心"></com_top_nav> | ||
| 7 | + | ||
| 6 | <view class="xc-page" style="margin-bottom:{{isIpx ? '168rpx' : '100rpx'}}"> | 8 | <view class="xc-page" style="margin-bottom:{{isIpx ? '168rpx' : '100rpx'}}"> |
| 7 | <view class="xc-user"> | 9 | <view class="xc-user"> |
| 8 | <view class="xc-head rel"> | 10 | <view class="xc-head rel"> |
pages/user/my_service/i_service.json
| @@ -5,6 +5,8 @@ | @@ -5,6 +5,8 @@ | ||
| 5 | "qr_code": "/components/qr_code/qr_code", | 5 | "qr_code": "/components/qr_code/qr_code", |
| 6 | "warn": "/components/long_warn/long_warn", | 6 | "warn": "/components/long_warn/long_warn", |
| 7 | "my_confirm": "/components/my_confirm/my_confirm", | 7 | "my_confirm": "/components/my_confirm/my_confirm", |
| 8 | - "nav_b": "/components/nav_b/nav_b" | ||
| 9 | - } | 8 | + "nav_b": "/components/nav_b/nav_b", |
| 9 | + "com_top_nav": "/components/com_top_nav/com_top_nav" | ||
| 10 | + }, | ||
| 11 | + "navigationStyle": "custom" | ||
| 10 | } | 12 | } |
| 11 | \ No newline at end of file | 13 | \ No newline at end of file |
pages/user/my_service/i_service.wxml
| 1 | +<com_top_nav title="服务项目"></com_top_nav> | ||
| 2 | + | ||
| 1 | <!-- 背景图片 --> | 3 | <!-- 背景图片 --> |
| 2 | <view catchtap="close"> | 4 | <view catchtap="close"> |
| 3 | <image class="backimage" src="{{iurl}}/miniapp/images/yyservice/backimage.png" lazy-load="true"/> | 5 | <image class="backimage" src="{{iurl}}/miniapp/images/yyservice/backimage.png" lazy-load="true"/> |
| @@ -5,7 +7,6 @@ | @@ -5,7 +7,6 @@ | ||
| 5 | <navigator class="fs26 white" url="/packageA/pages/service_record/service_record">服务记录</navigator> | 7 | <navigator class="fs26 white" url="/packageA/pages/service_record/service_record">服务记录</navigator> |
| 6 | <navigator class="fs26 white" url="/pages/user/my_service/hist_service">历史预约</navigator> | 8 | <navigator class="fs26 white" url="/pages/user/my_service/hist_service">历史预约</navigator> |
| 7 | </view> | 9 | </view> |
| 8 | - | ||
| 9 | </view> | 10 | </view> |
| 10 | 11 | ||
| 11 | <!-- 预约内容 --> | 12 | <!-- 预约内容 --> |
pages/user/userinfo/userinfo.js
| @@ -1019,6 +1019,7 @@ Page({ | @@ -1019,6 +1019,7 @@ Page({ | ||
| 1019 | //往上提交美导的ID | 1019 | //往上提交美导的ID |
| 1020 | if(th.data.fir_guide_id!=th.data.user.staffId){ | 1020 | if(th.data.fir_guide_id!=th.data.user.staffId){ |
| 1021 | datas.staffId=th.data.user.staffId; | 1021 | datas.staffId=th.data.user.staffId; |
| 1022 | + datas.StaffName=th.data.user.staffName; | ||
| 1022 | } | 1023 | } |
| 1023 | 1024 | ||
| 1024 | getApp().request.put("/api/weshop/users/updateUserInfo", { | 1025 | getApp().request.put("/api/weshop/users/updateUserInfo", { |
pages/user/userqy/userqy.json
| 1 | { | 1 | { |
| 2 | "navigationBarTitleText": "会员权益", | 2 | "navigationBarTitleText": "会员权益", |
| 3 | "usingComponents": { | 3 | "usingComponents": { |
| 4 | - "pop_txt": "/components/userqy_pop_up/userqy_pop_up" | ||
| 5 | - } | 4 | + "pop_txt": "/components/userqy_pop_up/userqy_pop_up", |
| 5 | + "com_top_nav": "/components/com_top_nav/com_top_nav" | ||
| 6 | + }, | ||
| 7 | + "navigationStyle": "custom" | ||
| 6 | } | 8 | } |
| 7 | \ No newline at end of file | 9 | \ No newline at end of file |
pages/user/userqy/userqy.wxml
| 1 | <wxs module="filter" src="../../../utils/filter.wxs"></wxs> | 1 | <wxs module="filter" src="../../../utils/filter.wxs"></wxs> |
| 2 | +<com_top_nav title="会员权益"></com_top_nav> | ||
| 2 | <view class="xc-userqy-frame"> | 3 | <view class="xc-userqy-frame"> |
| 3 | <!-- 顶部 --> | 4 | <!-- 顶部 --> |
| 4 | <view class='user-frame rel'> | 5 | <view class='user-frame rel'> |