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
f20989fd
Commit
f20989fd
authored
Oct 27, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
f8bbfa39
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
cart.vue
pages/cart/cart.vue
+8
-5
No files found.
pages/cart/cart.vue
View file @
f20989fd
...
...
@@ -21,19 +21,19 @@
<scroll-view
:scroll-y=
"true"
:enable-back-to-top=
"true"
:enable-flex=
"true"
:style=
"
{ height: '100%' }">
<template
v-if=
"list.length > 0 && emptyshow==false"
>
<view
class=
"cartList"
:style=
"
{ 'margin-bottom': listbottom }" v-for="(c, i) in list" :key="i">
<view
<view
@
click
.
stop=
"abc()"
style=
" padding: 0 12px 12px 12px; border-bottom: 1rpx solid #f5f5f5; width: 100%;"
>
<u-checkbox-group
@
change=
"mch_SelectAll(c.checked, i)"
>
<u-checkbox
v-model=
"c.checked"
shape=
"circle"
:active-color=
"mc"
>
{{
c
.
MallName
}}
</u-checkbox>
</u-checkbox-group>
</view>
<view
class=
"cartList_item"
v-for=
"(item, index) in c.GoodsList"
:key=
"index"
@
click=
"btnclick(item,index,i)"
>
<view
style=
"width: 40px;text-align: center;"
v-if=
"(item.GoodsStatus == 1 && item.InventoryNum!=0 && IsEducation!=1) || (editType == true&& IsEducation!=1)"
>
<view
@
click
.
stop=
"abc()"
style=
"width: 40px;text-align: center;"
v-if=
"(item.GoodsStatus == 1 && item.InventoryNum!=0 && IsEducation!=1) || (editType == true&& IsEducation!=1)"
>
<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-group>
</view>
<view
style=
"width: 40px;text-align: center;"
v-if=
"(item.GoodsStatus == 1 && IsEducation==1) || (editType == true && IsEducation==1)"
>
<view
@
click
.
stop=
"abc()"
style=
"width: 40px;text-align: center;"
v-if=
"(item.GoodsStatus == 1 && IsEducation==1) || (editType == true && IsEducation==1)"
>
<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-group>
...
...
@@ -92,7 +92,7 @@
</Text>
</view>
</view>
<view
style=
"display: flex;flex-direction: row;align-items: center;justify-content: space-between;"
>
<view
@
click
.
stop=
"abc()"
style=
"display: flex;flex-direction: row;align-items: center;justify-content: space-between;"
>
<Text
style=
"font-size: 30rpx;"
:style=
"
{ color: pricecolor }">
¥
<Text
style=
"40rpx"
>
{{
item
.
Price
}}
</Text>
</Text>
...
...
@@ -144,7 +144,7 @@
shape=
"circle"
@
click=
"delete_btn"
:custom-style=
"{
backgroundColor:
secondary
,
backgroundColor:
mc
,
height: '80rpx',
color: '#FFF',
fontSize: '14px',
...
...
@@ -614,6 +614,9 @@ export default {
url
:
url
});
},
abc
(){
//阻止change的事件冒泡
},
}
};
...
...
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