| xqd
@@ -7,7 +7,10 @@
|
|
|
<swiper class="swiper-box" @change="change1" circular>
|
|
|
<swiper-item v-for="(item ,index) in infoList" :key="index">
|
|
|
<view class="swiper-item" v-if="item.resource_type == 1"
|
|
|
- @click="jumpHAppID(item.jump_type,item.jump_config)">
|
|
|
+ @click="$utils.jump({
|
|
|
+ jump_type: item.jump_type,
|
|
|
+ jump_config: item.jump_config
|
|
|
+ })">
|
|
|
<image style="width: 100%;height:592rpx;" :src="item.img" mode="aspectFill"></image>
|
|
|
</view>
|
|
|
<view class="swiper-item" v-if="item.resource_type == 2">
|
| xqd
@@ -23,7 +26,10 @@
|
|
|
<!-- 金刚图 -->
|
|
|
<view class="home-nav">
|
|
|
<view class="home-nav-item" v-for="(item,index) in navList" :key="index"
|
|
|
- @click="jumpHAppID(item.jump_type,item.jump_config)">
|
|
|
+ @click="$utils.jump({
|
|
|
+ jump_type: item.jump_type,
|
|
|
+ jump_config: item.jump_config
|
|
|
+ })">
|
|
|
<image style="width: 101.96rpx;height: 103.96rpx;" :src="item.img" mode=""></image>
|
|
|
<text style="color: #333;font-size: 24rpx;margin-top: 18rpx; ">{{item.title}}</text>
|
|
|
</view>
|
| xqd
@@ -47,7 +53,11 @@
|
|
|
<!-- 活动图片 -->
|
|
|
<view class="home-special-img">
|
|
|
<template v-for="(item,index) in specialList" >
|
|
|
- <view class="ListItem" v-if="item.show_status" :key="index" @click="activeDetail(item.id)">
|
|
|
+ <view class="ListItem" v-if="item.show_status" :key="index" @click="$utils.jump({
|
|
|
+ jump_type: 3,
|
|
|
+ jump_config: '/pages/index/active-detail/index',
|
|
|
+ id: item.id,
|
|
|
+ })">
|
|
|
<image style="width: 312rpx;height: 200rpx; border-radius: 12rpx; "
|
|
|
:src="item.banners?item.cover_img:'http://t9.9026.com/imgs/Kudosbg.png'" mode=""></image>
|
|
|
<view class="kudosicon" @click.stop="kudosActive(item.id,index)">
|
| xqd
@@ -64,7 +74,11 @@
|
|
|
<!-- 广告图 -->
|
|
|
<view class="home-banner" v-if="!isShowAdver">
|
|
|
<view class="home-banner-img" v-if="in_page==1 && type == 1 ">
|
|
|
- <image style="width: 100%; height: 576rpx; border-radius: 12rpx;" :src="advData.img" mode="" @click="jumpHAppID(advData.jump_type, advData.jump_config)"></image>
|
|
|
+ <image style="width: 100%; height: 576rpx; border-radius: 12rpx;" :src="advData.img" mode=""
|
|
|
+ @click="$utils.jump({
|
|
|
+ jump_type: item.jump_type,
|
|
|
+ jump_config: item.jump_config
|
|
|
+ })"></image>
|
|
|
<image @click="cleanCoverImg" class="img-clean" style="width: 20rpx; height: 20rpx; "
|
|
|
src="/static/icon/clean.png" mode="">
|
|
|
</image>
|
| xqd
@@ -84,14 +98,19 @@
|
|
|
|
|
|
<movable-area class="movableArea">
|
|
|
<movable-view class="movableView" direction="all" x="630rpx" y="700rpx">
|
|
|
- <view class="img-IHg" @click="goJoin">
|
|
|
+ <view class="img-IHg" @click="$utils.jumpJoinVip()">
|
|
|
<image style="width: 64rpx; height: 58rpx; " src="/static/icon/vip.png" mode=""></image>
|
|
|
</view>
|
|
|
</movable-view>
|
|
|
</movable-area>
|
|
|
|
|
|
<!-- 广告的附图 -->
|
|
|
- <view class="home-attach" @click="jumpHAppID(advInsetImg.jump_type, advInsetImg.jump_config)">
|
|
|
+ <view class="home-attach"
|
|
|
+ @click="$utils.jump({
|
|
|
+ jump_type: advInsetImg.jump_type,
|
|
|
+ jump_config: advInsetImg.jump_config
|
|
|
+ })"
|
|
|
+ >
|
|
|
<image style="width: 690rpx;height: 156rpx;border-radius: 79rpx;" :src="advInsetImg.img" mode=""></image>
|
|
|
</view>
|
|
|
<!-- 酒店推荐 -->
|
| xqd
@@ -107,7 +126,15 @@
|
|
|
<!-- 酒店推荐图片 -->
|
|
|
<view class="home-hotel-img">
|
|
|
<view class="home-hotel-img-content">
|
|
|
- <view @click="produceDetail(item.id)" class="home-hotel-img-content-item" v-for="(item,index) in goodsList" :key="index"
|
|
|
+ <!-- <view @click="produceDetail(item.id)" class="home-hotel-img-content-item" v-for="(item,index) in goodsList" :key="index"
|
|
|
+ :style="{marginTop:item.marginTop || 0 }">
|
|
|
+ <image class="home-hotel-img-content-item-img"
|
|
|
+ :class="item.short?'home-hotel-img-content-item-img': 'homel-hotel-img-content-item-img-long' "
|
|
|
+ :src="item.cover_img" mode=""></image>
|
|
|
+ <view class="text">
|
|
|
+ <text class="text-top">{{item.name}}</text>
|
|
|
+ </view> -->
|
|
|
+ <view class="home-hotel-img-content-item" v-for="(item,index) in goodsList" :key="index"
|
|
|
:style="{marginTop:item.marginTop || 0 }">
|
|
|
<image class="home-hotel-img-content-item-img"
|
|
|
:class="item.short?'home-hotel-img-content-item-img': 'home-hotel-img-content-item-img-long' "
|
| xqd
@@ -117,7 +144,10 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="home-hotel-img-more" @click="goProduceList">
|
|
|
+ <view class="home-hotel-img-more" @click="$utils.jump({
|
|
|
+ jump_type: 4,
|
|
|
+ jump_config: '/pages/goods/goods'
|
|
|
+ })">
|
|
|
<text>查看更多商品</text>
|
|
|
</view>
|
|
|
</view>
|
| xqd
@@ -136,7 +166,11 @@
|
|
|
<swiper class="swiper-box" circular @change="change2">
|
|
|
<swiper-item v-for="(items ,index) in info" :key="index">
|
|
|
<view v-for="(item ,j) in items" :key="j" class="swiper-item"
|
|
|
- @click="jumpHAppID(item.jump_type,item.jump_config)">
|
|
|
+ @click="$utils.jump({
|
|
|
+ jump_type: item.jump_type,
|
|
|
+ jump_config: item.jump_config
|
|
|
+ })"
|
|
|
+ >
|
|
|
<image style="width:144rpx;height:142rpx;" :src="item.img" mode="aspectFill"></image>
|
|
|
</view>
|
|
|
</swiper-item>
|
| xqd
@@ -151,7 +185,10 @@
|
|
|
<!-- 弹窗广告 -->
|
|
|
<uni-popup ref="popup" type="center">
|
|
|
<view class="popup-banner">
|
|
|
- <image @click="jumpHAppID(popupData.jump_type, popupData.jump_config)" style="width: 656rpx;height: 916rpx;border-radius: 12rpx;" :src="popupData.img">
|
|
|
+ <image @click="$utils.jump({
|
|
|
+ jump_type: popupData.jump_type,
|
|
|
+ jump_config: popupData.jump_config
|
|
|
+ })" style="width: 656rpx;height: 916rpx;border-radius: 12rpx;" :src="popupData.img">
|
|
|
</image>
|
|
|
<view class="popup-banner-clean" @click='closePopupBanner'>
|
|
|
<image style="width: 20rpx; height: 20rpx; " src="/static/icon/clean.png" mode="">
|