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
442340ee
Commit
442340ee
authored
Aug 24, 2022
by
宋冰琦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整部分页面样式效果
parent
632be137
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
52 additions
and
35 deletions
+52
-35
components/Ticket/index.vue
+38
-19
components/menuAssembly/index.vue
+1
-1
components/shopCar/shopCar.vue
+1
-1
mineSubPackage/pages/coupon/index.vue
+1
-1
mineSubPackage/pages/userInfo/index.vue
+5
-1
orderSubPackage/pages/refundInfo/index.vue
+3
-3
orderSubPackage/pages/settlement/index.vue
+3
-7
store/modules/order.js
+0
-2
No files found.
components/Ticket/index.vue
View file @
442340ee
...
...
@@ -5,9 +5,18 @@
<view
class=
"one_left"
>
<view
class=
"type"
:style=
"[typeBackground]"
>
{{
info
.
typeDesc
}}
</view>
<view
class=
"price"
>
<view
:style=
"[priceColor]"
v-if=
"info.couponType===1"
>
{{
info
.
price
}}
<span>
元
</span></view>
<view
:style=
"[priceColor]"
v-else-if=
"info.couponType===2"
>
{{
info
.
price
}}
<span>
折
</span></view>
<view
:style=
"[priceColor]"
class=
"dkStyle"
v-else
>
{{
info
.
price
}}
<span></span></view>
<view
class=
"price_box"
:style=
"[priceColor]"
v-if=
"info.couponType===1"
>
<view
class=
"num"
>
{{
info
.
price
}}
</view>
<view
class=
"dw"
>
元
</view>
</view>
<view
class=
"price_box"
:style=
"[priceColor]"
v-else-if=
"info.couponType===2"
>
<view
class=
"num"
>
{{
info
.
price
}}
</view>
<view
class=
"dw"
>
折
</view>
</view>
<view
class=
"price_box dkStyle"
:style=
"[priceColor]"
v-else
>
<view
class=
"num"
>
{{
info
.
price
}}
</view>
<view
class=
"dw"
></view>
</view>
</view>
<view
:style=
"[priceDescColor]"
class=
"price_desc"
>
{{
info
.
priceDesc
}}
</view>
</view>
...
...
@@ -181,7 +190,7 @@ export default {
background
:
#FFFFFF
;
.part
{
width
:
100%
;
margin-top
:
3
2
rpx
;
margin-top
:
3
6
rpx
;
.partOne
{
width
:
100%
;
height
:
241
rpx
;
...
...
@@ -222,17 +231,24 @@ export default {
line-height
:
74
rpx
;
margin
:
0
auto
;
text-align
:
center
;
margin-top
:
40
rpx
;
.dkStyle
{
font-size
:
48
rpx
;
}
span
{
height
:
34
rpx
;
font-size
:
24
rpx
;
font-family
:
Futura-Medium
,
Futura
;
font-weight
:
500
;
color
:
var
(
color
);
line-height
:
30
rpx
;
margin-top
:
30
rpx
;
.price_box
{
display
:
flex
;
align-items
:
flex-end
;
justify-content
:
center
;
.dkStyle
{
font-size
:
48
rpx
;
}
.dw
{
height
:
40
rpx
;
font-size
:
24
rpx
;
font-family
:
Futura-Medium
,
Futura
;
font-weight
:
500
;
color
:
var
(
color
);
line-height
:
30
rpx
;
}
}
}
.price_desc
{
...
...
@@ -249,13 +265,14 @@ export default {
.one_right
{
height
:
198
rpx
;
width
:
calc
(
510
rpx
-
38
rpx
);
padding-left
:
68
rpx
;
.right_top
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
flex-end
;
padding-top
:
42
rpx
;
padding-bottom
:
22
rpx
;
margin-right
:
3
2
rpx
;
margin-right
:
3
3
rpx
;
border-bottom
:
1
rpx
solid
#ECECEC
;
.info
{
.title
{
...
...
@@ -290,8 +307,9 @@ export default {
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#FFFFFF
;
line-height
:
5
2
rpx
;
line-height
:
5
3
rpx
;
text-align
:
center
;
margin-bottom
:
6
rpx
;
}
.gouse_dis
{
width
:
128
rpx
;
...
...
@@ -303,8 +321,9 @@ export default {
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#FFFFFF
;
line-height
:
5
2
rpx
;
line-height
:
5
3
rpx
;
text-align
:
center
;
margin-bottom
:
6
rpx
;
}
.check
{
width
:
40
rpx
;
...
...
@@ -321,7 +340,7 @@ export default {
}
}
.right_bottom
{
padding-top
:
2
2
.96
rpx
;
padding-top
:
2
8
.96
rpx
;
margin-right
:
32
rpx
;
.more_info
{
display
:
flex
;
...
...
components/menuAssembly/index.vue
View file @
442340ee
...
...
@@ -156,7 +156,7 @@ export default {
let
w
=
val
[
1
].
width
let
h
=
val
[
1
].
height
if
(
w
>
80
){
w
=
6
0
w
=
8
0
}
if
(
h
>
60
){
h
=
60
...
...
components/shopCar/shopCar.vue
View file @
442340ee
...
...
@@ -344,7 +344,7 @@ export default {
}
.scroll-Y
{
max-height
:
565
rpx
;
max-height
:
750
rpx
;
.container
{
flex
:
1
;
}
...
...
mineSubPackage/pages/coupon/index.vue
View file @
442340ee
...
...
@@ -98,7 +98,7 @@ export default {
}
})
if
(
val
){
this
.
canuse
=
canuse
.
sort
((
a
,
b
)
=>
{
return
a
.
status
-
b
.
status
})
this
.
canuse
=
canuse
}
else
{
this
.
cantuse
=
canuse
}
...
...
mineSubPackage/pages/userInfo/index.vue
View file @
442340ee
...
...
@@ -257,7 +257,7 @@ export default {
}
.infoItem
{
height
:
9
6
rpx
;
height
:
9
9
rpx
;
border-bottom
:
1
rpx
solid
#ECECEC
;
display
:
flex
;
align-items
:
center
;
...
...
@@ -355,6 +355,8 @@ export default {
background
:
#0050F6
;
border-radius
:
2px
;
font-size
:
32
rpx
;
height
:
96
rpx
;
line-height
:
96
rpx
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#FFFFFF
;
...
...
@@ -363,6 +365,8 @@ export default {
background
:
#0050F6
;
border-radius
:
2px
;
font-size
:
32
rpx
;
height
:
96
rpx
;
line-height
:
96
rpx
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#FFFFFF
;
...
...
orderSubPackage/pages/refundInfo/index.vue
View file @
442340ee
...
...
@@ -37,7 +37,7 @@ export default {
{
skuName
:
''
,
list
:
[{
title
:
'
待退款
'
,
title
:
'
退款申请已提交
'
,
time
:
'2022年6月2日09:35:27'
,
state
:
0
,
},
...
...
@@ -73,7 +73,7 @@ export default {
const
statusDesc
=
[
{
state
:
0
,
desc
:
'
待退款
'
desc
:
'
退款申请已提交
'
},
{
state
:
1
,
...
...
@@ -230,7 +230,7 @@ export default {
align-items
:
center
;
justify-content
:
space-between
;
position
:
absolute
;
top
:
-
12
rpx
;
top
:
-
8
rpx
;
left
:
-10
rpx
;
.info_ciycle_action
{
width
:
22
rpx
;
...
...
orderSubPackage/pages/settlement/index.vue
View file @
442340ee
...
...
@@ -7,7 +7,6 @@
<div
v-if=
"shopData.distance && shopData.distance!=-1"
class=
"address_2"
>
距您
{{
shopData
.
distance
}}
,请确定门店后下单
</div>
<div
v-else
class=
"address_2"
>
请确定门店后下单
</div>
</div>
<div
class=
"take_order"
></div>
<div>
<div
class=
"title"
>
取单时间
</div>
<div
class=
"time"
>
现在下单,预计
<span
class=
"min"
>
{{
duration
}}
</span>
分钟后取餐
</div>
...
...
@@ -649,6 +648,9 @@ export default {
.address
{
margin-top
:
17.81
rpx
;
border-bottom
:
0.1px
solid
#F4F4F4
;
padding-bottom
:
25.02
rpx
;
margin-bottom
:
23.83
rpx
;
.address_1
{
...
...
@@ -667,12 +669,6 @@ export default {
}
}
.take_order
{
margin-top
:
25
rpx
;
padding-top
:
23.83
rpx
;
border-top
:
0.1px
solid
#F4F4F4
;
height
:
2
rpx
;
}
.title
{
font-size
:
28
rpx
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
...
...
store/modules/order.js
View file @
442340ee
...
...
@@ -44,8 +44,6 @@ const order = {
couponAmount
:
item
.
couponAmount
,
fitItem
:
item
}
}).
sort
((
a
,
b
)
=>
{
return
b
.
couponAmount
-
a
.
couponAmount
})
for
(
let
i
=
0
;
i
<
canuse
.
length
;
i
++
){
if
(
i
===
0
){
...
...
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