dxz1228 лет назад: 2
Родитель
Сommit
e4d923cd67

+ 9 - 3
src/apis/model/userInfoModel.ts

@@ -7,14 +7,15 @@ export interface UpdateUserInfoRequestModel {
7
     avatar: string
7
     avatar: string
8
     // addres: string
8
     // addres: string
9
 }
9
 }
10
-export interface UserInfoModel{
10
+export interface UserInfoModel {
11
     /** 用户id */
11
     /** 用户id */
12
     uid: string
12
     uid: string
13
     /** 微信用户 id */
13
     /** 微信用户 id */
14
     /** 市/县代理 */
14
     /** 市/县代理 */
15
-    area_manage_type:string
15
+    area_manage_type: string
16
+    area_manage: manageModel
16
     /**股东 id */
17
     /**股东 id */
17
-    stockholder:number
18
+    stockholder: number
18
     wechat_user_id: string
19
     wechat_user_id: string
19
     /** 支付宝用户 id */
20
     /** 支付宝用户 id */
20
     ali_user_id: string
21
     ali_user_id: string
@@ -144,4 +145,9 @@ export interface UserInfoModel{
144
     /** 团队人数 */
145
     /** 团队人数 */
145
     team_number: number
146
     team_number: number
146
     is_bangfu: boolean
147
     is_bangfu: boolean
148
+}
149
+export interface manageModel {
150
+    area_name: []
151
+    code_list: string
152
+    type: string
147
 }
153
 }

+ 4 - 1
src/components/FPopup/FPopup.vue

@@ -7,7 +7,10 @@ import { usePopup } from './use-popup'
7
 const props = defineProps(popupProps)
7
 const props = defineProps(popupProps)
8
 const emit = defineEmits(popupEmits)
8
 const emit = defineEmits(popupEmits)
9
 const { showValue, classes } = usePopup(props, emit)
9
 const { showValue, classes } = usePopup(props, emit)
10
-
10
+onLoad(()=>{
11
+  console.log(showValue, classes);
12
+  
13
+})
11
 const animationName = {
14
 const animationName = {
12
   center: 'fade',
15
   center: 'fade',
13
   top: 'slide-down',
16
   top: 'slide-down',

+ 30 - 30
src/pages/my-rules/index.vue

@@ -181,37 +181,37 @@ const userType = computed(() => {
181
   }
181
   }
182
 })
182
 })
183
 //0:普通用户 1:股东
183
 //0:普通用户 1:股东
184
-const AlholderType = computed(() => {
185
-  const stockholder = userStore.userInfo?.stockholder
186
-  console.log('我是stockholder',userStore.userInfo.stockholder)
187
-  // 普通用户
188
-  if (stockholder == 0) {
189
-    return ['']
190
-  }
191
-  // 股东
192
-  if (stockholder == 1) {
193
-    return ['../../static/img-hy/股东.png']
194
-  }
184
+// const AlholderType = computed(() => {
185
+//   const stockholder = userStore.userInfo?.stockholder
186
+//   console.log('我是stockholder',userStore.userInfo.stockholder)
187
+//   // 普通用户
188
+//   if (stockholder == 0) {
189
+//     return ['']
190
+//   }
191
+//   // 股东
192
+//   if (stockholder == 1) {
193
+//     return ['../../static/img-hy/股东.png']
194
+//   }
195
   
195
   
196
-})
196
+// })
197
 // '':普通用户 district-区/县代 city-市代',
197
 // '':普通用户 district-区/县代 city-市代',
