workspace.sass
2.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
/* pages/tab/workspace/workspace.wxss */
page {
background: #F2F3F7;
}
.page-title {
font-size: var(--fontSize34);
color: #222222;
font-weight: 600;
}
.bg {
width: 100%;
height: var(--fontSize400);
background: url('https://img02.glsx.com.cn/weapp/resource/miniprogram/regional-assistant/page-bg.png') no-repeat;
background-size: 100% var(--fontSize400);
position: fixed;
left: 0;
top: 0;
z-index: -1;
}
.container {
padding-top: var(--fontSize1);
overflow: auto;
}
.banner-box {
height: var(--fontSize192);
width: calc(100% - var(--fontSize48));
margin: var(--fontSize32) var(--fontSize24);
position: relative;
.close-icon {
position: absolute;
width: var(--fontSize32);
height: var(--fontSize32);
top: var(--fontSize16);
right: var(--fontSize16);
}
}
.box {
margin: var(--fontSize32) var(--fontSize24);
border-radius: var(--fontSize36);
background: #ffffff;
padding: var(--fontSize24) var(--fontSize32);
.label {
color: #222222;
font-size: var(--fontSize28);
font-weight: 500;
}
.menu {
margin: 0 -8rpx;
display: grid;
grid-template-columns: repeat(4, minmax(var(--fontSize100), 1fr));
justify-content: space-between;
align-items: center;
padding-top: var(--fontSize24);
background: #FFFFFF;
border-radius: var(--fontSize16);
gap: var(--fontSize18);
.label {
font-family: PingFangSC-Regular;
font-size: var(--fontSize24);
color: #292D33;
}
.item {
display: flex;
flex-flow: column;
align-items: center;
position: relative;
image {
width: var(--fontSize72);
height: var(--fontSize72);
}
.hot_icon {
position: absolute;
right: var(--fontSize20);
top: 0;
width: var(--fontSize38);
height: var(--fontSize32);
background: #F24724;
border-radius: var(--fontSize16);
color: #FFFFFF;
font-size: var(--fontSize22);
display: flex;
justify-content: center;
align-items: center;
}
.bubble_icon {
position: absolute;
right: var(--fontSize14);
top: var(--fontSize12);
width: var(--fontSize16);
height: var(--fontSize16);
background: #F24724;
border-radius: var(--fontSize16);
display: flex;
justify-content: center;
}
}
}
}
// dialog的样式
#van-dialog {
width: 622rpx;
.van-popup {
.van-dialog__header {
padding: 48rpx 48rpx 0 48rpx;
color: #292d33;
font-size: 34rpx;
font-weight: 500;
text-align: center;
}
.van-dialog__message {
padding: 32rpx 48rpx 48rpx;
color: #5a5e66;
font-size: 32rpx;
font-weight: 400;
line-height: 24px;
}
.van-button {
padding: 24rpx 0 !important;
opacity: 1;
color: #347bff;
font-size: 32rpx;
font-weight: 400;
line-height: 24px;
}
}
}