Ver código fonte

修改公告

zs 1 ano atrás
pai
commit
fe047dc5b9

+ 15 - 4
pagesHome/notice/detail.vue

@@ -5,12 +5,12 @@
 			<view class="one_2">{{info.create_time||'暂无'}}</view>
 		</view>
 		<view class="two" v-if="info.path">
-			<view class="textOne" @tap="toView(info.path)">更多内容</view>
+			<button class="button" type="primary" size="mini" @click="toView(info.path)">更多内容</button>
 		</view>
-		<view class="two" v-if="info.file.length>0">
+		<view class="thr" v-if="info.file.length>0">
 			<swiperImg :imgsList='info.file'></swiperImg>
 		</view>
-		<view class="thr">
+		<view class="four">
 			<rich-text :nodes="formatRichText(info.content)"></rich-text>
 		</view>
 	</view>
@@ -108,6 +108,17 @@
 
 		.two {
 			text-align: center;
+
+			.button {
+				margin: 1vw 0 0 0;
+				background-color: var(--f3CColor);
+				color: var(--mainColor);
+				font-size: var(--font14Size);
+			}
+		}
+
+		.thr {
+			text-align: center;
 			padding: 2vw;
 
 			.image {
@@ -116,7 +127,7 @@
 			}
 		}
 
-		.thr {
+		.four {
 			padding: 2vw;
 		}
 	}

Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesHome/notice/detail.js.map


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
unpackage/dist/dev/mp-weixin/pagesHome/notice/detail.wxml


+ 11 - 2
unpackage/dist/dev/mp-weixin/pagesHome/notice/detail.wxss

@@ -16,13 +16,22 @@
 }
 .main .two.data-v-22fd37fe {
   text-align: center;
+}
+.main .two .button.data-v-22fd37fe {
+  margin: 1vw 0 0 0;
+  background-color: var(--f3CColor);
+  color: var(--mainColor);
+  font-size: var(--font14Size);
+}
+.main .thr.data-v-22fd37fe {
+  text-align: center;
   padding: 2vw;
 }
-.main .two .image.data-v-22fd37fe {
+.main .thr .image.data-v-22fd37fe {
   width: 50vw;
   height: 50vw;
 }
-.main .thr.data-v-22fd37fe {
+.main .four.data-v-22fd37fe {
   padding: 2vw;
 }