Commit e58904a9 by chenwq

屏蔽“我的门店”tab;详情页小数点

1 parent 17102bab
...@@ -5,7 +5,8 @@ ...@@ -5,7 +5,8 @@
<view class="order-block" wx:for="{{orderFormList}}" wx:key="index"> <view class="order-block" wx:for="{{orderFormList}}" wx:key="index">
<view class="order-txt font-number"> <view class="order-txt font-number">
<text wx:if="{{item.prefix}}">{{item.prefix}}</text> <text wx:if="{{item.prefix}}">{{item.prefix}}</text>
{{filter.money_three_for_two_thousands(orderObj[item.name] || 0.00)}} <text wx:if="{{item.name == 'totalAmount'}}">{{filter.money_three_for_two_thousands(orderObj[item.name] || 0.00)}}</text>
<text wx:else>{{orderObj[item.name]}}</text>
</view> </view>
<view class="order-label">{{item.label}}</view> <view class="order-label">{{item.label}}</view>
</view> </view>
......
...@@ -12,7 +12,8 @@ Page({ ...@@ -12,7 +12,8 @@ Page({
loginType: 0, loginType: 0,
agree: true, agree: true,
tabIndx: 0, tabIndx: 0,
tabList: ['我的客户', '我的门店', '我的员工'], // tabList: ['我的客户', '我的门店', '我的员工'],
tabList: ['我的客户', '我的员工'],
popupShow: false, popupShow: false,
subIndex: -1, subIndex: -1,
merchantList: [ merchantList: [
......
...@@ -31,11 +31,11 @@ ...@@ -31,11 +31,11 @@
<client id="client" /> <client id="client" />
</view> </view>
<!-- 我的门店 --> <!-- 我的门店 -->
<view class="comCom" hidden="{{tabIndx != 1}}"> <!-- <view class="comCom" hidden="{{tabIndx != 1}}">
<merchant id="merchant" /> <merchant id="merchant" />
</view> </view> -->
<!-- 我的员工 --> <!-- 我的员工 -->
<view class="comCom" hidden="{{tabIndx != 2}}"> <view class="comCom" hidden="{{tabIndx != 1}}">
<staff id="staff" /> <staff id="staff" />
</view> </view>
</view> </view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!