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
c5c85008
Commit
c5c85008
authored
Aug 06, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
51f0811e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
86 additions
and
4 deletions
+86
-4
coupons.vue
components/coupons/coupons.vue
+61
-0
order-good-list.vue
components/goods/order-good-list.vue
+17
-4
order-submit.vue
pages/order-submit/order-submit.vue
+8
-0
couponsbg.png
static/images/couponsbg.png
+0
-0
No files found.
components/coupons/coupons.vue
0 → 100644
View file @
c5c85008
<
template
>
<div
class=
"coupons-page"
>
<u-popup
v-model=
"showDialog"
mode=
"center"
:mask-close-able=
"false"
custom-style=
"padding:0;background:none;"
>
<view
class=
"Xbox"
>
<img
src=
"../../static/images/couponsbg.png"
mode=
"widthFix"
/>
<view
class=
"coupons-box"
>
<text
style=
"font-size: 18px;color: #FFFFFF;"
>
恭喜获得优惠券
</text>
</view>
</view>
</u-popup>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
pageinfo
:
{},
showDialog
:
true
};
},
created
()
{
},
methods
:
{
}
};
</
script
>
<
style
>
.coupons-page
img
{
width
:
540
rpx
;
height
:
680
rpx
;
}
.coupons-page
.Xbox
{
width
:
540
rpx
;
height
:
680
rpx
;
position
:
relative
}
.coupons-page
.hotsopt
{
position
:
absolute
;
background
:
transparent
;
border
:
none
;
outline
:
none
;
}
.coupons-page
.hotsopt
::after
{
border
:
none
;
}
.coupons-page
.coupons-box
{
width
:
480
rpx
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
}
</
style
>
components/goods/order-good-list.vue
View file @
c5c85008
...
@@ -26,10 +26,14 @@
...
@@ -26,10 +26,14 @@
<image
:src=
"y.cover_pic"
mode=
"aspectFill"
class=
"image"
/>
<image
:src=
"y.cover_pic"
mode=
"aspectFill"
class=
"image"
/>
<view
class=
"goodinfo"
>
<view
class=
"goodinfo"
>
<view
class=
"name"
>
{{
y
.
name
}}
</view>
<view
class=
"name"
>
{{
y
.
name
}}
</view>
<view
class=
"attr"
style=
"margin-bottom: 5px;height: 20px;"
>
<view
style=
"margin-bottom: 5px;height: 20px;"
v-if=
"y.freeShippingDescription!=null&&y.freeShippingDescription!=''"
>
<span
>
{{
y
.
freeShippingDescription
!=
null
?
y
.
freeShippingDescription
:
''
}}
</span>
<u-tag
style=
'margin-left: 5px;'
size=
"mini"
text=
"满足"
type=
"warning"
v-if=
'y.freeShipping_Use==true'
/>
<view
style=
"font-size: 12px;color: #909399;padding: 3px 5px;background: #f4f4f5;"
class=
"freeShippingstyle"
v-if=
"y.freeShipping_Use==false&&y.freeShippingDescription!=null&&y.freeShippingDescription!=''"
>
<u-tag
style=
'margin-left: 5px;'
size=
"mini"
text=
"不满足包邮"
type=
"info"
v-if=
'y.freeShipping_Use==false'
/>
{{
y
.
freeShippingDescription
!=
null
?
y
.
freeShippingDescription
:
''
}}
</view>
<view
style=
"font-size: 12px;color: #ff9900;padding: 3px 5px;background: #fdf6ec;"
class=
"freeShippingstyle"
v-if=
"y.freeShipping_Use==true&&y.freeShippingDescription!=null&&y.freeShippingDescription!=''"
>
{{
y
.
freeShippingDescription
!=
null
?
y
.
freeShippingDescription
:
''
}}
</view>
</view>
</view>
<view
class=
"attr"
>
已选择
<view
class=
"attr"
>
已选择
<span
v-for=
"(item,index) in y.attr_list"
:key=
"index"
>
{{
item
.
attr_group_name
}}
:
{{
item
.
attr_name
}}
</span>
<span
v-for=
"(item,index) in y.attr_list"
:key=
"index"
>
{{
item
.
attr_group_name
}}
:
{{
item
.
attr_name
}}
</span>
...
@@ -115,4 +119,13 @@ export default {
...
@@ -115,4 +119,13 @@ export default {
.ordergoodlist
.goodbox.update-goodbox
:last-child
{
.ordergoodlist
.goodbox.update-goodbox
:last-child
{
border
:
none
;
border
:
none
;
}
}
.ordergoodlist
.freeShippingstyle
{
text-overflow
:
-o-ellipsis-lastline
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
display
:
-webkit-box
;
-webkit-line-clamp
:
1
;
line-clamp
:
1
;
-webkit-box-orient
:
vertical
;
}
</
style
>
</
style
>
pages/order-submit/order-submit.vue
View file @
c5c85008
...
@@ -66,6 +66,14 @@
...
@@ -66,6 +66,14 @@
</view>
</view>
</view>
</view>
</
template
>
</
template
>
<
template
>
<view
class=
"goodboxmore"
style=
"font-size: 12px;color: #000000;display: flex;flex-direction: row;align-items: center;"
>
已满足:
<view
style=
"height: 22px;line-height: 22px;font-size: 12px;color: #ff9900;background: #fdf6ec;padding: 0 5px;"
v-for=
"(y, yi) in x.pinkageList"
:key=
"yi"
>
<text
>
{{
y
.
Name
}}
</text>
</view>
</view>
</
template
>
<view
class=
"peisong"
>
<view
class=
"peisong"
>
<view>
配送
</view>
<view>
配送
</view>
<view
style=
"text-align: right; padding-right: 5px;"
>
{{ x.delivery.send_type_name }}
</view>
<view
style=
"text-align: right; padding-right: 5px;"
>
{{ x.delivery.send_type_name }}
</view>
...
...
static/images/couponsbg.png
0 → 100644
View file @
c5c85008
48.4 KB
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