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
94baa4bc
Commit
94baa4bc
authored
Jun 12, 2020
by
zhangjianguo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/viitto/mallapp
parents
93586833
03e6b3f1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
9 deletions
+14
-9
index.vue
components/auth/index.vue
+2
-2
goods.vue
pages/goods/goods.vue
+6
-2
order-submit.vue
pages/order-submit/order-submit.vue
+6
-5
No files found.
components/auth/index.vue
View file @
94baa4bc
...
...
@@ -108,8 +108,8 @@ export default {
data
:
{
Source
:
1
,
OpenId
:
obj
.
OpenId
,
Name
:
obj
.
nick
Name
,
Photo
:
obj
.
avatarUrl
,
Name
:
obj
.
Name
,
Photo
:
obj
.
Photo
,
Moblie
:
''
,
SuperiorId
:
0
}
...
...
pages/goods/goods.vue
View file @
94baa4bc
...
...
@@ -283,7 +283,11 @@ export default {
},
onLoad
(
option
)
{
this
.
opTionObj
=
option
;
if
(
option
&&
option
.
id
){
this
.
id
=
option
.
id
?
option
.
id
:
29
;
//40887 59512 46942
}
else
{
this
.
id
=
option
.
GoodsId
?
option
.
GoodsId
:
29
;
//40887 59512 46942
}
this
.
init
();
this
.
mc
=
this
.
$uiConfig
.
mainColor
;
this
.
secondary
=
this
.
$uiConfig
.
secondary
;
...
...
@@ -484,7 +488,7 @@ export default {
-webkit-line-clamp
:
2
;
-webkit-box-orient
:
vertical
;
font-size
:
16px
;
height
:
4
0
px
;
height
:
4
5
px
;
}
.goods
.g-info
.g-price-box
{
display
:
flex
;
...
...
pages/order-submit/order-submit.vue
View file @
94baa4bc
...
...
@@ -475,10 +475,11 @@ export default {
},
changeUseInt
(
e
)
{
this
.
userInt
=
e
.
value
;
this
.
formData
.
list
.
forEach
(
x
=>
{
x
.
use_integral
=
this
.
userInt
?
1
:
0
;
this
.
formData
.
Use_Integral
=
this
.
userInt
?
1
:
0
;
});
// this.formData.list.forEach(x => {
// x.use_integral = this.userInt ? 1 : 0;
// this.formData.Use_Integral = this.userInt ? 1 : 0;
// });
this
.
formdata
.
Use_Integral
=
this
.
userInt
?
1
:
0
;
this
.
init
();
},
initPage
()
{
...
...
@@ -575,7 +576,7 @@ export default {
x
.
delivery
.
send_type_name
=
y
.
name
;
}
});
this
.
goodPrice
+=
parseFloat
(
x
.
total_goods_
original_
price
);
this
.
goodPrice
+=
parseFloat
(
x
.
total_goods_price
);
this
.
expressPrice
+=
parseFloat
(
x
.
express_price
);
this
.
couponPrice
+=
parseFloat
(
x
.
coupon
.
coupon_discount
||
0.0
);
if
(
x
.
integral
.
can_use
)
{
...
...
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