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
89645432
Commit
89645432
authored
Jun 28, 2022
by
宋冰琦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改页面部分效果
parent
aed35d1c
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
121 additions
and
50 deletions
+121
-50
components/shopCar/shopCar.vue
+6
-6
menuSubPackage/pages/areaSelect/areaSelect.vue
+2
-3
menuSubPackage/pages/goodsDetail/goodsDetail.vue
+15
-8
orderSubPackage/pages/orderInfo/index.vue
+11
-7
orderSubPackage/pages/settlement/index.vue
+1
-1
pages/menu/menu.vue
+11
-10
pages/mine/mine.vue
+72
-12
pages/order/order.vue
+3
-3
No files found.
components/shopCar/shopCar.vue
View file @
89645432
...
...
@@ -509,17 +509,17 @@ export default {
.badge
{
position
:
absolute
;
height
:
26
rpx
;
height
:
32
rpx
;
font-family
:
Futura-Medium
,
Futura
;
background
:
#FF
72C1
;
right
:
-
16
rpx
;
top
:
-
4
rpx
;
min-width
:
26
rpx
;
background
:
#FF
63BA
;
right
:
-
22
rpx
;
top
:
-
6
rpx
;
min-width
:
32
rpx
;
font-weight
:
500
;
font-size
:
20
rpx
;
font-weight
:
normal
;
color
:
#FFFFFF
;
line-height
:
26
rpx
;
line-height
:
32
rpx
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
...
...
menuSubPackage/pages/areaSelect/areaSelect.vue
View file @
89645432
...
...
@@ -93,10 +93,9 @@ export default {
}
.shop_item
{
width
:
90%
;
min-height
:
264
rpx
;
background
:
#FFFFFF
;
border
:
1px
solid
#00
50F6
;
padding
:
25
rpx
32
rpx
;
border
:
1px
solid
#00
3AE9
;
padding
:
40
rpx
30
rpx
40
rpx
32
rpx
;
box-sizing
:
border-box
;
margin
:
30
rpx
auto
;
display
:
flex
;
...
...
menuSubPackage/pages/goodsDetail/goodsDetail.vue
View file @
89645432
...
...
@@ -51,9 +51,9 @@
<view
class=
"good-select good-select-height"
:style=
"
{'padding-bottom':BottomSafeHeight+'px'}">
<view
class=
"good-select-price"
>
<div>
<
text
class=
"good-select-price-normal"
>
¥
{{
Utils
.
isInteger
(
priceTotal
.
discount
)
}}
</text
>
<
text
class=
"good-select-price-small"
v-show=
"priceTotal.price!=priceTotal.discount"
>
¥
{{
Utils
.
isInteger
(
priceTotal
.
price
)
}}
</text
>
<div
class=
"price"
>
<
view
class=
"good-select-price-normal"
>
¥
{{
Utils
.
isInteger
(
priceTotal
.
discount
)
}}
</view
>
<
view
class=
"good-select-price-small"
v-show=
"priceTotal.price!=priceTotal.discount"
>
¥
{{
Utils
.
isInteger
(
priceTotal
.
price
)
}}
</view
>
</div>
<div
v-if=
"!size > 0"
style=
"color: orangered"
>
已售罄
</div>
<div
v-else
class=
"set_size"
>
...
...
@@ -551,24 +551,31 @@ button[disabled]:not([type]) {
justify-content
:
space-between
;
align-items
:
center
;
padding
:
22
rpx
32
rpx
;
}
.good-select-price-normal
{
.price{
display
:
flex
;
align-items
:
flex-end
;
justify-content
:
flex-start
;
.good-select-price-normal
{
font-family
:
Futura-Medium
,
Futura
;
letter-spacing
:
1px
;
font-size
:
32
rpx
;
color
:
#333333
;
margin-right
:
12
rpx
;
font-weight
:
500
;
}
line-height
:
38
rpx
;
}
.good-select-price-small
{
.good-select-price-small
{
font-size
:
20
rpx
;
text-decoration
:
line-through
;
font-family
:
ArialMT
;
color
:
#999999
;
}
}
}
.good-select-cont
{
display
:
flex
;
flex-direction
:
row
;
...
...
orderSubPackage/pages/orderInfo/index.vue
View file @
89645432
...
...
@@ -80,7 +80,7 @@
</div>
<div
class=
"total"
>
<div
class=
"size"
>
共
{{
totalNum
}}
件商品
</div>
<div>
<div
class=
"price"
>
<span
class=
"paid_in"
>
实付
</span>
<span
class=
"money"
>
¥
{{
Utils
.
isInteger
(
orderInfo
.
amount
)
}}
</span>
</div>
...
...
@@ -485,7 +485,7 @@ export default {
.shop_info
{
margin
:
32
rpx
;
background
:
#FFFFFF
;
padding
:
40
rpx
30
rpx
;
padding
:
40
rpx
30
rpx
24
rpx
30
rpx
;
h3
{
font-size
:
28
rpx
;
...
...
@@ -622,9 +622,9 @@ export default {
align-items
:
center
;
display
:
flex
;
justify-content
:
space-between
;
margin-top
:
3
0
rpx
;
margin-top
:
3
1
rpx
;
border-top
:
1
rpx
solid
#EEEEEE
;
padding-top
:
30
rpx
;
padding-top
:
24
rpx
;
.size
{
font-size
:
28
rpx
;
...
...
@@ -632,24 +632,26 @@ export default {
font-weight
:
400
;
color
:
#666666
;
}
.price
{
display
:
flex
;
align-items
:
flex-end
;
.paid_in
{
font-size
:
28
rpx
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#333333
;
line-height
:
44
rpx
;
}
.money
{
vertical-align
:
top
;
font-size
:
36
rpx
;
font-family
:
Futura-Medium
,
Futura
;
font-weight
:
500
;
color
:
#333333
;
}
}
}
}
.order_describe
{
...
...
@@ -663,6 +665,8 @@ export default {
font-weight
:
500
;
color
:
#333333
;
line-height
:
40
rpx
;
border-bottom
:
1
rpx
solid
#ECECEC
;
padding-bottom
:
24
rpx
;
}
.item
{
...
...
orderSubPackage/pages/settlement/index.vue
View file @
89645432
...
...
@@ -336,7 +336,7 @@ export default {
background
:
#FFFFFF
;
margin
:
0
auto
;
margin-top
:
32
rpx
;
padding
:
26
rpx
32
rpx
;
padding
:
26
rpx
32
rpx
24
rpx
32
rpx
;
box-sizing
:
border-box
;
...
...
pages/menu/menu.vue
View file @
89645432
...
...
@@ -19,7 +19,7 @@
<view
class=
"user-name"
v-else
>
未登录
</view>
<view
class=
"dialog"
>
<view
class=
"content"
v-if=
"userms"
>
如果以后再也见不到你,那就祝你早安
</view>
<view
class=
"content"
v-if=
"!userms"
>
请您尽快登录
</view>
<view
class=
"content"
v-if=
"!userms"
>
请您尽快登录
~
</view>
</view>
</view>
<view>
...
...
@@ -364,7 +364,7 @@ export default {
display
:
flex
;
width
:
686
rpx
;
height
:
104
rpx
;
padding
:
16
rpx
32
rpx
16
rpx
34
rpx
;
padding
:
20
rpx
30
rpx
20
rpx
34
rpx
;
background
:
#ffffff
;
position
:
absolute
;
z-index
:
1
;
...
...
@@ -426,15 +426,16 @@ export default {
.login-btn
{
//
width
:
114
rpx
;
height
:
48
rpx
;
background
:
#006ECF
;
border-radius
:
4
rpx
;
font-size
:
20
rpx
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
color
:
#FFFFFF
;
line-height
:
48
rpx
;
width
:
167
rpx
;
height
:
64
rpx
;
background
:
#0050F6
;
border-radius
:
2
rpx
;
text-align
:
center
;
font-size
:
24
rpx
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#FFFFFF
;
line-height
:
64
rpx
;
}
}
...
...
pages/mine/mine.vue
View file @
89645432
...
...
@@ -7,13 +7,27 @@
</view>
<video
class=
"video"
autoplay
muted
loop
:controls=
"false"
:enable-progress-gesture=
"false"
objectFit=
'cover'
src=
"http://songclound.oss-cn-hongkong.aliyuncs.com/2022/06/17/a2aaece8ad026.mp4"
></video>
</view>
<view
v-if=
"userms"
class=
"mod11"
>
<view
class=
"box16
"
>
<image
:style=
"
{'width':'100%','height':'100%'}"
:src="'../../static/touxiang.png'">
</image>
<view
class=
"mod11"
>
<view
class=
"avatar
"
>
<image
:src=
"'../../static/touxiang.png'"
></image>
</view>
<text
class=
"txt6"
>
{{
userInfo
.
customerName
||
'我是谁'
}}
</text>
<view
class=
"user-info"
@
click=
"goToMyPage(userms)"
>
<view
class=
"user-infocontent"
>
<view
class=
"user-name"
v-if=
"userms"
>
HI!
{{
userInfo
.
customerName
||
'我是谁'
}}
</view>
<view
class=
"user-name"
v-else
>
未登录
</view>
<view
class=
"dialog"
>
<view
class=
"content"
v-if=
"userms"
>
如果以后再也见不到你,那就祝你早安
</view>
<view
class=
"content"
v-if=
"!userms"
>
请您尽快登录~
</view>
</view>
<button
class=
"mod11 flex-col"
v-else
open-type=
"getPhoneNumber"
@
getphonenumber=
"getPhoneNumber"
>
立刻登录
</button>
</view>
<view>
<button
class=
"login-btn"
v-if=
"!userms"
open-type=
"getPhoneNumber"
@
getphonenumber=
"getPhoneNumber"
>
立刻登录
</button>
</view>
</view>
</view>
<!--
<button
class=
"mod11 flex-col"
v-else
open-type=
"getPhoneNumber"
@
getphonenumber=
"getPhoneNumber"
>
立刻登录
</button>
-->
<view
class=
"contents"
v-if=
"userms"
>
<view
class=
"myOrder"
@
click=
"goToPage('order')"
>
<view
class=
"text"
>
我的订单
</view>
...
...
@@ -170,7 +184,7 @@ button::after {
.mod11
{
border-radius
:
0
rpx
;
box-sizing
:
border-box
;
padding
:
32
rpx
;
padding
:
3
6
rpx
30
rpx
36
rpx
3
2
rpx
;
width
:
686
rpx
;
height
:
136
rpx
;
background
:
#FFFFFF
;
...
...
@@ -183,18 +197,64 @@ button::after {
.txt6
{
.avatar
{
display
:
flex
;
justify-items
:
center
;
align-items
:
center
;
width
:
72
rpx
;
height
:
72
rpx
;
margin-right
:
31
rpx
;
border-radius
:
4
rpx
;
image
{
width
:
100%
;
height
:
100%
;
border-radius
:
60
rpx
;
}
;
}
.user-info
{
display
:
flex
;
align-items
:
center
;
width
:
530.55
rpx
;
justify-content
:
space-between
;
flex-wrap
:
nowrap
;
.user-name
{
font-size
:
32
rpx
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
color
:
#333333
;
margin-left
:
32
rpx
;
margin-top
:
3.5
rpx
;
}
.box16
{
width
:
72
rpx
;
height
:
72
rpx
;
border-radius
:
50%
;
.dialog
{
font-size
:
20
rpx
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#666666
;
margin-top
:
8
rpx
;
.content
{
flex
:
1
;
}
}
.arrow-right-select
{
width
:
9
rpx
;
height
:
22
rpx
;
}
}
.login-btn
{
//
width
:
114
rpx
;
width
:
167
rpx
;
height
:
64
rpx
;
background
:
#0050F6
;
border-radius
:
2
rpx
;
text-align
:
center
;
font-size
:
24
rpx
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#FFFFFF
;
line-height
:
64
rpx
;
}
}
.mod11
::after
{
...
...
pages/order/order.vue
View file @
89645432
...
...
@@ -324,7 +324,7 @@ export default {
background
:
#FFFFFF
;
margin
:
30
rpx
auto
0
;
box-sizing
:
border-box
;
padding
:
25
rpx
32
rpx
;
padding
:
25
rpx
22
rpx
32
rpx
32
rpx
;
.order_header
{
display
:
flex
;
...
...
@@ -417,7 +417,7 @@ export default {
}
.goods_spce
{
margin-top
:
2
rpx
;
margin-top
:
2
.6
rpx
;
font-size
:
24
rpx
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
...
...
@@ -436,7 +436,7 @@ export default {
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
margin-top
:
28
rpx
;
margin-top
:
41
rpx
;
.total
{
font-size
:
28
rpx
;
...
...
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