Commit e58904a9 by chenwq

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

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