Commit 22865317 by chenwq

膨胀金活动场景

1 parent 7d086788
......@@ -470,6 +470,7 @@ var senceData = [
tabname:'膨胀金活动',
banner:`${IMG_URL}index/banner/banner5.png`,
scrollText:'已发布种草软文100+篇,促进门店二次转化客户到店,欢迎各经销商咨询',
tabList: ['项目介绍', '活动方案', '销售场景', '合作案例', '合作方式', 'FAQ'],
sceneImgs:[
`${IMG_URL}index/scene/scene20.png`,
`${IMG_URL}index/scene/scene21.png`,
......
......@@ -70,7 +70,8 @@ Page({
actNum,
activeNavIdx,
isShare,
sharephone
sharephone,
tabList: senceData[actNum]?.productList[activeNavIdx].tabList || norTabList
});
//分享数据
......
......@@ -5,6 +5,7 @@ import { senceData } from "~/pages/tab/index/constant/data";
import USERAPI from "~/api/usersApi/index";
import utils from "~/utils/util.js";
import { getActiveApi } from "~/api/viewprod";
const norTabList = ['项目亮点', '合作案例', '合作方式', '适配产品']
Page({
/**
......@@ -25,6 +26,7 @@ Page({
hasUserInfo: false,
phone: "", //授权手机号
prodItemVideo: "", //选中的场景下的video的第一个
tabList: []
},
// 计算属性
computed: {
......@@ -66,6 +68,7 @@ Page({
activeNavIdx,
isShare,
phone,
tabList: senceData[actNum]?.tabList || norTabList
});
// 分享描述
this.shareTitle = `给你分享一个${senceData[actNum]?.tabname},戳我参与~`;
......@@ -105,6 +108,7 @@ Page({
actNum, //选中的场景下标
activeNavIdx, //选中的产品
phone, //联系电话
tabList: senceData[actNum]?.tabList || norTabList
});
// 设置转发标题
......
......@@ -192,6 +192,35 @@ page {
.img-item33 {
width: 100%;
height: 2002rpx;
}// // 流程图五
.img-item40 {
width: 100%;
height: 1564rpx;
}
.img-item41 {
width: 100%;
height: 1224rpx;
}
.img-item42 {
width: 100%;
height: 1148rpx;
}
.img-item43 {
width: 100%;
height: 3504rpx;
}
.img-item44 {
width: 100%;
height: 2220rpx;
}
.img-item45 {
width: 100%;
height: 1092rpx;
}
}
}
......
......@@ -15,10 +15,11 @@
<!-- <image class="no-video" wx:if="{{actNum == 2}}" src="{{IMG_URL}}index/poster/no-video.png?v={{img_version}}" /> -->
<view class="tab-wrap">
<van-tabs sticky bind:click="onClickTab" active="{{tabAct}}">
<van-tab title="项目亮点"></van-tab>
<van-tab wx:for="{{tabList}}" title="{{item}}" wx:key="idnex" />
<!-- <van-tab title="项目亮点"></van-tab>
<van-tab title="合作案例"></van-tab>
<van-tab title="合作方式"></van-tab>
<van-tab title="适配产品"></van-tab>
<van-tab title="适配产品"></van-tab> -->
</van-tabs>
</view>
<view class="prod-detail">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!