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 c01171a2
authored
Oct 25, 2022
by
张立顺
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
e6c6edea
2a5643f4
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
39 additions
and
8 deletions
pages/checkProduct/checkProduct.js
pages/checkProduct/checkProduct.scss
pages/tab/index/constant/data.js
pages/tab/index/index.js
pages/tab/index/index.wxml
pages/checkProduct/checkProduct.js
View file @
c01171a
...
@@ -229,6 +229,9 @@ Page({
...
@@ -229,6 +229,9 @@ Page({
height: _this.data.imgHeight,
height: _this.data.imgHeight,
});
});
console.log('actNum',actNum)
let qrcodeH = actNum== 2 ? 100 : 100
let qrcodeY = actNum== 2 ? 20 : 0
let arr = [456, 222, 0, 496];
let arr = [456, 222, 0, 496];
let imgList = [
let imgList = [
{
{
...
@@ -245,10 +248,10 @@ Page({
...
@@ -245,10 +248,10 @@ Page({
// y: erCodeHeight + 30,
// y: erCodeHeight + 30,
// width: 120 * 2,
// width: 120 * 2,
// height: 120 * 2,
// height: 120 * 2,
x: _this.data.imgWidth -
64
,
x: _this.data.imgWidth -
qrcodeH + 20
,
y: _this.data.imgHeight -
arr[actNum] - 64
,
y: _this.data.imgHeight -
qrcodeH + qrcodeY
,
width:
64
,
width:
qrcodeH -20
,
height:
64
,
height:
qrcodeH -20
,
url: res.data, //二维码
url: res.data, //二维码
},
},
];
];
...
...
pages/checkProduct/checkProduct.scss
View file @
c01171a
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
bottom
:
0
;
bottom
:
0
;
right
:
0
;
right
:
0
;
background
:
rgba
(
0
,
0
,
0
,
0
.5
);
background
:
rgba
(
0
,
0
,
0
,
0
.5
);
z-index
:
1
;
z-index
:
2
;
.img-wrap
{
.img-wrap
{
position
:
absolute
;
position
:
absolute
;
top
:
20%
;
top
:
20%
;
...
...
pages/tab/index/constant/data.js
View file @
c01171a
...
@@ -236,6 +236,34 @@ var senceData = [
...
@@ -236,6 +236,34 @@ var senceData = [
}
}
]
]
},
},
{
name
:
'新车洽谈场景'
,
img
:
'scene_talk.png'
,
active
:
'icon-car11'
,
playImg
:
'img1'
,
src
:
`
${
IMG_URL
}
index/car1.png`
,
// name: "新车洽谈场景",
msg
:
"1.0 新车权益销售"
,
"sceneCode"
:
"SC001"
,
productList
:
[
{
img
:
'product-img1'
,
proName
:
'数字无忧权益卡'
,
price
:
'100'
,
// profit: '92.4万',
profit
:
'1200000'
,
type
:
'service'
,
productType
:
'benefitCard'
,
path
:
'equity'
,
sale
:
100
,
//销量
varType
:
0
,
flow
:
10000
,
"productCode"
:
"PC001"
,
"productName"
:
"数字无忧权益卡"
,
"category"
:
"服务类"
,
}
]
},
]
]
...
...
pages/tab/index/index.js
View file @
c01171a
...
@@ -43,7 +43,7 @@ Page({
...
@@ -43,7 +43,7 @@ Page({
],
],
apiData
:
[],
apiData
:
[],
actNum
:
3
,
//car 场景选择
actNum
:
3
,
//car 场景选择
tabIndx
:
0
,
tabIndx
:
1
,
navList
:
[
'看线索'
,
'看产品'
],
navList
:
[
'看线索'
,
'看产品'
],
typeList
:
[
typeList
:
[
{
{
...
...
pages/tab/index/index.wxml
View file @
c01171a
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
<view class="line" hover-class="none" hover-stop-propagation="false" />
<view class="line" hover-class="none" hover-stop-propagation="false" />
<view
<view
class="record"
class="record"
wx:for="{{item.
records
}}"
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">
...
@@ -108,7 +108,7 @@
...
@@ -108,7 +108,7 @@
</view>
</view>
</view>
</view>
<view class="shop-source" hover-class="none" hover-stop-propagation="false">
<view class="shop-source" hover-class="none" hover-stop-propagation="false">
所属门店:{{itemName.
shop
Name}}
所属门店:{{itemName.
merchant
Name}}
</view>
</view>
</view>
</view>
</view>
</view>
...
...
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