Selaa lähdekoodia

文章详情修改

彭宇 1 vuosi sitten
vanhempi
commit
e1808d58ad
1 muutettua tiedostoa jossa 26 lisäystä ja 26 poistoa
  1. 26 26
      pages/mattersDetail/mattersDetail.vue

+ 26 - 26
pages/mattersDetail/mattersDetail.vue

@@ -1,37 +1,37 @@
 <template>
     <view>
-        <!-- pages/me.wxml -->
+        <!-- 事项详情 -->
         <view class="container">
             <h1 class="title">{{ detailInfo.titleName }}</h1>
-            <view class="wenzhangLy">
-                <!-- 头像昵称 -->
-                <view class="txTime">
-                    <image :src="loadImgSrcLocalhost(detailInfo.headImg!=null?detailInfo.headImg:'/profile/upload/2024/03/05/abf969632ee94bd5a429c8c2dbb2f6b4 (1)_20240305092823A002.png')" style="border-radius: 50px;"></image>
-                    <view class="time">
-                        <p>{{detailInfo.department?detailInfo.department:'网友'}}</p>
-                        <span>{{ detailInfo.createTime }}</span>
-                    </view>
-                </view>
-                <!-- 积分 -->
-<!--                <span class="jf">100</span> -->
-            </view>
+<!--            <view class="wenzhangLy">-->
+<!--                &lt;!&ndash; 头像昵称 &ndash;&gt;-->
+<!--                <view class="txTime">-->
+<!--                    <image :src="loadImgSrcLocalhost(detailInfo.headImg!=null?detailInfo.headImg:'/profile/upload/2024/03/05/abf969632ee94bd5a429c8c2dbb2f6b4 (1)_20240305092823A002.png')" style="border-radius: 50px;"></image>-->
+<!--                    <view class="time">-->
+<!--                        <p>{{detailInfo.department?detailInfo.department:'网友'}}</p>-->
+<!--                        <span>{{ detailInfo.createTime }}</span>-->
+<!--                    </view>-->
+<!--                </view>-->
+<!--                &lt;!&ndash; 积分 &ndash;&gt;-->
+<!--&lt;!&ndash;                <span class="jf">100</span> &ndash;&gt;-->
+<!--            </view>-->
             <view class="wenzhangCont article">
                 <span v-html="detailInfo.content">
                 </span>
-			
+
                 <view >
                     <image :src="loadImgSrcLocalhost(detailInfo.picture)"  style="background-size: 100% 100%;"></image>
                 </view>
             </view>
-			
-			
+
+
         </view>
 	</view>
 </template>
 
 <script>
-import { 
-	getMattersDetail 
+import {
+	getMattersDetail
 } from '@/api/me/matters/matters.js'
 export default {
     data() {
@@ -41,7 +41,7 @@ export default {
 				{
 					deptName:'国家乡村振兴局',
 					updateTime:'2023-2-27 16:04',
-					desc:'用好政策效果评估成果,进一步优化巩固拓展脱贫攻坚成果同乡村振兴有效衔接政策供给,为推动工作提质增效提供有力支撑保障。',					
+					desc:'用好政策效果评估成果,进一步优化巩固拓展脱贫攻坚成果同乡村振兴有效衔接政策供给,为推动工作提质增效提供有力支撑保障。',
 				}
 			],
 			isCollection:false,
@@ -57,7 +57,7 @@ export default {
 			this.anwserList.push({
 				deptName:'国家烟草局',
 				updateTime:new Date().getFullYear() + "-" + new Date().getMonth() + "-" + new Date().getDay() + " " + (new Date().getHours() < 10 ? "0" + new Date().getHours() : new Date().getHours()) + ':' + (new Date().getMinutes() < 10 ? "0" + new Date().getMinutes() : new Date().getMinutes()),
-				desc:this.anwserVal,		
+				desc:this.anwserVal,
 			})
 			this.anwserVal = null
 		},
@@ -79,11 +79,11 @@ export default {
 					allSrc.forEach(e => {
 						newHtml = newHtml.replace(e,this.loadImgSrc(e))
 					})
-				} 
+				}
 			}catch(e){
 				//TODO handle the exception
 			}
-			
+
 			return newHtml
 		}
 	}
@@ -101,8 +101,8 @@ export default {
     /**
      * 生命周期函数--监听页面初次渲染完成
      */
-    onReady(e) {  
-	}, 
+    onReady(e) {
+	},
     /**
      * 生命周期函数--监听页面显示
      */
@@ -138,7 +138,7 @@ export default {
 	}
 }
 .not-collect{
-	
+
 }
 .effectBix{
 	width: 56px;
@@ -185,7 +185,7 @@ export default {
   --slice-3: inset(10% -6px 85% 0);
   --slice-4: inset(40% -6px 43% 0);
   --slice-5: inset(80% -6px 5% 0);
-  
+
   content: 'AVAILABLE NOW';
   display: block;
   position: absolute;