| | |
| | | </swiper> |
| | | </view> |
| | | |
| | | <SectionTitle title="全球影视地标" optitle="查看全部" goUrl="/pages/home/home-more" /> |
| | | <SectionTitle title="全球影视地标" optitle="查看全部" goUrl="/sub-pages/hot-city/index" /> |
| | | <!-- <GlobalGeo />--> |
| | | <view class="continent-section"> |
| | | <view class="continent-item all" @click="navigateToAll">全部</view> |
| | |
| | | } |
| | | const navigateToNearby = () => { |
| | | //附近功能跳转 |
| | | uni.navigateTo({ |
| | | url: '/pages/nearby/nearby' |
| | | }) |
| | | $message.showToast('附近功能未开放!'); |
| | | } |
| | | |
| | | |
| | |
| | | const onSwiperChange = (e: SwiperChangeEvent) => { |
| | | currentPage.value = e.detail.current |
| | | } |
| | | |
| | | // 小程序分享配置 |
| | | defineExpose({ |
| | | onShareAppMessage() { |
| | | return { |
| | | title: '影视地标推荐', |
| | | path: '/pages/home/home', |
| | | imageUrl: '', // 可以设置默认分享图片 |
| | | desc: '发现全球影视拍摄地,探索电影背后的故事' |
| | | } |
| | | }, |
| | | // 分享到朋友圈 |
| | | onShareTimeline() { |
| | | return { |
| | | title: '影视地标推荐', |
| | | query: '', |
| | | imageUrl: '', // 可以设置默认分享图片 |
| | | desc: '发现全球影视拍摄地,探索电影背后的故事' |
| | | } |
| | | } |
| | | }) |
| | | |
| | | </script> |
| | | |
| | | <style scoped> |