WXL
3 天以前 9bce51f651aad297ef9eb6df832bfdaf1de05d84
node_modules/@dcloudio/uni-ui/lib/uni-file-picker/upload-image.vue
@@ -16,12 +16,9 @@
            </view>
         </view>
      </view>
      <view v-if="filesList.length < limit && !readonly" class="file-picker__box" :style="boxStyle">
      <view v-if="filesList.length < limit" class="file-picker__box" :style="boxStyle">
         <view class="file-picker__box-content is-add" :style="borderStyle" @click="choose">
            <slot>
               <view class="icon-add"></view>
               <view class="icon-add rotate"></view>
            </slot>
            <slot></slot>
         </view>
      </view>
   </view>
@@ -145,12 +142,15 @@
            this.$emit("uploadFiles", item)
         },
         choose() {
            if(this.readonly) return
            this.$emit("choose")
         },
         delFile(index) {
            if(this.readonly) return
            this.$emit('delFile', index)
         },
         prviewImage(img, index) {
            if(this.readonly) return
            let urls = []
            if(Number(this.limit) === 1&&this.disablePreview&&!this.disabled){
               this.$emit("choose")
@@ -252,13 +252,6 @@
      /* #endif */
      align-items: center;
      justify-content: center;
   }
   .icon-add {
      width: 50px;
      height: 5px;
      background-color: #f1f1f1;
      border-radius: 2px;
   }
   .rotate {