guhongwei 5 年之前
父节点
当前提交
233614517d

二进制
src/assets/noImg.png


+ 2 - 2
src/views/communication/parts/technologyDetail.vue

@@ -16,10 +16,10 @@
           <div class="detailcontext">
             <p v-html="detailinfo.content"></p>
           </div>
-          <div class="development" v-if="detailinfo.col_name == '技术问答'">
+          <!-- <div class="development" v-if="detailinfo.col_name == '技术问答'">
             <p>功能开发中</p>
             <p>功能实现流程:<span>问诊记录展示</span>-<span>在线咨询</span>-<span>专家在线问诊</span></p>
-          </div>
+          </div> -->
         </div>
       </div>
     </div>

+ 1 - 1
src/views/communication/parts/topicDetail.vue

@@ -291,7 +291,7 @@ export default {
 .main .two .twoInfo .right .info p {
   font-size: 20px;
   overflow: hidden;
-  height: 170px;
+  height: 160px;
 }
 .main .two .twoInfo .right .jubao {
   height: 40px;

+ 3 - 1
src/views/partisan/index.vue

@@ -21,7 +21,8 @@
                 @click.native="$router.push({ path: '/partisan/listDetail', query: { col_name: '图片新闻', id: item.id, display: '1' } })"
                 class="ruleList"
               >
-                <el-image :src="item.img_url"></el-image>
+                <el-image :src="item.img_url" v-if="item.img_url"></el-image>
+                <el-image :src="noImg" v-else></el-image>
                 <p class="textOver">{{ item.title }}</p>
               </el-carousel-item>
             </el-carousel>
@@ -104,6 +105,7 @@ export default {
     stuList: [],
     // 党风廉政
     politicsList: [],
+    noImg: require('@/assets/noImg.png'),
   }),
   created() {
     this.searchInfo();

+ 1 - 1
src/views/partisan/parts/newsDetail.vue

@@ -7,7 +7,7 @@
           <span>发布单位:{{ details.publish_unit }}</span>
           <span>时间:{{ details.publish_time }}</span>
         </div>
-        <el-col :span="24" class="image">
+        <el-col :span="24" class="image" v-if="details.img_url">
           <el-image :src="details.img_url"></el-image>
         </el-col>
         <p v-html="details.content"></p>