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
908bb07f
Commit
908bb07f
authored
Apr 09, 2020
by
谢中龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改订单展示
parent
b7a6055e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
order.js
src/pages/order/order.js
+5
-3
order.wxml
src/pages/order/order.wxml
+1
-0
No files found.
src/pages/order/order.js
View file @
908bb07f
...
...
@@ -268,13 +268,15 @@ wxService.page({
},
// 删除订单
handelDelOrder
(
e
)
{
let
_this
=
this
;
let
_this
=
this
;
//先判断整个订单的所有包裹是否都已经
wx
.
showModal
({
title
:
'订单删除提示'
,
content
:
'
确认删除此订单
?'
,
content
:
'
删除订单将删除订单中所有的包裹,请谨慎操作
?'
,
showCancel
:
true
,
cancelText
:
'取消'
,
confirmText
:
'删除'
,
confirmText
:
'
全部
删除'
,
confirmColor
:
'#cb3c3c'
,
success
:
function
(
modalRes
)
{
if
(
modalRes
.
confirm
)
{
...
...
src/pages/order/order.wxml
View file @
908bb07f
...
...
@@ -20,6 +20,7 @@
wx:for="{{orderList}}"
wx:for-item="item"
wx:for-index="idx"
wx:if="{{item.parcelList.length > 0}}"
wx:key="*this">
<view class="order-new-no" bindtap="handelDetail" data-id="{{item.id}}">
<view class="order-new-no-lf">
...
...
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