Commit 5e335b5e by 王志慧

fixed

1 parent bbc7622c
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
"integrity": "sha512-swM4k3pVwt/6Tnijvq86paLiKE1CzbrBQ4lR7+9uRhwKOM0HS3ooK1Q4IjSEyxQ59ZFKmYYvZln77RZcnSDqmA==" "integrity": "sha512-swM4k3pVwt/6Tnijvq86paLiKE1CzbrBQ4lR7+9uRhwKOM0HS3ooK1Q4IjSEyxQ59ZFKmYYvZln77RZcnSDqmA=="
}, },
"glsx-applet-component": { "glsx-applet-component": {
"version": "1.1.10", "version": "1.1.11",
"resolved": "https://registry.npmjs.org/glsx-applet-component/-/glsx-applet-component-1.1.10.tgz", "resolved": "https://registry.npmjs.org/glsx-applet-component/-/glsx-applet-component-1.1.11.tgz",
"integrity": "sha512-0jJ1RT28em/lU4sak53LlU8hNgVWpgqDtF+2XxFMxlD8lT8jopA2zrEARJArRvjp0SNyxe58UXAdhJ/a8R/KdA==" "integrity": "sha512-Gu70TYByO1q+4ZiOR/aRJOdajgSJSnJTgeggjKDb1GUNVgPgb/iS9sGwyeAImBqGe++76Ws5LxLoegiixTzl4w=="
} }
} }
} }
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
"main": "app.js", "main": "app.js",
"dependencies": { "dependencies": {
"@vant/weapp": "^1.10.7", "@vant/weapp": "^1.10.7",
"glsx-applet-component": "^1.1.10" "glsx-applet-component": "^1.1.11"
}, },
"devDependencies": {}, "devDependencies": {},
"scripts": { "scripts": {
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<view class="num" wx:if="{{proDetail.mediaType != '1'}}">{{proDetail.view}}</view> <view class="num" wx:if="{{proDetail.mediaType != '1'}}">{{proDetail.view}}</view>
</view> </view>
</view> </view>
<view class="tab-wrap calc-wrap" wx:if="{{proetail.detailList}}"> <view class="tab-wrap calc-wrap" wx:if="{{proDetail.detailList}}" >
<van-tabs sticky bind:click="onClickTab" active="{{tabAct}}"> <van-tabs sticky bind:click="onClickTab" active="{{tabAct}}">
<van-tab wx:for="{{proDetail.detailList}}" title="{{item.name}}" wx:key="idnex" /> <van-tab wx:for="{{proDetail.detailList}}" title="{{item.name}}" wx:key="idnex" />
<!-- <van-tab title="合作案例" /> <!-- <van-tab title="合作案例" />
......
...@@ -177,13 +177,15 @@ Page({ ...@@ -177,13 +177,15 @@ Page({
} }
}, },
// 切换视频 // 切换视频
chooseVideo(e) { async chooseVideo(e) {
const { const {
proName, proName,
id id
} = e.detail } = e.detail
let videoData = await this.getDetailWithLike(id);
this.setData({ this.setData({
videoId: id videoId: id,
videoData
}) })
this.setpagesTitle(proName) this.setpagesTitle(proName)
this.changeShareData() this.changeShareData()
......
// pages/tab/output/output.js // pages/tab/output/output.js
const navStyle = "background-color: transparent;"; // const navStyle = "background-color: transparent;";
// import { subscriptionBannerUrl, subscriptionSystemData } from './constant/systemData' // import { subscriptionBannerUrl, subscriptionSystemData } from './constant/systemData'
// import {scenceList} from "./constant/data" // import {scenceList} from "./constant/data"
import ActivityApi from "~/api/activityApi/index"; import ActivityApi from "~/api/activityApi/index";
...@@ -32,7 +32,7 @@ Component({ ...@@ -32,7 +32,7 @@ Component({
img_version: IMG_VERSION(), img_version: IMG_VERSION(),
headerHeight: 0, headerHeight: 0,
actNum: 0, actNum: 0,
navStyle, // navStyle,
sceneCodeList: [], sceneCodeList: [],
showPage: false, showPage: false,
systemData: [], systemData: [],
......
<view class="container" style="padding-bottom: calc(100rpx + {{isFullSucreen ? '34' : 0}}px);"> <view class="container" style="padding-bottom: calc(100rpx + {{isFullSucreen ? '34' : 0}}px);">
<navigation-bar bindnavbarReady="navbarReady" navStyle="{{navStyle}}"> <navigation-bar bindnavbarReady="navbarReady">
<view class="my-tab"> <view class="my-tab">
<view wx:for="{{navList}}" wx:key="index" bindtap="changeMyTab" data-id="{{index}}" class='my-tab-item {{myTabIdx==index ? "tab-item-active": ""}}'>{{item}}</view> <view wx:for="{{navList}}" wx:key="index" bindtap="changeMyTab" data-id="{{index}}" class='my-tab-item {{myTabIdx==index ? "tab-item-active": ""}}'>{{item}}</view>
</view> </view>
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<!-- 系统订阅 --> <!-- 系统订阅 -->
<block wx:if="{{myTabIdx == 1}}"> <block wx:if="{{myTabIdx == 1}}">
<!-- <gl-subscription list="{{subscriptionSystemData}}" bindmenuClick="sysMenuClick" bannerUrl="{{subscriptionBannerUrl}}" bind:proClick="proClick" bindcurrentScen="getCurrentScen" data-name="客户数字化" bind:videoClick="videoClick" /> --> <!-- <gl-subscription list="{{subscriptionSystemData}}" bindmenuClick="sysMenuClick" bannerUrl="{{subscriptionBannerUrl}}" bind:proClick="proClick" bindcurrentScen="getCurrentScen" data-name="客户数字化" bind:videoClick="videoClick" /> -->
<gl-subscription list="{{systemData}}" bindmenuClick="sysMenuClick" bind:proClick="proClick" data-name="客户数字化" bind:videoClick="videoClick" bindsenceClick="senceClick" /> <gl-subscription list="{{systemData}}" novideo-img="novideo-img" bindmenuClick="sysMenuClick" bind:proClick="proClick" data-name="客户数字化" bind:videoClick="videoClick" bindsenceClick="senceClick" />
</block> </block>
<!-- 增值服务 --> <!-- 增值服务 -->
<block wx:if="{{myTabIdx==0}}"> <block wx:if="{{myTabIdx==0}}">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!