Parcourir la source

fix: 积分获得提示

Basil il y a 2 ans
Parent
commit
1ce5a702c8

+ 1 - 1
.env.development

@@ -1 +1 @@
1
-VITE_GLOB_API_URL = 'https://test.bjtdba.com'
1
+VITE_GLOB_API_URL = 'https://app.bjtdba.com'

+ 101 - 80
src/components/CXBDialogSignIn/CXBDialogSIgnIn.vue

@@ -92,15 +92,16 @@ function getScoreText(day: number) {
92 92
 }
93 93
 
94 94
 const signInFor = computed(() => {
95
-  if (props.today == 0) {
96
-    return getScoreText(props.day)
97
-  }
95
+  // if (props.today == 0) {
96
+  return getScoreText(props.day)
97
+  // }
98 98
 })
99 99
 
100 100
 function closeHandler(evt: MouseEvent) {
101 101
   show.value = false
102 102
   emit(CLOSE_EVENT, evt)
103 103
 }
104
+
104 105
 function confirmHandler(evt) {
105 106
   show.value = false
106 107
   emit(CLOSE_EVENT, evt)
@@ -125,92 +126,107 @@ function handleSignInSucceedClose() {
125 126
   <FOverlay :show="showValue"
126 127
             name="fade"
127 128
   >
128
-    <div class="bg flex flex-col justify-center items-center h-full w-full relative ">
129
-      <image :src="bgImage" mode="widthFix"
130
-             class="absolute "
131
-      ></image>
132
-      <div class="flex flex-col justify-around items-center relative top-10 gap-3 w-75 h-75">
133
-        <div class="flex gap-2 justify-center items-center mb-4 p-2" v-if="props.day <=6 ">
134
-          <template v-if="props.day > 0">
135
-
136
-            <SignRedPacket
137
-                v-for="item in props.day"
138
-                :key="item"
139
-                :day="item"
140
-                :text="'已签'"
141
-            />
142
-
143
-          </template>
144
-          <template v-if="(6 - props.day) > 0">
145
-
146
-            <SignRedPacket
147
-                v-for="item in (6 - props.day)"
148
-                :key="item"
149
-                :day="item + props.day"
150
-            />
151
-          </template>
152
-        </div>
153
-        <div class=" px-4 flex mb-4 ">
154
-          <div class="flex gap-3 ">
155
-
156
-            <tempalte v-if="props.day in [7, 14, 21, 30]">
157
-            <SignInGiftBag
158
-                v-if="props.day == 7"
159
-                :day="7"
160
-                :text="'已签'"
161
-            />
162
-            <SignInGiftBag
163
-                v-else-if="props.day == 14"
164
-                :day="props.day"
165
-                :text="'已签'"
166
-            />
167
-            <SignInGiftBag
168
-                v-else-if="props.day == 21"
169
-                :day="props.day"
170
-                :text="'已签'"
171
-            />
172
-            <SignInGiftBag
173
-                v-else-if="props.day == 30"
174
-                :day="props.day"
175
-                :text="'已签'"
176
-            />
177
-            </tempalte>
178
-            <SignInGiftBag
179
-                v-for="item in [7, 14, 21, 30].filter((val) => val != props.day)"
180
-                :key="item"
181
-                :day="item"
182
-            />
129
+    <div class="flex flex-col justify-center items-center h-full w-full gap-3">
130
+      <div class="signBg flex flex-col justify-around items-center pt-20">
131
+        <div class="flex flex-col gap-3 w-75 h-75 pt-3">
132
+          <div class="flex gap-2 justify-center items-center  p-2" v-if="props.day <=6 ">
133
+            <template v-if="props.day > 0">
134
+
135
+              <SignRedPacket
136
+                  v-for="item in props.day"
137
+                  :key="item"
138
+                  :day="item"
139
+                  :text="'已签'"
140
+              />
141
+
142
+            </template>
143
+            <template v-if="(6 - props.day) > 0">
144
+
145
+              <SignRedPacket
146
+                  v-for="item in (6 - props.day)"
147
+                  :key="item"
148
+                  :day="item + props.day"
149
+              />
150
+            </template>
183 151
           </div>
184
-        </div>
152
+          <div class=" flex mb-4 flex-col">
153
+              <tempalte v-if="props.day in [7, 14, 21, 30]">
154
+                <SignInGiftBag
155
+                    v-if="props.day == 7"
156
+                    :day="7"
157
+                    :text="'已签'"
158
+                />
159
+                <SignInGiftBag
160
+                    v-else-if="props.day == 14"
161
+                    :day="props.day"
162
+                    :text="'已签'"
163
+                />
164
+                <SignInGiftBag
165
+                    v-else-if="props.day == 21"
166
+                    :day="props.day"
167
+                    :text="'已签'"
168
+                />
169
+                <SignInGiftBag
170
+                    v-else-if="props.day == 30"
171
+                    :day="props.day"
172
+                    :text="'已签'"
173
+                />
174
+              </tempalte>
175
+              <div class="flex-1 flex  items-center gap-3 justify-center">
176
+                <SignInGiftBag
177
+                    v-for="item in [7, 14, 21, 30].filter((val) => val != props.day)"
178
+                    :key="item"
179
+                    :day="item"
180
+                />
181
+              </div>
185 182
 
186
-        <div
187
-            v-if="props.today == 0"
188
-            @click.stop="confirmHandler"
189
-            class="relative h-13 flex justify-center items-center">
190
-          <image :src="signInBtnImage" mode="widthFix"
191
-                 class="absolute w-45 h-30"></image>
192
-          <div class="relative flex w-full text-white top--1.5">
193
-            <div>立即签到</div>
194
-            <div class="text-[#ffe980]">{{ signInFor }}</div>
195 183
           </div>
196
-        </div>
197
-        <div v-else
198
-             class="relative h-10 flex justify-center items-center rounded-full bg-gray-400">
199
-          <div class=" flex w-full text-white px-3">
200
-            明日再来签到吧
184
+
185
+          <div
186
+              v-if="props.today == 0"
187
+              @click.stop="confirmHandler"
188
+              class=" flex justify-center items-center w-full">
189
+<!--            <image :src="signInBtnImage" mode="widthFix"-->
190
+<!--                   class="absolute w-45 h-30"></image>-->
191
+            <div class="signButtonBg flex justify-center text-center text-white ">
192
+              <div class="mt--2 flex items-center text-center">
193
+                <div>立即签到</div>
194
+                <div class="text-[#ffe980]">{{ signInFor }}</div>
195
+              </div>
196
+
197
+            </div>
201 198
           </div>
199
+          <div v-else
200
+               class=" h-10 w-full flex items-center justify-center">
201
+            <div class="rounded-full bg-gray-400 w-fit  text-white py-2 px-4  text-center">
202
+                明日再来签到吧
203
+            </div>
202 204
 
205
+
206
+          </div>
203 207
         </div>
208
+
209
+      </div>
210
+      <div
211
+          @click.stop="closeHandler"
212
+          class=" bottom-30 flex justify-center items-center"
213
+      >
214
+        <image :src="signInCloseImage" class="h-8 w-8"></image>
204 215
       </div>
205 216
     </div>
206
-    <div
207
-        @click.stop="closeHandler"
208
-        class="relative bottom-30 flex justify-center items-center"
209
-    >
210
-      <image :src="signInCloseImage" class="h-8 w-8"></image>
211
-    </div>
217
+<!--    <div class="bg  flex flex-col justify-center items-center h-full w-full relative ">-->
218
+<!--      <image :src="bgImage" mode="widthFix"-->
219
+<!--             class="absolute "-->
220
+<!--      ></image>-->
221
+
222
+<!--    </div>-->
223
+
212 224
   </FOverlay>
213
-  <CXBDialogSIgnInSucceed :show="signInSuccess" @close="handleSignInSucceedClose"/>
225
+  <CXBDialogSIgnInSucceed
226
+      :score="signInScore + ''"
227
+      :show="signInSuccess"
228
+      @close="handleSignInSucceedClose"
229
+  />
214 230
 
215 231
 </template>
216 232
 
@@ -221,4 +237,9 @@ function handleSignInSucceedClose() {
221 237
   background-image: url('https://cdn.bjtdba.com/chuxubao/static/assets/sign_in_button.png');
222 238
   background-size: 100% 100%;
223 239
 }
240
+.signBg {
241
+  width: 638rpx;
242
+  background-image: url('https://cdn.bjtdba.com/chuxubao/static/assets/sign_in_bg.png');
243
+  background-size: 100% 100%;
244
+}
224 245
 </style>

+ 1 - 1
src/components/CXBDialogSignIn/SignInGiftBag.vue

@@ -48,7 +48,7 @@ const cIntegral = computed(() => {
48 48
 })
49 49
 </script>
50 50
 <template>
51
-  <div class="flex">
51
+  <div class="flex ">
52 52
     <div class="flex flex-col items-center">
53 53
       <div class=" flex flex-col  items-center text-primary text-xs">
54 54
         <div class="!bg-white p-2 relative rounded-t">

+ 0 - 626
src/pages/my-reply/test.json

@@ -1,626 +0,0 @@
1
-{
2
-  "status": 200,
3
-  "message": "success",
4
-  "data": [
5
-    {
6
-      "product_id": "10995",
7
-      "mer_id": "321",
8
-      "image": "https:\/\/img13.360buyimg.com\/n12\/jfs\/t1\/92942\/7\/38275\/94380\/64795fffF30424bfb\/5ff47690551d593a.jpg",
9
-      "slider_image": "https:\/\/img13.360buyimg.com\/n12\/jfs\/t1\/92942\/7\/38275\/94380\/64795fffF30424bfb\/5ff47690551d593a.jpg",
10
-      "store_name": "I&W CARNIVAL HWGUOJI瑞士品牌名表女士手表全自动机械表商务防水时尚女表钢带进口机芯",
11
-      "store_info": "1",
12
-      "keyword": "I&W",
13
-      "bar_code": "",
14
-      "brand_id": null,
15
-      "is_show": "1",
16
-      "status": "1",
17
-      "is_del": "0",
18
-      "cate_id": "0",
19
-      "unit_name": "个",
20
-      "sort": "0",
21
-      "rank": "0",
22
-      "sales": "1",
23
-      "price": "1072.06",
24
-      "cost": "974.60",
25
-      "ot_price": "1198.00",
26
-      "stock": "999",
27
-      "is_hot": "0",
28
-      "is_benefit": "0",
29
-      "is_best": "0",
30
-      "is_new": "0",
31
-      "is_good": "0",
32
-      "product_type": "0",
33
-      "ficti": "100",
34
-      "browse": "0",
35
-      "code_path": "",
36
-      "video_link": "",
37
-      "temp_id": "105",
38
-      "spec_type": "1",
39
-      "extension_type": "1",
40
-      "refusal": null,
41
-      "rate": "5",
42
-      "reply_count": "0",
43
-      "mer_status": "1",
44
-      "give_coupon_ids": null,
45
-      "is_gift_bag": "0",
46
-      "create_time": "2023-09-15 01:20:14",
47
-      "care_count": null,
48
-      "is_used": "1",
49
-      "old_product_id": "5176",
50
-      "volunteer": "0",
51
-      "type": "5",
52
-      "pension": "0.00",
53
-      "commission": "5",
54
-      "dc_id": "0",
55
-      "dc_price": null,
56
-      "seckill": "0",
57
-      "is_hide": "0",
58
-      "spu_id": "100017595909",
59
-      "cost_price": null,
60
-      "gong_sku_id": null,
61
-      "plate_mer_profit": "48.73",
62
-      "yanglaojin_scale": "0.02",
63
-      "flag": "1",
64
-      "yanglao": "24.36",
65
-      "da_cang_price": "0.00"
66
-    },
67
-    {
68
-      "product_id": "10994",
69
-      "mer_id": "321",
70
-      "image": "https:\/\/oss-hxq-prod.szbaoly.com\/bjsc\/goods\/3700ae327b1a4dd1a638791d62d0113d.jpg",
71
-      "slider_image": "https:\/\/oss-hxq-prod.szbaoly.com\/bjsc\/goods\/3700ae327b1a4dd1a638791d62d0113d.jpg",
72
-      "store_name": "瑞士宾爵手表钟表白面黑带真皮防水气质配饰女表B1220L",
73
-      "store_info": "1",
74
-      "keyword": "瑞士宾",
75
-      "bar_code": "",
76
-      "brand_id": null,
77
-      "is_show": "1",
78
-      "status": "1",
79
-      "is_del": "0",
80
-      "cate_id": "0",
81
-      "unit_name": "个",
82
-      "sort": "0",
83
-      "rank": "0",
84
-      "sales": "0",
85
-      "price": "236.91",
86
-      "cost": "215.38",
87
-      "ot_price": "1299.00",
88
-      "stock": "1000",
89
-      "is_hot": "0",
90
-      "is_benefit": "0",
91
-      "is_best": "0",
92
-      "is_new": "0",
93
-      "is_good": "0",
94
-      "product_type": "0",
95
-      "ficti": "100",
96
-      "browse": "0",
97
-      "code_path": "",
98
-      "video_link": "",
99
-      "temp_id": "105",
100
-      "spec_type": "0",
101
-      "extension_type": "1",
102
-      "refusal": null,
103
-      "rate": "5",
104
-      "reply_count": "0",
105
-      "mer_status": "1",
106
-      "give_coupon_ids": null,
107
-      "is_gift_bag": "0",
108
-      "create_time": "2023-09-15 01:20:14",
109
-      "care_count": null,
110
-      "is_used": "1",
111
-      "old_product_id": "5175",
112
-      "volunteer": "0",
113
-      "type": "5",
114
-      "pension": "0.00",
115
-      "commission": "5",
116
-      "dc_id": "0",
117
-      "dc_price": null,
118
-      "seckill": "0",
119
-      "is_hide": "0",
120
-      "spu_id": "4-V1490NK4",
121
-      "cost_price": null,
122
-      "gong_sku_id": null,
123
-      "plate_mer_profit": "10.76",
124
-      "yanglaojin_scale": "0.02",
125
-      "flag": "1",
126
-      "yanglao": "5.38",
127
-      "da_cang_price": "0.00"
128
-    },
129
-    {
130
-      "product_id": "10993",
131
-      "mer_id": "321",
132
-      "image": "https:\/\/img.funengscm.com\/19aaa6d49b229fe82e4bc45c6b20140f",
133
-      "slider_image": "https:\/\/img.funengscm.com\/19aaa6d49b229fe82e4bc45c6b20140f",
134
-      "store_name": "阿玛尼银色满天星镶钻女表AR1925",
135
-      "store_info": "1",
136
-      "keyword": "阿玛尼",
137
-      "bar_code": "",
138
-      "brand_id": null,
139
-      "is_show": "1",
140
-      "status": "1",
141
-      "is_del": "0",
142
-      "cate_id": "0",
143
-      "unit_name": "个",
144
-      "sort": "0",
145
-      "rank": "0",
146
-      "sales": "0",
147
-      "price": "785.29",
148
-      "cost": "713.90",
149
-      "ot_price": "3250.00",
150
-      "stock": "1000",
151
-      "is_hot": "0",
152
-      "is_benefit": "0",
153
-      "is_best": "0",
154
-      "is_new": "0",
155
-      "is_good": "0",
156
-      "product_type": "0",
157
-      "ficti": "100",
158
-      "browse": "0",
159
-      "code_path": "",
160
-      "video_link": "",
161
-      "temp_id": "105",
162
-      "spec_type": "0",
163
-      "extension_type": "1",
164
-      "refusal": null,
165
-      "rate": "5",
166
-      "reply_count": "0",
167
-      "mer_status": "1",
168
-      "give_coupon_ids": null,
169
-      "is_gift_bag": "0",
170
-      "create_time": "2023-09-15 01:20:14",
171
-      "care_count": null,
172
-      "is_used": "1",
173
-      "old_product_id": "5174",
174
-      "volunteer": "0",
175
-      "type": "5",
176
-      "pension": "0.00",
177
-      "commission": "5",
178
-      "dc_id": "0",
179
-      "dc_price": null,
180
-      "seckill": "0",
181
-      "is_hide": "0",
182
-      "spu_id": "10-8J6KLUET",
183
-      "cost_price": null,
184
-      "gong_sku_id": null,
185
-      "plate_mer_profit": "35.69",
186
-      "yanglaojin_scale": "0.02",
187
-      "flag": "1",
188
-      "yanglao": "17.84",
189
-      "da_cang_price": "0.00"
190
-    },
191
-    {
192
-      "product_id": "10991",
193
-      "mer_id": "321",
194
-      "image": "https:\/\/img.funengscm.com\/4e06045193c1b52ac98f412c5fb76d8f",
195
-      "slider_image": "https:\/\/img.funengscm.com\/4e06045193c1b52ac98f412c5fb76d8f",
196
-      "store_name": "【拍一发二】食品保鲜袋加厚点断式保鲜袋",
197
-      "store_info": "1",
198
-      "keyword": "【拍一",
199
-      "bar_code": "",
200
-      "brand_id": null,
201
-      "is_show": "1",
202
-      "status": "1",
203
-      "is_del": "0",
204
-      "cate_id": "567",
205
-      "unit_name": "个",
206
-      "sort": "0",
207
-      "rank": "0",
208
-      "sales": "0",
209
-      "price": "9.31",
210
-      "cost": "8.47",
211
-      "ot_price": "19.00",
212
-      "stock": "1000",
213
-      "is_hot": "0",
214
-      "is_benefit": "0",
215
-      "is_best": "0",
216
-      "is_new": "0",
217
-      "is_good": "0",
218
-      "product_type": "0",
219
-      "ficti": "100",
220
-      "browse": "0",
221
-      "code_path": "",
222
-      "video_link": "",
223
-      "temp_id": "105",
224
-      "spec_type": "1",
225
-      "extension_type": "1",
226
-      "refusal": null,
227
-      "rate": "5",
228
-      "reply_count": "0",
229
-      "mer_status": "1",
230
-      "give_coupon_ids": null,
231
-      "is_gift_bag": "0",
232
-      "create_time": "2023-09-15 01:20:14",
233
-      "care_count": null,
234
-      "is_used": "1",
235
-      "old_product_id": "693",
236
-      "volunteer": "0",
237
-      "type": "5",
238
-      "pension": "0.00",
239
-      "commission": "5",
240
-      "dc_id": "0",
241
-      "dc_price": null,
242
-      "seckill": "0",
243
-      "is_hide": "0",
244
-      "spu_id": "10-BPNIGF2D",
245
-      "cost_price": null,
246
-      "gong_sku_id": null,
247
-      "plate_mer_profit": "0.42",
248
-      "yanglaojin_scale": "0.02",
249
-      "flag": "1",
250
-      "yanglao": "0.21",
251
-      "da_cang_price": "0.00"
252
-    },
253
-    {
254
-      "product_id": "10892",
255
-      "mer_id": "321",
256
-      "image": "https:\/\/cbu01.alicdn.com\/img\/ibank\/2019\/987\/163\/11040361789_1908962462.jpg",
257
-      "slider_image": "https:\/\/cbu01.alicdn.com\/img\/ibank\/2019\/987\/163\/11040361789_1908962462.jpg",
258
-      "store_name": "劲波王2800吹风筒机发廊专业大功率家用电吹风机",
259
-      "store_info": "1",
260
-      "keyword": "劲波王",
261
-      "bar_code": "",
262
-      "brand_id": null,
263
-      "is_show": "1",
264
-      "status": "1",
265
-      "is_del": "0",
266
-      "cate_id": "0",
267
-      "unit_name": "个",
268
-      "sort": "0",
269
-      "rank": "0",
270
-      "sales": "0",
271
-      "price": "43.56",
272
-      "cost": "39.60",
273
-      "ot_price": "56.88",
274
-      "stock": "1000",
275
-      "is_hot": "0",
276
-      "is_benefit": "0",
277
-      "is_best": "0",
278
-      "is_new": "0",
279
-      "is_good": "0",
280
-      "product_type": "0",
281
-      "ficti": "100",
282
-      "browse": "0",
283
-      "code_path": "",
284
-      "video_link": "",
285
-      "temp_id": "105",
286
-      "spec_type": "0",
287
-      "extension_type": "1",
288
-      "refusal": null,
289
-      "rate": "5",
290
-      "reply_count": "0",
291
-      "mer_status": "1",
292
-      "give_coupon_ids": null,
293
-      "is_gift_bag": "0",
294
-      "create_time": "2023-09-15 01:20:09",
295
-      "care_count": null,
296
-      "is_used": "1",
297
-      "old_product_id": "5074",
298
-      "volunteer": "0",
299
-      "type": "5",
300
-      "pension": "0.00",
301
-      "commission": "5",
302
-      "dc_id": "0",
303
-      "dc_price": null,
304
-      "seckill": "0",
305
-      "is_hide": "0",
306
-      "spu_id": "12-674-EVDELH9F",
307
-      "cost_price": null,
308
-      "gong_sku_id": null,
309
-      "plate_mer_profit": "1.98",
310
-      "yanglaojin_scale": "0.02",
311
-      "flag": "1",
312
-      "yanglao": "0.99",
313
-      "da_cang_price": "0.00"
314
-    },
315
-    {
316
-      "product_id": "10879",
317
-      "mer_id": "321",
318
-      "image": "https:\/\/img.funengscm.com\/e2407730e64351a6aa181279aed688f4",
319
-      "slider_image": "https:\/\/img.funengscm.com\/e2407730e64351a6aa181279aed688f4",
320
-      "store_name": "HX-361893浣馨内衣洗衣液300ml-2瓶装",
321
-      "store_info": "1",
322
-      "keyword": "HX-",
323
-      "bar_code": "",
324
-      "brand_id": null,
325
-      "is_show": "1",
326
-      "status": "1",
327
-      "is_del": "0",
328
-      "cate_id": "0",
329
-      "unit_name": "个",
330
-      "sort": "0",
331
-      "rank": "0",
332
-      "sales": "0",
333
-      "price": "8.38",
334
-      "cost": "7.62",
335
-      "ot_price": "19.90",
336
-      "stock": "1000",
337
-      "is_hot": "0",
338
-      "is_benefit": "0",
339
-      "is_best": "0",
340
-      "is_new": "0",
341
-      "is_good": "0",
342
-      "product_type": "0",
343
-      "ficti": "100",
344
-      "browse": "0",
345
-      "code_path": "",
346
-      "video_link": "",
347
-      "temp_id": "105",
348
-      "spec_type": "0",
349
-      "extension_type": "1",
350
-      "refusal": null,
351
-      "rate": "5",
352
-      "reply_count": "0",
353
-      "mer_status": "1",
354
-      "give_coupon_ids": null,
355
-      "is_gift_bag": "0",
356
-      "create_time": "2023-09-15 01:20:08",
357
-      "care_count": null,
358
-      "is_used": "1",
359
-      "old_product_id": "5061",
360
-      "volunteer": "0",
361
-      "type": "5",
362
-      "pension": "0.00",
363
-      "commission": "5",
364
-      "dc_id": "0",
365
-      "dc_price": null,
366
-      "seckill": "0",
367
-      "is_hide": "0",
368
-      "spu_id": "F349804944036986880",
369
-      "cost_price": null,
370
-      "gong_sku_id": null,
371
-      "plate_mer_profit": "0.38",
372
-      "yanglaojin_scale": "0.02",
373
-      "flag": "1",
374
-      "yanglao": "0.19",
375
-      "da_cang_price": "0.00"
376
-    },
377
-    {
378
-      "product_id": "10878",
379
-      "mer_id": "321",
380
-      "image": "https:\/\/img.funengscm.com\/edbb0d0a1a4fd0cba83845297abbaaef",
381
-      "slider_image": "https:\/\/img.funengscm.com\/edbb0d0a1a4fd0cba83845297abbaaef",
382
-      "store_name": "LP-364146蓝漂内衣洗衣乳500ml-1瓶",
383
-      "store_info": "1",
384
-      "keyword": "LP-",
385
-      "bar_code": "",
386
-      "brand_id": null,
387
-      "is_show": "1",
388
-      "status": "1",
389
-      "is_del": "0",
390
-      "cate_id": "0",
391
-      "unit_name": "个",
392
-      "sort": "0",
393
-      "rank": "0",
394
-      "sales": "0",
395
-      "price": "7.98",
396
-      "cost": "7.26",
397
-      "ot_price": "9.90",
398
-      "stock": "1000",
399
-      "is_hot": "0",
400
-      "is_benefit": "0",
401
-      "is_best": "0",
402
-      "is_new": "0",
403
-      "is_good": "0",
404
-      "product_type": "0",
405
-      "ficti": "100",
406
-      "browse": "0",
407
-      "code_path": "",
408
-      "video_link": "",
409
-      "temp_id": "105",
410
-      "spec_type": "0",
411
-      "extension_type": "1",
412
-      "refusal": null,
413
-      "rate": "5",
414
-      "reply_count": "0",
415
-      "mer_status": "1",
416
-      "give_coupon_ids": null,
417
-      "is_gift_bag": "0",
418
-      "create_time": "2023-09-15 01:20:08",
419
-      "care_count": null,
420
-      "is_used": "1",
421
-      "old_product_id": "5060",
422
-      "volunteer": "0",
423
-      "type": "5",
424
-      "pension": "0.00",
425
-      "commission": "5",
426
-      "dc_id": "0",
427
-      "dc_price": null,
428
-      "seckill": "0",
429
-      "is_hide": "0",
430
-      "spu_id": "F349804302664990720",
431
-      "cost_price": null,
432
-      "gong_sku_id": null,
433
-      "plate_mer_profit": "0.36",
434
-      "yanglaojin_scale": "0.02",
435
-      "flag": "1",
436
-      "yanglao": "0.18",
437
-      "da_cang_price": "0.00"
438
-    },
439
-    {
440
-      "product_id": "10877",
441
-      "mer_id": "321",
442
-      "image": "https:\/\/img.funengscm.com\/7cfe21040d52b4a8d996deaa05d03985",
443
-      "slider_image": "https:\/\/img.funengscm.com\/7cfe21040d52b4a8d996deaa05d03985",
444
-      "store_name": "361107蓝漂全效洗衣液500G-3袋",
445
-      "store_info": "1",
446
-      "keyword": "361",
447
-      "bar_code": "",
448
-      "brand_id": null,
449
-      "is_show": "1",
450
-      "status": "1",
451
-      "is_del": "0",
452
-      "cate_id": "567",
453
-      "unit_name": "个",
454
-      "sort": "0",
455
-      "rank": "0",
456
-      "sales": "1",
457
-      "price": "9.04",
458
-      "cost": "8.22",
459
-      "ot_price": "9.90",
460
-      "stock": "999",
461
-      "is_hot": "0",
462
-      "is_benefit": "0",
463
-      "is_best": "0",
464
-      "is_new": "0",
465
-      "is_good": "0",
466
-      "product_type": "0",
467
-      "ficti": "100",
468
-      "browse": "0",
469
-      "code_path": "",
470
-      "video_link": "",
471
-      "temp_id": "105",
472
-      "spec_type": "0",
473
-      "extension_type": "1",
474
-      "refusal": null,
475
-      "rate": "5",
476
-      "reply_count": "0",
477
-      "mer_status": "1",
478
-      "give_coupon_ids": null,
479
-      "is_gift_bag": "0",
480
-      "create_time": "2023-09-15 01:20:08",
481
-      "care_count": null,
482
-      "is_used": "1",
483
-      "old_product_id": "714",
484
-      "volunteer": "0",
485
-      "type": "5",
486
-      "pension": "0.00",
487
-      "commission": "5",
488
-      "dc_id": "0",
489
-      "dc_price": null,
490
-      "seckill": "0",
491
-      "is_hide": "0",
492
-      "spu_id": "F349800779290247168",
493
-      "cost_price": null,
494
-      "gong_sku_id": null,
495
-      "plate_mer_profit": "0.41",
496
-      "yanglaojin_scale": "0.02",
497
-      "flag": "1",
498
-      "yanglao": "0.20",
499
-      "da_cang_price": "0.00"
500
-    },
501
-    {
502
-      "product_id": "10876",
503
-      "mer_id": "321",
504
-      "image": "https:\/\/img.funengscm.com\/736d5f2fa33bed2fd8f9274fcd0a1843",
505
-      "slider_image": "https:\/\/img.funengscm.com\/736d5f2fa33bed2fd8f9274fcd0a1843",
506
-      "store_name": "LP-362036蓝漂内衣皂2个",
507
-      "store_info": "1",
508
-      "keyword": "LP-",
509
-      "bar_code": "",
510
-      "brand_id": null,
511
-      "is_show": "1",
512
-      "status": "1",
513
-      "is_del": "0",
514
-      "cate_id": "567",
515
-      "unit_name": "个",
516
-      "sort": "0",
517
-      "rank": "0",
518
-      "sales": "1",
519
-      "price": "6.46",
520
-      "cost": "5.88",
521
-      "ot_price": "9.90",
522
-      "stock": "999",
523
-      "is_hot": "0",
524
-      "is_benefit": "0",
525
-      "is_best": "0",
526
-      "is_new": "0",
527
-      "is_good": "0",
528
-      "product_type": "0",
529
-      "ficti": "100",
530
-      "browse": "0",
531
-      "code_path": "",
532
-      "video_link": "",
533
-      "temp_id": "105",
534
-      "spec_type": "0",
535
-      "extension_type": "1",
536
-      "refusal": null,
537
-      "rate": "5",
538
-      "reply_count": "0",
539
-      "mer_status": "1",
540
-      "give_coupon_ids": null,
541
-      "is_gift_bag": "0",
542
-      "create_time": "2023-09-15 01:20:08",
543
-      "care_count": null,
544
-      "is_used": "1",
545
-      "old_product_id": "705",
546
-      "volunteer": "0",
547
-      "type": "5",
548
-      "pension": "0.00",
549
-      "commission": "5",
550
-      "dc_id": "0",
551
-      "dc_price": null,
552
-      "seckill": "0",
553
-      "is_hide": "0",
554
-      "spu_id": "F349779474465685504",
555
-      "cost_price": null,
556
-      "gong_sku_id": null,
557
-      "plate_mer_profit": "0.29",
558
-      "yanglaojin_scale": "0.02",
559
-      "flag": "1",
560
-      "yanglao": "0.14",
561
-      "da_cang_price": "0.00"
562
-    },
563
-    {
564
-      "product_id": "10875",
565
-      "mer_id": "321",
566
-      "image": "https:\/\/img.yunzhonghe.com\/image\/1593677161572OSovUMPspP.jpg",
567
-      "slider_image": "https:\/\/img.yunzhonghe.com\/image\/1593677161572OSovUMPspP.jpg",
568
-      "store_name": "和正颈椎按摩枕(普通款无震动)HZ-JAZ-2 图片色 图片色",
569
-      "store_info": "1",
570
-      "keyword": "和正颈",
571
-      "bar_code": "",
572
-      "brand_id": null,
573
-      "is_show": "1",
574
-      "status": "1",
575
-      "is_del": "0",
576
-      "cate_id": "0",
577
-      "unit_name": "个",
578
-      "sort": "0",
579
-      "rank": "0",
580
-      "sales": "0",
581
-      "price": "52.70",
582
-      "cost": "47.91",
583
-      "ot_price": "149.00",
584
-      "stock": "1000",
585
-      "is_hot": "0",
586
-      "is_benefit": "0",
587
-      "is_best": "0",
588
-      "is_new": "0",
589
-      "is_good": "0",
590
-      "product_type": "0",
591
-      "ficti": "100",
592
-      "browse": "0",
593
-      "code_path": "",
594
-      "video_link": "",
595
-      "temp_id": "105",
596
-      "spec_type": "0",
597
-      "extension_type": "1",
598
-      "refusal": null,
599
-      "rate": "5",
600
-      "reply_count": "0",
601
-      "mer_status": "1",
602
-      "give_coupon_ids": null,
603
-      "is_gift_bag": "0",
604
-      "create_time": "2023-09-15 01:20:08",
605
-      "care_count": null,
606
-      "is_used": "1",
607
-      "old_product_id": "5059",
608
-      "volunteer": "0",
609
-      "type": "5",
610
-      "pension": "0.00",
611
-      "commission": "5",
612
-      "dc_id": "0",
613
-      "dc_price": null,
614
-      "seckill": "0",
615
-      "is_hide": "0",
616
-      "spu_id": "YZH1125899906849260",
617
-      "cost_price": null,
618
-      "gong_sku_id": null,
619
-      "plate_mer_profit": "2.39",
620
-      "yanglaojin_scale": "0.02",
621
-      "flag": "1",
622
-      "yanglao": "1.19",
623
-      "da_cang_price": "0.00"
624
-    }
625
-  ]
626
-}

+ 0 - 148
src/pages/order/test.json

@@ -1,148 +0,0 @@
1
-{
2
-  "data": {
3
-    "thirdPartyWaresList": [
4
-      {
5
-        "thumb": "https://img.alicdn.com/imgextra/i4/2214949670367/O1CN01bb9Lai1Ea89vEl5O9_!!2214949670367.jpg",
6
-        "price": 29.9,
7
-        "coupon_share_url": "https://uland.taobao.com/quan/detail?sellerId=10239350485908651&activityId=f88383df63cf460b9955b669da1474c1",
8
-        "name": "【10瓶礼盒装】轻上椰汁椰泰集团椰子汁椰奶椰乳生椰植物蛋白饮料",
9
-        "coupon_money": 30,
10
-        "market_price": 59.9,
11
-        "commission": "3.74",
12
-        "commission_rate": 25.01,
13
-        "id": "egX63bsDtqgabxs84VCzt0-nJAVXpdHxAaDAM9nCB",
14
-        "type": 5,
15
-        "commission_type": 3,
16
-        "sales": 61
17
-      },
18
-      {
19
-        "thumb": "https://img.alicdn.com/imgextra/i2/4032980305/O1CN01Xy0vAd1E7jYf2qFuJ_!!4032980305.png",
20
-        "price": 55,
21
-        "coupon_share_url": "https://uland.taobao.com/quan/detail?sellerId=261209468136787584&activityId=f354d32ff85f4a96ac988683b6ceead8",
22
-        "name": "舒比奇维E敏感肌拉拉裤XL尿不湿L-3XL大码婴儿纸尿裤超薄透气夏季",
23
-        "coupon_money": 29,
24
-        "market_price": 84,
25
-        "commission": "5.50",
26
-        "commission_rate": 20,
27
-        "id": "0orG64I7tz4MgMi0VWS2t6-eQGMq6ACGGmdZXq6Uj",
28
-        "type": 5,
29
-        "commission_type": 3,
30
-        "sales": 96
31
-      },
32
-      {
33
-        "thumb": "https://img.alicdn.com/imgextra/i1/2256668114/O1CN01Sj3Ujm29oGSPN2nRE_!!2256668114.jpg",
34
-        "price": 59.9,
35
-        "coupon_share_url": "https://uland.taobao.com/quan/detail?sellerId=1986899349&activityId=d34051f5ba4d45e09a042df69e898278",
36
-        "name": "【顺丰包邮】杜蕾斯避孕安全套男用超薄女螺纹情趣官方旗舰店正品",
37
-        "coupon_money": 20,
38
-        "market_price": 79.9,
39
-        "commission": "5.09",
40
-        "commission_rate": 17,
41
-        "id": "gx0Xagh3tYrD0Msowpiatr-9za58Xohq46x8mpfrX",
42
-        "type": 5,
43
-        "commission_type": 3,
44
-        "sales": 345
45
-      },
46
-      {
47
-        "thumb": "https://img.alicdn.com/i3/2215128201652/O1CN01bPbo0I1O4f6QkO66Y_!!2215128201652.png",
48
-        "price": 9.9,
49
-        "coupon_share_url": "https://uland.taobao.com/quan/detail?sellerId=4765056360938372755&activityId=44d8968be5ba43798a9c45e4baf7f58e",
50
-        "name": "幸棉安睡裤臻柔卫生巾安心裤女经期用防漏姨妈裤亲肤夜安裤产后用",
51
-        "coupon_money": 10,
52
-        "market_price": 19.9,
53
-        "commission": "1.49",
54
-        "commission_rate": 30.01,
55
-        "id": "GB7kQef8tGzeO9iYxgTQtJ-YJGeOZNHB6Qd5Kxzhb",
56
-        "type": 5,
57
-        "commission_type": 3,
58
-        "sales": 359
59
-      },
60
-      {
61
-        "thumb": "https://gw.alicdn.com/bao/uploaded/i2/880734502/O1CN01wRV5mu1j7xuGomAM1_!!880734502.png",
62
-        "price": 14.9,
63
-        "coupon_share_url": "https://uland.taobao.com/quan/detail?sellerId=4827930842443574424&activityId=f3ad10dfc39246eeb147e82d63b40b28",
64
-        "name": "【三只松鼠_纯奶手撕面包480g】吐司包早餐蛋糕健康零食代餐整箱",
65
-        "coupon_money": 2,
66
-        "market_price": 16.9,
67
-        "commission": "0.82",
68
-        "commission_rate": 11.05,
69
-        "id": "pb0ZAPtxt4J9vmueAjHptm-pBx2XAdIRgJOR5gBuq8",
70
-        "type": 5,
71
-        "commission_type": 3,
72
-        "sales": 38
73
-      },
74
-      {
75
-        "thumb": "https://img.alicdn.com/i2/1998320687/O1CN01HcGJAc1Gwgxdowm6y_!!1998320687.png",
76
-        "price": 19,
77
-        "coupon_share_url": "https://uland.taobao.com/quan/detail?sellerId=1998320687&activityId=d98c94119e034af792a8500ba4b41757",
78
-        "name": "泰国正品皇家秘方止痒膏全身体皮肤适用大人婴儿天然草本防叮驱蚊",
79
-        "coupon_money": 80,
80
-        "market_price": 99,
81
-        "commission": "3.80",
82
-        "commission_rate": 40,
83
-        "id": "DAJMkXiDtzDwrPfQpAhjtn-6RmxkGoIyJqjMGM6Cz",
84
-        "type": 5,
85
-        "commission_type": 3,
86
-        "sales": 0
87
-      },
88
-      {
89
-        "thumb": "https://img.alicdn.com/imgextra/i2/1715621442/O1CN01B8U3Pj1MWTw3u9g0S_!!1715621442.jpg",
90
-        "price": 9.9,
91
-        "coupon_share_url": "https://uland.taobao.com/quan/detail?sellerId=4756012865041860746&activityId=ff8c18028ee246e7a6d5c6a78e40ff55",
92
-        "name": "【超值12片试用】全棉时代奈丝公主日用卫生巾纯棉姨妈巾10+2片",
93
-        "coupon_money": 10,
94
-        "market_price": 19.9,
95
-        "commission": "0.50",
96
-        "commission_rate": 10,
97
-        "id": "n5bG3mSMtgVNxKFkQet0tP-mPkBXe3U75bj7z2kcBg",
98
-        "type": 5,
99
-        "commission_type": 3,
100
-        "sales": 56
101
-      },
102
-      {
103
-        "thumb": "https://img.alicdn.com/imgextra/i3/1015383959/O1CN01WzrUEq1f7GrAUkvLr_!!1015383959.png",
104
-        "price": 29.9,
105
-        "coupon_share_url": "https://uland.taobao.com/quan/detail?sellerId=225181641373589649&activityId=73683b83fcd0404b916271af8446ed82",
106
-        "name": "【狂暑购不停】福派电动牙刷成人充电自动声波软毛情侣款套装男女",
107
-        "coupon_money": 56,
108
-        "market_price": 85.9,
109
-        "commission": "2.99",
110
-        "commission_rate": 20,
111
-        "id": "jOb5A4t0t698o5CBezfJte-26VpOQjCOndP5zoDs3n",
112
-        "type": 5,
113
-        "commission_type": 3,
114
-        "sales": 155
115
-      },
116
-      {
117
-        "thumb": "https://img.alicdn.com/imgextra/i2/2212514663/O1CN019p84kk1kJhgYKBUjJ_!!2212514663.png",
118
-        "price": 4.9,
119
-        "coupon_share_url": "https://uland.taobao.com/quan/detail?sellerId=725677994&activityId=b32cce093396421facde31ee495e8861",
120
-        "name": "喵满分原木浆茶香纯品抽纸3包/提",
121
-        "coupon_money": 2,
122
-        "market_price": 6.9,
123
-        "commission": "0.21",
124
-        "commission_rate": 8.5,
125
-        "id": "zRomg2FetpJN5nfv8aUdt4-RgG3Qn8cVK8vp2Q9fYK",
126
-        "type": 5,
127
-        "commission_type": 3,
128
-        "sales": 119
129
-      },
130
-      {
131
-        "thumb": "https://img.alicdn.com/i3/705235443/O1CN01qX8n971q4wcAlmvBh_!!705235443.jpg",
132
-        "price": 35.6,
133
-        "coupon_share_url": "https://uland.taobao.com/quan/detail?sellerId=154248287510213289&activityId=6c4c5a8c6b3f49099370eec50063b894",
134
-        "name": "老金磨方无糖黑芝麻丸老金磨坊正品官方旗舰店代餐早餐五黑芝麻球",
135
-        "coupon_money": 120,
136
-        "market_price": 155.6,
137
-        "commission": "3.56",
138
-        "commission_rate": 20,
139
-        "id": "PDJm7ds3tOwrgZtv9wFPt6-nJAVXpdHQ4KPGNkDCP",
140
-        "type": 5,
141
-        "commission_type": 3,
142
-        "sales": 292
143
-      }
144
-    ]
145
-  },
146
-  "message": "成功",
147
-  "status": 200
148
-}