Commit 86156fd0 by 胡悦

xiugai

1 parent 7c4773ec
var tabList = [ var tabList = [
{ {
name: '新车交付', name: '新车销售期',
img: 'icon-car1', img: 'icon-car1',
active: 'icon-car11', active: 'icon-car11',
playImg: 'img1', playImg: 'img1',
......
...@@ -205,6 +205,9 @@ Page({ ...@@ -205,6 +205,9 @@ Page({
return { return {
title: `您好,我向你推荐了广联数科的${this.data.cardInfo.staffName}的智能名片~`, title: `您好,我向你推荐了广联数科的${this.data.cardInfo.staffName}的智能名片~`,
imageUrl: this.data.shareImg, imageUrl: this.data.shareImg,
path:
"pages/tab/index/index?cardId=" +
util.getStorageSync("scene").cardId,
}; };
}, },
setShareInfo(data = {}) { setShareInfo(data = {}) {
...@@ -360,9 +363,10 @@ Page({ ...@@ -360,9 +363,10 @@ Page({
}, },
// 获取员工名片信息 // 获取员工名片信息
getCardDetail() { getCardDetail() {
console.log(util.getStorageSync('scene'), wx.$trackData.cardId)
const scene = util.getStorageSync('scene'); const scene = util.getStorageSync('scene');
let params = { let params = {
cardId: scene.cardId cardId: wx.$trackData.cardId || scene.cardId
}; };
entmicroApi.getCardDetail(params).then(({data, code, message}) => { entmicroApi.getCardDetail(params).then(({data, code, message}) => {
if (code == -1) { if (code == -1) {
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
</view> </view>
<view wx:if="{{hasPhoneNumber}}"> <view wx:if="{{hasPhoneNumber}}">
<image mode="widthFix" lazy-load class="img m-t-64" webp src="{{IMGURL}}image/cube/cube-img1.png?v={{img_version}}"></image> <image mode="widthFix" lazy-load class="img m-t-64" webp src="{{IMGURL}}image/cube/cube-img1.png?v={{img_version}}"></image>
<view class="relative"> <view class="relative" style="height: 2772rpx;">
<image mode="widthFix" lazy-load class="img m-t-64" src="{{IMGURL}}image/cube/cube-img2.png?v={{img_version}}"></image> <image mode="widthFix" lazy-load class="img m-t-64" src="{{IMGURL}}image/cube/cube-img2.png?v={{img_version}}"></image>
<view class="box-video cube-video1"> <view class="box-video cube-video1">
<video poster="{{IMGURL}}image/cube/arrival-img.png?v={{img_version}}" src="{{IMGURL}}image/cube/arrival.mp4?v={{img_version}}"></video> <video poster="{{IMGURL}}image/cube/arrival-img.png?v={{img_version}}" src="{{IMGURL}}image/cube/arrival.mp4?v={{img_version}}"></video>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
border-radius: 16rpx; border-radius: 16rpx;
} }
.cube-video1 { .cube-video1 {
top: 654rpx; top: 630rpx;
} }
.cube-img1 { .cube-img1 {
width: 710rpx; width: 710rpx;
...@@ -57,8 +57,8 @@ ...@@ -57,8 +57,8 @@
height: 316rpx; height: 316rpx;
} }
.cube-video2 { .cube-video2 {
bottom: 974rpx; bottom: 1026rpx;
} }
.cube-video3 { .cube-video3 {
bottom: 110rpx; bottom: 166rpx;
} }
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!