|
|
@ -2,73 +2,58 @@ |
|
|
|
<view class="content"> |
|
|
|
<view class="top-box"> |
|
|
|
<!-- 搜索 --> |
|
|
|
<view class="search-box" @click="gotoPath('/subPackages/search/search')"> |
|
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/index/search.png" mode=""></image> |
|
|
|
搜一搜您想要的产品 |
|
|
|
</view> |
|
|
|
<image src="https://static.ticket.sz-trip.com/tongli/images/index/search.png" class="search-img" @click="gotoPath('/subPackages/search/search')"></image> |
|
|
|
|
|
|
|
<swiper class="top-banner" :circular="true" :interval="6000" |
|
|
|
<swiper class="top-banner" :circular="true" :interval="6000" :current="current" @change="swiperChange" |
|
|
|
:duration="800" :indicator-dots="false" :autoplay="true" v-if="topBanner"> |
|
|
|
<swiper-item v-for="(item, index) in topBanner" :key="index" @click.stop="gotoUrlNew(item)"> |
|
|
|
<image class="top-banner" :src="showImg(item.head_img)" mode="aspectFill"></image> |
|
|
|
</swiper-item> |
|
|
|
</swiper> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 金刚区 --> |
|
|
|
<view class="nav-box"> |
|
|
|
<view class="nav-top"> |
|
|
|
<view class="nav-topLeft"> |
|
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/index/consultImg.png" class="consultImg" @click="gotoPath('/subPackages/notice/noticeList')"></image> |
|
|
|
<view class="text-overflow">{{notice}}</view> |
|
|
|
<view class="swiper-num"> |
|
|
|
{{current + 1}}/{{topBanner.length}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 天气 --> |
|
|
|
<view class="nav-topRight"> |
|
|
|
<image :src="weatherList.image" mode="" class="weather-img"></image> |
|
|
|
<view style="line-height: 40rpx;"> |
|
|
|
{{weatherList.low}}~{{weatherList.high}} <br> {{weatherList.type}} |
|
|
|
<!-- 资讯 --> |
|
|
|
<view class="notice-box"> |
|
|
|
<image src="https://static.ticket.sz-trip.com/tongli/images/index/noticeImg.png" class="noticeImg"></image> |
|
|
|
同里古镇今日开园 |
|
|
|
|
|
|
|
<view class="notice-top flex-between"> |
|
|
|
<view style="display: flex;align-items: center;"> |
|
|
|
<image src="https://static.ticket.sz-trip.com/tongli/images/index/horn.png" mode=""></image> |
|
|
|
<view class="notice-text text-overflow">{{notice}}</view> |
|
|
|
</view> |
|
|
|
<view class="notice-more" @click="gotoPath('/subPackages/notice/noticeList')">更多 ></view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="notice-bottom flex-between"> |
|
|
|
<image src="https://static.ticket.sz-trip.com/tongli/images/index/menpiao.png" mode="" @click="gotoPath(navList[0].path)"></image> |
|
|
|
<image src="https://static.ticket.sz-trip.com/tongli/images/index/ditu.png" mode=""></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view style="position: relative;z-index: 2;"> |
|
|
|
<!-- 金刚区 --> |
|
|
|
<view class="nav-box"> |
|
|
|
<view class="nav-item" v-for="(item,index) in navList" :key="index" @click="gotoPath(item.path)"> |
|
|
|
<image :src="item.img" mode="" class="nav-img"></image> |
|
|
|
<view>{{item.text}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 背景icon --> |
|
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/index/iconBg.png" mode="" class="iconBg"></image> |
|
|
|
|
|
|
|
<!-- 景点推荐 --> |
|
|
|
<view class="scenic-box" :style="{backgroundImage: 'url('+showImg(homeUi.jdtj)+')',backgroundSize: 'cover'}" v-if="scenic" @click="gotoScenic(scenic)"> |
|
|
|
<view class="scenic-title">{{scenic.title}}</view> |
|
|
|
<view class="scenic-subtitle flex-between"> |
|
|
|
<view class="text-overflow" style="width: 320rpx;display: flex;align-items: center;"> |
|
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/index/location.png" mode="" class="location"></image> |
|
|
|
{{scenic.address}} |
|
|
|
</view> |
|
|
|
<view>>>> 发现好玩的游览宝地</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 活动日历、盐都美宿 --> |
|
|
|
<view class="flex-between" style="padding: 0 27rpx;margin-top: 20rpx;" v-if="homeUi.hdrl && homeUi.ydms_hotel"> |
|
|
|
<view @click="gotoPath('/subPackages/eventCalendar/eventCalendar')" class="calendar-box" :style="{backgroundImage: 'url('+showImg(homeUi.hdrl)+')',backgroundSize: 'cover'}"> |
|
|
|
<view class="calendar-title">今日共有{{eventCalendarNum}}个活动 >>></view> |
|
|
|
<view class="calendar-line"></view> |
|
|
|
<view class="calendar-subtitle">活动日历</view> |
|
|
|
<view class="calendar-date"> |
|
|
|
<span>{{day}}</span>日/{{month}}月 |
|
|
|
<!-- 景点展览 --> |
|
|
|
<view v-if="scenicList && scenicList.length > 0"> |
|
|
|
<view class="title-box flex-between"> |
|
|
|
<image :src="showImg(homeUi.ydms)" mode=""></image> |
|
|
|
<view @click="gotoPath('/subPackages/ticketBooking/ticketBooking')">更多 ></view> |
|
|
|
</view> |
|
|
|
<view class="scenic-box"> |
|
|
|
<view v-for="(item,index) in scenicList" :key="index" class="scenic-item" @click="gotoScenic(item)" |
|
|
|
:style="{backgroundImage: 'url('+showImg(item.image)+')',backgroundSize: 'cover'}"> |
|
|
|
<view class="scenic-title">{{item.title}}</view> |
|
|
|
</view> |
|
|
|
<view @click="gotoPath('/subPackages/hotelHomestay/hotelHomestay')" class="calendar-box" :style="{backgroundImage: 'url('+showImg(homeUi.ydms_hotel)+')',backgroundSize: 'cover'}"> |
|
|
|
<view class="calendar-title">享受家一般的舒适 >>></view> |
|
|
|
<view class="calendar-line"></view> |
|
|
|
<view class="calendar-subtitle">盐都美宿</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
@ -78,7 +63,7 @@ |
|
|
|
<image :src="showImg(homeUi.xltj)" mode=""></image> |
|
|
|
<view @click="gotoLineList">更多 ></view> |
|
|
|
</view> |
|
|
|
<view class="box"> |
|
|
|
<view> |
|
|
|
<view v-for="(item,index) in lineList" :key="index" class="line-item" @click="goLineDetail(item)"> |
|
|
|
<view class="hot flex-center" v-if="item.goods.image_tag">{{item.goods.image_tag}}</view> |
|
|
|
<image :src="showImg(item.points[0].main_image)" mode="aspectFill" class="line-img"></image> |
|
|
@ -101,7 +86,7 @@ |
|
|
|
<image :src="showImg(homeUi.ydms)" mode=""></image> |
|
|
|
<view @click="gotoPath('/subPackages/food/foodList')">更多 ></view> |
|
|
|
</view> |
|
|
|
<view class="food-box box"> |
|
|
|
<view class="food-box"> |
|
|
|
<view v-for="(item,index) in foodList" :key="index" class="food-item" :style="{backgroundImage: 'url('+showImg(item.goods.image)+')',backgroundSize: 'cover'}" @click="gotoFood(item.goods)"> |
|
|
|
<view class="recommend" v-if="item.goods.image_tag">{{item.goods.image_tag}}</view> |
|
|
|
<view class="food-content"> |
|
|
@ -113,29 +98,18 @@ |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 游记攻略 --> |
|
|
|
<!-- v-if="strategyList && strategyList.length > 0" --> |
|
|
|
<view> |
|
|
|
<view class="title-box flex-between"> |
|
|
|
<image :src="showImg(homeUi.yjgl)" mode=""></image> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="strategy-box box"> |
|
|
|
<view class="strategy-box"> |
|
|
|
<view v-for="(num,nums) in 2" :key="nums"> |
|
|
|
<view v-for="(item,index) in strategyList" :key="index" class="strategy-item" v-if="index % 2 === nums" @click="goCalendarDetail(item)"> |
|
|
|
<view class="title-tag" v-if="item.image_tag">{{item.image_tag}}</view> |
|
|
|
<image class="strategy-image" :src="showImg(item.image)" mode="widthFix"></image> |
|
|
|
<view class="strategy-content"> |
|
|
|
<view class="strategy-title">{{item.title}}</view> |
|
|
|
<view class="flex-between"> |
|
|
|
<view class="text-overflow" style="display: flex;align-items: center;width: 200rpx;"> |
|
|
|
<image :src="showImg(item.author_img)" mode="" class="author-img"></image> |
|
|
|
{{item.author}} |
|
|
|
</view> |
|
|
|
<view style="display: flex;align-items: center;"> |
|
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/index/eye.png" mode="" class="eye-img"></image> |
|
|
|
{{item.view}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="strategy-subtitle">同里旅游</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -151,51 +125,51 @@ |
|
|
|
data() { |
|
|
|
return { |
|
|
|
topBanner: [], |
|
|
|
weatherList: [], |
|
|
|
current: 0, |
|
|
|
navList: [ |
|
|
|
{ |
|
|
|
img: 'https://static.ticket.sz-trip.com/yandu/images/index/jdmp.png', |
|
|
|
text: '景区门票', |
|
|
|
img: 'https://static.ticket.sz-trip.com/tongli/images/index/lytl.png', |
|
|
|
text: '乐游同里', |
|
|
|
path: '/subPackages/ticketBooking/ticketBooking' |
|
|
|
}, |
|
|
|
{ |
|
|
|
img: 'https://static.ticket.sz-trip.com/yandu/images/index/jdms.png', |
|
|
|
text: '酒店民宿', |
|
|
|
path: '/subPackages/hotelHomestay/hotelHomestay' |
|
|
|
img: 'https://static.ticket.sz-trip.com/tongli/images/index/hdrl.png', |
|
|
|
text: '活动日历', |
|
|
|
path: '/subPackages/eventCalendar/eventCalendar' |
|
|
|
}, |
|
|
|
{ |
|
|
|
img: 'https://static.ticket.sz-trip.com/yandu/images/index/cyms.png', |
|
|
|
text: '餐饮美食', |
|
|
|
img: 'https://static.ticket.sz-trip.com/tongli/images/index/tsty.png', |
|
|
|
text: '特色体验', |
|
|
|
path: '/subPackages/food/foodList' |
|
|
|
}, |
|
|
|
{ |
|
|
|
img: 'https://static.ticket.sz-trip.com/yandu/images/index/wctc.png', |
|
|
|
text: '文创特产', |
|
|
|
img: 'https://static.ticket.sz-trip.com/tongli/images/index/jdms.png', |
|
|
|
text: '酒店民宿', |
|
|
|
path: '/subPackages/techan/techanList' |
|
|
|
}, |
|
|
|
{ |
|
|
|
img: 'https://static.ticket.sz-trip.com/yandu/images/index/xltj.png', |
|
|
|
text: '线路推荐', |
|
|
|
img: 'https://static.ticket.sz-trip.com/tongli/images/index/zcs.png', |
|
|
|
text: '找厕所', |
|
|
|
// path: '/subPackages/line/lineList' |
|
|
|
path: '/subPackages/webPage/webPage?url='+ encodeURIComponent('https://yandumap.sz-trip.com/lineList'), |
|
|
|
}, |
|
|
|
{ |
|
|
|
img: 'https://static.ticket.sz-trip.com/yandu/images/index/zhdt.png', |
|
|
|
text: '智慧地图', |
|
|
|
img: 'https://static.ticket.sz-trip.com/tongli/images/index/tcc.png', |
|
|
|
text: '停车场', |
|
|
|
path: '/subPackages/webPage/webPage?url='+ encodeURIComponent('https://yandumap.sz-trip.com/'), |
|
|
|
}, |
|
|
|
{ |
|
|
|
img: 'https://static.ticket.sz-trip.com/yandu/images/index/yjgl.png', |
|
|
|
text: '游记攻略', |
|
|
|
img: 'https://static.ticket.sz-trip.com/tongli/images/index/tcwc.png', |
|
|
|
text: '特产文创', |
|
|
|
path: '/subPackages/travelGuide/travelGuide' |
|
|
|
}, |
|
|
|
{ |
|
|
|
img: 'https://static.ticket.sz-trip.com/yandu/images/index/hdrl.png', |
|
|
|
text: '活动日历', |
|
|
|
img: 'https://static.ticket.sz-trip.com/tongli/images/index/tlms.png', |
|
|
|
text: '同里美食', |
|
|
|
path: '/subPackages/eventCalendar/eventCalendar' |
|
|
|
} |
|
|
|
], |
|
|
|
scenic: {}, |
|
|
|
scenicList: [], |
|
|
|
homeUi: {}, |
|
|
|
month: 0, |
|
|
|
day: 0, |
|
|
@ -204,7 +178,6 @@ |
|
|
|
strategyList: [], |
|
|
|
showMore: true, |
|
|
|
notice: '', |
|
|
|
eventCalendarNum: 0 |
|
|
|
} |
|
|
|
}, |
|
|
|
onReady() { |
|
|
@ -214,7 +187,6 @@ |
|
|
|
} |
|
|
|
|
|
|
|
this.getTopBanner() |
|
|
|
this.getWeather() |
|
|
|
this.getScenicByTag() |
|
|
|
this.getHomeUi() |
|
|
|
this.getNowDate() |
|
|
@ -222,9 +194,12 @@ |
|
|
|
this.getFoodList() |
|
|
|
this.getArticleByType() |
|
|
|
this.getLatest() |
|
|
|
this.getEventCalendarNum() |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
//轮播图左右滑动 |
|
|
|
swiperChange(e) { |
|
|
|
this.current = e.detail.current; |
|
|
|
}, |
|
|
|
// 去线路列表 |
|
|
|
gotoLineList() { |
|
|
|
uni.navigateTo({ |
|
|
@ -237,12 +212,6 @@ |
|
|
|
url: '/subPackages/webPage/webPage?url=https://yandumap.sz-trip.com/lineList?id=' + item.id |
|
|
|
}); |
|
|
|
}, |
|
|
|
// 获取活动日历数量 |
|
|
|
getEventCalendarNum() { |
|
|
|
this.Post({},'/api/activity/getActivityCalendarCount').then(res => { |
|
|
|
this.eventCalendarNum = res.data.count |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 公告 |
|
|
|
getLatest() { |
|
|
|
this.Post({},'/api/anncmnt/getLatest').then(res => { |
|
|
@ -328,20 +297,14 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
// 天气 |
|
|
|
getWeather() { |
|
|
|
this.Post({},'/api/index/weather').then(res => { |
|
|
|
this.weatherList = res.data |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 景点推荐 |
|
|
|
getScenicByTag() { |
|
|
|
this.Post({ |
|
|
|
tag_id: 48, |
|
|
|
offset: 0, |
|
|
|
limit: 1 |
|
|
|
limit: 5 |
|
|
|
},'/api/scenic/getScenicByTagId').then(res => { |
|
|
|
this.scenic = res.data[0] |
|
|
|
this.scenicList = res.data |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 首页UI |
|
|
@ -400,7 +363,7 @@ |
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
.content { |
|
|
|
background: #DFEDE0; |
|
|
|
background: #FFFDF7; |
|
|
|
min-height: 100vh; |
|
|
|
overflow-x: hidden; |
|
|
|
position: relative; |
|
|
@ -410,194 +373,162 @@ |
|
|
|
.top-box { |
|
|
|
position: relative; |
|
|
|
|
|
|
|
.search-box { |
|
|
|
width: 487rpx; |
|
|
|
.search-img { |
|
|
|
width: 60rpx; |
|
|
|
height: 60rpx; |
|
|
|
background: rgba(255, 255, 255, .4); |
|
|
|
border-radius: 30rpx; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
padding-left: 26rpx; |
|
|
|
font-weight: 400; |
|
|
|
font-size: 27rpx; |
|
|
|
color: #000000; |
|
|
|
position: absolute; |
|
|
|
top: 98rpx; |
|
|
|
left: 26rpx; |
|
|
|
top: 98.67rpx; |
|
|
|
left: 28rpx; |
|
|
|
z-index: 2; |
|
|
|
|
|
|
|
image { |
|
|
|
margin-right: 14rpx; |
|
|
|
width: 30.67rpx; |
|
|
|
height: 30.67rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.top-banner { |
|
|
|
width: 750rpx; |
|
|
|
height: 800rpx; |
|
|
|
height: 666.67rpx; |
|
|
|
} |
|
|
|
|
|
|
|
.swiper-num { |
|
|
|
position: absolute; |
|
|
|
bottom: 167rpx; |
|
|
|
right: 26.67rpx; |
|
|
|
width: 67rpx; |
|
|
|
line-height: 45rpx; |
|
|
|
background: rgba(22, 22, 22, .4); |
|
|
|
border-radius: 23rpx; |
|
|
|
text-align: center; |
|
|
|
z-index: 2; |
|
|
|
font-weight: 500; |
|
|
|
font-size: 24rpx; |
|
|
|
color: #FFFFFF; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.nav-box { |
|
|
|
width: 696.67rpx; |
|
|
|
height: 520rpx; |
|
|
|
background-image: url('https://static.ticket.sz-trip.com/yandu/images/index/navBg.png'); |
|
|
|
background-size: 100% 100%; |
|
|
|
.notice-box { |
|
|
|
width: 697rpx; |
|
|
|
height: 440rpx; |
|
|
|
background: linear-gradient(150deg, #FFF9E8, #FFF7E0); |
|
|
|
border-radius: 20rpx; |
|
|
|
position: relative; |
|
|
|
margin: -79rpx auto 0; |
|
|
|
margin: -140rpx auto 0; |
|
|
|
padding: 22rpx 27rpx 0; |
|
|
|
font-family: Source Han Serif CN VF; |
|
|
|
font-weight: bold; |
|
|
|
font-size: 40rpx; |
|
|
|
color: #000000; |
|
|
|
|
|
|
|
.nav-top { |
|
|
|
height: 172rpx; |
|
|
|
padding: 34rpx 19rpx 0 40rpx; |
|
|
|
display: flex; |
|
|
|
.noticeImg { |
|
|
|
width: 340rpx; |
|
|
|
height: 136rpx; |
|
|
|
position: absolute; |
|
|
|
top: -22rpx; |
|
|
|
right: 0; |
|
|
|
} |
|
|
|
|
|
|
|
.nav-topLeft { |
|
|
|
font-weight: 400; |
|
|
|
font-size: 27rpx; |
|
|
|
color: #111111; |
|
|
|
width: 424rpx; |
|
|
|
.notice-top { |
|
|
|
font-weight: 500; |
|
|
|
font-size: 25rpx; |
|
|
|
color: #097291; |
|
|
|
margin-top: 25rpx; |
|
|
|
position: relative; |
|
|
|
|
|
|
|
.consultImg { |
|
|
|
width: 296rpx; |
|
|
|
height: 45.33rpx; |
|
|
|
image { |
|
|
|
width: 33.33rpx; |
|
|
|
height: 24.67rpx; |
|
|
|
margin-right: 10rpx; |
|
|
|
} |
|
|
|
|
|
|
|
.text-overflow { |
|
|
|
margin-top: 12rpx; |
|
|
|
.notice-text { |
|
|
|
width: 423rpx; |
|
|
|
font-weight: 500; |
|
|
|
font-size: 25rpx; |
|
|
|
color: #097291; |
|
|
|
} |
|
|
|
|
|
|
|
.notice-more { |
|
|
|
width: 92rpx; |
|
|
|
line-height: 27rpx; |
|
|
|
text-align: right; |
|
|
|
border-left: 1rpx solid #097291; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.nav-topRight { |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
font-weight: 400; |
|
|
|
font-size: 24rpx; |
|
|
|
color: #000000; |
|
|
|
margin: 20rpx 0 0 15rpx; |
|
|
|
height: 73rpx; |
|
|
|
border-left: 1rpx solid #95BE9E; |
|
|
|
padding-left: 15rpx; |
|
|
|
.notice-bottom { |
|
|
|
margin-top: 33rpx; |
|
|
|
|
|
|
|
.weather-img { |
|
|
|
width: 46.67rpx; |
|
|
|
height: 46.67rpx; |
|
|
|
margin-right: 15rpx; |
|
|
|
image { |
|
|
|
width: 389.33rpx; |
|
|
|
height: 258.67rpx; |
|
|
|
} |
|
|
|
|
|
|
|
& image:first-child { |
|
|
|
width: 240rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.nav-box { |
|
|
|
margin-top: 39rpx; |
|
|
|
display: flex; |
|
|
|
flex-wrap: wrap; |
|
|
|
|
|
|
|
.nav-item { |
|
|
|
width: 25%; |
|
|
|
text-align: center; |
|
|
|
font-weight: 400; |
|
|
|
font-size: 25rpx; |
|
|
|
color: #111111; |
|
|
|
display: inline-block; |
|
|
|
|
|
|
|
.nav-img { |
|
|
|
width: 100rpx; |
|
|
|
height: 100rpx; |
|
|
|
width: 93.33rpx; |
|
|
|
height: 93.33rpx; |
|
|
|
margin-bottom: 10rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
.nav-item:nth-child(n+5) { |
|
|
|
margin-top: 20rpx; |
|
|
|
} |
|
|
|
margin-top: 40rpx; |
|
|
|
} |
|
|
|
|
|
|
|
.iconBg { |
|
|
|
width: 750rpx; |
|
|
|
height: 364.67rpx; |
|
|
|
position: absolute; |
|
|
|
top: 974rpx; |
|
|
|
left: 0; |
|
|
|
} |
|
|
|
|
|
|
|
.scenic-box { |
|
|
|
margin: 34rpx auto 0; |
|
|
|
width: 696rpx; |
|
|
|
margin: 32rpx auto 0; |
|
|
|
width: 100%; |
|
|
|
height: 280rpx; |
|
|
|
border-radius: 20rpx; |
|
|
|
padding: 140rpx 39rpx 0 25rpx; |
|
|
|
|
|
|
|
.scenic-title { |
|
|
|
text-align: right; |
|
|
|
font-weight: 500; |
|
|
|
font-size: 40rpx; |
|
|
|
color: #FFFFFF; |
|
|
|
text-shadow: 0rpx 1rpx 2rpx rgba(0,0,0,0.36); |
|
|
|
} |
|
|
|
|
|
|
|
.scenic-subtitle { |
|
|
|
margin-top: 30rpx; |
|
|
|
font-size: 24rpx; |
|
|
|
color: #FFFFFF; |
|
|
|
text-shadow: 0rpx 1rpx 2rpx rgba(0,0,0,0.36); |
|
|
|
|
|
|
|
.location { |
|
|
|
width: 20rpx; |
|
|
|
height: 24.67rpx; |
|
|
|
margin-right: 13rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.calendar-box { |
|
|
|
width: 337rpx; |
|
|
|
height: 253rpx; |
|
|
|
border-radius: 20rpx; |
|
|
|
padding: 20rpx 0 0 26rpx; |
|
|
|
|
|
|
|
.calendar-title { |
|
|
|
font-size: 24rpx; |
|
|
|
color: #FFFFFF; |
|
|
|
} |
|
|
|
padding-left: 26rpx; |
|
|
|
overflow-x: auto; |
|
|
|
display: flex; |
|
|
|
|
|
|
|
.calendar-line { |
|
|
|
width: 40rpx; |
|
|
|
height: 1rpx; |
|
|
|
background: #FFFFFF; |
|
|
|
margin: 10rpx 0 7rpx; |
|
|
|
} |
|
|
|
.scenic-item { |
|
|
|
width: 293rpx; |
|
|
|
height: 293rpx; |
|
|
|
margin-right: 20rpx; |
|
|
|
position: relative; |
|
|
|
flex-shrink: 0; |
|
|
|
|
|
|
|
.calendar-subtitle { |
|
|
|
.scenic-title { |
|
|
|
position: absolute; |
|
|
|
padding: 0 26rpx; |
|
|
|
bottom: 20rpx; |
|
|
|
font-weight: 500; |
|
|
|
font-size: 40rpx; |
|
|
|
font-size: 31rpx; |
|
|
|
color: #FFFFFF; |
|
|
|
} |
|
|
|
|
|
|
|
.calendar-date { |
|
|
|
margin-top: 40rpx; |
|
|
|
font-weight: 500; |
|
|
|
font-size: 24rpx; |
|
|
|
color: #FFFFFF; |
|
|
|
|
|
|
|
span { |
|
|
|
font-size: 48rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
.scenic-box::-webkit-scrollbar { |
|
|
|
display: none; |
|
|
|
} |
|
|
|
|
|
|
|
.title-box { |
|
|
|
margin-top: 60rpx; |
|
|
|
padding-right: 26rpx; |
|
|
|
margin-top: 55rpx; |
|
|
|
padding: 0 26rpx 0 42rpx; |
|
|
|
font-weight: 400; |
|
|
|
font-size: 27rpx; |
|
|
|
color: #000000; |
|
|
|
|
|
|
|
image { |
|
|
|
width: 464.67rpx; |
|
|
|
height: 120rpx; |
|
|
|
} |
|
|
|
|
|
|
|
view { |
|
|
|
margin-top: -25rpx; |
|
|
|
} |
|
|
|
width: 296rpx; |
|
|
|
height: 60rpx; |
|
|
|
} |
|
|
|
|
|
|
|
.box { |
|
|
|
margin-top: -14rpx; |
|
|
|
} |
|
|
|
|
|
|
|
.line-item { |
|
|
@ -749,11 +680,8 @@ |
|
|
|
justify-content: space-between; |
|
|
|
|
|
|
|
.strategy-item { |
|
|
|
width: 337rpx; |
|
|
|
background: #FFFFFF; |
|
|
|
border-radius: 18rpx; |
|
|
|
overflow: hidden; |
|
|
|
margin-bottom: 28rpx; |
|
|
|
width: 335rpx; |
|
|
|
margin-bottom: 35rpx; |
|
|
|
position: relative; |
|
|
|
|
|
|
|
.title-tag { |
|
|
@ -776,38 +704,25 @@ |
|
|
|
} |
|
|
|
|
|
|
|
.strategy-image { |
|
|
|
width: 337rpx; |
|
|
|
width: 335rpx; |
|
|
|
display: block; |
|
|
|
border-radius: 13rpx; |
|
|
|
} |
|
|
|
|
|
|
|
.strategy-content { |
|
|
|
background: #FFFFFF; |
|
|
|
padding: 20rpx; |
|
|
|
margin-top: 8rpx; |
|
|
|
|
|
|
|
.strategy-title { |
|
|
|
font-weight: 500; |
|
|
|
font-size: 28rpx; |
|
|
|
font-weight: bold; |
|
|
|
font-size: 29rpx; |
|
|
|
color: #000000; |
|
|
|
line-height: 40rpx; |
|
|
|
} |
|
|
|
|
|
|
|
.flex-between { |
|
|
|
.strategy-subtitle { |
|
|
|
font-weight: 500; |
|
|
|
font-size: 24rpx; |
|
|
|
color: #888888; |
|
|
|
margin-top: 10rpx; |
|
|
|
|
|
|
|
.author-img { |
|
|
|
width: 37rpx; |
|
|
|
height: 37rpx; |
|
|
|
margin-right: 6rpx; |
|
|
|
} |
|
|
|
|
|
|
|
.eye-img { |
|
|
|
width: 26.67rpx; |
|
|
|
height: 18.67rpx; |
|
|
|
margin-right: 6rpx; |
|
|
|
} |
|
|
|
color: #248BAA; |
|
|
|
margin-top: 8rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -815,14 +730,13 @@ |
|
|
|
|
|
|
|
.strategy-more { |
|
|
|
width: 200rpx; |
|
|
|
line-height: 67rpx; |
|
|
|
background: #DCEADD; |
|
|
|
line-height: 53rpx; |
|
|
|
border-radius: 33rpx; |
|
|
|
border: 1rpx solid #71B580; |
|
|
|
border: 1rpx solid #248BAA; |
|
|
|
margin: 44rpx auto 0; |
|
|
|
text-align: center; |
|
|
|
font-weight: 400; |
|
|
|
font-size: 28rpx; |
|
|
|
color: #5BA06A; |
|
|
|
font-weight: 500; |
|
|
|
font-size: 27rpx; |
|
|
|
color: #248BAA; |
|
|
|
} |
|
|
|
</style> |
|
|
|