-
zhangwei
2024-10-09 91be10dcd43367aae04df6330e33d229c216a72e
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
html{
    font-family:"Source Han Sans SC";
}
ul{
    list-style-type: none;
}
.full-page{
    height: 100vh;
    margin: 0 auto;
    background-color: #f3f4f6;
    // overflow-y: auto;
    // overflow-y: scroll;
}
.full-page-content{
    // height: 100vh;
    margin: 0 auto;
    background-color: #f3f4f6;
    // overflow-y: scroll;
}
.full-page-fff{
    height: 100vh;
    margin: 0 auto;
    background-color: #fff;
}
// 底部按钮
.tabbtns {
    background-color: #fff;
    position: fixed;
    width:100%;
    box-sizing:border-box;
    bottom: 0px;
    left: 0;
    right: 0;
    z-index: 20;
    padding: 24rpx;
}
.chuany-box{
    box-sizing:border-box;
}
.list {
        background-color: #f3f4f6;
    }
/* flex弹性布局 */
.chuany-flex { display: flex; }
.chuany-flex-sub { flex: 1; }
.chuany-flex-twice { flex: 2; }
.chuany-flex-treble { flex: 3; }
.chuany-flex-direction { flex-direction: column; }
.chuany-flex-wrap { flex-wrap: wrap; }
 
.chuany-flex-direction-row { flex-direction: row }
.chuany-flex-direction-row-reverse { flex-direction: row-reverse }
.chuany-flex-direction-column { flex-direction: column }
.chuany-flex-direction-column-reverse { flex-direction: column-reverse }
 
.chuany-justify-start { justify-content: flex-start; }
.chuany-justify-end { justify-content: flex-end; }
.chuany-justify-center { justify-content: center; }
.chuany-justify-between { justify-content: space-between; }
.chuany-justify-around { justify-content: space-around; }
.chuany-justify-evenly { justify-content: space-evenly; }
 
.chuany-align-start { align-items: flex-start; }
.chuany-align-end { align-items: flex-end; }
.chuany-align-center { align-items: center; }
.chuany-align-stretch { align-items: stretch; }
.chuany-self-start { align-self: flex-start; }
.chuany-self-center { align-self: flex-center; }
.chuany-self-end { align-self: flex-end; }
.chuany-self-stretch { align-self: stretch; }
 
