Commit fcdb815b by luyt

feat:添加第六个视频

1 parent b403a4dc
...@@ -12,7 +12,7 @@ page { ...@@ -12,7 +12,7 @@ page {
width: 100%; width: 100%;
} }
.introduce { .introduce {
height: 360rpx; height: 320rpx;
} }
.content-wrap{ .content-wrap{
background-image:linear-gradient(to bottom,#D0E5FE,#fff); background-image:linear-gradient(to bottom,#D0E5FE,#fff);
......
...@@ -12,7 +12,7 @@ page { ...@@ -12,7 +12,7 @@ page {
width: 100%; width: 100%;
} }
.introduce { .introduce {
height: 360rpx; height: 320rpx;
} }
.content-wrap{ .content-wrap{
background-image:linear-gradient(to bottom,#D0E5FE,#fff); background-image:linear-gradient(to bottom,#D0E5FE,#fff);
......
...@@ -130,7 +130,7 @@ var measureList = Object.freeze([ ...@@ -130,7 +130,7 @@ var measureList = Object.freeze([
serviceDividendRatio: '0.21' serviceDividendRatio: '0.21'
}, },
{ {
name: '智能香薰', name: '智能香氛',
parentName: '1.3 售后直播众筹活动', parentName: '1.3 售后直播众筹活动',
tips: '6个月以上', tips: '6个月以上',
value: '3-4', value: '3-4',
......
import { IMG_URL } from "~/utils/constantData.js"; import { IMG_URL } from "~/utils/constantData.js";
const videoBaseUrl = 'https://img02.glsx.com.cn/weapp/resource/miniprogram/ai-card/' // const videoBaseUrl = 'https://img02.glsx.com.cn/weapp/resource/miniprogram/ai-card/'
const videoBaseUrl = 'https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/'
var senceData = [ var senceData = [
{ {
name: '新车洽谈场景', name: '新车洽谈场景',
...@@ -364,10 +366,33 @@ var senceData = [ ...@@ -364,10 +366,33 @@ var senceData = [
"productName":"360全景导航", "productName":"360全景导航",
"category":"轻改类", "category":"轻改类",
prodImg: `${IMG_URL}index/prod2/prod3-1.png`, prodImg: `${IMG_URL}index/prod2/prod3-1.png`,
},
{
img: 'product-img9',
proName: '智能香氛系统',
price: '10000',
profit: '388800',
type: 'light',
productType: 'navigation',
path: 'navigationArround',
sale:10000, //销量
varType: 1,
flow:10000,
"productCode":"PC009",
"productName":"智能香氛系统",
"category":"轻改类",
prodImg: `${IMG_URL}index/prod2/prod3-5.png`,
} }
], ],
videoList: [ videoList: [
{ {
videoUrl: `${videoBaseUrl}video/car_beauty.mp4`,
posterUrl: `${IMG_URL}index/poster/car_beauty.png`,
name: '数字化美容-新增产值20w+',
manufacturer:'嘀加智慧',
view:2561
},
{
videoUrl: `${videoBaseUrl}video/seat.mp4`, videoUrl: `${videoBaseUrl}video/seat.mp4`,
posterUrl: `${IMG_URL}index/poster/seat_bitmap.png`, posterUrl: `${IMG_URL}index/poster/seat_bitmap.png`,
name: '座椅通风系统-新增产值20w', name: '座椅通风系统-新增产值20w',
...@@ -394,6 +419,13 @@ var senceData = [ ...@@ -394,6 +419,13 @@ var senceData = [
name: '360全景导航-新增产值57w+', name: '360全景导航-新增产值57w+',
manufacturer:'嘀加智慧', manufacturer:'嘀加智慧',
view:1891 view:1891
},
{
videoUrl: `${videoBaseUrl}video/fragrance.mp4`,
posterUrl: `${IMG_URL}index/poster/fragrance.png`,
name: '智能香氛系统-新增产值57w+',
manufacturer:'嘀加智慧',
view:3101
} }
], ],
posterList:[ posterList:[
......
...@@ -37,7 +37,7 @@ Page({ ...@@ -37,7 +37,7 @@ Page({
prodItemVideo(data){ prodItemVideo(data){
let {senceData,actNum,activeNavIdx} = data let {senceData,actNum,activeNavIdx} = data
// return senceData[actNum]?.productList[activeNavIdx] // return senceData[actNum]?.productList[activeNavIdx]
return senceData[actNum]?.videoList[0] return senceData[actNum]?.videoList[activeNavIdx]
}, },
// 授权昵称弹框显示 // 授权昵称弹框显示
authNcknameShow(data){ authNcknameShow(data){
......
...@@ -35,6 +35,7 @@ Page({ ...@@ -35,6 +35,7 @@ Page({
prodItemVideo(data){ prodItemVideo(data){
let {senceData,actNum,activeNavIdx} = data let {senceData,actNum,activeNavIdx} = data
// return senceData[actNum]?.productList[activeNavIdx] // return senceData[actNum]?.productList[activeNavIdx]
console.log('senceData[actNum]',senceData[actNum])
return senceData[actNum]?.videoList[0] return senceData[actNum]?.videoList[0]
}, },
// 授权昵称弹框显示 // 授权昵称弹框显示
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!