dxz1228 před 2 roky
rodič
revize
c1d7d02159

Diff nebyl zobrazen, protože je příliš veliký
+ 879 - 1
src/pages.json


+ 1 - 1
src/pages/home/components/navs.vue

@@ -24,7 +24,7 @@ const navList = ref([{
24
   // 测试库
24
   // 测试库
25
   // categoryId: '149'
25
   // categoryId: '149'
26
 },{
26
 },{
27
-  image: CDN_URL + '/static/home-nav/pinduoduo_x.png',
27
+  image: CDM_URL + '/image/2023-11-24/20231124150424710.png',
28
   title: '拼多多',
28
   title: '拼多多',
29
   key: PLATFORM_NAME.PDD
29
   key: PLATFORM_NAME.PDD
30
 }, {
30
 }, {

+ 2 - 2
src/pages/payment/index.vue

@@ -101,8 +101,8 @@ function handleConfirm() {
101
       OrderLists: state.orderList,
101
       OrderLists: state.orderList,
102
       type: 'tdbaspzf'
102
       type: 'tdbaspzf'
103
     },
103
     },
104
-    // envVersion: 'trial', // develop(开发版),trial(体验版),release(正式版)
105
-    envVersion: 'release', // develop(开发版),trial(体验版),release(正式版)
104
+    envVersion: 'trial', // develop(开发版),trial(体验版),release(正式版)
105
+    // envVersion: 'release', // develop(开发版),trial(体验版),release(正式版)
106
     success(res) {
106
     success(res) {
107
       // 打开成功
107
       // 打开成功
108
       uni.showToast({
108
       uni.showToast({

+ 32 - 27
src/pages/user/index.vue

@@ -2,7 +2,7 @@
2
 import { useUserStore } from "~/stores/userStore";
2
 import { useUserStore } from "~/stores/userStore";
3
 import CXBAuthorize from "~/components/CXBAuthorize/CXBAuthorize.vue";
3
 import CXBAuthorize from "~/components/CXBAuthorize/CXBAuthorize.vue";
4
 import { getAgentInfo, getUserInfo } from "~/apis/user";
4
 import { getAgentInfo, getUserInfo } from "~/apis/user";
5
-import { CDN_URL } from "~/config/app";
5
+import { CDN_URL,CDM_URL } from "~/config/app";
6
 import Routine from "~/libs/routine";
6
 import Routine from "~/libs/routine";
7
 import { totalOrderNumber } from "~/apis/order.api";
7
 import { totalOrderNumber } from "~/apis/order.api";
8
 import type { OrderQuantityModel } from "~/apis/model/order.model";
8
 import type { OrderQuantityModel } from "~/apis/model/order.model";
@@ -55,6 +55,10 @@ const contactUsList = [{
55
 //市/区代表弹框标识
55
 //市/区代表弹框标识
56
 const showValue = ref(false)
56
 const showValue = ref(false)
57
 
57
 
58
+//https://cdn.bjtdba.com/vod/image/2023-11-24/20231124154421388.png
59
+
60
+
61
+//https://cdn.bjtdba.com/vod/image/2023-11-24/20231124154612477.png
58
 
62
 
59
 const myServiceList = [{
63
 const myServiceList = [{
60
   icon: CDN_URL + '/static/assets/wodeyaoqing_220620.png',
64
   icon: CDN_URL + '/static/assets/wodeyaoqing_220620.png',
@@ -241,38 +245,39 @@ function handleShowMyAllOrder(tab?: number) {
241
 
245
 
242
 const userType = computed(() => {
246
 const userType = computed(() => {
243
   const userRichType = userStore.userInfo?.user_rich_type
247
   const userRichType = userStore.userInfo?.user_rich_type
248
+ 
244
   // console.log(userStore.userInfo)
249
   // console.log(userStore.userInfo)
245
   // 普通用户
250
   // 普通用户
246
   if (userRichType == 0) {
251
   if (userRichType == 0) {
247
 
252
 
248
-    return ['../../static/img-hy/用户.png']
253
+    return '../../static/img-hy/用户.png'
249
   }
254
   }
250
   // 会员
255
   // 会员
251
   if (userRichType == 1) {
256
   if (userRichType == 1) {
252
 
257
 
253
-    return ['../../static/img-hy/会员.png']
258
+    return '../../static/img-hy/会员.png'
254
 
259
 
255
   }
260
   }
256
   if (userRichType == 3) {
261
   if (userRichType == 3) {
257
 
262
 
258
-    return ['../../static/img-hy/创始人.png']
263
+    return '../../static/img-hy/创始人.png'
259
   }
264
   }
260
   // 高级会员
265
   // 高级会员
261
   if (userRichType == 4) {
266
   if (userRichType == 4) {
262
 
267
 
263
-    return ['../../static/img-hy/高级会员.png']
268
+    return '../../static/img-hy/高级会员.png'
264
   }
269
   }
265
   if (userRichType == 8) {
270
   if (userRichType == 8) {
266
 
271
 
267
-    return ['../../static/img-hy/合伙人.png']
272
+    return '../../static/img-hy/合伙人.png'
268
   }
273
   }
269
   if (userRichType == 9) {
274
   if (userRichType == 9) {
270
 
275
 
271
-    return ['../../static/img-hy/联合创始人.png']
276
+    return '../../static/img-hy/联合创始人.png'
272
   }
277
   }
273
   if (!userRichType) {
278
   if (!userRichType) {
274
 
279
 
275
-    return ['']
280
+    return ''
276
   }
281
   }
277
 })
282
 })
278
 
283
 
@@ -281,11 +286,11 @@ const AlholderType = computed(() => {
281
   const stockholder = userStore.userInfo?.stockholder
286
   const stockholder = userStore.userInfo?.stockholder
282
   // 普通用户
287
   // 普通用户
283
   if (stockholder == 0) {
288
   if (stockholder == 0) {
284
-    return ['']
289
+    return ''
285
   }
290
   }
286
   // 股东
291
   // 股东
287
   if (stockholder == 1) {
292
   if (stockholder == 1) {
288
-    return ['../../static/img-hy/股东.png']
293
+    return '../../static/img-hy/股东.png'
289
   }
294
   }
290
 
295
 
291
 })
296
 })
@@ -295,15 +300,15 @@ const areaType = computed(() => {
295
     const areamanage = userStore.userInfo?.area_manage_type
300
     const areamanage = userStore.userInfo?.area_manage_type
296
     // 县/区代理
301
     // 县/区代理
297
     if (areamanage == 'district') {
302
     if (areamanage == 'district') {
298
-      return ['../../static/img-hy/district.png']
303
+      return '../../static/img-hy/district.png'
299
     }
304
     }
300
     // 市代理
305
     // 市代理
301
     if (areamanage == 'city') {
306
     if (areamanage == 'city') {
302
-      return ['../../static/img-hy/city.png']
307
+      return '../../static/img-hy/city.png'
303
     }
308
     }
304
     //普通用户
309
     //普通用户
305
     if (!areamanage) {
310
     if (!areamanage) {
306
-      return ['']
311
+      return ''
307
     }
312
     }
308
 
313
 
309
   }
314
   }
@@ -326,11 +331,11 @@ const backImg = computed(() => {
326
     const areamanage = userStore.userInfo?.area_manage_type
331
     const areamanage = userStore.userInfo?.area_manage_type
327
     // 县/区代理
332
     // 县/区代理
328
     if (areamanage == 'district') {
333
     if (areamanage == 'district') {
329
-      return ['../../static/dl/xqdl.png']
334
+      return CDM_URL+'/image/2023-11-24/20231124154421388.png'
330
     }
335
     }
331
     // 市代理
336
     // 市代理
332
     if (areamanage == 'city') {
337
     if (areamanage == 'city') {
333
-      return ['../../static/dl/city.png']
338
+      return CDM_URL+'/image/2023-11-24/20231124154612477.png'
334
     }
339
     }
335
   }
340
   }
336
 
341
 
@@ -408,31 +413,31 @@ function handleShowMyRulePage() {
408
             </div>
413
             </div>
409
             <div class="btm flex gap-1 px-1">
414
             <div class="btm flex gap-1 px-1">
410
               <!-- 用户 -->
415
               <!-- 用户 -->
411
-              <div v-for="(item, index) in userType" :key="index" @click="handleShowMyRulePage()"
416
+              <div v-if="userType" @click="handleShowMyRulePage()"
412
                 class="flex rounded-full  text-[12px] text-white w-12 h-5  w-fit px-1">
417
                 class="flex rounded-full  text-[12px] text-white w-12 h-5  w-fit px-1">
413
-                <image class="vip_img" :src="item"></image>
418
+                <image lazy-load class="vip_img" :src="userType"></image>
414
               </div>
419
               </div>
415
               <!-- 市区县代理 -->
420
               <!-- 市区县代理 -->
416
-              <div @click="openPopup" v-for="(item, index) in areaType" :key="index"
421
+              <div @click="openPopup" v-if="areaType"
417
                 class="flex rounded-full  text-[12px] text-white w-12 h-5  w-fit px-1">
422
                 class="flex rounded-full  text-[12px] text-white w-12 h-5  w-fit px-1">
418
-                <image class="vip_img" :src="item"></image>
423
+                <image lazy-load class="vip_img" :src="areaType"></image>
419
               </div>
424
               </div>
420
               <!-- 股东 -->
425
               <!-- 股东 -->
421
-              <div v-for="(item, index) in AlholderType" :key="index"
426
+              <div v-if="AlholderType" 
422
                 class="flex rounded-full  text-[12px] text-white w-12 h-5   w-fit px-1">
427
                 class="flex rounded-full  text-[12px] text-white w-12 h-5   w-fit px-1">
423
-                <image class="vip_img" :src="item"></image>
428
+                <image lazy-load class="vip_img" :src="AlholderType"></image>
424
               </div>
429
               </div>
425
             </div>
430
             </div>
426
           </div>
431
           </div>
427
           <FPopup v-model:show="showValue" position="center" exClass="box_2 ">
432
           <FPopup v-model:show="showValue" position="center" exClass="box_2 ">
428
             <div class="box_2 flex-row">
433
             <div class="box_2 flex-row">
429
-              <div class="box_2" v-for="(item, index) in backImg " :key="index">
430
-                <image class="img_1" :src="item"></image>
434
+              <div class="box_2" v-if="backImg" >
435
+                <image  lazy-load class="img_1" :src="backImg"></image>
431
               </div>
436
               </div>
432
               <div class="group_2 flex-col lolr ">
437
               <div class="group_2 flex-col lolr ">
433
                 <div class="div_box pong1 ">
438
                 <div class="div_box pong1 ">
434
                   <div class="blue_1">
439
                   <div class="blue_1">
435
-                    <image class="off_3" src="../../static/dl/DLqy.png" />
440
+                    <image lazy-load class="off_3" src="../../static/img-hy/DLqy.png" />
436
                     <span class="pan">代理区域</span>
441
                     <span class="pan">代理区域</span>
437
                   </div>
442
                   </div>
438
                   <div class="blue_2 height1 ">
443
                   <div class="blue_2 height1 ">
@@ -441,7 +446,7 @@ function handleShowMyRulePage() {
441
                 </div>
446
                 </div>
442
                 <div class="div_box pong2 ">
447
                 <div class="div_box pong2 ">
443
                   <div class="blue_1">
448
                   <div class="blue_1">
444
-                    <image class="off_3" src="../../static/dl/QYDL.png" />
449
+                    <image lazy-load class="off_3" src="../../static/img-hy/QYDL.png" />
445
                     <span class="pan">代理权益</span>
450
                     <span class="pan">代理权益</span>
446
                   </div>
451
                   </div>
447
                   <div class="block_1 flex-col blue_2 height2 ">
452
                   <div class="block_1 flex-col blue_2 height2 ">
@@ -454,7 +459,7 @@ function handleShowMyRulePage() {
454
               </div>
459
               </div>
455
             </div>
460
             </div>
456
             <div @click="onCancel" class="off_1">
461
             <div @click="onCancel" class="off_1">
457
-              <image class="off_2" src="../../static/dl/关闭.png" />
462
+              <image lazy-load class="off_2" src="../../static/img-hy/关闭.png" />
458
             </div>
463
             </div>
459
           </FPopup>
464
           </FPopup>
460
 
465
 
@@ -635,7 +640,7 @@ page {
635
 }
640
 }
636
 
641
 
637
 .pan {
642
 .pan {
638
-  font-size: 14rpx;
643
+  font-size: 28rpx;
639
   margin-left: 10rpx;
644
   margin-left: 10rpx;
640
   font-family: SourceHanSansCN, SourceHanSansCN;
645
   font-family: SourceHanSansCN, SourceHanSansCN;
641
   font-weight: 500;
646
   font-weight: 500;

+ 2 - 2
src/pages/vip/index.vue

@@ -16,10 +16,10 @@
16
         </template>
16
         </template>
17
       </nut-searchbar>
17
       </nut-searchbar>
18
     </div>
18
     </div>
19
-    <div></div>
19
+    
20
     <!--      <image :src="homeBanner" mode="widthFix" class="h-10 w-full "></image>-->
20
     <!--      <image :src="homeBanner" mode="widthFix" class="h-10 w-full "></image>-->
21
 
21
 
22
-    <div class="w-screen h-45">
22
+    <div class="w-screen h-45" style="margin-top: 80rpx;" >
23
       <swiper v-if="state.banners" :indicator-dots="state.indicatorDots" indicator-active-color="#e93323"
23
       <swiper v-if="state.banners" :indicator-dots="state.indicatorDots" indicator-active-color="#e93323"
24
         :autoplay="state.autoplay" :circular="state.circular" :interval="state.interval" :duration="state.duration"
24
         :autoplay="state.autoplay" :circular="state.circular" :interval="state.interval" :duration="state.duration"
25
         class="w-full h-full">
25
         class="w-full h-full">

binární
src/static/dl/city.png


binární
src/static/dl/xqdl.png


src/static/dl/DLqy.png → src/static/img-hy/DLqy.png


src/static/dl/QYDL.png → src/static/img-hy/QYDL.png


binární
src/static/img-hy/VIP .png


src/static/dl/关闭.png → src/static/img-hy/关闭.png


binární
src/static/img-hy/合伙人.png


binární
src/static/img-hy/帮扶中心.png


binární
src/static/img-hy/股东.png