|
@ -1,10 +1,10 @@ |
|
|
<template> |
|
|
<template> |
|
|
<view class="content" style="overflow-x: auto;"> |
|
|
<view class="content" style="overflow-x: auto;"> |
|
|
<!-- <view class="search-header" :style="{'height': height+'px','padding-top':statusBarHeight+'px'}"> |
|
|
<view class="search-header" :style="{'height': height+'px','padding-top':statusBarHeight+'px'}"> |
|
|
<view class="title">CGC-ICH</view> |
|
|
<view class="title">CGC-ICH</view> |
|
|
<view class="subtitle">大运河非遗</view> |
|
|
<view class="subtitle">大运河非物质文化遗产</view> |
|
|
</view> |
|
|
</view> |
|
|
<div :style="{'height':height+'px','flex-shrink':0}"></div> --> |
|
|
<div :style="{'height':height+'px','flex-shrink':0}"></div> |
|
|
<!-- 头部banner --> |
|
|
<!-- 头部banner --> |
|
|
<view class="top-box"> |
|
|
<view class="top-box"> |
|
|
<!-- 搜索 --> |
|
|
<!-- 搜索 --> |
|
@ -26,8 +26,8 @@ |
|
|
<view class="menu-box flex-between"> |
|
|
<view class="menu-box flex-between"> |
|
|
<view class="menu-left flex-around"> |
|
|
<view class="menu-left flex-around"> |
|
|
<view class="" v-for="(item,index) in menuList" :key="index" @click="gotoPath(item.path)"> |
|
|
<view class="" v-for="(item,index) in menuList" :key="index" @click="gotoPath(item.path)"> |
|
|
<image :src="`https://static.ticket.sz-trip.com/cgc/images/indexs/${index + 1}.png`" class="topImg" mode="heightFix"></image> |
|
|
<image :src="showImg(`https://static.ticket.sz-trip.com/cgc/images/indexs/${index + 1}.png`)" class="topImg" mode="heightFix"></image> |
|
|
<image :src="`https://static.ticket.sz-trip.com/cgc/images/indexs/${index + 1}s.png`" class="titleImg" mode="heightFix"></image> |
|
|
<image :src="showImg(`https://static.ticket.sz-trip.com/cgc/images/indexs/${index + 1}s.png`)" class="titleImg" mode="heightFix"></image> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<!-- <view class="menu-right flex-around"> |
|
|
<!-- <view class="menu-right flex-around"> |
|
@ -44,7 +44,7 @@ |
|
|
<view v-if="handwrittenList && handwrittenList.length > 0"> |
|
|
<view v-if="handwrittenList && handwrittenList.length > 0"> |
|
|
|
|
|
|
|
|
<view class="title-box flex-between"> |
|
|
<view class="title-box flex-between"> |
|
|
<image src="https://cgc.js-dyyj.com/uploads/20250618/0cc227827073c9ab16dd2ce9b9e3b579.png" mode="heightFix"></image> |
|
|
<image src="https://cgc.js-dyyj.com/uploads/20250619/d0cfd5cd7253d8ce6a747842a40be020.png" mode="heightFix"></image> |
|
|
<image src="https://static.ticket.sz-trip.com/cgc/images/index/more.png" mode="" @click="gotoPath('/subPackages/letter/index')"></image> |
|
|
<image src="https://static.ticket.sz-trip.com/cgc/images/index/more.png" mode="" @click="gotoPath('/subPackages/letter/index')"></image> |
|
|
</view> |
|
|
</view> |
|
|
<view class="handwritten-box flex-between"> |
|
|
<view class="handwritten-box flex-between"> |
|
@ -56,7 +56,7 @@ |
|
|
<!-- 非遗时光 --> |
|
|
<!-- 非遗时光 --> |
|
|
<view v-if="shiguang && shiguang.image"> |
|
|
<view v-if="shiguang && shiguang.image"> |
|
|
<view class="title-box flex-between"> |
|
|
<view class="title-box flex-between"> |
|
|
<image src="https://cgc.js-dyyj.com/uploads/20250618/496fdd2ccccc9f8a00ec698549532185.png" mode="heightFix"></image> |
|
|
<image src="https://cgc.js-dyyj.com/uploads/20250619/b10ed22a2e5b2187d88352869575fb16.png" mode="heightFix"></image> |
|
|
<image src="https://static.ticket.sz-trip.com/cgc/images/index/more.png" mode="" @click="gotoPath('/subPackages/shiguang/index')"></image> |
|
|
<image src="https://static.ticket.sz-trip.com/cgc/images/index/more.png" mode="" @click="gotoPath('/subPackages/shiguang/index')"></image> |
|
|
</view> |
|
|
</view> |
|
|
<view class="time-box" :style="{backgroundImage: 'url('+showImg(shiguang.image)+')'}" @click="gotoVideo(shiguang)"> |
|
|
<view class="time-box" :style="{backgroundImage: 'url('+showImg(shiguang.image)+')'}" @click="gotoVideo(shiguang)"> |
|
@ -176,9 +176,9 @@ |
|
|
}, |
|
|
}, |
|
|
onReady() { |
|
|
onReady() { |
|
|
// 获取经纬度 |
|
|
// 获取经纬度 |
|
|
if(!uni.getStorageSync('location')) { |
|
|
// if(!uni.getStorageSync('location')) { |
|
|
this.getLocation() |
|
|
// this.getLocation() |
|
|
} |
|
|
// } |
|
|
this.initRectInfo() |
|
|
this.initRectInfo() |
|
|
|
|
|
|
|
|
this.getList() |
|
|
this.getList() |
|
|