Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
Project
Project
Details
Activity
Releases
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
viitto
mallapp
Commits
c6cfcb62
Commit
c6cfcb62
authored
Sep 25, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
33f6224a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
5 deletions
+24
-5
order-detail.vue
pages/order/order-detail.vue
+24
-5
No files found.
pages/order/order-detail.vue
View file @
c6cfcb62
...
...
@@ -263,12 +263,20 @@
>
确认收货
</u-button
>
</view>
<view
class=
"item"
v-if=
"orders.OrderStatus == '1'"
>
<u-button
shape=
"circle"
size=
"medium"
:custom-style=
"themCustomStyle"
<view
class=
"item"
v-if=
"orders.OrderStatus == '1'"
>
<u-button
shape=
"circle"
size=
"medium"
:custom-style=
"themCustomStyle"
v-on:click
.
stop=
"payment(orders)"
>
立即支付
</u-button
>
</view>
>
立即支付
</u-button
>
</view>
<view
class=
"item"
v-if=
"orders.OrderStatus == '1'"
>
<u-button
shape=
"circle"
size=
"medium"
:custom-style=
"themCustomStyle"
open-type=
"share"
send-message-title=
"是好友就帮忙代付"
:send-message-path=
"path"
send-message-img=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/zhaoren.png"
>
找人代付
</u-button
>
</view>
<view
class=
"item"
v-if=
"orders.OrderStatus == '3'&& orders.PresentFXGrade!=1"
>
<u-button
shape=
"circle"
...
...
@@ -421,6 +429,7 @@ export default {
uid
:
0
,
NewUserId
:
0
,
//zk新增
isShowBtn
:
true
,
path
:
''
,
};
},
onLoad
(
option
)
{
...
...
@@ -555,6 +564,16 @@ export default {
this
.
orders
=
res
.
data
;
this
.
loading
=
false
;
let
u
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
let
uid
=
u
.
UserId
?
u
.
UserId
:
0
;
let
Up
=
u
.
UserPageType
?
u
.
UserPageType
:
0
;
let
SmallShopId
=
u
.
SmallShopId
?
u
.
SmallShopId
:
0
;
if
(
SmallShopId
==
0
)
{
//如果微店id为0 去找所属微店id
SmallShopId
=
u
.
UserSmallShopId
?
u
.
UserSmallShopId
:
0
;
}
this
.
path
=
'/pages/index/index?OrderId='
+
res
.
data
.
OrderId
+
"&user_id="
+
uid
+
"&Up="
+
Up
+
"&SmallShopId="
+
SmallShopId
+
'&JumpType=4'
;
console
.
log
(
this
.
path
)
this
.
initRecommend
();
this
.
getexpressInfo
(
res
.
data
.
OrderId
)
}
...
...
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