lsw 11 mēneši atpakaļ
vecāks
revīzija
4b081d246f

+ 1 - 1
app/common/common.scss

@@ -267,7 +267,7 @@
 		overflow: hidden;
 		.address {
 			float: left;
-			width: 70%;
+			width: 68%;
 			.icon {
 				padding-right: 2px;
 			}

+ 1 - 1
app/pages.json

@@ -161,7 +161,7 @@
 		{
 			"path": "pages/news/index",
 			"style": {
-				"navigationBarTitleText": "新闻资讯",
+				"navigationBarTitleText": "资讯",
 				"enablePullDownRefresh": true
 			}
 		},

+ 1 - 1
app/pages/job/detail.vue

@@ -15,7 +15,7 @@
 				<view class="ms" @click="go('/pages/job/enterprise/detail?id=' + enterprise.id)">
 					<view class="icon gs">&#xe646;</view>
 					<view class="con">
-						<view class="mti">{{ enterprise.name }}</view>
+						<view class="mti omit">{{ enterprise.name }}</view>
 						<view class="address omit">{{ enterprise.address }}</view>
 					</view>
 					<text class="icon more">&#xe62b;</text>

+ 3 - 0
app/pages/news/detail.vue

@@ -52,5 +52,8 @@ export default {
 			padding-right: 25px;
 		}
 	}
+	.con{
+		font-size: 14px;
+	}
 }
 </style>

+ 0 - 1
app/pages/news/index.vue

@@ -58,7 +58,6 @@ export default {
 				loading: 'false',
 				success: (res) => {
 					this.tab = res.data.data;
-					this.tab.unshift({ dictLabel: '全部新闻', dictValue: '' });
 				}
 			});
 		},

+ 16 - 13
app/pages/serve/index.vue

@@ -71,24 +71,24 @@
 			</view>
 		</view>
 		<!--横幅-->
-		<image src="../../static/banner.jpg" mode="widthFix" class="hengfu" @click="webview('https://chenglantimes.com/a1')"></image>
+		<image :src="img.a1" class="hengfu" @click="go('/pages/news/index?type=政策专题')"></image>
 		<!--图片内容-->
 		<view class="ad" style="margin-left: -10px; margin-right: -10px">
 			<view class="item" style="height: 190px">
-				<view class="out" @click="webview('https://chenglantimes.com/a1')">
+				<view class="out" style="padding-right: 0px" @click="go('/pages/news/index?type=就业政策')">
 					<view class="int" style="height: 175px; box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2)">
-						<image src="https://chenglantimes.com/prod-api/profile/upload/2024/05/20/1716197779982.jpg" mode="heightFix" style="height: 180px; width: 100%"></image>
+						<image :src="img.a2"  style="height: 180px; width: 100%"></image>
 					</view>
 				</view>
 			</view>
 			<view class="item" style="height: 190px">
 				<view class="out">
 					<view class="int">
-						<view class="it" style="height: 80px" @click="webview('https://chenglantimes.com/a1')">
-							<image src="https://chenglantimes.com/prod-api/profile/upload/2024/05/20/1716195826603.jpg" mode="aspectFill" style="height: 85px; width: 100%"></image>
+						<view class="it" style="height: 80px" @click="go('/pages/news/index?type=就业政策')">
+							<image :src="img.a3" mode="aspectFill" style="height: 85px; width: 100%"></image>
 						</view>
-						<view class="it" style="height: 80px; margin-top: 15px" @click="webview('https://chenglantimes.com/a1')">
-							<image src="https://chenglantimes.com/prod-api/profile/upload/2024/05/20/1716198212203.jpg" mode="aspectFill" style="height: 77px; width: 100%"></image>
+						<view class="it" style="height: 86px; margin-top: 10px" @click="go('/pages/news/index?type=创业政策')">
+							<image :src="img.a4" mode="aspectFill" style="height: 83px; width: 100%"></image>
 						</view>
 					</view>
 				</view>
@@ -100,6 +100,12 @@
 export default {
 	data() {
 		return {
+			img: {
+				a1: 'https://chenglantimes.com/prod-api/profile/upload/2024/06/15/1718439518187.jpg',
+				a2: 'https://chenglantimes.com/prod-api/profile/upload/2024/05/20/1716197779982.jpg',
+				a3: 'https://chenglantimes.com/prod-api/profile/upload/2024/05/20/1716195826603.jpg',
+				a4: 'https://chenglantimes.com/prod-api/profile/upload/2024/05/20/1716198212203.jpg'
+			},
 			bannerList: [],
 			newsList: []
 		};
@@ -120,11 +126,6 @@ export default {
 		},
 		go(url) {
 			uni.navigateTo({ url: url });
-		},
-		webview(src) {
-			uni.navigateTo({
-				url: '/pages/other/webview?src=' + src
-			});
 		}
 	}
 };
@@ -146,6 +147,7 @@ export default {
 		margin-bottom: 5px;
 		border-bottom: 1px solid $line;
 		padding-bottom: 10px;
+		color: $font-c;
 		.title {
 			margin-left: 10px;
 		}
@@ -178,6 +180,7 @@ export default {
 	}
 }
 .hengfu {
+	height: 100px;
 	width: 100%;
 	border-radius: 7px;
 	margin-top: 10px;
@@ -189,7 +192,7 @@ export default {
 		width: 50%;
 		overflow: hidden;
 		.out {
-			padding: 10px 10px 10px 10px;
+			padding: 7px 10px 5px 10px;
 			.int {
 				overflow: hidden;
 				border-radius: 7px;

BIN
app/static/a1.png