Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
ai-card
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 86156fd0
authored
Sep 23, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
xiugai
1 parent
7c4773ec
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
6 deletions
pages/addValue/constant/data.js
pages/tab/index/index.js
pages/template/cube/cube.wxml
pages/template/cube/cube.wxss
pages/addValue/constant/data.js
View file @
86156fd
var
tabList
=
[
{
name
:
'新车
交付
'
,
name
:
'新车
销售期
'
,
img
:
'icon-car1'
,
active
:
'icon-car11'
,
playImg
:
'img1'
,
...
...
pages/tab/index/index.js
View file @
86156fd
...
...
@@ -205,6 +205,9 @@ Page({
return
{
title
:
`您好,我向你推荐了广联数科的
${
this
.
data
.
cardInfo
.
staffName
}
的智能名片~`
,
imageUrl
:
this
.
data
.
shareImg
,
path
:
"pages/tab/index/index?cardId="
+
util
.
getStorageSync
(
"scene"
).
cardId
,
};
},
setShareInfo
(
data
=
{})
{
...
...
@@ -360,9 +363,10 @@ Page({
},
// 获取员工名片信息
getCardDetail
()
{
console
.
log
(
util
.
getStorageSync
(
'scene'
),
wx
.
$trackData
.
cardId
)
const
scene
=
util
.
getStorageSync
(
'scene'
);
let
params
=
{
cardId
:
scene
.
cardId
cardId
:
wx
.
$trackData
.
cardId
||
scene
.
cardId
};
entmicroApi
.
getCardDetail
(
params
).
then
(({
data
,
code
,
message
})
=>
{
if
(
code
==
-
1
)
{
...
...
pages/template/cube/cube.wxml
View file @
86156fd
...
...
@@ -11,7 +11,7 @@
</view>
<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>
<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>
<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>
...
...
pages/template/cube/cube.wxss
View file @
86156fd
...
...
@@ -14,7 +14,7 @@
border-radius: 16rpx;
}
.cube-video1 {
top: 6
54
rpx;
top: 6
30
rpx;
}
.cube-img1 {
width: 710rpx;
...
...
@@ -57,8 +57,8 @@
height: 316rpx;
}
.cube-video2 {
bottom:
974
rpx;
bottom:
1026
rpx;
}
.cube-video3 {
bottom: 1
10
rpx;
bottom: 1
66
rpx;
}
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment