qingyiay
2023-09-07 491249bdf736a5f7d50417c889ad2db734b12383
pages/customer-page/customer-index/customer-index.vue
@@ -6,6 +6,25 @@
            <view class="wait-collection"
               :style="{ backgroundImage: `url(${onlineurl}/appimg/image/banner/customerbanner.png)`, backgroundSize: 'contain', backgroundRepeat: 'no-repeat' }">
            </view>
            <!-- 引导页 -->
            <view class="noob-tour"
               v-if="roleType===4">
               <combined-title title="操作指引"></combined-title>
               <u-cell-group>
                  <u-cell title="新手指引"
                     name='1'
                     :clickable="true"
                     @click="noobTour">
                     <u-badge type="primary"
                        value="01"
                        slot='icon'></u-badge>
                     <u-icon slot="value"
                        name="arrow-right"
                        size="30"
                        color="#b8b8b8"></u-icon>
                  </u-cell>
               </u-cell-group>
            </view>
            <view style="position: relative;top: -120px;">
               <u-empty mode="data"
                  icon="http://cdn.uviewui.com/uview/empty/data.png"
@@ -138,6 +157,14 @@
               </scroll-view>
            </view>
         </view>
         <!-- 图片预览弹出框 -->
         <view class="previewImage-container">
            <view class="previewImage-container">
               <previewImage ref="previewImage"
                  :imgs="TourImgList"
                  :saveBtn='false'></previewImage>
            </view>
         </view>
         <!-- 领取弹出框 -->
         <u-popup :show="show"
            @close="close"
@@ -165,6 +192,7 @@
   import { onlineurl } from '@/api/request.js'
   import combinedTitle from '@/components/combined-title/combined-title.vue';
   import { customerId } from '@/utils/status';
   import previewImage from '@/components/kxj-previewImage/kxj-previewImage.vue';
   export default {
      props: {
         orderPlanDataStore: {
@@ -173,7 +201,8 @@
         }
      },
      components: {
         combinedTitle
         combinedTitle,
         previewImage
      },
      watch: {
         orderPlanDataStore: {
@@ -215,7 +244,19 @@
            // 剩余的通知单数量
            carNumSurplus: '',
            canClick: false,
            onlineurl: ''
            onlineurl,
            previewImageShow: false,
            previewImageSrc: '',
            TourImgList: ['https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality01.jpg',
               'https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality02.jpg',
               'https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality03.jpg',
               'https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality04.jpg',
               'https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality05.jpg'
            ],
            imgIndex: 0,
            startX: 0, // 触摸起始点的X坐标
            endX: 0, // 触摸结束点的X坐标
            transition: false
         };
      },
      onLoad() {},
@@ -349,6 +390,9 @@
            uni
               .navigateTo({ url: `/pages/driver-page/driver-index/bill-of-lading-details/selectOrderPlan/selectOrderPlan?index=${index}` });
         },
         noobTour(v) {
            this.$refs.previewImage.open('https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality01.jpg')
         }
      }
   };
</script>
@@ -481,6 +525,29 @@
      }
   }
   .noob-tour {
      margin-bottom: vww(10);
      position: relative;
      top: -120px;
   }
   .u-popup {
      .u-transition {
         .u-popup__content {
            .editDriverPopup-container-box {}
            //closeIcon
            .u-popup__content__close--top-right {
               .u-icon {
                  .u-icon__icon {
                     font-size: vww(20) !important;
                  }
               }
            }
         }
      }
   }
   ::v-deep.customer-index {
      width: 100%;
      margin: 0 auto;