xiaoe_mp_npm 0.5.42-test2 → 0.5.42-test21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.scss +45 -0
- package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.wxss +37 -1
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.scss +223 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.wxss +522 -36
- package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.scss +91 -0
- package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.wxss +170 -14
- package/miniprogram_dist/ConfirmOrder/components/Invoice/index.scss +61 -0
- package/miniprogram_dist/ConfirmOrder/components/Invoice/index.wxss +68 -2
- package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.scss +40 -0
- package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.wxss +26 -2
- package/miniprogram_dist/ConfirmOrder/components/PayBar/index.scss +62 -0
- package/miniprogram_dist/ConfirmOrder/components/PayBar/index.wxss +81 -3
- package/miniprogram_dist/ConfirmOrder/components/PayDetail/index.scss +41 -0
- package/miniprogram_dist/ConfirmOrder/components/PayDetail/index.wxss +35 -3
- package/miniprogram_dist/CouponList/components/CouponItem/index.css +1715 -1715
- package/miniprogram_dist/CouponList/components/CouponItem/index.js +31 -22
- package/miniprogram_dist/CouponList/components/CouponItem/index.min.css +1 -1
- package/miniprogram_dist/CouponList/components/CouponItem/index.wxml +6 -2
- package/miniprogram_dist/CouponList/components/CouponItem/index.wxss +1037 -79
- package/miniprogram_dist/CouponList/couponColumn/index.js +5 -1
- package/miniprogram_dist/CouponList/couponColumn/index.scss +118 -0
- package/miniprogram_dist/CouponList/couponColumn/index.wxml +1 -0
- package/miniprogram_dist/CouponList/couponColumn/index.wxss +221 -32
- package/miniprogram_dist/CouponReceivePopup/index.js +75 -0
- package/miniprogram_dist/CouponReceivePopup/index.json +6 -0
- package/miniprogram_dist/CouponReceivePopup/index.scss +99 -0
- package/miniprogram_dist/CouponReceivePopup/index.wxml +85 -0
- package/miniprogram_dist/CouponReceivePopup/index.wxss +75 -0
- package/miniprogram_dist/GoodsItem/index.js +7 -5
- package/miniprogram_dist/GoodsItem/index.scss +45 -22
- package/miniprogram_dist/GoodsItem/index.wxml +11 -11
- package/miniprogram_dist/GoodsItem/index.wxs +18 -18
- package/miniprogram_dist/GoodsItem/index.wxss +1273 -116
- package/miniprogram_dist/GoodsRecommend/index.scss +162 -0
- package/miniprogram_dist/GoodsRecommend/index.wxss +418 -33
- package/miniprogram_dist/LiveGoodsList/Header/index.scss +79 -0
- package/miniprogram_dist/LiveGoodsList/Header/index.wxss +148 -10
- package/miniprogram_dist/LiveGoodsList/index.js +167 -25
- package/miniprogram_dist/LiveGoodsList/index.scss +93 -0
- package/miniprogram_dist/LiveGoodsList/index.wxml +41 -19
- package/miniprogram_dist/LiveGoodsList/index.wxss +187 -19
- package/miniprogram_dist/PayModule/button/index.scss +45 -0
- package/miniprogram_dist/PayModule/button/index.wxss +46 -4
- package/miniprogram_dist/TeacherGoodsList/index.js +778 -585
- package/miniprogram_dist/TeacherGoodsList/index.scss +5 -2
- package/miniprogram_dist/TeacherGoodsList/index.wxml +42 -24
- package/miniprogram_dist/TeacherGoodsList/index.wxss +132 -14
- package/miniprogram_dist/common/api/liveGoodsList.js +10 -2
- package/miniprogram_dist/common/utils/index.js +14 -0
- package/miniprogram_dist/coupon/components/CouponItem/index.less +1 -0
- package/miniprogram_dist/coupon/components/CouponItem/index.scss +247 -0
- package/miniprogram_dist/coupon/components/CouponItem/index.wxss +677 -86
- package/miniprogram_dist/coupon/components/CouponSelect/index.scss +331 -0
- package/miniprogram_dist/coupon/components/CouponSelect/index.wxss +861 -59
- package/miniprogram_dist/coupon/index.scss +83 -0
- package/miniprogram_dist/coupon/index.wxss +171 -15
- package/package.json +2 -2
- package/src/ConfirmOrder/components/ConfirmOrderContent/index.scss +45 -0
- package/src/ConfirmOrder/components/ConfirmOrderContent/index.wxss +42 -1
- package/src/ConfirmOrder/components/GoodsInfo/index.scss +223 -0
- package/src/ConfirmOrder/components/GoodsInfo/index.wxss +552 -39
- package/src/ConfirmOrder/components/IntegralSelect/index.scss +91 -0
- package/src/ConfirmOrder/components/IntegralSelect/index.wxss +182 -14
- package/src/ConfirmOrder/components/Invoice/index.scss +61 -0
- package/src/ConfirmOrder/components/Invoice/index.wxss +75 -2
- package/src/ConfirmOrder/components/LeaveWord/index.scss +40 -0
- package/src/ConfirmOrder/components/LeaveWord/index.wxss +30 -2
- package/src/ConfirmOrder/components/PayBar/index.scss +62 -0
- package/src/ConfirmOrder/components/PayBar/index.wxss +87 -3
- package/src/ConfirmOrder/components/PayDetail/index.scss +41 -0
- package/src/ConfirmOrder/components/PayDetail/index.wxss +39 -3
- package/src/CouponList/components/CouponItem/index.css +1715 -1715
- package/src/CouponList/components/CouponItem/index.js +31 -22
- package/src/CouponList/components/CouponItem/index.min.css +1 -1
- package/src/CouponList/components/CouponItem/index.wxml +6 -2
- package/src/CouponList/components/CouponItem/index.wxss +1039 -85
- package/src/CouponList/couponColumn/index.js +5 -1
- package/src/CouponList/couponColumn/index.scss +118 -0
- package/src/CouponList/couponColumn/index.wxml +1 -0
- package/src/CouponList/couponColumn/index.wxss +236 -32
- package/src/CouponReceivePopup/index.js +75 -0
- package/src/CouponReceivePopup/index.json +6 -0
- package/src/CouponReceivePopup/index.scss +99 -0
- package/src/CouponReceivePopup/index.wxml +85 -0
- package/src/CouponReceivePopup/index.wxss +1 -0
- package/src/GoodsItem/index.js +7 -5
- package/src/GoodsItem/index.scss +45 -22
- package/src/GoodsItem/index.wxml +11 -11
- package/src/GoodsItem/index.wxs +18 -18
- package/src/GoodsItem/index.wxss +1331 -116
- package/src/GoodsRecommend/index.scss +162 -0
- package/src/GoodsRecommend/index.wxss +441 -33
- package/src/LiveGoodsList/Header/index.scss +79 -0
- package/src/LiveGoodsList/Header/index.wxss +156 -10
- package/src/LiveGoodsList/index.js +167 -25
- package/src/LiveGoodsList/index.scss +93 -0
- package/src/LiveGoodsList/index.wxml +41 -19
- package/src/LiveGoodsList/index.wxss +230 -50
- package/src/PayModule/button/index.scss +45 -0
- package/src/PayModule/button/index.wxss +50 -4
- package/src/TeacherGoodsList/index.js +778 -585
- package/src/TeacherGoodsList/index.scss +5 -2
- package/src/TeacherGoodsList/index.wxml +42 -24
- package/src/TeacherGoodsList/index.wxss +151 -14
- package/src/common/api/liveGoodsList.js +10 -2
- package/src/common/utils/index.js +14 -0
- package/src/coupon/components/CouponItem/index.less +1 -0
- package/src/coupon/components/CouponItem/index.scss +247 -0
- package/src/coupon/components/CouponItem/index.wxss +712 -86
- package/src/coupon/components/CouponSelect/index.scss +331 -0
- package/src/coupon/components/CouponSelect/index.wxss +910 -59
- package/src/coupon/index.scss +83 -0
- package/src/coupon/index.wxss +181 -15
- package/miniprogram_dist/GoodsItem/index.css +0 -1364
- package/miniprogram_dist/GoodsItem/index.less +0 -299
- package/miniprogram_dist/GoodsItem/index.min.css +0 -1
- package/miniprogram_dist/TeacherGoodsList/index.css +0 -187
- package/miniprogram_dist/TeacherGoodsList/index.min.css +0 -1
- package/src/GoodsItem/index.css +0 -1364
- package/src/GoodsItem/index.less +0 -299
- package/src/GoodsItem/index.min.css +0 -1
- package/src/TeacherGoodsList/index.css +0 -187
- package/src/TeacherGoodsList/index.min.css +0 -1
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
|
|
2
|
+
$deviceWidth: 750;
|
|
3
|
+
@function vmin($rpx) {
|
|
4
|
+
@return #{$rpx * 100 / $deviceWidth}vmin;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
@mixin goods-recommend-container {
|
|
9
|
+
width: 100%;
|
|
10
|
+
background-color: #ffffff;
|
|
11
|
+
padding-bottom: vmin(100);
|
|
12
|
+
|
|
13
|
+
.recommend-title {
|
|
14
|
+
font-size: vmin(32);
|
|
15
|
+
padding-left: vmin(32);
|
|
16
|
+
padding-top: vmin(32);
|
|
17
|
+
}
|
|
18
|
+
.goods-item {
|
|
19
|
+
display: flex;
|
|
20
|
+
padding: vmin(32) vmin(24) 0rpx vmin(24);
|
|
21
|
+
height: vmin(180);
|
|
22
|
+
.cover-picture {
|
|
23
|
+
margin-right: vmin(16);
|
|
24
|
+
position: relative;
|
|
25
|
+
.picture {
|
|
26
|
+
width: vmin(240);
|
|
27
|
+
height: vmin(180);
|
|
28
|
+
border-radius: vmin(16);
|
|
29
|
+
}
|
|
30
|
+
.marketing-type {
|
|
31
|
+
position: absolute;
|
|
32
|
+
font-size: vmin(20);
|
|
33
|
+
left: 0;
|
|
34
|
+
color: #807157;
|
|
35
|
+
padding: vmin(4) vmin(8);
|
|
36
|
+
top: 0;
|
|
37
|
+
border-radius: vmin(8) 0 vmin(8) 0;
|
|
38
|
+
}
|
|
39
|
+
.super-member {
|
|
40
|
+
background: linear-gradient(-45deg, rgba(51, 51, 51, 1) 0%, rgba(82, 82, 82, 1) 68%, rgba(51, 51, 51, 1) 100%);
|
|
41
|
+
color: #ffc166;
|
|
42
|
+
}
|
|
43
|
+
.else-activity {
|
|
44
|
+
color: #fff;
|
|
45
|
+
border: 0 solid rgba(0.5920000076293945, 0.5920000076293945, 0.5920000076293945, 1);
|
|
46
|
+
background: linear-gradient(270deg, rgba(254, 101, 0, 1) 0%, rgba(255, 65, 2, 1) 100%);
|
|
47
|
+
}
|
|
48
|
+
.goods-type {
|
|
49
|
+
position: absolute;
|
|
50
|
+
font-size: vmin(20);
|
|
51
|
+
right: vmin(12);
|
|
52
|
+
bottom: vmin(12);
|
|
53
|
+
padding: vmin(4) vmin(8);
|
|
54
|
+
color: #ffffff;
|
|
55
|
+
border-radius: vmin(8);
|
|
56
|
+
border: 0 solid rgba(0.5920000076293945, 0.5920000076293945, 0.5920000076293945, 1);
|
|
57
|
+
background: rgba(0, 0, 0, 0.25);
|
|
58
|
+
backdrop-filter: blur(10.17462539672851.56rem);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
.goods-info {
|
|
62
|
+
font-size: vmin(28);
|
|
63
|
+
display: flex;
|
|
64
|
+
flex-direction: column;
|
|
65
|
+
justify-content: space-between;
|
|
66
|
+
.goods-title {
|
|
67
|
+
font-weight: 600;
|
|
68
|
+
display: -webkit-box;
|
|
69
|
+
overflow: hidden;
|
|
70
|
+
text-overflow: ellipsis;
|
|
71
|
+
-webkit-box-orient: vertical;
|
|
72
|
+
-webkit-line-clamp: 2;
|
|
73
|
+
}
|
|
74
|
+
.price-watch {
|
|
75
|
+
display: flex;
|
|
76
|
+
justify-content: space-between;
|
|
77
|
+
align-items: center;
|
|
78
|
+
.goods-type {
|
|
79
|
+
font-size: vmin(24);
|
|
80
|
+
color: #ff5024;
|
|
81
|
+
font-weight: 700;
|
|
82
|
+
}
|
|
83
|
+
.goods-price {
|
|
84
|
+
width: 75%;
|
|
85
|
+
color: #b2b2b2;
|
|
86
|
+
font-weight: 700;
|
|
87
|
+
white-space: nowrap;
|
|
88
|
+
text-overflow: ellipsis;
|
|
89
|
+
overflow: hidden;
|
|
90
|
+
display: flex;
|
|
91
|
+
align-items: baseline;
|
|
92
|
+
.greenback-one {
|
|
93
|
+
font-size: vmin(32);
|
|
94
|
+
color: #ff5024;
|
|
95
|
+
}
|
|
96
|
+
.greenback {
|
|
97
|
+
font-size: vmin(24);
|
|
98
|
+
color: #ff5024;
|
|
99
|
+
}
|
|
100
|
+
.discount {
|
|
101
|
+
font-size: vmin(24);
|
|
102
|
+
margin-left: vmin(8);
|
|
103
|
+
text-decoration: line-through;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
.goods-watch {
|
|
107
|
+
text-align: right;
|
|
108
|
+
width: 25%;
|
|
109
|
+
white-space: nowrap;
|
|
110
|
+
text-overflow: ellipsis;
|
|
111
|
+
overflow: hidden;
|
|
112
|
+
font-size: vmin(20);
|
|
113
|
+
color: #b2b2b2;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
.empty {
|
|
119
|
+
width: 100%;
|
|
120
|
+
display: flex;
|
|
121
|
+
justify-content: center;
|
|
122
|
+
align-items: center;
|
|
123
|
+
flex-direction: column;
|
|
124
|
+
padding: vmin(80) 0;
|
|
125
|
+
.empty-text {
|
|
126
|
+
color: #9e9e9e;
|
|
127
|
+
font-size: vmin(32);
|
|
128
|
+
margin-top: vmin(32);
|
|
129
|
+
}
|
|
130
|
+
image {
|
|
131
|
+
width: vmin(176);
|
|
132
|
+
height: vmin(176);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.goods-recommend-container {
|
|
138
|
+
@include goods-recommend-container;
|
|
139
|
+
}
|
|
140
|
+
// 竖屏pad
|
|
141
|
+
@media screen and (min-width: 768px) and (orientation: portrait) {
|
|
142
|
+
$deviceWidth: 1536 !global;
|
|
143
|
+
.goods-recommend-container {
|
|
144
|
+
@include goods-recommend-container;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
// PC 放大适配
|
|
148
|
+
@media screen and (min-height: 630px) and (orientation: landscape) {
|
|
149
|
+
$deviceWidth: 1260 !global;
|
|
150
|
+
|
|
151
|
+
.goods-recommend-container {
|
|
152
|
+
@include goods-recommend-container;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
// 横屏pad
|
|
156
|
+
@media screen and (min-height: 768px) and (orientation: landscape) {
|
|
157
|
+
$deviceWidth: 1536 !global;
|
|
158
|
+
.goods-recommend-container {
|
|
159
|
+
@include goods-recommend-container;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|