198
-const areaType = computed(() => {
199
-  const areamanage = userStore.userInfo?.area_manage_type
200
-  console.log('我是area_manage_type',userStore.userInfo.area_manage_type)
201
-  // 县/区代理
202
-  if (areamanage == 'district') {
203
-    return ['../../static/img-hy/区/县代理.png']
204
-  }
205
-  // 市代理
206
-  if (areamanage == 'city') {
207
-    return ['../../static/img-hy/市级代理.png']
208
-  }
209
-  //普通用户
210
-  if(!areamanage){
211
-    return['']
212
-  }
198
+// const areaType = computed(() => {
199
+//   const areamanage = userStore.userInfo?.area_manage_type
200
+//   console.log('我是area_manage_type',userStore.userInfo.area_manage_type)
201
+//   // 县/区代理
202
+//   if (areamanage == 'district') {
203
+//     return ['../../static/img-hy/district.png']
204
+//   }
205
+//   // 市代理
206
+//   if (areamanage == 'city') {
207
+//     return ['../../static/img-hy/city.png']
208
+//   }
209
+//   //普通用户
210
+//   if(!areamanage){
211
+//     return['']
212
+//   }
213
   
213
   
214
-})
214
+// })
215
 
215
 
216
 
216
 
217
 
217
 
@@ -331,9 +331,9 @@ function handleToVipPage() {
331
             <div class="flex gap-1 items-center px-1">
331
             <div class="flex gap-1 items-center px-1">
332
               <div class="flex rounded-full  text-[12px] text-white w-12 h-5 justify-center items-center w-fit px-1">
332
               <div class="flex rounded-full  text-[12px] text-white w-12 h-5 justify-center items-center w-fit px-1">
333
                 <image class="vip_img" :src="userType" v-if="userType"></image>
333
                 <image class="vip_img" :src="userType" v-if="userType"></image>
334
-                <image class="vip_img" :src="AlholderType" v-if="AlholderType
334
+                <!-- <image class="vip_img" :src="AlholderType" v-if="AlholderType
335
                   "></image>
335
                   "></image>
336
-                <image class="vip_img" :src="areaType" v-if="areaType"></image>
336
+                <image class="vip_img" :src="areaType" v-if="areaType"></image> -->
337
               </div>
337
               </div>
338
             </div>
338
             </div>
339
             <!--            <div-->
339
             <!--            <div-->

+ 244 - 135
src/pages/user/index.vue

@@ -1,12 +1,14 @@
1
 <script lang="ts" setup>
1
 <script lang="ts" setup>
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";
5
-import {CDN_URL} from "~/config/app";
4
+import { getAgentInfo, getUserInfo } from "~/apis/user";
5
+import { CDN_URL } from "~/config/app";
6
 import Routine from "~/libs/routine";
6
 import Routine from "~/libs/routine";
7
-import {totalOrderNumber} from "~/apis/order.api";
8
-import type {OrderQuantityModel} from "~/apis/model/order.model";
9
-import type {Ref} from "vue";
7
+import { totalOrderNumber } from "~/apis/order.api";
8
+import type { OrderQuantityModel } from "~/apis/model/order.model";
9
+import FPopup from "~/components/FPopup/FPopup.vue";
10
+import { CANCEL_EVENT, OPEN_EVENT } from "~/constants/event";
11
+import type { Ref } from "vue";
10
 const pageStore = usePageStoreWidthOut()
12
 const pageStore = usePageStoreWidthOut()
11
 const currentType = ref('')
13
 const currentType = ref('')
12
 const myOrderList = [{
14
 const myOrderList = [{
@@ -42,13 +44,18 @@ const contactUsList = [{
42
   icon: '/static/icon/kefu_icon.png',
44
   icon: '/static/icon/kefu_icon.png',
43
   text: '联系客服',
45
   text: '联系客服',
44
   url: 'https://work.weixin.qq.com/kfid/kfce29f31a08fd53ee0'
46
   url: 'https://work.weixin.qq.com/kfid/kfce29f31a08fd53ee0'
45
-},{
47
+}, {
46
   type: 'link',
48
   type: 'link',
47
   icon: CDN_URL + '/static/assets/bangzhuzhongxin_220620.png',
49
   icon: CDN_URL + '/static/assets/bangzhuzhongxin_220620.png',
48
   text: '帮助中心',
50
   text: '帮助中心',
49
   url: '/pages/help-center/index'
51
   url: '/pages/help-center/index'
50
 }]
52
 }]
51
 
53
 
54
+
55
+//市/区代表弹框标识
56
+const showValue = ref(false)
57
+
58
+
52
 const myServiceList = [{
59
 const myServiceList = [{
53
   icon: CDN_URL + '/static/assets/wodeyaoqing_220620.png',
60
   icon: CDN_URL + '/static/assets/wodeyaoqing_220620.png',
54
   text: '我的邀请',
61
   text: '我的邀请',
@@ -237,34 +244,34 @@ const userType = computed(() => {
237
   // console.log(userStore.userInfo)
244
   // console.log(userStore.userInfo)
238
   // 普通用户
245
   // 普通用户
239
   if (userRichType == 0) {
246
   if (userRichType == 0) {
240
-    
247
+
241
     return ['../../static/img-hy/用户.png']
248
     return ['../../static/img-hy/用户.png']
242
   }
249
   }
243
   // 会员
250
   // 会员
244
   if (userRichType == 1) {
251
   if (userRichType == 1) {
245
-    
252
+
246
     return ['../../static/img-hy/会员.png']
253
     return ['../../static/img-hy/会员.png']
247
 
254
 
248
   }
255
   }
249
   if (userRichType == 3) {
256
   if (userRichType == 3) {
250
-   
257
+
251
     return ['../../static/img-hy/创始人.png']
258
     return ['../../static/img-hy/创始人.png']
252
   }
259
   }
253
   // 高级会员
260
   // 高级会员
254
   if (userRichType == 4) {
261
   if (userRichType == 4) {
255
-    
262
+
256
     return ['../../static/img-hy/高级会员.png']
263
     return ['../../static/img-hy/高级会员.png']
257
   }
264
   }
258
   if (userRichType == 8) {
265
   if (userRichType == 8) {
259
-    
266
+
260
     return ['../../static/img-hy/合伙人.png']
267
     return ['../../static/img-hy/合伙人.png']
261
   }
268
   }
262
   if (userRichType == 9) {
269
   if (userRichType == 9) {
263
-   
270
+
264
     return ['../../static/img-hy/联合创始人.png']
271
     return ['../../static/img-hy/联合创始人.png']
265
   }
272
   }
266
   if (!userRichType) {
273
   if (!userRichType) {
267
-   
274
+
268
     return ['']
275
     return ['']
269
   }
276
   }
270
 })
277
 })
@@ -280,24 +287,54 @@ const AlholderType = computed(() => {
280
   if (stockholder == 1) {
287
   if (stockholder == 1) {
281
     return ['../../static/img-hy/股东.png']
288
     return ['../../static/img-hy/股东.png']
282
   }
289
   }
283
-  
290
+
284
 })
291
 })
285
 // '':普通用户 district-区/县代 city-市代',
292
 // '':普通用户 district-区/县代 city-市代',
286
 const areaType = computed(() => {
293
 const areaType = computed(() => {
287
   const areamanage = userStore.userInfo?.area_manage_type
294
   const areamanage = userStore.userInfo?.area_manage_type
288
   // 县/区代理
295
   // 县/区代理
289
   if (areamanage == 'district') {
296
   if (areamanage == 'district') {
290
-    return ['../../static/img-hy/区/县代理.png']
297
+    return ['../../static/img-hy/district.png']
291
   }
298
   }
292
   // 市代理
299
   // 市代理
293
   if (areamanage == 'city') {
300
   if (areamanage == 'city') {
294
-    return ['../../static/img-hy/市级代理.png']
301
+    return ['../../static/img-hy/city.png']
295
   }
302
   }
296
   //普通用户
303
   //普通用户
297
-  if(!areamanage){
298
-    return['']
304
+  if (!areamanage) {
305
+    return ['']
306
+  }
307
+
308
+})
309
+
310
+//弹框展示
311
+function openPopup() {
312
+  const areamanage = userStore.userInfo?.area_manage.area_name
313
+  console.log(areamanage);
314
+  showValue.value = true
315
+}
316
+//关闭弹框
317
+const onCancel = () => {
318
+  // show.value = false
319
+  showValue.value = false
320
+}
321
+
322
+//计算市区县展示图片
323
+const backImg = computed(() => {
324
+  const areamanage = userStore.userInfo?.area_manage.type
325
+  // 县/区代理
326
+  if (areamanage == 'district') {
327
+    return ['../../static/dl/xqdl.png']
328
+  }
329
+  // 市代理
330
+  if (areamanage == 'city') {
331
+    return ['../../static/dl/city.png']
299
   }
332
   }
300
-  
333
+})
334
+const textType = computed(() => {
335
+  const areamanage = userStore.userInfo?.area_manage.area_name
336
+  let res = areamanage.join("");
337
+  return res
301
 })
338
 })
302
 
339
 
303
 
340
 
@@ -348,17 +385,9 @@ function handleShowMyRulePage() {
348
       <div class="pt-15 ">
385
       <div class="pt-15 ">
349
         <div class="flex gap-2 mb-2 text-white mb-6">
386
         <div class="flex gap-2 mb-2 text-white mb-6">
350
           <image v-if="userStore.userInfo && userStore.userInfo.avatar" :src="userStore.userInfo.avatar"
387
           <image v-if="userStore.userInfo && userStore.userInfo.avatar" :src="userStore.userInfo.avatar"
351
-                 @click="handleShowMyProfile"
352
-                 mode="widthFix"
353
-                 class="w-9 h-9 rounded-full"
354
-          ></image>
355
-          <image
356
-              v-else
357
-              @click="checkAuth"
358
-              src="https://app.bjtdba.com/uploads/logo.jpg"
359
-              mode="widthFix"
360
-              class="w-9 h-9 rounded-full"
361
-          />
388
+            @click="handleShowMyProfile" mode="widthFix" class="w-9 h-9 rounded-full"></image>
389
+          <image v-else @click="checkAuth" src="https://app.bjtdba.com/uploads/logo.jpg" mode="widthFix"
390
+            class="w-9 h-9 rounded-full" />
362
           <div class="flex flex-col">
391
           <div class="flex flex-col">
363
             <div class="flex">
392
             <div class="flex">
364
               <div class="text-sm">
393
               <div class="text-sm">
@@ -372,62 +401,74 @@ function handleShowMyRulePage() {
372
             </div>
401
             </div>
373
             <div class="btm flex gap-1 px-1">
402
             <div class="btm flex gap-1 px-1">
374
               <!-- 用户 -->
403
               <!-- 用户 -->
375
-            <div
376
-                v-for="(item, index) in userType"
377
-                :key="index"
378
-                @click="handleShowMyRulePage()"
404
+              <div v-for="(item, index) in userType" :key="index" @click="handleShowMyRulePage()"
379
                 class="flex rounded-full  text-[12px] text-white w-12 h-5  w-fit px-1">
405
                 class="flex rounded-full  text-[12px] text-white w-12 h-5  w-fit px-1">
380
-                <image class="vip_img"  :src="item" v-show="userType" ></image>
381
-            </div>
382
-            <!-- 市县代理 -->
383
-            <div
384
-                v-for="(item, index) in AlholderType"
385
-                :key="index"
406
+                <image class="vip_img" :src="item"></image>
407
+              </div>
408
+              <!-- 市区县代理 -->
409
+              <div @click="openPopup" v-for="(item, index) in areaType" :key="index"
386
                 class="flex rounded-full  text-[12px] text-white w-12 h-5  w-fit px-1">
410
                 class="flex rounded-full  text-[12px] text-white w-12 h-5  w-fit px-1">
387
-                <image class="vip_img"  :src="item" v-show="AlholderType" ></image>
388
-            </div>
389
-            <!-- 股东 -->
390
-            <div
391
-                v-for="(item, index) in areaType"
392
-                :key="index"
411
+                <image class="vip_img" :src="item"></image>
412
+              </div>
413
+              <!-- 股东 -->
414
+              <div v-for="(item, index) in AlholderType" :key="index"
393
                 class="flex rounded-full  text-[12px] text-white w-12 h-5   w-fit px-1">
415
                 class="flex rounded-full  text-[12px] text-white w-12 h-5   w-fit px-1">
394
-                <image class="vip_img"  :src="item" v-show="areaType" ></image>
395
-            </div>
416
+                <image class="vip_img" :src="item"></image>
417
+              </div>
396
             </div>
418
             </div>
397
           </div>
419
           </div>
398
-
420
+          <FPopup v-model:show="showValue" position="center" exClass="box_2 ">
421
+            <div class="box_2 flex-row">
422
+              <div class="box_2" v-for="(item, index) in backImg " :key="index">
423
+                <image class="img_1" :src="item"></image>
424
+              </div>
425
+              <div class="group_2 flex-col lolr ">
426
+                <div class="div_box pong1 ">
427
+                  <div class="blue_1">
428
+                    <image class="off_3" src="../../static/dl/DLqy.png" />
429
+                    <span class="pan">代理区域</span>
430
+                  </div>
431
+                  <div class="blue_2 height1 ">
432
+                    {{ textType }}
433
+                  </div>
434
+                </div>
435
+                <div class="div_box pong2 ">
436
+                  <div class="blue_1">
437
+                    <image class="off_3" src="../../static/dl/QYDL.png" />
438
+                    <span class="pan">代理权益</span>
439
+                  </div>
440
+                  <div class="block_1 flex-col blue_2 height2 ">
441
+                    <div class="text-group_4 flex-col justify-between">
442
+                      <div class=" pend">所辖区域的区域管理分红</div>
443
+                      <div class="text_5 pand ">(参照会员系统佣金逻辑)</div>
444
+                    </div>
445
+                  </div>
446
+                </div>
447
+              </div>
448
+            </div>
449
+            <div @click="onCancel" class="off_1">
450
+              <image class="off_2" src="../../static/dl/关闭.png" />
451
+            </div>
452
+          </FPopup>
399
 
453
 
400
         </div>
454
         </div>
401
         <div class="bg-white rounded flex flex-col gap-6 py-4 text-xl">
455
         <div class="bg-white rounded flex flex-col gap-6 py-4 text-xl">
402
-          <div
403
-              v-if="userStore.userInfo"
404
-              class="flex flex-wrap">
405
-            <div
406
-                @tap="handleShowAnnuityDetail"
407
-                class="w-1/3 flex flex-col justify-center items-center"
408
-            >
456
+          <div v-if="userStore.userInfo" class="flex flex-wrap">
457
+            <div @tap="handleShowAnnuityDetail" class="w-1/3 flex flex-col justify-center items-center">
409
               <div>{{ userStore.yanglao.all_yanglao }}</div>
458
               <div>{{ userStore.yanglao.all_yanglao }}</div>
410
               <div class="text-xs">养老金</div>
459
               <div class="text-xs">养老金</div>
411
             </div>
460
             </div>
412
-            <div
413
-                @tap="handleShowMyInvitation"
414
-                class="w-1/3  flex flex-col justify-center items-center">
415
-              <div>{{ agentInfo.brokerage_price ? agentInfo.brokerage_price : '0.00'}}</div>
461
+            <div @tap="handleShowMyInvitation" class="w-1/3  flex flex-col justify-center items-center">
462
+              <div>{{ agentInfo.brokerage_price ? agentInfo.brokerage_price : '0.00' }}</div>
416
               <div class="text-xs">我的佣金</div>
463
               <div class="text-xs">我的佣金</div>
417
             </div>
464
             </div>
418
-            <div
419
-                @tap="handleShowMyIntegral"
420
-                class="w-1/3  flex flex-col justify-center items-center">
465
+            <div @tap="handleShowMyIntegral" class="w-1/3  flex flex-col justify-center items-center">
421
               <div>{{ userStore.userInfo.score }}</div>
466
               <div>{{ userStore.userInfo.score }}</div>
422
               <div class="text-xs">我的积分</div>
467
               <div class="text-xs">我的积分</div>
423
             </div>
468
             </div>
424
           </div>
469
           </div>
425
-          <div
426
-              v-if="userStore.userInfo"
427
-              class="flex">
428
-            <div
429
-                @click="handleToRedIntegral"
430
-                class="w-1/2 flex flex-col justify-center items-center">
470
+          <div v-if="userStore.userInfo" class="flex">
471
+            <div @click="handleToRedIntegral" class="w-1/2 flex flex-col justify-center items-center">
431
               <div>{{ userStore.userInfo.red }}</div>
472
               <div>{{ userStore.userInfo.red }}</div>
432
               <div class="text-xs">红积分提现</div>
473
               <div class="text-xs">红积分提现</div>
433
             </div>
474
             </div>
@@ -445,9 +486,7 @@ function handleShowMyRulePage() {
445
         <div class="flex justify-between pt-4 mb-4">
486
         <div class="flex justify-between pt-4 mb-4">
446
           <div>我的订单</div>
487
           <div>我的订单</div>
447
           <div class="flex items-center">
488
           <div class="flex items-center">
448
-            <div
449
-                @click="handleShowMyAllOrder(0)"
450
-                class="text-sm text-gray">查看全部
489
+            <div @click="handleShowMyAllOrder(0)" class="text-sm text-gray">查看全部
451
             </div>
490
             </div>
452
             <div class="f-text-color-2 i-tabler-chevron-right"></div>
491
             <div class="f-text-color-2 i-tabler-chevron-right"></div>
453
           </div>
492
           </div>
@@ -455,51 +494,35 @@ function handleShowMyRulePage() {
455
 
494
 
456
         </div>
495
         </div>
457
         <div class="flex pb-4">
496
         <div class="flex pb-4">
458
-          <div
459
-              @click="handleShowMyAllOrder(index + 1)"
460
-              v-for="(item, index) in myOrderList" :key="index"
461
-              class="flex flex-col justify-center items-center w-1/5 gap-3"
462
-          >
497
+          <div @click="handleShowMyAllOrder(index + 1)" v-for="(item, index) in myOrderList" :key="index"
498
+            class="flex flex-col justify-center items-center w-1/5 gap-3">
463
             <div class="relative">
499
             <div class="relative">
464
-              <div class="bg-primary rounded-full w-3 h-3 text-[9px] text-white flex justify-center items-center absolute top--1 right--2 text-center"
465
-                   v-if="
466
-                   item.id == 'noPay' && orderQuantity &&  orderQuantity.noPay != '0'"
467
-
468
-              >
469
-                {{ orderQuantity.noPay}}
500
+              <div
501
+                class="bg-primary rounded-full w-3 h-3 text-[9px] text-white flex justify-center items-center absolute top--1 right--2 text-center"
502
+                v-if="item.id == 'noPay' && orderQuantity && orderQuantity.noPay != '0'">
503
+                {{ orderQuantity.noPay }}
470
               </div>
504
               </div>
471
-              <div class="bg-primary rounded-full w-3 h-3 text-[9px] text-white flex justify-center items-center absolute top--1 right--2 text-center"
472
-                   v-if="
473
-                   item.id == 'refund' && orderQuantity && orderQuantity.refund != '0'"
474
-
475
-              >
476
-                {{ orderQuantity.refund}}
505
+              <div
506
+                class="bg-primary rounded-full w-3 h-3 text-[9px] text-white flex justify-center items-center absolute top--1 right--2 text-center"
507
+                v-if="item.id == 'refund' && orderQuantity && orderQuantity.refund != '0'">
508
+                {{ orderQuantity.refund }}
477
               </div>
509
               </div>
478
-              <div class="bg-primary rounded-full w-3 h-3 text-[9px] text-white flex justify-center items-center absolute top--1 right--2 text-center"
479
-                   v-if="
480
-                   item.id == 'noDeliver' && orderQuantity && orderQuantity.noDeliver != '0'"
481
-
482
-              >
483
-                {{ orderQuantity.noDeliver}}
510
+              <div
511
+                class="bg-primary rounded-full w-3 h-3 text-[9px] text-white flex justify-center items-center absolute top--1 right--2 text-center"
512
+                v-if="item.id == 'noDeliver' && orderQuantity && orderQuantity.noDeliver != '0'">
513
+                {{ orderQuantity.noDeliver }}
484
               </div>
514
               </div>
485
-              <div class="bg-primary rounded-full w-3 h-3 text-[9px] text-white flex justify-center items-center absolute top--1 right--2 text-center"
486
-                   v-if="
487
-                   item.id == 'noPostage' && orderQuantity && orderQuantity.noPostage != '0'"
488
-
489
-              >
490
-                {{ orderQuantity.noPostage}}
515
+              <div
516
+                class="bg-primary rounded-full w-3 h-3 text-[9px] text-white flex justify-center items-center absolute top--1 right--2 text-center"
517
+                v-if="item.id == 'noPostage' && orderQuantity && orderQuantity.noPostage != '0'">
518
+                {{ orderQuantity.noPostage }}
491
               </div>
519
               </div>
492
-              <div class="bg-primary rounded-full w-3 h-3 text-[9px] text-white flex justify-center items-center absolute top--1 right--2 text-center"
493
-                   v-if="
494
-                   item.id == 'noComment' && orderQuantity && orderQuantity.noComment != '0'"
495
-
496
-              >
497
-                {{ orderQuantity.noComment}}
520
+              <div
521
+                class="bg-primary rounded-full w-3 h-3 text-[9px] text-white flex justify-center items-center absolute top--1 right--2 text-center"
522
+                v-if="item.id == 'noComment' && orderQuantity && orderQuantity.noComment != '0'">
523
+                {{ orderQuantity.noComment }}
498
               </div>
524
               </div>
499
-              <image :src="item.icon"
500
-                     mode="widthFix"
501
-                     class="w-7 h-7 "
502
-              />
525
+              <image :src="item.icon" mode="widthFix" class="w-7 h-7 " />
503
             </div>
526
             </div>
504
 
527
 
505
             <div class="text-xs">{{ item.text }}</div>
528
             <div class="text-xs">{{ item.text }}</div>
@@ -512,15 +535,9 @@ function handleShowMyRulePage() {
512
           <div>我的服务</div>
535
           <div>我的服务</div>
513
         </div>
536
         </div>
514
         <div class="flex flex-wrap ">
537
         <div class="flex flex-wrap ">
515
-          <div
516
-              v-for="(item, index) in myServiceList" :key="index"
517
-              @tap="handleService(item)"
518
-              class="flex flex-col justify-center items-center w-1/4 gap-2 mb-4"
519
-          >
520
-            <image :src="item.icon"
521
-                   mode="widthFix"
522
-                   class="w-6 h-6 "
523
-            />
538
+          <div v-for="(item, index) in myServiceList" :key="index" @tap="handleService(item)"
539
+            class="flex flex-col justify-center items-center w-1/4 gap-2 mb-4">
540
+            <image :src="item.icon" mode="widthFix" class="w-6 h-6 " />
524
             <div class="text-xs">{{ item.text }}</div>
541
             <div class="text-xs">{{ item.text }}</div>
525
           </div>
542
           </div>
526
         </div>
543
         </div>
@@ -532,15 +549,9 @@ function handleShowMyRulePage() {
532
           <div>联系我们</div>
549
           <div>联系我们</div>
533
         </div>
550
         </div>
534
         <div class="flex flex-wrap ">
551
         <div class="flex flex-wrap ">
535
-          <div
536
-              v-for="(item, index) in contactUsList" :key="index"
537
-              @tap="handleToContact(item)"
538
-              class="flex flex-col justify-center items-center w-1/4 gap-2 mb-4"
539
-          >
540
-            <image :src="item.icon"
541
-                   mode="widthFix"
542
-                   class="w-6 h-6 "
543
-            />
552
+          <div v-for="(item, index) in contactUsList" :key="index" @tap="handleToContact(item)"
553
+            class="flex flex-col justify-center items-center w-1/4 gap-2 mb-4">
554
+            <image :src="item.icon" mode="widthFix" class="w-6 h-6 " />
544
             <div class="text-xs">{{ item.text }}</div>
555
             <div class="text-xs">{{ item.text }}</div>
545
           </div>
556
           </div>
546
         </div>
557
         </div>
@@ -556,16 +567,114 @@ function handleShowMyRulePage() {
556
 page {
567
 page {
557
   background-color: #f8f8f8;
568
   background-color: #f8f8f8;
558
 }
569
 }
559
-.flex-height{
570
+
571
+.flex-height {
560
   margin-left: 3px;
572
   margin-left: 3px;
561
 }
573
 }
562
-.btm{
563
-  margin-top:1px ;
574
+
575
+.btm {
576
+  margin-top: 1px;
564
 }
577
 }
565
-.vip_img{
566
-  width:58px;
578
+
579
+.vip_img {
580
+  width: 58px;
567
   height: 29px;
581
   height: 29px;
568
 }
582
 }
583
+
584
+.box_2 {
585
+  background-color: #ffffff00;
586
+}
587
+
588
+.img_1 {
589
+  width: 280px;
590
+  height: 330px;
591
+}
592
+
593
+.off_1 {
594
+  width: 36px;
595
+  height: 36px;
596
+  position: absolute;
597
+  margin-top: 20px;
598
+  left: 50%;
599
+  margin-left: -18px;
600
+}
601
+
602
+.off_2 {
603
+  width: 100%;
604
+  height: 100%;
605
+}
606
+
607
+.off_3 {
608
+  width: 17px;
609
+  height: 17px;
610
+}
611
+
612
+.div_box {
613
+  width: 248px;
614
+  height: 76px;
615
+  background: #E5F9FF;
616
+  border-radius: 16rpx;
617
+  margin-left: 16px;
618
+}
619
+
620
+.blue_1 {
621
+  height: 40px;
622
+  line-height: 40px;
623
+}
624
+
625
+.blue_1 image {
626
+  margin-left: 13px;
627
+  margin-top: 7px;
628
+}
629
+
630
+.pan {
631
+  font-size: 14px;
632
+  margin-left: 5px;
633
+  font-family: SourceHanSansCN, SourceHanSansCN;
634
+  font-weight: 500;
635
+  color: #4D4D69;
636
+
637
+}
638
+
639
+.blue_2 {
640
+  font-size: 15px;
641
+  font-family: SourceHanSansCN, SourceHanSansCN;
642
+  font-weight: bold;
643
+  color: #4D4D69;
644
+  background: #C2F0FF;
645
+  padding-left: 13px;
646
+}
647
+
648
+.pand {
649
+  font-size: 22rpx;
650
+  font-family: SourceHanSansCN, SourceHanSansCN;
651
+  font-weight: bold;
652
+  color: black;
653
+}
654
+
655
+.height1 {
656
+  height: 74rpx;
657
+  line-height: 74rpx;
658
+}
659
+
660
+.pend {
661
+  padding-top: 14rpx
662
+}
663
+
664
+.height2 {
665
+  height: 90rpx;
666
+  border-radius: 0rpx 0rpx 16rpx 16rpx;
667
+}
668
+
669
+.pong1 {
670
+  position: absolute;
671
+  top: 255rpx
672
+}
673
+
674
+.pong2 {
675
+  position: absolute;
676
+  top: 447rpx
677
+}
569
 </style>
678
 </style>
570
 <route lang="yaml">
679
 <route lang="yaml">
571
 style:
680
 style:

BIN
src/static/dl/DLqy.png


BIN
src/static/dl/QYDL.png


BIN
src/static/dl/city.png


BIN
src/static/dl/xqdl.png


BIN
src/static/dl/关闭.png


src/static/img-hy/市级代理.png → src/static/img-hy/city.png


src/static/img-hy/区/县代理.png → src/static/img-hy/district.png