Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
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 3b21b019
authored
Oct 25, 2022
by
wuwx
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'develop' of 192.168.3.233:saas_plus/business-assistant into develop
2 parents
c61b3dbc
ce755393
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
52 additions
and
21 deletions
pages/tab/index/components/product/product.js
pages/tab/index/components/product/product.scss
pages/tab/index/components/product/product.wxml
pages/tab/index/constant/data.js
pages/tab/index/index.scss
pages/tab/index/index.wxml
pages/tab/index/components/product/product.js
View file @
3b21b01
...
@@ -100,6 +100,9 @@ Component({
...
@@ -100,6 +100,9 @@ Component({
"360全景导航"
,
"360全景导航"
,
];
];
break
;
break
;
case
4
:
navList
=
[
"新能源0元换购"
];
break
;
}
}
this
.
setData
({
this
.
setData
({
...
...
pages/tab/index/components/product/product.scss
View file @
3b21b01
...
@@ -294,6 +294,29 @@
...
@@ -294,6 +294,29 @@
height
:
1666rpx
;
height
:
1666rpx
;
}
}
// 流程图5
.img-item51
{
width
:
100%
;
height
:
814rpx
;
}
.img-item52
{
width
:
100%
;
height
:
998rpx
;
}
.img-item53
{
width
:
100%
;
height
:
596rpx
;
}
.img-item54
{
width
:
100%
;
height
:
984rpx
;
}
.img-item55
{
width
:
100%
;
height
:
490rpx
;
}
/* 案例视频 */
/* 案例视频 */
.video-bg
{
.video-bg
{
...
...
pages/tab/index/components/product/product.wxml
View file @
3b21b01
...
@@ -16,12 +16,12 @@
...
@@ -16,12 +16,12 @@
<view class="prod-info">
<view class="prod-info">
<text class="title">{{senceData[actNum].productList[activeNavIdx].proName}}</text>
<text class="title">{{senceData[actNum].productList[activeNavIdx].proName}}</text>
<!-- senceData[actNum]['productList'][activeNavIdx].changeSale || -->
<!-- senceData[actNum]['productList'][activeNavIdx].changeSale || -->
<text class="sale" decode="{{true}}">{{senceData[actNum]['productList'][activeNavIdx].varType == 1 ? '三年售后存量数':'新车销量'}} <text class="sale-num">{{senceData[actNum]['productList'][activeNavIdx].varType == 1? senceData[actNum]['productList'][activeNavIdx].flow : senceData[actNum]['productList'][activeNavIdx].sale}}</text>
<text class="sale"
wx:if="{{ actNum!=4}}"
decode="{{true}}">{{senceData[actNum]['productList'][activeNavIdx].varType == 1 ? '三年售后存量数':'新车销量'}} <text class="sale-num">{{senceData[actNum]['productList'][activeNavIdx].varType == 1? senceData[actNum]['productList'][activeNavIdx].flow : senceData[actNum]['productList'][activeNavIdx].sale}}</text>
</text>
</text>
<text class="earnings" decode="{{true}}">预估收益 <text class="earnings-num">¥{{senceData[actNum]['productList'][activeNavIdx].profit}}</text>
<text class="earnings"
wx:if="{{ actNum!=4}}"
decode="{{true}}">预估收益 <text class="earnings-num">¥{{senceData[actNum]['productList'][activeNavIdx].profit}}</text>
</text>
</text>
</view>
</view>
<view class="share-btn" wx:if="{{!isShare && origin =='home'}}" bindtap="onShareFn">
<view class="share-btn" wx:if="{{!isShare && origin =='home'
&& actNum!=4
}}" bindtap="onShareFn">
<image class="icon" src="{{IMGURL}}share.png" />
<image class="icon" src="{{IMGURL}}share.png" />
<text>分享</text>
<text>分享</text>
</view>
</view>
...
...
pages/tab/index/constant/data.js
View file @
3b21b01
...
@@ -237,18 +237,18 @@ var senceData = [
...
@@ -237,18 +237,18 @@ var senceData = [
]
]
},
},
{
{
name
:
'
新车洽谈场景
'
,
name
:
'
3年以上
'
,
img
:
'scene_talk.png'
,
img
:
'scene_talk.png'
,
active
:
'icon-car11'
,
active
:
'icon-car11'
,
playImg
:
'img1'
,
playImg
:
'img1'
,
src
:
`
${
IMG_URL
}
index/car1.png`
,
src
:
`
${
IMG_URL
}
index/car1.png`
,
// name: "新车洽谈场景",
// name: "新车洽谈场景",
msg
:
"
1.0 新车权益销售
"
,
msg
:
"
3.1新能源0元购
"
,
"sceneCode"
:
"SC001"
,
"sceneCode"
:
"SC001"
,
productList
:
[
productList
:
[
{
{
img
:
'product-img1'
,
img
:
'product-img1'
,
proName
:
'
数字无忧权益卡
'
,
proName
:
'
新能源0元换购
'
,
price
:
'100'
,
price
:
'100'
,
// profit: '92.4万',
// profit: '92.4万',
profit
:
'1200000'
,
profit
:
'1200000'
,
...
@@ -258,9 +258,9 @@ var senceData = [
...
@@ -258,9 +258,9 @@ var senceData = [
sale
:
100
,
//销量
sale
:
100
,
//销量
varType
:
0
,
varType
:
0
,
flow
:
10000
,
flow
:
10000
,
"productCode"
:
"PC001
"
,
"productCode"
:
"PC010
"
,
"productName"
:
"数字无忧权益卡
"
,
"productName"
:
"新能源0元换购
"
,
"category"
:
"
服务
类"
,
"category"
:
"
置换
类"
,
}
}
]
]
},
},
...
...
pages/tab/index/index.scss
View file @
3b21b01
...
@@ -293,31 +293,36 @@ page {
...
@@ -293,31 +293,36 @@ page {
}
}
.scene
{
.scene
{
margin
:
0
10px
16
px
;
margin
:
0
px
20prx
32r
px
;
display
:
flex
;
.scene-wrap
{
justify-content
:
space-between
;
display
:
flex
;
}
.item-wrap
{
.item-wrap
{
// margin-right: 4px;
margin-right
:
8rpx
;
margin-bottom
:
40rpx
;
position
:
relative
;
position
:
relative
;
width
:
86px
;
width
:
172rpx
;
height
:
90px
;
height
:
180rpx
;
border-radius
:
10px
;
border-radius
:
8rpx
;
border
:
1px
solid
#f7f8fc
;
box-sizing
:
border-box
;
}
}
.item
{
.item
{
// padding-top: 10px;
// padding-top: 10px;
width
:
86
px
;
width
:
172r
px
;
height
:
90
px
;
height
:
180r
px
;
background
:
#f7f8fc
;
background
:
#f7f8fc
;
border-radius
:
6px
;
border-radius
:
8rpx
;
box-sizing
:
border-box
;
// border: 1px solid #f7f8fc;
}
}
.act
{
.act
{
// background-image: url("https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/act.png");
// background-image: url("https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/act.png");
// background-size: 100% 100%;
// background-size: 100% 100%;
border
:
1px
solid
var
(
--
btnColor
);
border
:
1px
solid
var
(
--
btnColor
);
box-shadow
:
0
0
10px
#999
;
box-shadow
:
0
2rpx
4rpx
0
rgba
(
180
,
186
,
204
,
0
.4
)
;
&
:
:
after
{
&
:
:
after
{
position
:
absolute
;
position
:
absolute
;
...
...
pages/tab/index/index.wxml
View file @
3b21b01
This diff is collapsed.
Click to expand it.
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