|
@@ -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;
|