xiaoe_mp_npm 0.5.42-test32 → 0.5.42-test33
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.
|
@@ -361,10 +361,8 @@ $deviceWidth: 750;
|
|
|
361
361
|
display: flex;
|
|
362
362
|
justify-content: center;
|
|
363
363
|
align-items: center;
|
|
364
|
-
color: white;
|
|
365
364
|
line-height: vmin(48);
|
|
366
365
|
font-weight: 500;
|
|
367
|
-
background: linear-gradient(270deg, #ff2e57 0%, #ff4d82 100%);
|
|
368
366
|
.load{
|
|
369
367
|
width: vmin(24);
|
|
370
368
|
height: vmin(24);
|
|
@@ -372,6 +370,14 @@ $deviceWidth: 750;
|
|
|
372
370
|
margin-right: vmin(8);
|
|
373
371
|
}
|
|
374
372
|
}
|
|
373
|
+
.cancel-explain-bg {
|
|
374
|
+
background: #ffebef;
|
|
375
|
+
color: #ff2e57;
|
|
376
|
+
}
|
|
377
|
+
.explain-bg {
|
|
378
|
+
background: linear-gradient(270deg, #ff2e57 0%, #ff4d82 100%);
|
|
379
|
+
color: white;
|
|
380
|
+
}
|
|
375
381
|
.no-stock-btn{
|
|
376
382
|
font-size: vmin(24);
|
|
377
383
|
border-radius: vmin(8);
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
</block>
|
|
147
147
|
<block wx:elif="{{!isManage && !isStudent}}">
|
|
148
148
|
<view
|
|
149
|
-
class="buy-btn-teacher"
|
|
149
|
+
class="buy-btn-teacher {{ sendingGoodId === goodsItem.id ? 'cancel-explain-bg' : 'explain-bg' }}"
|
|
150
150
|
catchtap="sendGoodsCard"
|
|
151
151
|
data-item="{{goodsItem}}"
|
|
152
152
|
data-type="10"
|
package/package.json
CHANGED
package/src/GoodsItem/index.scss
CHANGED
|
@@ -361,10 +361,8 @@ $deviceWidth: 750;
|
|
|
361
361
|
display: flex;
|
|
362
362
|
justify-content: center;
|
|
363
363
|
align-items: center;
|
|
364
|
-
color: white;
|
|
365
364
|
line-height: vmin(48);
|
|
366
365
|
font-weight: 500;
|
|
367
|
-
background: linear-gradient(270deg, #ff2e57 0%, #ff4d82 100%);
|
|
368
366
|
.load{
|
|
369
367
|
width: vmin(24);
|
|
370
368
|
height: vmin(24);
|
|
@@ -372,6 +370,14 @@ $deviceWidth: 750;
|
|
|
372
370
|
margin-right: vmin(8);
|
|
373
371
|
}
|
|
374
372
|
}
|
|
373
|
+
.cancel-explain-bg {
|
|
374
|
+
background: #ffebef;
|
|
375
|
+
color: #ff2e57;
|
|
376
|
+
}
|
|
377
|
+
.explain-bg {
|
|
378
|
+
background: linear-gradient(270deg, #ff2e57 0%, #ff4d82 100%);
|
|
379
|
+
color: white;
|
|
380
|
+
}
|
|
375
381
|
.no-stock-btn{
|
|
376
382
|
font-size: vmin(24);
|
|
377
383
|
border-radius: vmin(8);
|
package/src/GoodsItem/index.wxml
CHANGED
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
</block>
|
|
147
147
|
<block wx:elif="{{!isManage && !isStudent}}">
|
|
148
148
|
<view
|
|
149
|
-
class="buy-btn-teacher"
|
|
149
|
+
class="buy-btn-teacher {{ sendingGoodId === goodsItem.id ? 'cancel-explain-bg' : 'explain-bg' }}"
|
|
150
150
|
catchtap="sendGoodsCard"
|
|
151
151
|
data-item="{{goodsItem}}"
|
|
152
152
|
data-type="10"
|