Commit 00d8eb0f authored by 王炽's avatar 王炽

6666666

parent 4af66cda
...@@ -17,8 +17,8 @@ const { ...@@ -17,8 +17,8 @@ const {
// 通常可以吧 baseUrl 单独放在一个 js 文件了 // 通常可以吧 baseUrl 单独放在一个 js 文件了
// const baseUrl = "http://172.16.224.178:7777/pmall"; // const baseUrl = "http://172.16.224.178:7777/pmall";
// const baseUrl = "https://momclub-uat.feihe.com/pmall";//测试环境 // const baseUrl = "https://momclub-uat.feihe.com/pmall";//测试环境
const baseUrl = "https://momclub.feihe.com/pmall";//生产环境 // const baseUrl = "https://momclub.feihe.com/pmall";//生产环境
// const baseUrl = "https://feihe.m.duibatest.com.cn/pmall";//测试环境 const baseUrl = "https://feihe.m.duibatest.com.cn/pmall";//测试环境
const request = (options = {}) => { const request = (options = {}) => {
// 在这里可以对请求头进行一些设置 // 在这里可以对请求头进行一些设置
......
This diff is collapsed.
...@@ -26,14 +26,14 @@ ...@@ -26,14 +26,14 @@
}" @tap="jumpSwiper(index, $event)" class="icon" }" @tap="jumpSwiper(index, $event)" class="icon"
:src="swiperIndex === index ? $baseUrl + icon.activeUrl : $baseUrl + icon.baseUrl" :src="swiperIndex === index ? $baseUrl + icon.activeUrl : $baseUrl + icon.baseUrl"
v-for="(icon, index) in swiperIconList" :key="index"></image> --> v-for="(icon, index) in swiperIconList" :key="index"></image> -->
<image :src="$baseUrl + 'brandpage/indicatorDotsBg.png'" class="indicatorDotsBg"></image> <image :src="$baseUrl + 'brandpage/indicatorDotsBg.png'" class="indicatorDotsBg"></image>
<view class="indicatorDots"> <view class="indicatorDots">
<template v-for="(item, index) in swiperIconList" :key="index"> <template v-for="(item, index) in swiperIconList" :key="index">
<view class="dot" :class="swiperIndex === index ? 'dot-active' : 'dot-normal'"> <view class="dot" :class="swiperIndex === index ? 'dot-active' : 'dot-normal'">
</view> </view>
<text class="dotText" v-if="swiperIndex === index">{{ item.text }}</text> <text class="dotText" v-if="swiperIndex === index">{{ item.text }}</text>
</template> </template>
</view> </view>
</view> </view>
</view> </view>
<view class="videoposterbox"> <view class="videoposterbox">
...@@ -65,19 +65,19 @@ ...@@ -65,19 +65,19 @@
:style="{ :style="{
background: `url(${$baseUrl}brandpage/infoBoxBg.png) no-repeat center/contain` background: `url(${$baseUrl}brandpage/infoBoxBg.png) no-repeat center/contain`
}" :data-log="{ }" :data-log="{
xcxClick: '品牌故事-次屏页面点击', xcxClick: '品牌故事-次屏页面点击',
pageName: '品牌故事-次屏页面', pageName: '品牌故事-次屏页面',
buttonName: `${productTabList[channelTabIndex] + '中的' + infoItem.title}+'商品'` buttonName: `${productTabList[channelTabIndex] + '中的' + infoItem.title}+'商品'`
}" @tap="jumpProduct(infoItem, $event)"> }" @tap="jumpProduct(infoItem, $event)">
<view class="flexbox"> <view class="flexbox">
<view class="infotitle"> <view class="infotitle">
{{ infoItem.title }} {{ infoItem.title }}
</view>
<image class="infoimg" :src="$baseUrl + infoItem.bgUrl"></image>
</view>
<view class="infodesc">{{ infoItem.desc }}</view>
</view> </view>
<image class="infoimg" :src="$baseUrl + infoItem.bgUrl"></image>
</view> </view>
<view class="infodesc">{{ infoItem.desc }}</view>
</view>
</view>
<view class="product-row"> <view class="product-row">
<view class="infobox" :key="'bottom-' + index" <view class="infobox" :key="'bottom-' + index"
v-for="(infoItem, index) in productInfoList[channelTabIndex].filter((item, i) => i % 2 === 1)" v-for="(infoItem, index) in productInfoList[channelTabIndex].filter((item, i) => i % 2 === 1)"
...@@ -276,7 +276,7 @@ export default { ...@@ -276,7 +276,7 @@ export default {
} }
}, },
}, },
data() { data() {
return { return {
popType: 'bottom', popType: 'bottom',
...@@ -311,13 +311,13 @@ export default { ...@@ -311,13 +311,13 @@ export default {
} }
}, },
mounted() { mounted() {
this.initBrandInfo(); this.initBrandInfo();
// 初始化曝光检测工具 // 初始化曝光检测工具
this.exposureTracker = new ExposureTracker(this); this.exposureTracker = new ExposureTracker(this);
this.exposureTracker.addExposureElements(EXPOSURE_CONFIGS); this.exposureTracker.addExposureElements(EXPOSURE_CONFIGS);
// 初始检查曝光 // 初始检查曝光
this.$nextTick(() => { this.$nextTick(() => {
this.checkExposure(this.scrollTop); this.checkExposure(this.scrollTop);
...@@ -1215,7 +1215,7 @@ export default { ...@@ -1215,7 +1215,7 @@ export default {
margin-bottom: 0; margin-bottom: 0;
} }
.infobox { .infobox {
margin-right: 20rpx; margin-right: 20rpx;
flex-shrink: 0; flex-shrink: 0;
......
...@@ -288,7 +288,7 @@ ...@@ -288,7 +288,7 @@
> >
<!-- <image <!-- <image
class="goods-img-bg"productIdUrl class="goods-img-bg"productIdUrl
:src="$baseUrl + `integral/1013/listItemImgBg.png`" :src="$baseUrl + `integral/1008/listItemImgBg.png`"
mode="aspectFit" mode="aspectFit"
/> --> /> -->
<view class="goods-item-container" @click="handleGoodsItemClick('xingpin',i)"> <view class="goods-item-container" @click="handleGoodsItemClick('xingpin',i)">
...@@ -413,11 +413,11 @@ ...@@ -413,11 +413,11 @@
const integralData = ref({ const integralData = ref({
"tupianBanben": "1013", "tupianBanben": "1008",
"swiper": [ "swiper": [
{ {
"bannerImg": "integralBannerBg0.png", "bannerImg": "integralBannerBg0.png",
"url": "subPackages/shopMainList/topicNew/index?id=1001057", "url": "subPackages/shopMainList/topicNew/index?id=1000916",
"type": 2, "type": 2,
"extra": { "extra": {
"appId": "wx4205ec55b793245e", "appId": "wx4205ec55b793245e",
...@@ -594,9 +594,10 @@ ...@@ -594,9 +594,10 @@
} }
] ]
}, },
"vipActive": [{ "vipActive": [
{
"img": "vipAct0.png", "img": "vipAct0.png",
"url": "subPackages/shopMainList/topicNew/index?id=1001057", "url": "subPackages/shopMainList/topicNew/index?id=1000911",
"type": 2, "type": 2,
"extra": { "extra": {
"appId": "wx4205ec55b793245e", "appId": "wx4205ec55b793245e",
...@@ -624,7 +625,7 @@ ...@@ -624,7 +625,7 @@
], ],
"goodsListData": { "goodsListData": {
"listCommon": { "listCommon": {
"listItemImgBg": "integral/1013/listItemImgBg.png" "listItemImgBg": "integral/1008/listItemImgBg.png"
}, },
"tabInfo": { "tabInfo": {
"tabBg": "tapSelectBg.png", "tabBg": "tapSelectBg.png",
...@@ -1471,6 +1472,7 @@ ...@@ -1471,6 +1472,7 @@
//banner点击事件 //banner点击事件
const bannerHandler = (item) => { const bannerHandler = (item) => {
md.sensorLogTake({ md.sensorLogTake({
xcxClick: "积分服务页-首屏页面点击", xcxClick: "积分服务页-首屏页面点击",
pageName: "积分服务页-首屏", pageName: "积分服务页-首屏",
...@@ -1875,7 +1877,7 @@ ...@@ -1875,7 +1877,7 @@
height: 154rpx; height: 154rpx;
// margin-left: 32rpx; // margin-left: 32rpx;
// margin-right: 32rpx; // margin-right: 32rpx;
// background: url('@{baseUrl}integral/1013/vipDetailBg.png') no-repeat center/cover; // background: url('@{baseUrl}integral/1008/vipDetailBg.png') no-repeat center/cover;
flex-direction: row; flex-direction: row;
position: relative; position: relative;
display: flex; display: flex;
...@@ -1935,7 +1937,7 @@ ...@@ -1935,7 +1937,7 @@
height: 37rpx; height: 37rpx;
margin-left: 10rpx; margin-left: 10rpx;
margin-top: 5rpx; margin-top: 5rpx;
// background: url('@{baseUrl}integral/1013/tabNowBg.png') no-repeat center/contain; // background: url('@{baseUrl}integral/1008/tabNowBg.png') no-repeat center/contain;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
...@@ -1971,7 +1973,7 @@ ...@@ -1971,7 +1973,7 @@
// flex: 1; // flex: 1;
height: 144rpx; height: 144rpx;
width: 492rpx; width: 492rpx;
// background: url('@{baseUrl}integral/1013/inteBarAreaBg.png') no-repeat center/cover; // background: url('@{baseUrl}integral/1008/inteBarAreaBg.png') no-repeat center/cover;
margin-left: 16rpx; margin-left: 16rpx;
// padding: 16rpx 24rpx; // padding: 16rpx 24rpx;
.integralClick { .integralClick {
...@@ -2230,8 +2232,8 @@ ...@@ -2230,8 +2232,8 @@
justify-content: center; justify-content: center;
&.active { &.active {
//https://duiba.oss-cn-hangzhou.aliyuncs.com/fh/integral/1013/tapSelectBg.png //https://duiba.oss-cn-hangzhou.aliyuncs.com/fh/integral/1008/tapSelectBg.png
// background-image: url('@{baseUrl}integral/1013/tapSelectBg.png'); // background-image: url('@{baseUrl}integral/1008/tapSelectBg.png');
background-size: 100% 100%; background-size: 100% 100%;
.tab-line1 { color: #1d1e25; } .tab-line1 { color: #1d1e25; }
.tab-line2 { color: #b27c1e; } .tab-line2 { color: #b27c1e; }
......
...@@ -181,6 +181,28 @@ ...@@ -181,6 +181,28 @@
</view> </view>
</view> </view>
<view class="vip-active-area" v-if="pageCfgStore?.contentCfg?.activeInfo?.length > 0">
<text class="vip-title">精彩活动</text>
<swiper
class="vip-active-swiper"
:indicator-dots="pageCfgStore?.contentCfg?.activeInfo?.length > 1"
:autoplay="true"
:circular="true"
indicator-color="#dfddd9"
indicator-active-color="#b27c1e"
:indicator-top="32"
>
<swiper-item v-for="(item, index) in pageCfgStore?.contentCfg?.activeInfo" :key="index">
<image
class="vip-active-img"
:src="item?.img"
mode="aspectFit"
@click="handleVipActiveClick(index, item)"
/>
</swiper-item>
</swiper>
</view>
<!-- 协议 --> <!-- 协议 -->
<view class="protocol-container"> <view class="protocol-container">
<image :src="$baseUrl + 'my/protocol.png'" mode="aspectFit" /> <image :src="$baseUrl + 'my/protocol.png'" mode="aspectFit" />
...@@ -444,9 +466,10 @@ onMounted(async () => { ...@@ -444,9 +466,10 @@ onMounted(async () => {
}); });
showLoading(); showLoading();
await userStore.loadMemberInfo(); await userStore.loadMemberInfo();
console.log("userStore.memberInfo====", userStore.memberInfo);
await pageCfgStore.fetchCfg(); await pageCfgStore.fetchCfg();
console.log("pageCfgStore.contentCfg====", pageCfgStore.contentCfg);
initData(); initData();
hideLoading(); hideLoading();
}); });
...@@ -671,7 +694,7 @@ defineExpose({}); ...@@ -671,7 +694,7 @@ defineExpose({});
border-radius: 32rpx; border-radius: 32rpx;
padding: 32rpx 30rpx; padding: 32rpx 30rpx;
box-sizing: border-box; box-sizing: border-box;
margin-top: 161rpx; margin-top: 180rpx;
.desc-top { .desc-top {
display: flex; display: flex;
...@@ -766,6 +789,27 @@ defineExpose({}); ...@@ -766,6 +789,27 @@ defineExpose({});
} }
} }
.vip-active-area {
margin-left: 28rpx;
margin-top: 60rpx;
.vip-title {
margin-left: 20rpx;
}
.vip-active-swiper {
width: 692rpx;
height: 204rpx;
flex-shrink: 0;
margin-top: 30rpx;
margin-bottom: 100rpx;
.vip-active-img {
width: 100%;
height: 100%;
// border-radius: 16rpx;
}
}
}
.protocol-container { .protocol-container {
width: 360rpx; width: 360rpx;
height: 25rpx; height: 25rpx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment