tanxue 3 kuukautta sitten
vanhempi
commit
988dc626f3

+ 2 - 0
common/styles/global/pages.scss

@@ -620,6 +620,8 @@
 /*** 消息详情 ***/
 .phone-tongzhi-page{
 	width: 100%;height: 100vh;display: flex;flex-direction: column;text-align: center;
+	.tongzhi-down-icon{width: 36rpx;height: 36rpx;@include ezy-no-repeat-cover;
+			background-image: url("@/static/images/common/down-icon.svg");}
 	.tongzhi-body-box{box-sizing: border-box;padding: 20rpx;flex: 1;overflow: auto;}
 	.tongzhi-name{font-size: 32rpx;color:#333;margin-bottom: 24rpx;line-height: 1.6;}
 	.tongzhi-time{font-size: 28rpx;color:#969495;margin-bottom: 24rpx;}

+ 8 - 1
pages/admin/tongzhi/details.vue

@@ -1,8 +1,9 @@
 <template>
 	<view class="phone-tongzhi-page">
-		<view class="icon-title-navBar-box">
+		<view class="phone-navBar-box">
 			<view @click="goUpPage" class="nav-bar-icon"></view>
 			<text class="nav-bar-title">{{tzData.name}}</text>
+			<icon class="tongzhi-down-icon" @click="downBtn"></icon>
 		</view>
 		<view class="tongzhi-body-box">
 			<!-- <view class="tongzhi-name">{{tzData.name}}</view> -->
@@ -20,6 +21,7 @@
 		name: '',
 		time: '',
 		content: '',
+		downUrl: '',
 	})
 	onLoad((options) => {
 		initPage(options);
@@ -29,6 +31,10 @@
 			url: '/pages/admin/tongzhi/list'
 		})
 	}
+	// 下载
+	function downBtn(){
+		//downUrl
+	}
 	function initPage(options) {
 		const opt = {
 			noticeId: options.noticeId,
@@ -37,6 +43,7 @@
 			tzData.name = res.data.name;
 			tzData.time = res.data.createTime;
 			tzData.content = res.data.content;
+			tzData.downUrl = res.data.content;
 		})
 	}
 </script>

+ 1 - 0
static/images/common/down-icon.svg

@@ -0,0 +1 @@
+<svg t="1741253451767" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3086" data-spm-anchor-id="a313x.search_index.0.i8.45e53a81nFQEhH" width="60" height="60"><path d="M810.03 957.39H213.96c-75.44 0-136.81-61.37-136.81-136.81V347.49c0-75.44 61.37-136.81 136.81-136.81h68.24c17.45 0 31.58 14.14 31.58 31.58 0 17.45-14.14 31.58-31.58 31.58h-68.24c-40.61 0-73.64 33.03-73.64 73.64v473.09c0 40.61 33.03 73.64 73.64 73.64h596.07c40.6 0 73.63-33.03 73.63-73.64V347.49c0-40.61-33.03-73.64-73.63-73.64h-86.4c-17.45 0-31.58-14.14-31.58-31.58 0-17.45 14.14-31.58 31.58-31.58h86.4c75.43 0 136.8 61.37 136.8 136.81v473.09c0 75.43-61.37 136.8-136.8 136.8z" fill="#3fd2a1" p-id="3087"></path><path d="M511.99 673.84c-17.44 0-31.58-14.14-31.58-31.58V98.97c0-17.44 14.14-31.58 31.58-31.58 17.44 0 31.58 14.14 31.58 31.58v543.29c0.01 17.44-14.13 31.58-31.58 31.58z" fill="#3fd2a1" p-id="3088"></path><path d="M532.36 665.41c-11.25 11.25-29.49 11.25-40.73 0L278.11 451.89c-11.25-11.25-11.25-29.49 0-40.73 11.25-11.25 29.49-11.25 40.73 0l213.52 213.52c11.25 11.24 11.25 29.48 0 40.73z" fill="#3fd2a1" p-id="3089"></path><path d="M491.63 665.41c11.25 11.25 29.49 11.25 40.73 0l213.52-213.52c11.25-11.25 11.25-29.49 0-40.73-11.25-11.25-29.49-11.25-40.73 0L491.63 624.67c-11.25 11.25-11.25 29.49 0 40.74z" fill="#3fd2a1" p-id="3090"></path></svg>

BIN
static/images/index/cj-icon.png


BIN
static/images/index/index-head-bj.png


BIN
static/images/index/jz-icon.png


BIN
static/images/index/kc-icon.png


BIN
static/images/index/ks-icon.png


BIN
static/images/index/kz-icon.png


BIN
static/images/index/lx-icon.png


BIN
static/images/index/tz-icon.png