Browse Source

修改样式

彭宇 1 year ago
parent
commit
77e1e14615
2 changed files with 14 additions and 14 deletions
  1. 9 9
      pages/common/articleDetail/articleDetail.vue
  2. 5 5
      pages/me/me.vue

+ 9 - 9
pages/common/articleDetail/articleDetail.vue

@@ -3,19 +3,19 @@
     <!-- pages/me.wxml -->
     <view class="container">
       <h1 class="title">{{ detailInfo.titleName }}</h1>
-<!--      <view class="wenzhangLy">-->
-<!--        &lt;!&ndash; 头像昵称 &ndash;&gt;-->
-<!--        <view class="txTime">-->
+      <view class="wenzhangLy">
+        <!-- 头像昵称 -->
+        <view class="txTime">
 <!--          <img-->
 <!--              class="uni-header-image"-->
 <!--              :src="initInfo.headImg == null || initInfo.headImg == '' ? initImgPath : loadImgSrcLocalhost(initInfo.headImg)"-->
 <!--          />-->
-<!--          <view class="time">-->
+          <view class="time">
 <!--            <p>{{ initInfo.name == null || initInfo.name == '' ? initInfo.wechatName : initInfo.name }}</p>-->
-<!--            <span>{{ fromData.createTime }}</span>-->
-<!--          </view>-->
-<!--        </view>-->
-<!--      </view>-->
+            <span>{{ detailInfo.createTime }}</span>
+          </view>
+        </view>
+      </view>
       <view class="wenzhangCont article">
                 <span v-html="detailInfo.textDetails">
                 </span>
@@ -113,7 +113,7 @@ export default {
    * 生命周期函数--监听页面加载
    */,
   onLoad(option) {
-	  let result = JSON.parse(decodeURIComponent(option.data)) 
+	  let result = JSON.parse(decodeURIComponent(option.data))
 	  this.detailInfo = result
   },
   /**

+ 5 - 5
pages/me/me.vue

@@ -49,11 +49,11 @@ export default {
 					name: '积分流水',
 					open: false
 				},
-				{
-					id: 'demo/wenba/wenba',
-					name: '我的问答',
-					open: false
-				},
+				// {
+				// 	id: 'demo/wenba/wenba',
+				// 	name: '我的问答',
+				// 	open: false
+				// },
 				{
 					id: 'me/nameAuthentication/nameAuthentication',
 					name: '实名认证',