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
6755b9d1
Commit
6755b9d1
authored
Jun 20, 2022
by
songbingqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 我的页面 样式
parent
7ebf4441
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
132 additions
and
73 deletions
+132
-73
pages/mine/mine.vue
+132
-73
static/imgs/dingdan.png
+0
-0
static/imgs/xiaoxi.png
+0
-0
static/imgs/youhuijuan.png
+0
-0
No files found.
pages/mine/mine.vue
View file @
6755b9d1
...
@@ -5,68 +5,67 @@
...
@@ -5,68 +5,67 @@
<!--
<image
class=
"logImg"
src=
"/static/imgs/hooloo.png"
></image>
-->
<!--
<image
class=
"logImg"
src=
"/static/imgs/hooloo.png"
></image>
-->
<!--
<view
class=
"logText"
>
未 来 咖 啡
</view>
-->
<!--
<view
class=
"logText"
>
未 来 咖 啡
</view>
-->
</view>
</view>
<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>
<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>
<view
v-if=
"userms"
class=
"mod11 flex-col"
>
<view
v-if=
"userms"
class=
"mod11"
>
<view
class=
"box16 flex-col"
></view>
<view
class=
"box16"
>
<text
class=
"txt6"
>
{{
userInfo
.
customerName
||
'我是谁'
}}
</text>
<image
:style=
"
{'width':'100%','height':'100%'}" :src="'../../static/touxiang.png'">
</image>
<view
class=
"right_arrow"
>
<u-icon
name=
"arrow-right"
color=
"#fff"
size=
"14"
></u-icon>
</view>
</view>
<text
class=
"txt6"
>
{{
userInfo
.
customerName
||
'我是谁'
}}
</text>
</view>
</view>
<button
class=
"mod11 flex-col"
v-else
open-type=
"getPhoneNumber"
@
getphonenumber=
"getPhoneNumber"
>
立刻登录
</button>
<button
class=
"mod11 flex-col"
v-else
open-type=
"getPhoneNumber"
@
getphonenumber=
"getPhoneNumber"
>
立刻登录
</button>
<view
class=
"contents"
v-if=
"userms"
>
<view
class=
"contents"
v-if=
"userms"
>
<view
class=
"myOrder"
@
click=
"goToPage('order')"
>
<view
class=
"myOrder"
@
click=
"goToPage('order')"
>
<h3>
我的订单
</h3>
<view
class=
"text"
>
我的订单
</view>
<view
class=
"desc"
>
点击查看订单
</view>
<view><image
class=
"icon"
src=
"/static/imgs/dingdan.png"
></image></view>
<view><image
class=
"icon"
src=
"/static/imgs/myOrder.png"
></image></view>
</view>
</view>
<view
class=
"line"
></view>
<view
class=
"right_box"
>
<view
class=
"right_box"
>
<view
class=
"box"
@
click
.
stop=
"goToPage('coupon')"
>
<view
class=
"box"
@
click
.
stop=
"goToPage('coupon')"
>
<view
class=
"left"
>
<view
class=
"left"
>
<h3>
HOOLOO券
</h3>
<h3>
HOOLOO券
</h3>
<view
class=
"desc"
>
优惠多多不要错过
</view>
</view>
</view>
<view
class=
"right"
><image
class=
"icon"
src=
"/static/imgs/
my3
.png"
></image></view>
<view
class=
"right"
><image
class=
"icon"
src=
"/static/imgs/
youhuijuan
.png"
></image></view>
</view>
</view>
<view
class=
"box two"
@
click=
"goToPage('msg')"
>
<view
class=
"line"
></view>
<view
class=
"box_two"
@
click=
"goToPage('msg')"
>
<view
class=
"left"
>
<view
class=
"left"
>
<h3>
我的消息
</h3>
<h3>
我的消息
</h3>
<view
class=
"desc"
>
点击查看我的消息
</view>
</view>
</view>
<view
class=
"right"
><image
class=
"icon"
src=
"/static/imgs/
myMail
.png"
></image></view>
<view
class=
"right"
><image
class=
"icon"
src=
"/static/imgs/
xiaoxi
.png"
></image></view>
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"contents"
v-if=
"!userms"
>
<view
class=
"contents"
v-if=
"!userms"
:style=
"
{'padding-bottom':'65rpx'}"
>
<button
class=
"myOrder"
open-type=
"getPhoneNumber"
@
getphonenumber=
"getPhoneNumber"
style=
"line-height:1.5; margin-left:0rpx; margin-right:0rpx; padding-left:0rpx; padding-right:0rpx;"
>
<button
class=
"myOrder"
open-type=
"getPhoneNumber"
@
getphonenumber=
"getPhoneNumber"
style=
"line-height:1.5; margin-left:0rpx; margin-right:0rpx; padding-left:0rpx; padding-right:0rpx;"
>
<h3>
我的订单
</h3>
<view
class=
"text"
>
我的订单
</view>
<view
class=
"desc"
>
点击查看订单
</view>
<view><image
class=
"icon"
src=
"/static/imgs/dingdan.png"
></image></view>
<view><image
class=
"icon"
src=
"/static/imgs/myOrder.png"
></image></view>
</button>
</button>
<view
class=
"line"
></view>
<view
class=
"right_box"
>
<view
class=
"right_box"
>
<button
class=
"box"
open-type=
"getPhoneNumber"
@
getphonenumber=
"getPhoneNumber"
style=
"line-height:1.5; margin-left:0rpx; margin-right:0rpx; padding-left:0rpx; padding-right:0rpx;"
>
<button
class=
"box"
open-type=
"getPhoneNumber"
@
getphonenumber=
"getPhoneNumber"
style=
"line-height:1.5; margin-left:0rpx; margin-right:0rpx; padding-left:0rpx; padding-right:0rpx;"
>
<view
class=
"left"
>
<view
class=
"left"
>
<h3>
HOOLOO券
</h3>
<h3>
HOOLOO券
</h3>
<view
class=
"desc"
>
优惠多多不要错过
</view>
</view>
</view>
<view
class=
"right"
><image
class=
"icon"
src=
"/static/imgs/
my3
.png"
></image></view>
<view
class=
"right"
><image
class=
"icon"
src=
"/static/imgs/
youhuijuan
.png"
></image></view>
</button>
</button>
<button
class=
"box two"
open-type=
"getPhoneNumber"
@
getphonenumber=
"getPhoneNumber"
style=
"line-height:1.5; margin-left:0rpx; margin-right:0rpx; padding-left:0rpx; padding-right:0rpx;"
>
<view
class=
"line"
></view>
<button
class=
"box_two"
open-type=
"getPhoneNumber"
@
getphonenumber=
"getPhoneNumber"
style=
"line-height:1.5; margin-left:0rpx; margin-right:0rpx; padding-left:0rpx; padding-right:0rpx;"
>
<view
class=
"left"
>
<view
class=
"left"
>
<h3>
我的消息
</h3>
<h3>
我的消息
</h3>
<view
class=
"desc"
>
点击查看我的消息
</view>
</view>
</view>
<view
class=
"right"
><image
class=
"icon"
src=
"/static/imgs/
myMail
.png"
></image></view>
<view
class=
"right"
><image
class=
"icon"
src=
"/static/imgs/
xiaoxi
.png"
></image></view>
</button>
</button>
</view>
</view>
</view>
</view>
<view
v-if=
"userms"
class=
"function"
>
<view
v-if=
"userms"
class=
"function"
>
<
h3>
常用功能
</h3
>
<
view
class=
"title"
>
常用功能
</view
>
<view
class=
"function_item"
>
<view
class=
"function_item"
>
<u-icon
name=
"server-fill"
color=
"#000000"
size=
"16"
></u-icon>
<u-icon
name=
"server-fill"
color=
"#000000"
size=
"16"
></u-icon>
<button
class=
"function_item_text"
open-type=
"contact"
bindcontact=
"handleContact"
session-from=
"sessionFrom"
>
联系客服
</button>
<button
class=
"function_item_text"
open-type=
"contact"
bindcontact=
"handleContact"
session-from=
"sessionFrom"
>
联系客服
</button>
<u-icon
name=
"arrow-right"
class=
"function_item_icon"
color=
"#000000"
size=
"12"
></u-icon>
<view
class=
"function_item_icon"
>
<image
:style=
"
{'height':'100%','width':'100%'}" v-if="userms" :src="'../../static/imgs/jiantouhei.png'" />
</view>
</view>
</view>
</view>
</view>
...
@@ -137,8 +136,10 @@ button::after {
...
@@ -137,8 +136,10 @@ button::after {
.menu-box
{}
.menu-box
{}
.menu-banner
{
.menu-banner
{
height
:
376
rpx
;
position
:
relative
;
position
:
relative
;
.video{
height
:
437
rpx
;
}
.log
{
.log
{
position
:
absolute
;
position
:
absolute
;
...
@@ -166,57 +167,58 @@ button::after {
...
@@ -166,57 +167,58 @@ button::after {
}
}
.mod11
{
.mod11
{
box-sizing
:
border-box
;
padding
:
32
rpx
;
width
:
686
rpx
;
height
:
136
rpx
;
background
:
#FFFFFF
;
backdrop-filter
:
blur
(
10px
);
margin
:
0
auto
;
margin
:
0
auto
;
width
:
692
rpx
;
height
:
144
rpx
;
background
:
rgba
(
255
,
255
,
255
,
0.2
);
border-radius
:
10
rpx
;
backdrop-filter
:
blur
(
10
rpx
);
display
:
flex
;
display
:
flex
;
align-items
:
center
;
justify-content
:
flex-start
;
margin-top
:
-72
rpx
;
align-items
:
center
;
padding
:
0
30
rpx
;
margin-top
:
-90
rpx
;
box-sizing
:
border-box
;
color
:
#fff
;
.right_arrow
{
margin-left
:
auto
;
}
.txt6
{
.txt6
{
margin-left
:
20
rpx
;
font-size
:
32
rpx
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
color
:
#333333
;
margin-left
:
32
rpx
;
}
}
.box16
{
.box16
{
width
:
80
rpx
;
width
:
72
rpx
;
height
:
80
rpx
;
height
:
72
rpx
;
background
:
#FF72C1
;
border-radius
:
50%
;
box-shadow
:
0
rpx
4
rpx
8
rpx
0
rpx
rgba
(
50
,
50
,
50
,
0.25
);
border-radius
:
4
rpx
;
}
}
}
}
.contents
{
.contents
{
display
:
flex
;
display
:
flex
;
padding
:
34
rpx
;
padding
:
40
rpx
;
width
:
100%
;
margin
:
16
rpx
32
rpx
26
rpx
32
rpx
;
align-items
:
center
;
justify-content
:
space-between
;
background
:
#FFFFFF
;
//
background
:
#0000FF
;
//
background
:
#0000FF
;
.myOrder
{
.myOrder
{
width
:
36%
;
width
:
36%
;
height
:
270
rpx
;
height
:
197
rpx
;
//
background
:
#FF0000
;
//
background
:
#FF0000
;
background
:
#FFFFFF
;
background
:
#FFFFFF
;
border-radius
:
10
rpx
;
align-items
:
center
;
align-items
:
center
;
text-align
:
center
;
text-align
:
center
;
h3
{
.text
{
margin-top
:
16
rpx
;
font-size
:
28
rpx
;
font-size
:
28
rpx
;
font-family
:
Arial-BoldMT
,
Arial
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
700
;
font-weight
:
500
;
color
:
#000000
;
color
:
#333333
;
margin-top
:
30
rpx
;
}
}
.desc
{
.desc
{
...
@@ -228,28 +230,81 @@ button::after {
...
@@ -228,28 +230,81 @@ button::after {
}
}
.icon
{
.icon
{
width
:
7
0
rpx
;
width
:
7
2
rpx
;
height
:
80
rpx
;
height
:
80
rpx
;
margin
:
0
auto
;
margin
:
0
auto
;
margin-top
:
50
rpx
;
margin-top
:
50
rpx
;
}
}
}
}
.line
{
height
:
197
rpx
;
background
:
#E4E4E4
;
border
:
1
rpx
solid
#E4E4E4
;
}
.right_box
{
.right_box
{
margin-left
:
20
rpx
;
flex
:
1
;
//
background
:
#00FF00
;
//
background
:
#00FF00
;
width
:
52%
;
width
:
52%
;
height
:
196
rpx
;
display
:
flex
;
justify-content
:
space-between
;
flex-direction
:
column
;
align-items
:
center
;
padding-left
:
60
rpx
;
padding-right
:
24
rpx
;
.two
{
.box_two
{
margin-top
:
15
rpx
;
width
:
100%
;
}
overflow
:
initial
;
height
:
129
rpx
;
//
background
:
#FF0000
;
background
:
#FFFFFF
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
position
:
relative
;
.left
{
text-align
:
center
;
width
:
154
rpx
;
h3
{
font-size
:
28
rpx
;
font-family
:
Arial-BoldMT
,
Arial
;
font-weight
:
normal
;
color
:
#333333
;
}
.desc
{
font-size
:
20
rpx
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#323232
;
margin-top
:
10
rpx
}
}
.right
{
.icon
{
width
:
80
rpx
;
height
:
72
rpx
;
}
}
}
.line
{
width
:
306
rpx
;
height
:
2
rpx
;
border
:
1
rpx
solid
#E4E4E4
;
margin
:
30
rpx
0
rpx
;
}
.box
{
.box
{
overflow
:
initial
;
width
:
100%
;
width
:
100%
;
height
:
129
rpx
;
height
:
129
rpx
;
line-height
:
30
rpx
;
//
background
:
#FF0000
;
//
background
:
#FF0000
;
background
:
#FFFFFF
;
background
:
#FFFFFF
;
border-radius
:
10
rpx
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
space-between
;
justify-content
:
space-between
;
...
@@ -257,13 +312,13 @@ button::after {
...
@@ -257,13 +312,13 @@ button::after {
.left
{
.left
{
text-align
:
center
;
text-align
:
center
;
padding-left
:
30
rpx
;
width
:
154
rpx
;
h3
{
h3
{
font-size
:
28
rpx
;
font-size
:
28
rpx
;
font-family
:
Arial-BoldMT
,
Arial
;
font-family
:
Arial-BoldMT
,
Arial
;
font-weight
:
700
;
font-weight
:
normal
;
color
:
#
000000
;
color
:
#
333333
;
}
}
.desc
{
.desc
{
font-size
:
20
rpx
;
font-size
:
20
rpx
;
...
@@ -275,10 +330,9 @@ button::after {
...
@@ -275,10 +330,9 @@ button::after {
}
}
.right
{
.right
{
padding-right
:
30
rpx
;
.icon
{
.icon
{
width
:
80
rpx
;
width
:
80
rpx
;
height
:
55
rpx
;
height
:
72
rpx
;
}
}
}
}
}
}
...
@@ -286,18 +340,18 @@ button::after {
...
@@ -286,18 +340,18 @@ button::after {
}
}
.function
{
.function
{
width
:
6
92
rpx
;
width
:
6
86
rpx
;
background
:
#FFFFFF
;
background
:
#FFFFFF
;
border-radius
:
10
rpx
;
border-radius
:
10
rpx
;
margin
:
0
auto
;
margin
:
0
auto
;
padding
:
2
5
rpx
;
padding
:
2
2
rpx
26
rpx
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
h3
{
.title
{
font-size
:
28
rpx
;
font-size
:
28
rpx
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
6
00
;
font-weight
:
5
00
;
color
:
#
000000
;
color
:
#
333333
;
}
}
.function_item
{
.function_item
{
...
@@ -309,16 +363,19 @@ button::after {
...
@@ -309,16 +363,19 @@ button::after {
line-height
:
34
rpx
;
line-height
:
34
rpx
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
margin-top
:
2
0
rpx
;
margin-top
:
2
2
rpx
;
.function_item_text
{
.function_item_text
{
flex
:
1
;
flex
:
1
;
margin
:
0
;
margin
:
0
;
margin-left
:
1
0
rpx
;
margin-left
:
1
6
rpx
;
padding
:
10
rpx
;
padding
:
10
rpx
;
text-align
:
left
;
text-align
:
left
;
line-height
:
1
;
line-height
:
1
;
background-color
:
#FFFFFF
;
background-color
:
#FFFFFF
;
font-weight
:
400
;
color
:
#333333
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-size
:
24
rpx
;
font-size
:
24
rpx
;
border-radius
:
0px
;
border-radius
:
0px
;
}
}
...
@@ -330,6 +387,8 @@ button::after {
...
@@ -330,6 +387,8 @@ button::after {
.function_item_icon
{
.function_item_icon
{
margin-left
:
auto
;
margin-left
:
auto
;
width
:
12
rpx
;
height
:
21
rpx
;
}
}
}
}
}
}
...
...
static/imgs/dingdan.png
0 → 100644
View file @
6755b9d1
1.13 KB
static/imgs/xiaoxi.png
0 → 100644
View file @
6755b9d1
1.23 KB
static/imgs/youhuijuan.png
0 → 100644
View file @
6755b9d1
5.65 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