/*单行*/
.chuany-clamp { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/*多行*/
.chuany-clamp2 { word-wrap: break-word; -webkit-line-clamp: 2; -webkit-box-orient: vertical; display: -webkit-box; overflow: hidden; text-overflow: ellipsis; white-space: normal !important; }
/*字体颜色*/
.chuany-text-green { background-color: #19be6b; color: #fff; }
.chuany-text-red, .line-red, .lines-red { color: #e54d42; }
.chuany-text-orange, .line-orange, .lines-orange { color: #f37b1d; }
.chuany-text-yellow, .line-yellow, .lines-yellow { color: #fbbd08; }
.chuany-text-olive, .line-olive, .lines-olive { color: #8dc63f; }
.chuany-text-green, .line-green, .lines-green { color: #39b54a; }
.chuany-text-cyan, .line-cyan, .lines-cyan { color: #1cbbb4; }
.chuany-text-blue, .line-blue, .lines-blue { color: #0081ff; }
.chuany-text-purple, .line-purple, .lines-purple { color: #6739b6; }
.chuany-text-mauve, .line-mauve, .lines-mauve { color: #9c26b0; }
.chuany-text-pink, .line-pink, .lines-pink { color: #e03997; }
.chuany-text-brown, .line-brown, .lines-brown { color: #a5673f; }
.chuany-text-grey, .line-grey, .lines-grey { color: #8799a3; }
.chuany-text-gray, .line-gray, .lines-gray { color: #aaaaaa; }
.chuany-text-black, .line-black, .lines-black { color: #333333; }
.chuany-text-white, .line-white, .lines-white { color: #ffffff; }
.text-7f{ color: #7f7f7f; }
.text-69{ color: #696969 !important; }
/*背景颜色*/
.coreshop-bg-red { background-color: #e54d42; color: #ffffff; }
.coreshop-bg-orange { background-color: #f37b1d; color: #ffffff; }
.coreshop-bg-yellow { background-color: #fbbd08; color: #333333; }
.coreshop-bg-olive { background-color: #8dc63f; color: #ffffff; }
.coreshop-bg-green { background-color: #39b54a; color: #ffffff; }
.coreshop-bg-cyan { background-color: #1cbbb4; color: #ffffff; }
.coreshop-bg-blue { background-color: #0081ff; color: #ffffff; }
.coreshop-bg-purple { background-color: #6739b6; color: #ffffff; }
.coreshop-bg-mauve { background-color: #9c26b0; color: #ffffff; }
.coreshop-bg-pink { background-color: #e03997; color: #ffffff; }
.coreshop-bg-brown { background-color: #a5673f; color: #ffffff; }
.coreshop-bg-grey { background-color: #8799a3; color: #ffffff; }
.coreshop-bg-gray { background-color: #f0f0f0; color: #333333; }
.coreshop-bg-black { background-color: #333333; color: #ffffff; }
.coreshop-bg-white { background-color: #ffffff;  }
.coreshop-bg-fa { background-color: #fafafa;   padding: 10px;
    background: #fafafa;
    border: 1px solid #e6e6e6; 
}
 
.coreshop-f8 { background-color: #F8F8F8; }
.coreshop-ff { background-color: #ffffff; }
.core-opa{
    opacity: 0;
}
 
/*字体高度*/
.chuany-line-height-initial { line-height: initial }
 
/*人民币符号*/
.chuany-text-price::before { content: "¥"; font-size: 80%; margin-right: 2px; }
 
/*字体格式*/
.chuany-text-bold { font-weight: bold; }
.chuany-family-roman{font-family:'Times New Roman', Times, serif}
.chuany-font12 { font-size: 12px; }
.chuany-font13 { font-size: 13px; }
.chuany-font14 { font-size: 14px; }
.chuany-font15 { font-size: 15px; }
.chuany-font17 { font-size: 17px; }
 
.chuany-flex-nowrap { flex-wrap: nowrap; }
 
.chuany-text-left { text-align: left; }
.chuany-text-center { text-align: center; }
.chuany-text-right { text-align: right; }
// 间距
.chuany-cursor{
    cursor:pointer
}
//文字竖着
.vertical-text {
    writing-mode: vertical-rl; /* 文字从上到下,从右到左 */
    transform: rotate(0deg); /* 可选,使文字正面朝上 */
    padding: 10px 4px;
  }
// 间距
// 定义字体(px)单位
@for $i from 0 through 40 {
    .chuany-line#{$i} { line-height: $i; }
}
@for $i from 0 through 100 {
    .chuany-width#{$i} { width:$i + #{'%'}; }
}
// 定义字体(px)单位
@for $i from 0 through 100 {
    .chuany-font#{$i} { font-size: $i + rpx; }
}
 
//圆角
@for $i from 0 through 40 {
    .chuany-bradius#{$i} { border-radius: $i + rpx; }
}
 
 
 
 
// 定义内外边距,历遍1-200
@for $i from 0 through 200 {
    // 只要双数和能被5除尽的数
    @if $i % 2 == 0 or $i % 5 == 0 {
        // 得出:coreshop-margin-30或者u-m-30
        .chuany-margin#{$i}, .c-m-#{$i} { margin: $i + rpx !important; }
 
        // 得出:coreshop-padding-15或者u-p-30
        .chuany-padding#{$i}, .c-p-#{$i} { padding: $i + rpx !important; }
 
        @each $short, $long in l left, t top, r right, b bottom {
            // 缩写版,结果如: u-m-l-30
            // 定义外边距
            .c-m-#{$short}-#{$i} { margin-#{$long}: $i + rpx !important; }
 
            // 定义内边距
            .c-p-#{$short}-#{$i} { padding-#{$long}: $i + rpx !important; }
 
            // 完整版,结果如:coreshop-margin-left-30
            // 定义外边距
            .chuany-margin#{$long}-#{$i} { margin-#{$long}: $i + rpx !important; }
 
            // 定义内边距
            .chuany-padding#{$long}-#{$i} { padding-#{$long}: $i + rpx !important; }
        }
    }
}