Silent 6 år sedan
förälder
incheckning
0c9e87a95b

+ 2 - 2
wechat/pages/announce-detail/index.wxss

xqd
@@ -96,10 +96,10 @@
     padding: 5rpx 10rpx!important;
 }
 .sg-container {
-  background-color: white
+  background-color: white;
+  padding: 0 30rpx;
 }
 .sg-title {
-  text-align: center;
   font-size: 1.15rem;
   font-weight: bold;
   padding: 7px 0;

+ 1 - 0
wechat/pages/article-detail/index.wxml

xqd
@@ -2,5 +2,6 @@
 <import src="/wxParse/wxParse.wxml"/>
 <view class='sg-container'>
   <view class='sg-title'>{{ back_article.title }}</view>
+  <view class='sg-date'>{{ back_article.publish_date }}</view>
   <template is="wxParse" data="{{wxParseData:article.nodes}}" />
 </view>

+ 8 - 2
wechat/pages/article-detail/index.wxss

xqd
@@ -2,11 +2,17 @@
 @import "/wxParse/wxParse.wxss";
 
 .sg-container {
-  background-color: white
+  background-color: white;
+  padding: 0 30rpx;
 }
 .sg-title {
-  text-align: center;
   font-size: 1.15rem;
   font-weight: bold;
   padding: 7px 0;
+}
+.sg-date {
+  text-align: right;
+  padding: 4px 7px;
+  font-size: 0.8rem;
+  color: grey;
 }

+ 8 - 7
wechat/pages/article/article.wxss

xqd xqd
@@ -20,6 +20,7 @@
   position: relative;
   width: 100%;
   height: 100%;
+  padding: 0 20rpx;
 }
 
 .info-content .info-video {
@@ -58,17 +59,17 @@
   left: 0;
 }
 
-.info-content .info-label {
-  width: 100%;
-  height: 100rpx;
+.info-content .info-label,
+.info-content .info-date {
+  display: inline;
   line-height: 100rpx;
-  padding: 0 24rpx;
-  white-space: nowrap;
-  text-overflow: ellipsis;
-  overflow: hidden;
   font-weight: bold;
 }
 
+.info-content .info-date {
+  float: right;
+}
+
 .modal {
   position: fixed;
   top: 0;