tanxue 3 miesięcy temu
rodzic
commit
fe49ad086e

+ 13 - 6
common/styles/global/pages.scss

@@ -129,8 +129,15 @@
 	box-sizing: border-box;padding-bottom: 120rpx;overflow: auto;
 	.shouye-head-box{
 		width: 100%;height: 376rpx;text-align: center;font-size: 34rpx;color: #fff;
-		box-sizing: border-box;padding-top: 100rpx;font-weight: 600;
+		box-sizing: border-box;font-weight: 600;
 		background-image: url("@/static/images/index/index-head-bj.png");@include ezy-no-repeat-cover(bottom);
+		/*  #ifdef  H5  */
+		height: 300rpx;padding-top: 36rpx;
+		/*  #endif  */
+		
+		/*  #ifdef  APP-PLUS  */
+		height: 376rpx;padding-top: 100rpx;
+		/*  #endif  */
 	}
 	.index-tj-box{
 		background-color: #fff;border-radius: 12rpx;margin: 16rpx;padding: 24rpx;box-sizing:border-box;margin-top: -180rpx;
@@ -733,7 +740,7 @@
 	.card-head-row{
 		width: 100%;display: flex;align-items: center;border-bottom: 1rpx solid #f4f6fa;
 		padding: 10rpx 20rpx;box-sizing: border-box;justify-content: space-between;
-		.head-name{font-size: 32rpx;color:#49be89;}
+		.head-name{font-size: 32rpx;color:#49be89;@include single-line-ellipsis();}
 		.head-createTime{font-size: 28rpx;color:#969495;margin-left: auto;flex-shrink: 0;}
 		icon{width: 24rpx;height: 24rpx;@include ezy-no-repeat-cover;flex-shrink: 0;
 			background-image: url("@/static/images/common/nav-bar-jt-bottom.svg");
@@ -747,13 +754,13 @@
 
 /*** 消息详情 ***/
 .phone-tongzhi-page{
-	width: 100%;height: 100vh;display: flex;flex-direction: column;text-align: center;
+	width: 100%;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-body-box{box-sizing: border-box;padding: 20rpx;overflow: auto;height: calc(100vh - 160rpx - var(--status-bar-height));}
+	.tongzhi-name{font-size: 32rpx;color:#333;margin-bottom: 24rpx;line-height: 1.6;box-sizing: border-box;padding:0 20rpx;}
 	.tongzhi-time{font-size: 28rpx;color:#969495;margin-bottom: 24rpx;}
-	.tongzhi-content{font-size: 28rpx;color:#666;text-align: left;line-height: 1.6;}
+	.tongzhi-content{font-size: 28rpx;color:#666;text-align: left;line-height: 1.6;;}
 }
 /*** 办证 ***/
 .phone-banzheng-page{

+ 1 - 1
pages/admin/ShouYe/shouye.vue

@@ -97,7 +97,7 @@ function getTzlist(){
 		size: 10, // 固定查询10条
 	}
 	getAppNoticeList(opt).then(res => {
-		tzContent.value = res.data.data[0].content;
+		tzContent.value = res.data.data[0].name;
 	})
 }
 

+ 2 - 2
pages/admin/tongzhi/details.vue

@@ -2,11 +2,11 @@
 	<view class="phone-tongzhi-page">
 		<view class="icon-title-navBar-box">
 			<view @click="goUpPage" class="nav-bar-icon"></view>
-			<text class="nav-bar-title">{{tzData.name}}</text>
+			<text class="nav-bar-title">通知详情</text>
 			<!-- <icon class="tongzhi-down-icon" @click="downBtn"></icon> -->
 		</view>
 		<view class="tongzhi-body-box">
-			<!-- <view class="tongzhi-name">{{tzData.name}}</view> -->
+			<view class="tongzhi-name">{{tzData.name}}</view>
 			<view class="tongzhi-time">{{tzData.time}}</view>
 			<rich-text :nodes="tzData.content" class="tongzhi-content"></rich-text>
 		</view>