Commit 2476135d58ad0237e864c01a28b66ac34e04ee14

Authored by iceling
2 parents 1fc0f290 488e3dc3

Merge branch 'dev_20191114' of http://git.vipzhuang.cn/wxd/MShopWeApp into dev_20191114

app.wxss
... ... @@ -145,6 +145,12 @@ justify-content:flex-start;
145 145 align-items:center;
146 146 }
147 147 .flex{display: flex}
  148 +.ai-center{
  149 + align-items: center;
  150 +}
  151 +.jc-center{
  152 + justify-content: center;
  153 +}
148 154 /* 水平左对齐 */
149 155 .flex-level-left{
150 156 display:flex;
... ... @@ -262,29 +268,7 @@ justify-content:space-around;
262 268 font-style: normal;
263 269 }
264 270  
265   -.fs22{
266   - font-size: 22rpx;
267   -}
268 271  
269   -.fs26{
270   - font-size: 26rpx;
271   -}
272   -
273   -
274   -.fs30{
275   - font-size:30rpx;
276   -}
277   -
278   -
279   -.fs35{
280   - font-size:35rpx;
281   -}
282   -.fs45{
283   - font-size: 45rpx;
284   -}
285   -.fs50{
286   - font-size: 50rpx;
287   -}
288 272  
289 273  
290 274 /* 7.26 */
... ... @@ -339,25 +323,52 @@ position: fixed;
339 323 background: #ffe3e2;
340 324  
341 325 }
342   -.fs32{
343   - font-size:32rpx;
344   -}
345   -.fs60{ font-size:60rpx;}
346   -.fs28{
347   - font-size: 28rpx;
348   -}
349 326 .fs20{
350 327 font-size: 20rpx;
351 328 }
  329 +.fs22{
  330 + font-size: 22rpx;
  331 +}
352 332 .fs24{
353 333 font-size: 24rpx;
354 334 }
  335 +
  336 +.fs26{
  337 + font-size: 26rpx;
  338 +}
  339 +.fs28{
  340 + font-size: 28rpx;
  341 +}
  342 +
  343 +.fs30{
  344 + font-size:30rpx;
  345 +}
  346 +.fs32{
  347 + font-size:32rpx;
  348 +}
  349 +
  350 +.fs35{
  351 + font-size:35rpx;
  352 +}
355 353 .fs36 {
356 354 font-size: 36rpx;
357 355 }
358 356 .fs40 {
359 357 font-size: 40rpx;
360 358 }
  359 +.fs45{
  360 + font-size: 45rpx;
  361 +}
  362 +.fs50{
  363 + font-size: 50rpx;
  364 +}
  365 +
  366 +.fs60{ font-size:60rpx;}
  367 +
  368 +
  369 +
  370 +
  371 +
361 372 .ai_and{
362 373 align-items:flex-end;
363 374 }
... ...
pages/user/index/index.js
... ... @@ -44,7 +44,6 @@ Page({
44 44 var stoid = app_d.setting.stoid;
45 45 var s = this,th=s,need_money=0,cur_g_num=0;
46 46 getApp().get_isbuy(th.setappdata);
47   -
48 47 /*------会员登录------*/
49 48 app.getUserFir(async function(e){
50 49 if(e!=undefined && e!=null){
... ... @@ -189,7 +188,14 @@ Page({
189 188 th.requestRecommend();
190 189 }
191 190 });
  191 + /*-------系统是否开通等级卡,会员是等级卡-----*/
  192 + getApp().getConfig2(function (e) {
  193 + var t_swi=e.switch_list;
  194 + if(t_swi) t_swi=JSON.parse(t_swi)
  195 + if(t_swi.rank_switch==2){
192 196  
  197 + }
  198 + })
193 199 },
194 200  
195 201 //判断会员是后有改服务项目
... ...
pages/user/userinfo/userinfo.wxml
... ... @@ -47,8 +47,8 @@
47 47 </view>
48 48 </view>
49 49 <view bindtap="editUserInfo1" class="user-name flex-vertical-between" data-type="nickname">
50   - <view class="flex-center" bindtap="isstcsp">
51   - <view>消费密码</view>
  50 + <view>是否启用消费密码</view>
  51 + <view class="flex-center" bindtap="isstcsp" >
52 52 <view class="flex-center cmleft">
53 53 <block wx:if="{{isstcsp}}">
54 54 <icon size="20" type="success" color="rgb(212,2,31)"></icon>
... ... @@ -59,7 +59,13 @@
59 59 <view class="Mleft">启动密码消费</view>
60 60 </view>
61 61 </view>
62   - <!-- 是否显示密码 -->
  62 +
  63 + </view>
  64 + <!-- 是否显示密码 -->
  65 + <view class="flex-vertical-between user-name" wx:if="{{isstcsp==1}}">
  66 + <view class="user-txt">
  67 + 消费密码
  68 + </view>
63 69 <view class="flex">
64 70 <block wx:if="{{ispwhid}}">
65 71 <input class="fs28 hion user-txt-right" maxlength="6" value="{{user.paypwd.length>0?user.paypwd:'******'}}" type="number" password="true"/>
... ... @@ -73,8 +79,21 @@
73 79 <block wx:else>
74 80 <image class="eye" src="../../../images/open_eye.png" bindtap="ispwhid"></image>
75 81 </block>
  82 +
  83 + </view>
76 84 </view>
77   - </view>
  85 +
  86 +
  87 +
  88 +
  89 +
  90 +
  91 +
  92 +
  93 +
  94 +
  95 +
  96 +
78 97 <view bindtap="editUserInfo1" class="user-name flex-vertical-between" data-type="sex">
79 98 <view>性别</view>
80 99 <view class="flex" wx:if="{{isGender!=0}}">
... ...