소스 검색

移除大的图标文件

wzh 2 년 전
부모
커밋
bcf4b03382
2개의 변경된 파일7개의 추가작업 그리고 9개의 파일을 삭제
  1. 7 9
      pages/work/index.vue
  2. BIN
      static/images/banner/banner01.png

+ 7 - 9
pages/work/index.vue

@@ -158,6 +158,7 @@
 import authObj from '@/plugins/auth.js';
 import {getDevcieByQrcode,bindDevice} from '@/api/device/device';
 import UImage from "../../uni_modules/uview-ui/components/u--image/u--image";
+import config from '@/config'
 export default {
   components: {UImage},
   data() {
@@ -167,20 +168,17 @@ export default {
         current: 0,
         swiperDotIndex: 0,
         show:false,
+        imgUrl:"",
         scanDevice:{},
-        data: [{
-            image: '/static/images/banner/banner01.png'
-          },
-          // {
-          //   image: '/static/images/banner/banner02.jpg'
-          // },
-          // {
-          //   image: '/static/images/banner/banner03.jpg'
-          // }
+        data: [
         ]
       }
     },
   onLoad(){
+    this.imgUrl = config.imgUrl
+    this.data.push({
+      image:this.imgUrl+"/mini/banner/banner01.png"
+    });
     if(this.isCompanyUser()){
       this.deptId = this.$store.state.user.user.deptId;
       console.log( this.deptId );

BIN
static/images/banner/banner01.png