Browse Source

add 上传限制

master
刘嘉炜 4 years ago
parent
commit
81e347585a
  1. 2
      src/pages/course/student_review/student_review.vue
  2. 2
      src/pages/feedback/feedback.vue

2
src/pages/course/student_review/student_review.vue

@ -29,7 +29,7 @@
<image class="si-close" mode="aspectFit" src="/static/images/close_c00.png" @click="clearImage(i)"></image>
<image class="si-img" mode="aspectFit" :src="e" @click="previewImage(e)"></image>
</view>
<view class="sp-item sp-add" @click="imgSelect">
<view class="sp-item sp-add" @click="imgSelect" v-if="imageList.length<3">
<view></view>
<view>上传照片</view>
</view>

2
src/pages/feedback/feedback.vue

@ -9,7 +9,7 @@
<image class="fi-img" mode="aspectFit" :src="e" @click="previewImage(e)"></image>
<image class="fi-close" mode="aspectFit" src="/static/images/close_c00.png" @click="clearImage(i)"></image>
</view>
<view class="fi-item fi-add" @click="imgSelect">
<view class="fi-item fi-add" @click="imgSelect" v-if="imageList.length<3">
<view></view>
<view>上传照片</view>
</view>

Loading…
Cancel
Save