Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
H5_2.0
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
81018e08
authored
May 22, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
css
parent
9b7ff8e1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
40 deletions
pages/mine/shoporder.vue
pages/mine/shoporder.vue
View file @
81018e08
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<text
class=
"iconfont icon-arrleft"
v-back
></text>
<text
class=
"iconfont icon-arrleft"
v-back
></text>
<view
class=
"search-box row verCenter"
>
<view
class=
"search-box row verCenter"
>
<text
class=
"iconfont icon-search"
></text>
<text
class=
"iconfont icon-search"
></text>
<input
type=
"text"
placeholder=
"请输入订单号/型号"
class=
"uni-input"
@
input=
"handleInput()"
/>
<input
type=
"text"
placeholder=
"请输入订单号/型号"
class=
"uni-input"
@
input=
"handleInput()"
v-model=
"searchParams.order_sn"
/>
</view>
</view>
</view>
</view>
<text
class=
"filter"
@
click=
"open()"
>
筛选
</text>
<text
class=
"filter"
@
click=
"open()"
>
筛选
</text>
...
@@ -59,45 +59,6 @@
...
@@ -59,45 +59,6 @@
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"box"
v-for=
"(item, index) in list"
:key=
"index"
>
<view
class=
"p1 row bothSide verCenter"
>
<view
class=
"row verCenter"
>
<text
class=
"t1"
>
订单号:
</text>
<text
class=
"t2"
>
{{
item
.
order_sn
}}
</text>
<text
class=
"t3"
>
{{
item
.
create_time
}}
</text>
</view>
<text
class=
"color2"
>
{{
item
.
status_val
}}
</text>
</view>
<view
class=
"p2 row bothSide verCenter"
>
<view
class=
"row verCenter"
>
<text
class=
"t1"
>
附加费:
</text>
<text
class=
"t2"
style=
"margin-right: 24rpx;"
>
{{
item
.
extend_fee_format
}}
</text>
<text
class=
"t1"
>
运费:
</text>
<text
class=
"t2"
>
{{
item
.
shipping_price_format
}}
</text>
</view>
<view
class=
"right-bar"
>
<text
class=
"bar-t1"
>
共
</text>
<text
class=
"bar-t2"
>
{{
item
.
list
.
length
}}
</text>
<text
class=
"bar-t1"
>
件商品
</text>
<text
class=
"iconfont icon-jt"
></text>
</view>
</view>
<view
class=
"p3 row bothSide verCenter"
>
<view
class=
"row verCenter"
>
<text
class=
"t1"
>
总金额:
</text>
<text
class=
"price"
>
{{
item
.
order_amount_format
}}
</text>
</view>
<view
class=
"right-bar row"
>
<view
class=
"btn btn0 row rowCenter verCenter"
v-if=
"item.status == 2 || item.status == 3"
@
click
.
stop=
"nowPay(item.order_id)"
>
立即支付
</view>
<view
class=
"btn btn1 row rowCenter verCenter"
v-if=
"item.status == 10 || item.status == -1"
@
click
.
stop=
"rebuy(item.order_id)"
>
再次购买
</view>
<view
class=
"btn btn2 row rowCenter verCenter"
v-if=
"item.status == 4"
@
click
.
stop=
"sendTip(item.order_sn, item.user_id)"
>
提醒发货
</view>
<view
class=
"btn btn3 row rowCenter verCenter"
v-if=
"item.status != 1"
@
click
.
stop=
"downpd(item.order_id)"
>
下载合同
</view>
<view
class=
"btn btn4 row rowCenter verCenter"
v-if=
"item.status == 7 || item.status == 8 || item.status == 10"
@
click
.
stop=
"ship(item.order_id, item.order_sn, item.zy_delivery_type, item.status)"
>
查看物流
</view>
<view
class=
"btn btn5 row rowCenter verCenter"
v-if=
"item.status == 2 || item.status == 1"
@
click
.
stop=
"cancelOrder(item.order_id)"
>
取消订单
</view>
<view
class=
"btn btn6 row rowCenter verCenter"
v-if=
"item.status == 8"
@
click
.
stop=
"sureSend(item.order_id)"
>
确认收货
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"no-data column rowCenter verCenter"
v-else
>
<view
class=
"no-data column rowCenter verCenter"
v-else
>
<image
src=
"../../static/nodate.png"
></image>
<image
src=
"../../static/nodate.png"
></image>
...
@@ -159,6 +120,7 @@ export default {
...
@@ -159,6 +120,7 @@ export default {
curr
:
0
,
curr
:
0
,
list
:
[],
list
:
[],
searchParams
:
{
searchParams
:
{
order_sn
:
''
,
p
:
1
,
p
:
1
,
limit
:
500
,
limit
:
500
,
status
:
0
status
:
0
...
...
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