Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高淑倩
7-Eleven
Commits
25d801ee
Commit
25d801ee
authored
Oct 31, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
销售任务线上订单
parent
68dc8d7a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
12 deletions
+17
-12
saleTaskInfo.wxml
src/shoppingGuid/page/pages/saleTaskInfo/saleTaskInfo.wxml
+14
-12
saleTaskInfo.wxss
src/shoppingGuid/page/pages/saleTaskInfo/saleTaskInfo.wxss
+3
-0
No files found.
src/shoppingGuid/page/pages/saleTaskInfo/saleTaskInfo.wxml
View file @
25d801ee
...
...
@@ -61,28 +61,30 @@
<!-- 线上订单 -->
<view class='list online-order' wx:if="{{current == 1}}">
<view wx:if="{{saleDetail.order.length}}">
<block wx:for="{{saleDetail.order}}">
<block wx:for="{{saleDetail.order}}"
wx:for-item="item" wx:key="index"
>
<view class='order-item'>
<view class='order-status'>
<text>订单号 7878327513490</text>
<text>待付款</text>
<text>订单号 {{item.id}}</text>
<!--订单状态(C:取消;N:新建,P:已支付;D:已发货;R:已收货-->
<text class="text-status" wx:if="{{item.status == 'C'}}">取消</text>
<text class="text-status" wx:if="{{item.status == 'N'}}">新建</text>
<text class="text-status" wx:if="{{item.status == 'P'}}">已支付</text>
<text class="text-status" wx:if="{{item.status == 'D'}}">已发货</text>
<text class="text-status" wx:if="{{item.status == 'R'}}">已收货</text>
</view>
<view class='products-list'>
<block wx:for="{{item.skuVOList}}" wx:for-item="sku" wx:key="index">
<view class='pro-item'>
<image mode='aspectFit' src='https://bigaka-xie.oss-cn-shanghai.aliyuncs.com/1571636466%281%29.jpg' />
</view>
<view class='pro-item'>
<image mode='aspectFit' src='https://bigaka-xie.oss-cn-shanghai.aliyuncs.com/1571636466%281%29.jpg' />
</view>
<view class='pro-item'>
<image mode='aspectFit' src='https://bigaka-xie.oss-cn-shanghai.aliyuncs.com/1571636466%281%29.jpg' />
<image mode='aspectFit' src='{{sku.mainImgUrl}}' />
</view>
</block>
</view>
<view class='order-pro-info'>
<label>共
5
件商品</label>
<label>共
{{item.skuCount ? item.skuCount : 0}}
件商品</label>
<view>
实付
<label class='theme-text-color bolder'>¥
385
</label>
<label class='theme-text-color bolder'>¥
{{item.payAmount ? item.payAmount : 0}}
</label>
</view>
</view>
</view>
...
...
src/shoppingGuid/page/pages/saleTaskInfo/saleTaskInfo.wxss
View file @
25d801ee
...
...
@@ -9,6 +9,9 @@ page{
.no-order {
text-align: center;
}
.text-status {
color: #000;
}
view{
box-sizing: border-box;
-webkit-box-sizing: border-box;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment