Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
user
Overview
Overview
Details
Activity
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
hooloo
mp
user
Commits
5486fd1f
Commit
5486fd1f
authored
Jul 17, 2022
by
songbingqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加优惠卷页面
parent
d956ed89
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
96 additions
and
6 deletions
+96
-6
mineSubPackage/pages/coupon/index.vue
+14
-0
orderSubPackage/pages/coupon/index.vue
+14
-0
orderSubPackage/pages/settlement/index.vue
+53
-5
pages.json
+14
-0
pages/mine/mine.vue
+1
-1
No files found.
mineSubPackage/pages/coupon/index.vue
0 → 100644
View file @
5486fd1f
<
template
>
<view>
我的页面优惠卷页面
</view>
</
template
>
<
script
>
export
default
{
}
</
script
>
<
style
>
</
style
>
\ No newline at end of file
orderSubPackage/pages/coupon/index.vue
0 → 100644
View file @
5486fd1f
<
template
>
<view>
结算页面优惠卷
</view>
</
template
>
<
script
>
export
default
{
}
</
script
>
<
style
>
</
style
>
\ No newline at end of file
orderSubPackage/pages/settlement/index.vue
View file @
5486fd1f
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
</div>
</div>
</div>
</div>
<div
class=
"goods_info"
>
<div
class=
"goods_info"
>
<
h3>
商品详细
</h3
>
<
span
class=
"goodInfoTitle"
>
商品详细
</span
>
<div
class=
"goods"
v-for=
"item in goods"
:key=
"item.goodsId"
>
<div
class=
"goods"
v-for=
"item in goods"
:key=
"item.goodsId"
>
<div
class=
"goods_item"
>
<div
class=
"goods_item"
>
<image
v-if=
"item.pics.thumbnailApplet"
class=
"goods_img"
:src=
"item.pics.thumbnailApplet"
/>
<image
v-if=
"item.pics.thumbnailApplet"
class=
"goods_img"
:src=
"item.pics.thumbnailApplet"
/>
...
@@ -38,6 +38,14 @@
...
@@ -38,6 +38,14 @@
</div>
</div>
</div>
</div>
<div
class=
"coupon"
@
click=
"goCouponSelect"
>
<div
class=
"title"
>
HOOLOO卷
</div>
<div
class=
"num"
>
<span>
暂未可用优惠
</span>
<image
class=
"arrow-right-select"
:src=
"'../../../static/imgs/jiantouhei.png'"
/>
</div>
</div>
<div
class=
"total"
>
<div
class=
"total"
>
<div
class=
"size"
>
共
{{
totalNum
}}
件商品
</div>
<div
class=
"size"
>
共
{{
totalNum
}}
件商品
</div>
<div
class=
"priceBox"
>
<div
class=
"priceBox"
>
...
@@ -246,6 +254,9 @@ export default {
...
@@ -246,6 +254,9 @@ export default {
await
Menu
.
requestPayment
(
orderInfo
.
data
.
data
,
res
,
this
.
buyType
);
await
Menu
.
requestPayment
(
orderInfo
.
data
.
data
,
res
,
this
.
buyType
);
}
}
}
}
},
goCouponSelect
()
{
uni
.
navigateTo
({
url
:
`/orderSubPackage/pages/coupon/index`
})
}
}
}
}
}
}
...
@@ -332,15 +343,17 @@ export default {
...
@@ -332,15 +343,17 @@ export default {
box-sizing
:
border-box
;
box-sizing
:
border-box
;
h3
{
.goodInfoTitle
{
height
:
40
rpx
;
font-size
:
28
rpx
;
font-size
:
28
rpx
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
font-weight
:
500
;
color
:
#333333
;
color
:
#333333
;
line-height
:
40
rpx
;
}
}
.goods
{
.goods
{
margin-top
:
24
.95
rpx
;
margin-top
:
24
rpx
;
border-bottom
:
0.1px
solid
#F4F4F4
;
border-bottom
:
0.1px
solid
#F4F4F4
;
padding-bottom
:
32
rpx
;
padding-bottom
:
32
rpx
;
...
@@ -394,7 +407,7 @@ export default {
...
@@ -394,7 +407,7 @@ export default {
}
}
.goods_psce
{
.goods_psce
{
margin-top
:
20
rpx
;
margin-top
:
18.65
rpx
;
}
}
}
}
}
}
...
@@ -437,12 +450,47 @@ export default {
...
@@ -437,12 +450,47 @@ export default {
}
}
}
}
.coupon
{
display
:
flex
;
align-items
:
center
;
display
:
flex
;
justify-content
:
space-between
;
margin-top
:
24.38
rpx
;
margin-bottom
:
23.57
rpx
;
.title
{
font-size
:
28
rpx
;
font-family
:
ArialMT
;
color
:
#333333
;
height
:
40
rpx
;
line-height
:
40
rpx
;
}
.num
{
font-size
:
28
rpx
;
height
:
40
rpx
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
display
:
flex
;
align-items
:
center
;
color
:
#999999
;
height
:
40
rpx
;
line-height
:
40
rpx
;
.arrow-right-select{
width
:
15.27
rpx
;
height
:
19.68
rpx
;
margin-left
:
8
rpx
;
}
}
}
.total
{
.total
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
margin-top
:
24
rpx
;
padding-top
:
24.16
rpx
;
border-top
:
0.1px
solid
#F4F4F4
;
.size
{
.size
{
font-size
:
28
rpx
;
font-size
:
28
rpx
;
...
...
pages.json
View file @
5486fd1f
...
@@ -65,6 +65,13 @@
...
@@ -65,6 +65,13 @@
"navigationStyle"
:
"custom"
,
"navigationStyle"
:
"custom"
,
"enablePullDownRefresh"
:
false
"enablePullDownRefresh"
:
false
}
}
},
{
"path"
:
"pages/coupon/index"
,
"style"
:
{
"navigationBarTitleText"
:
"我的HOOLOO卷"
,
"enablePullDownRefresh"
:
false
}
}
}
]
]
},
},
...
@@ -84,6 +91,13 @@
...
@@ -84,6 +91,13 @@
"navigationBarTitleText"
:
"消息详情"
,
"navigationBarTitleText"
:
"消息详情"
,
"enablePullDownRefresh"
:
false
"enablePullDownRefresh"
:
false
}
}
},
{
"path"
:
"pages/coupon/index"
,
"style"
:
{
"navigationBarTitleText"
:
"我的HOOLOO卷"
,
"enablePullDownRefresh"
:
false
}
}
}
]
]
}
}
...
...
pages/mine/mine.vue
View file @
5486fd1f
...
@@ -132,7 +132,7 @@ export default {
...
@@ -132,7 +132,7 @@ export default {
}
}
},
},
goToPage
(
page
)
{
goToPage
(
page
)
{
page
==
'coupon'
&&
this
.
showToast
({
title
:
'功能未开放!'
,
icon
:
'none'
});
page
==
'coupon'
&&
uni
.
navigateTo
({
url
:
'/mineSubPackage/pages/coupon/index'
})
if
(
!
this
.
userms
)
{
if
(
!
this
.
userms
)
{
// this.loginByPhoneNumber(page)
// this.loginByPhoneNumber(page)
return
return
...
...
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