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
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
118 additions
and
49 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
16px
;
margin
:
0px
20prx
32rpx
;
.scene-wrap
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
}
.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
...
@@ -11,7 +11,8 @@
...
@@ -11,7 +11,8 @@
tabHeight
tabHeight
unreadClueCount="{{unreadClueCount}}"
unreadClueCount="{{unreadClueCount}}"
bindclick="changeTabIndx"
bindclick="changeTabIndx"
class="tabContainer" />
class="tabContainer"
/>
<view class="right" data-type="shop" bindtap="gotoApply">
<view class="right" data-type="shop" bindtap="gotoApply">
<image class="img" src="{{IMG_URL}}index/apply.png" />
<image class="img" src="{{IMG_URL}}index/apply.png" />
<view class="apply">申请业务</view>
<view class="apply">申请业务</view>
...
@@ -23,16 +24,20 @@
...
@@ -23,16 +24,20 @@
class="content"
class="content"
wx:if="{{tabIndx == 1 }}"
wx:if="{{tabIndx == 1 }}"
hover-class="none"
hover-class="none"
hover-stop-propagation="false">
hover-stop-propagation="false"
>
<view class="scene">
<view class="scene">
<!-- wx:if="{{item.sceneStatus == 1}}" -->
<!-- wx:if="{{item.sceneStatus == 1}}" -->
<scroll-view scroll-x="{{true}}">
<view class="scene-wrap">
<view
<view
class="item-wrap {{actNum== index ? 'act':''}}"
class="item-wrap {{actNum== index ? 'act':''}}"
data-num="{{index}}"
data-num="{{index}}"
data-scenestatus="{{item.sceneStatus}}"
data-scenestatus="{{item.sceneStatus}}"
bindtap="selectCar"
bindtap="selectCar"
wx:for="{{senceData}}"
wx:for="{{senceData}}"
wx:key="name">
wx:key="name"
>
<view class="item">
<view class="item">
<image class="img" src="{{item.src}}" />
<image class="img" src="{{item.src}}" />
<view class="name">{{item.name}}</view>
<view class="name">{{item.name}}</view>
...
@@ -40,26 +45,33 @@
...
@@ -40,26 +45,33 @@
</view>
</view>
</view>
</view>
</view>
</view>
</scroll-view>
</view>
<product
<product
stickyTop="{{headerHeight}}"
stickyTop="{{headerHeight}}"
actNum="{{actNum}}"
actNum="{{actNum}}"
senceData="{{senceData}}"
senceData="{{senceData}}"
origin="home"
origin="home"
bindsharehandle="sharehandle" />
bindsharehandle="sharehandle"
/>
</view>
</view>
<!-- 看线索内容 -->
<!-- 看线索内容 -->
<view
<view
class="clue"
class="clue"
wx:if="{{tabIndx == 0 }}"
wx:if="{{tabIndx == 0 }}"
hover-class="none"
hover-class="none"
hover-stop-propagation="false">
hover-stop-propagation="false"
>
<view class="types">
<view class="types">
<view
<view
class="type {{item['selectIndex']!=2&&index != 3?'active':'' }}"
class="type {{item['selectIndex']!=2&&index != 3?'active':'' }}"
wx:for="{{typeList}}"
wx:for="{{typeList}}"
wx:key="*this"
wx:key="*this"
data-index="{{index}}"
data-index="{{index}}"
bindtap="filterTypeFn">
bindtap="filterTypeFn"
>
{{item[item['selectIndex']] }}
{{item[item['selectIndex']] }}
<image class="point" wx:if="{{index != 3}}" src="{{IMG_URL}}index/point.png" />
<image class="point" wx:if="{{index != 3}}" src="{{IMG_URL}}index/point.png" />
</view>
</view>
...
@@ -71,7 +83,7 @@
...
@@ -71,7 +83,7 @@
<view class="name-wrap">
<view class="name-wrap">
<view class="name" hover-class="none" hover-stop-propagation="false">
<view class="name" hover-class="none" hover-stop-propagation="false">
{{item.nickName}}
{{item.nickName}}
<image class="avatar" src="{{IMG_URL}}index/
avatar
.png" wx:if="{{item.clueType != 3}}" />
<image class="avatar" src="{{IMG_URL}}index/
man
.png" wx:if="{{item.clueType != 3}}" />
</view>
</view>
<view class="source" hover-class="none" hover-stop-propagation="false">通过门店助手申请</view>
<view class="source" hover-class="none" hover-stop-propagation="false">通过门店助手申请</view>
</view>
</view>
...
@@ -81,7 +93,8 @@
...
@@ -81,7 +93,8 @@
wx:for="{{item.visitList}}"
wx:for="{{item.visitList}}"
wx:key="id"
wx:key="id"
wx:for-index="idx"
wx:for-index="idx"
wx:for-item="itemName">
wx:for-item="itemName"
>
<view class="shop-record">
<view class="shop-record">
<view class="shop-action-wrap">
<view class="shop-action-wrap">
<view class="action-wrap">
<view class="action-wrap">
...
@@ -89,13 +102,15 @@
...
@@ -89,13 +102,15 @@
class="action"
class="action"
selectable="false"
selectable="false"
space="false"
space="false"
decode="false">访问页面:
decode="false"
>访问页面:
</view>
</view>
<view
<view
class="detail"
class="detail"
selectable="false"
selectable="false"
space="false"
space="false"
decode="false">
decode="false"
>
{{itemName.productDesc}}
{{itemName.productDesc}}
</view>
</view>
</view>
</view>
...
@@ -103,7 +118,8 @@
...
@@ -103,7 +118,8 @@
class="time"
class="time"
selectable="false"
selectable="false"
space="false"
space="false"
decode="false">
decode="false"
>
{{itemName.clueDate}}
{{itemName.clueDate}}
</view>
</view>
</view>
</view>
...
@@ -120,12 +136,14 @@
...
@@ -120,12 +136,14 @@
class="phone-img"
class="phone-img"
data-phone="{{item.phone}}"
data-phone="{{item.phone}}"
bindtap="phoneCallFn"
bindtap="phoneCallFn"
src="{{IMG_URL}}index/phone.png" />
src="{{IMG_URL}}index/phone.png"
/>
<image
<image
class="copy"
class="copy"
data-phone="{{item.phone}}"
data-phone="{{item.phone}}"
bindtap="setCopyDataFn"
bindtap="setCopyDataFn"
src="{{IMG_URL}}index/copy.png" />
src="{{IMG_URL}}index/copy.png"
/>
</view>
</view>
</view>
</view>
<view
<view
...
@@ -134,7 +152,8 @@
...
@@ -134,7 +152,8 @@
hover-stop-propagation="false"
hover-stop-propagation="false"
data-type="active"
data-type="active"
data-item="{{item}}"
data-item="{{item}}"
bindtap="gotoApply">
bindtap="gotoApply"
>
开通活动
开通活动
</view>
</view>
</view>
</view>
...
@@ -148,7 +167,8 @@
...
@@ -148,7 +167,8 @@
data-type="like"
data-type="like"
data-outidx="{{index}}"
data-outidx="{{index}}"
data-item="{{item}}"
data-item="{{item}}"
bindtap="showToast" />
bindtap="showToast"
/>
<image
<image
class="like"
class="like"
wx:if="{{item.clueType == 1 && item.starTag == 0}}"
wx:if="{{item.clueType == 1 && item.starTag == 0}}"
...
@@ -156,7 +176,8 @@
...
@@ -156,7 +176,8 @@
data-type="dislike"
data-type="dislike"
data-outidx="{{index}}"
data-outidx="{{index}}"
data-item="{{item}}"
data-item="{{item}}"
bindtap="showToast" />
bindtap="showToast"
/>
<view class="name" hover-class="none" hover-stop-propagation="false">
<view class="name" hover-class="none" hover-stop-propagation="false">
{{item.nickName}}
{{item.nickName}}
<image class="avatar" src="{{IMG_URL}}index/avatar.png" wx:if="{{item.clueType != 3}}" />
<image class="avatar" src="{{IMG_URL}}index/avatar.png" wx:if="{{item.clueType != 3}}" />
...
@@ -168,19 +189,22 @@
...
@@ -168,19 +189,22 @@
wx:for="{{item.visitList}}"
wx:for="{{item.visitList}}"
wx:key="id"
wx:key="id"
wx:for-index="idx"
wx:for-index="idx"
wx:for-item="itemName">
wx:for-item="itemName"
>
<view class="action-wrap">
<view class="action-wrap">
<view
<view
class="action"
class="action"
selectable="false"
selectable="false"
space="false"
space="false"
decode="false">访问页面:
decode="false"
>访问页面:
</view>
</view>
<view
<view
class="detail"
class="detail"
selectable="false"
selectable="false"
space="false"
space="false"
decode="false">
decode="false"
>
{{itemName.productDesc}}
{{itemName.productDesc}}
</view>
</view>
</view>
</view>
...
@@ -188,7 +212,8 @@
...
@@ -188,7 +212,8 @@
class="time"
class="time"
selectable="false"
selectable="false"
space="false"
space="false"
decode="false">
decode="false"
>
{{itemName.clueDate}}
{{itemName.clueDate}}
</view>
</view>
</view>
</view>
...
@@ -199,26 +224,30 @@
...
@@ -199,26 +224,30 @@
hover-class="none"
hover-class="none"
hover-stop-propagation="false"
hover-stop-propagation="false"
data-outidx="{{index}}"
data-outidx="{{index}}"
bindtap="getMore">
bindtap="getMore"
>
{{ item.getMoreFlag ?'更多数据':'收起数据'}}
{{ item.getMoreFlag ?'更多数据':'收起数据'}}
</view>
</view>
<view
<view
class="info"
class="info"
hover-class="none"
hover-class="none"
hover-stop-propagation="false"
hover-stop-propagation="false"
wx:if="{{item.phone}}">
wx:if="{{item.phone}}"
>
<view class="phone-wrap">
<view class="phone-wrap">
<view class="phone">{{item.phone}}</view>
<view class="phone">{{item.phone}}</view>
<image
<image
class="phone-img"
class="phone-img"
data-phone="{{item.phone}}"
data-phone="{{item.phone}}"
bindtap="phoneCallFn"
bindtap="phoneCallFn"
src="{{IMG_URL}}index/phone.png" />
src="{{IMG_URL}}index/phone.png"
/>
<image
<image
class="copy"
class="copy"
data-phone="{{item.phone}}"
data-phone="{{item.phone}}"
bindtap="setCopyDataFn"
bindtap="setCopyDataFn"
src="{{IMG_URL}}index/copy.png" />
src="{{IMG_URL}}index/copy.png"
/>
</view>
</view>
<view
<view
class="btn"
class="btn"
...
@@ -227,7 +256,8 @@
...
@@ -227,7 +256,8 @@
data-type="shop"
data-type="shop"
bindtap="gotoApply"
bindtap="gotoApply"
data-item="{{item}}"
data-item="{{item}}"
wx:if="{{item.applyStatus == 0}}">
wx:if="{{item.applyStatus == 0}}"
>
+开店面
+开店面
</view>
</view>
</view>
</view>
...
@@ -244,7 +274,12 @@
...
@@ -244,7 +274,12 @@
<vas-toast isShow="{{true}}" id='toast' />
<vas-toast isShow="{{true}}" id='toast' />
<!-- 引导图 -->
<!-- 引导图 -->
<view class="guide" wx:if="{{guideShow}}" style="overflow-y:hidden;">
<view class="guide" wx:if="{{guideShow}}" style="overflow-y:hidden;">
<image bindtap="guideFn" class="guide-img" src="{{IMG_URL}}index/guide{{guideSrcIndex}}.png" />
<image
webp
bindtap="guideFn"
class="guide-img"
src="{{IMG_URL}}index/guide{{guideSrcIndex}}.png"
/>
</view>
</view>
<!-- 在线客服 -->
<!-- 在线客服 -->
<image class="chat" src="{{IMG_URL}}index/contact.png" bindtap="goConsult" />
<image class="chat" src="{{IMG_URL}}index/contact.png" bindtap="goConsult" />
...
@@ -253,7 +288,8 @@
...
@@ -253,7 +288,8 @@
class="output-value"
class="output-value"
bindtap="showCalculate"
bindtap="showCalculate"
src="{{IMG_URL}}index/valuation.png"
src="{{IMG_URL}}index/valuation.png"
wx:if="{{tabIndx == 1}}" />
wx:if="{{tabIndx == 1}}"
/>
<!-- 预估产值弹框 -->
<!-- 预估产值弹框 -->
<view class="dialog-wrapper" bindtap="clickDialog" hidden="{{!visible}}">
<view class="dialog-wrapper" bindtap="clickDialog" hidden="{{!visible}}">
<view class="dialog-box">
<view class="dialog-box">
...
@@ -274,7 +310,8 @@
...
@@ -274,7 +310,8 @@
maxlength="8"
maxlength="8"
name="sales"
name="sales"
value="{{formData.sales}}"
value="{{formData.sales}}"
type="number" />
type="number"
/>
<!-- <view class="form-unit">台</view> -->
<!-- <view class="form-unit">台</view> -->
</view>
</view>
<view class="form-item">
<view class="form-item">
...
@@ -285,7 +322,8 @@
...
@@ -285,7 +322,8 @@
maxlength="8"
maxlength="8"
name="flow"
name="flow"
type="number"
type="number"
value="{{formData.flow}}" />
value="{{formData.flow}}"
/>
<!-- <view class="form-unit">人</view> -->
<!-- <view class="form-unit">人</view> -->
</view>
</view>
<button class="dialog-btn" form-type="submit">提交测算</button>
<button class="dialog-btn" form-type="submit">提交测算</button>
...
...
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