Browse Source

上传

master
前端-胡立永 3 months ago
parent
commit
aafcffadfa
3 changed files with 17 additions and 12 deletions
  1. +3
    -2
      components/list/scenicSpot.vue
  2. +11
    -7
      pages/index/index.vue
  3. +3
    -3
      pages_order/service/newsList.vue

+ 3
- 2
components/list/scenicSpot.vue View File

@ -120,7 +120,7 @@
margin-right: 20rpx; margin-right: 20rpx;
.video-item { .video-item {
position: relative; position: relative;
width: calc(25% - 20rpx);
width: calc(50% - 20rpx);
margin-left: 20rpx; margin-left: 20rpx;
margin-top: 20rpx; margin-top: 20rpx;
.image { .image {
@ -130,7 +130,7 @@
image { image {
width: 100%; width: 100%;
height: 120rpx;
height: 220rpx;
border-radius: 30rpx; border-radius: 30rpx;
} }
@ -154,6 +154,7 @@
justify-content: space-between; justify-content: space-between;
width: calc(100% - 40rpx); width: calc(100% - 40rpx);
padding: 30rpx; padding: 30rpx;
padding-top: 10rpx;
font-weight: 900; font-weight: 900;
align-items: center; align-items: center;


+ 11
- 7
pages/index/index.vue View File

@ -24,7 +24,7 @@
<view class="content"> <view class="content">
<view class="grid"> <view class="grid">
<uv-grid :border="false" <uv-grid :border="false"
:col="5">
:col="4">
<uv-grid-item <uv-grid-item
v-for="(item,index) in baseList" v-for="(item,index) in baseList"
@click="$utils.navigateTo(item.path)" @click="$utils.navigateTo(item.path)"
@ -36,7 +36,11 @@
</view> </view>
<view class="index_box"> <view class="index_box">
<image :src="config_new_image" class="image" mode="aspectFill"></image>
<image :src="config_new_image"
@click="$utils.navigateTo('/pages_order/service/newsList')"
class="image" mode="aspectFill"></image>
<view class="index_box_grid" <view class="index_box_grid"
@click="$utils.navigateTo('/pages_order/service/carefree')"> @click="$utils.navigateTo('/pages_order/service/carefree')">
<text class="text">无忧服务</text> <text class="text">无忧服务</text>
@ -132,11 +136,11 @@
// title : '', // title : '',
// path : '/pages_order/service/carefree', // path : '/pages_order/service/carefree',
// }, // },
{
icon : '/static/image/home/g6.png',
title : '申遗新闻',
path : '/pages_order/service/newsList',
},
// {
// icon : '/static/image/home/g6.png',
// title : '',
// path : '/pages_order/service/newsList',
// },
], ],
bannerList: [ bannerList: [
// { // {


+ 3
- 3
pages_order/service/newsList.vue View File

@ -99,9 +99,9 @@
// categoryId : this.articleType // categoryId : this.articleType
} }
if(this.articleType == -1){
return
}
// if(this.articleType == -1){
// return
// }
if(this.keyword){ if(this.keyword){
query.articleTitle = this.keyword query.articleTitle = this.keyword


Loading…
Cancel
Save