Feat:寻看点和抽奖

This commit is contained in:
lifizer
2024-02-06 12:42:46 +08:00
parent c88b6aa8a8
commit f3115fe7c8
73 changed files with 5324 additions and 6887 deletions
+10 -57
View File
@@ -60,62 +60,17 @@
<!-- 快捷跳转块v4 -->
<view class="fast-nav x-start">
<view class="item y-f" v-for="(item,index) in menus" :key="index" @click="$global.commonJump(item.uniapp_url)">
<image :src="item.pic" mode="scaleToFill"></image>
<image :src="item.pic"
mode="scaleToFill"></image>
<view class="one-t">{{ item.name }}</view>
</view>
</view>
<!-- 快捷跳转块v4end -->
<!-- <view style="padding-bottom:20rpx;background: #fff;">-->
<!-- 转盘-->
<!-- <image class="home-luck" :src="`${webUrl}/20220519145845818243.png`" mode="scaleToFill" @click="goLuck"></image>-->
<!-- </view>-->
<!-- 伴手礼精品 -->
<!-- <view class="wrapper hot" v-if="likeInfo.length > 0">-->
<!-- <view class="title acea-row row-between row-middle">-->
<!-- <view class="text acea-row row-left row-middle" style="">-->
<!-- <image style="width: 288rpx;height: 46rpx;" :src="webUrl+'/20220521111639280569.png'" mode="scaleToFill">-->
<!-- </image>-->
<!-- </view>-->
<!-- <view class="sub-title" style="flex-wrap: nowrap;" @click="goMoreBoutiqueGift()">-->
<!-- <image style="width: 68rpx;height: 34rpx;" :src="webUrl+'/20210609100740164364.png'" mode="scaleToFill">-->
<!-- </image>-->
<!-- </view>-->
<!-- </view>-->
<!-- <view class="hotGoodsList">-->
<!-- <ls-swiper @clickItem="clickItem()" :list="likeInfo" :slotsMode="true" imgKey="image" :interval="3000"-->
<!-- :duration='4000' :dots='false' :crown="true" :loop="true" :shadow='true' :autoplay='false' height='200'-->
<!-- :previousMargin="160" :nextMargin="160" imgRadius="5">-->
<!-- <template v-slot="{data}">-->
<!-- <view class="acea-row row-column my-swiper-item">-->
<!-- <view class="acea-row row-middle" style="position: relative;">-->
<!-- <image style="width: 420rpx;height: 260rpx;" :src="data.image" lazy-load mode="scaleToFill"></image>-->
<!-- <image-->
<!-- style="width: 168rpx;height: 44rpx;position: absolute;top: 0;left: 0;border-top-left-radius: 12rpx;z-index: 2;"-->
<!-- src="http://admin-api.xdd618.com/file/pic/20220519145858134058.png" mode="scaleToFill"></image>-->
<!-- </view>-->
<!-- <view class="acea-row row-column" style="padding: 10rpx;">-->
<!-- <view class="ac" style="color: #333333;font-size: 24rpx;margin-bottom: 8rpx;">-->
<!-- {{data.storeName}}-->
<!-- </view>-->
<!-- <view v-if="data.vipPrice && data.vipPrice > 0" class="money x-bc" style="color: #FF564A;">-->
<!-- <text style="font-size: 26rpx;">{{data.vipPrice}}</text>-->
<!-- <text class="btn-pay">立即抢购</text>-->
<!-- </view>-->
<!-- <view v-else class="money x-bc" style="color: #FF564A;">-->
<!-- <text style="font-size: 26rpx;">{{data.price}}</text>-->
<!-- <text class="btn-pay">立即抢购</text>-->
<!-- </view>-->
<!-- </view>-->
<!-- </view>-->
<!-- </template>-->
<!-- </ls-swiper>-->
<!-- </view>-->
<!-- </view>-->
<!-- 伴手礼精品end -->
<!-- 导航v9 -->
<!-- <u-scroll-list style="background: pink">-->
<!-- <view>aaa</view>-->
<!-- </u-scroll-list>-->
<!-- 导航v9end -->
<!-- v4 预售专区开始 -->
<view class="pre-sale" v-if="preSaleList.length">
@@ -312,7 +267,6 @@ import CouponWindow from '@/components/CouponWindow';
import CountDown from "@/components/CountDown";
import hxNavbar from "@/components/hx-navbar/hx-navbar.vue"
import imgBox from '@/components/imageTypeSet/imagebox.vue'
import LsSwiper from '@/components//ls-swiper/index.vue'
import {getCouponReceive, noticeDetail, noticeList} from "@/api/user";
import {getHomeData, getShareImage} from '@/api/public';
@@ -325,7 +279,6 @@ var that;
export default {
name: 'Index',
components: {
LsSwiper,
imgBox,
PromotionGood,
CouponWindow,
@@ -832,7 +785,7 @@ export default {
uni.navigateTo({url: '/pkg_product/views/festival'})
},
tapOld() {
this.isOldUser =false
this.isOldUser = false
const {type, text, jumpTime, pageLevel, url, params, couponId} = this.oldUserPopup
if (couponId != null) {
getCouponReceive(couponId).then(res => {
@@ -846,9 +799,9 @@ export default {
}
}).catch((err) => {
uni.showToast({
title: err.data.msg+'',
title: err.data.msg + '',
icon: 'none',
duration:3000
duration: 3000
})
})
}