浏览代码

视频上传 字体颜色

sunran 3 年之前
父节点
当前提交
cfae5e6eb2

+ 2 - 0
src/views/weibao/components/vanUploader.vue

@@ -58,10 +58,12 @@ export default {
       this.multiMediaUrl = []
     },
     beforeRead2(file) {
+      console.log(file.size > 50 * 1024 * 1024)
       if (file.size > 50 * 1024 * 1024) {
         this.$toast('视频不能超过50MB')
         return
       }
+      return true
     },
     // 返回布尔值
     beforeRead(file) {

+ 3 - 3
src/views/weibao/views/reporting/initiateConsultation.vue

@@ -10,8 +10,8 @@
         </van-row>
         <van-row class="cell">
           <van-col span="6">报告时间:</van-col>
-          <van-col span="18" @click="dateshow=true">
-            <van-field v-model="form.mandatoryDate" :rules="[{ required: true}]" placeholder="请输入报告时间" disabled />
+          <van-col span="18">
+            <van-field clickable readonly v-model="form.mandatoryDate" :rules="[{ required: true}]" placeholder="请输入报告时间" @click="dateshow=true" />
             <!-- {{form.mandatoryDate?form.mandatoryDate:'请选择'}} -->
           </van-col>
           <van-popup v-model="dateshow" position="bottom" :style="{ height: '50%' }">
@@ -28,7 +28,7 @@
         <van-row class="cell">
           <van-col span="8">报告所在地:</van-col>
           <van-col span="16">
-            <van-field v-model="form.streetName" :rules="[{ required: true}]" @click="streetShow=true" placeholder="请选择报告所在地" disabled />
+            <van-field clickable readonly v-model="form.streetName" :rules="[{ required: true}]" @click="streetShow=true" placeholder="请选择报告所在地" />
           </van-col>
           <van-popup v-model="streetShow" position="bottom" :style="{ height: '50%' }">
             <van-picker default-index="2" show-toolbar :columns="streetList" @confirm="onConfirm" @cancel="streetShow=false" value-key="name" />

+ 1 - 0
src/views/zhulao/views/classRoom/index.vue

@@ -92,6 +92,7 @@ export default {
 <style lang="scss" scoped>
 .page {
   background-color: #f5f5f5;
+  height: 100%;
 }
 .van-tabs {
   border-bottom: 0;

+ 5 - 0
src/views/zhulao/views/home/newsDetails.vue

@@ -28,5 +28,10 @@ export default {
 .main {
   padding: 0 30px;
   font-size: 24px;
+  padding-bottom: 30px;
+  ::v-deep p {
+    margin: 0 !important;
+    padding: 0 !important;
+  }
 }
 </style>