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
4a592bc8
Commit
4a592bc8
authored
Aug 07, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c147fbe4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
8 deletions
+22
-8
cart.vue
pages/cart/cart.vue
+4
-8
order-detail.vue
pages/order/order-detail.vue
+18
-0
No files found.
pages/cart/cart.vue
View file @
4a592bc8
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<u-checkbox
v-model=
"c.checked"
shape=
"circle"
:active-color=
"mc"
>
{{
c
.
MallName
}}
</u-checkbox>
<u-checkbox
v-model=
"c.checked"
shape=
"circle"
:active-color=
"mc"
>
{{
c
.
MallName
}}
</u-checkbox>
</u-checkbox-group>
</u-checkbox-group>
</view>
</view>
<view
class=
"cartList_item"
v-for=
"(item, index) in c.GoodsList"
:key=
"index"
:name=
"item.GoodsName"
@
click=
"goshoopDatiles(item)"
>
<view
class=
"cartList_item"
v-for=
"(item, index) in c.GoodsList"
:key=
"index"
:name=
"item.GoodsName"
>
<view
style=
"width: 40px;text-align: center;"
v-if=
"item.GoodsStatus == 1 || editType == true"
>
<view
style=
"width: 40px;text-align: center;"
v-if=
"item.GoodsStatus == 1 || editType == true"
>
<u-checkbox-group
@
change=
"clickcheckbox(item.checked, item.Price, index, i)"
>
<u-checkbox-group
@
change=
"clickcheckbox(item.checked, item.Price, index, i)"
>
<u-checkbox
v-model=
"item.checked"
shape=
"circle"
:active-color=
"mc"
></u-checkbox>
<u-checkbox
v-model=
"item.checked"
shape=
"circle"
:active-color=
"mc"
></u-checkbox>
...
@@ -70,6 +70,7 @@
...
@@ -70,6 +70,7 @@
height: 150rpx;
height: 150rpx;
margin-left: 20rpx;
margin-left: 20rpx;
"
"
>
>
<Text
<Text
style=
"
style=
"
...
@@ -97,7 +98,7 @@
...
@@ -97,7 +98,7 @@
font-size: 20rpx;
font-size: 20rpx;
margin-right: 5rpx;
margin-right: 5rpx;
"
"
>
>
{{
attr
}}
{{
attr
}}
</Text>
</Text>
...
@@ -662,12 +663,7 @@ export default {
...
@@ -662,12 +663,7 @@ export default {
url
:
url
url
:
url
});
});
},
},
goshoopDatiles
(
item
){
//跳转商品详情
console
.
log
(
item
)
uni
.
navigateTo
({
url
:
"/pages/goods/goods?id="
+
item
.
GoodsId
,
});
}
}
}
};
};
</
script
>
</
script
>
...
...
pages/order/order-detail.vue
View file @
4a592bc8
...
@@ -74,6 +74,24 @@
...
@@ -74,6 +74,24 @@
{{
y
}}
{{
y
}}
</text>
</text>
</view>
</view>
<view
style=
"
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
margin-top: 2px;
"
@
click
.
native
.
stop=
"goUrl(x.FreeShippingUrl)"
v-if=
"x.FreeShippingRemarks !=null && x.FreeShippingRemarks!='' "
>
<view
style=
"color: #FF4048;background: #fdf6ec;padding: 0 5px;display: inline-block;"
>
<Text
style=
"
font-size: 20rpx;
margin-right: 5rpx;
"
>
{{
x
.
FreeShippingRemarks
}}
</Text>
</view>
</view>
<view
class=
"good-price"
>
¥
{{
x
.
Final_Price
}}
</view>
<view
class=
"good-price"
>
¥
{{
x
.
Final_Price
}}
</view>
</view>
</view>
</view>
</view>
...
...
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