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 4871f402
authored
Oct 18, 2022
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
冲突解决
1 parent
84f79a36
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
2 additions
and
269 deletions
pages/tab/output/components/merchantDataStatistics/merchantDataStatistics.json
pages/tab/output/components/merchantDataStatistics/merchantDataStatistics.wxml
pages/tab/output/components/sceneSelect/sceneSelect.js
pages/tab/output/components/sceneSelect/sceneSelect.json
pages/tab/output/components/sceneSelect/sceneSelect.scss
pages/tab/output/components/sceneSelect/sceneSelect.wxml
pages/tab/output/components/merchantDataStatistics/merchantDataStatistics.json
View file @
4871f40
{
{
"component"
:
true
,
"component"
:
true
,
"usingComponents"
:
{
"usingComponents"
:
{
"s
ence-box"
:
"../../../../../components/SenceBox/Senc
eBox"
"s
cene-box"
:
"../../../../../components/SceneBox/Scen
eBox"
}
}
}
}
pages/tab/output/components/merchantDataStatistics/merchantDataStatistics.wxml
View file @
4871f40
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
</view>
</view>
</view>
</view>
<!-- <scene-select/> -->
<!-- <scene-select/> -->
<s
ence-box formData="{{item}}
" senceActive="{{(sceneIndx+1)}}" />
<s
cene-box formData="{{item}}" bind:handleSenceChange="handleSenceChange
" senceActive="{{(sceneIndx+1)}}" />
<view class="outputValueCon">
<view class="outputValueCon">
<view class="title">产值图</view>
<view class="title">产值图</view>
<view class="swiperCon">
<view class="swiperCon">
...
...
pages/tab/output/components/sceneSelect/sceneSelect.js
deleted
100644 → 0
View file @
84f79a3
// pages/tab/output/components/sceneSelect/sceneSelect.js
import
{
IMG_URL
}
from
'~/utils/constantData'
const
IMAGES
=
Object
.
freeze
({
scene0
:
`
${
IMG_URL
}
/output/car01.png`
,
scene1
:
`
${
IMG_URL
}
/output/car02.png`
,
scene2
:
`
${
IMG_URL
}
/output/car03.png`
,
scene3
:
`
${
IMG_URL
}
/output/car04.png`
,
scene1Act
:
`
${
IMG_URL
}
/output/caract02.png`
,
scene2Act
:
`
${
IMG_URL
}
/output/caract03.png`
,
scene3Act
:
`
${
IMG_URL
}
/output/caract04.png`
,
carselect
:
`
${
IMG_URL
}
/output/carselect.png`
,
lock
:
`
${
IMG_URL
}
/output/lock.png`
// scene
})
Component
({
/**
* 组件的属性列表
*/
properties
:
{},
/**
* 组件的初始数据
*/
data
:
{
// active:1,
sceneList
:
[
{
name
:
'新车洽谈场景'
,
label
:
'1.0 新车权益销售'
,
total
:
'0'
,
imgUrl
:
IMAGES
.
scene0
,
activation
:
false
// actImgUrl:IMAGES.scene1Act
},
{
name
:
'新车交付场景'
,
label
:
'1.1 新车精品升级'
,
total
:
'1000.45'
,
imgUrl
:
IMAGES
.
scene1
,
actImgUrl
:
IMAGES
.
scene1Act
,
activation
:
true
},
{
name
:
'0-12个月'
,
label
:
'1.2 新车线上转化'
,
total
:
'0'
,
imgUrl
:
IMAGES
.
scene2
,
actImgUrl
:
IMAGES
.
scene2Act
,
activation
:
false
},
{
name
:
'12个月以上'
,
label
:
'1.3 存量用户众筹'
,
total
:
'14580.45'
,
imgUrl
:
IMAGES
.
scene3
,
actImgUrl
:
IMAGES
.
scene3Act
,
activation
:
true
}
],
selectInd
:
1
,
IMAGES
},
/**
* 组件的方法列表
*/
methods
:
{}
})
pages/tab/output/components/sceneSelect/sceneSelect.json
deleted
100644 → 0
View file @
84f79a3
{
"component"
:
true
,
"usingComponents"
:
{}
}
\ No newline at end of file
\ No newline at end of file
pages/tab/output/components/sceneSelect/sceneSelect.scss
deleted
100644 → 0
View file @
84f79a3
/* pages/tab/output/components/senceSelect/senceSelect.wxss */
.sceneCon
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-around
;
padding
:
27rpx
10rpx
;
position
:
relative
;
.itemCon
{
position
:
relative
;
box-sizing
:
border-box
;
flex
:
1
;
height
:
250rpx
;
background-color
:
#F7F8FC
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
justify-content
:
center
;
border-radius
:
12rpx
;
.itemImg
{
position
:
relative
;
.icon
{
width
:
56rpx
;
height
:
56rpx
;
}
.lockIcon
{
position
:
absolute
;
top
:
-18rpx
;
right
:
-18rpx
;
// transform: translate(-50%, -50%);
width
:
36rpx
;
height
:
36rpx
;
}
}
.name
{
font-size
:
24rpx
;
color
:
#8A8C90
;
margin
:
10rpx
0
;
}
.name.activation
{
font-weight
:
600
;
font-size
:
24rpx
;
color
:
#323436
;
}
.label
{
font-size
:
18rpx
;
color
:
#8A8C90
;
}
.total
{
font-weight
:
500
;
font-size
:
24rpx
;
color
:
#3666FE
;
margin-top
:
22rpx
;
}
}
.itemCon
+
.itemCon
{
margin-left
:
4rpx
;
}
.selectBgc
{
border
:
2px
solid
#3666FE
;
/*按比例缩放*/
}
}
// .sceneCon
.
itemCon
.
activation
:
:
before
{
content
:
'已开通'
;
position
:
absolute
;
top
:
0rpx
;
left
:
0rpx
;
width
:
56rpx
;
height
:
32rpx
;
line-height
:
32rpx
;
text-align
:
center
;
font-size
:
16rpx
;
color
:
#EF971E
;
background
:
#FEEBD6
;
border-radius
:
6rpx
0
8rpx
0
;
=======
/*
pages
/
tab
/
output
/
components
/
sceneSelect
/
sceneSelect
.wxss
*/
.sceneCon
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-around
;
padding
:
27rpx
10rpx
;
position
:
relative
;
.itemCon
{
position
:
relative
;
box-sizing
:
border-box
;
flex
:
1
;
height
:
250rpx
;
background-color
:
#F7F8FC
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
justify-content
:
center
;
border-radius
:
12rpx
;
.itemImg
{
position
:
relative
;
.icon
{
width
:
56rpx
;
height
:
56rpx
;
}
.lockIcon
{
position
:
absolute
;
top
:
-18rpx
;
right
:
-18rpx
;
// transform: translate(-50%, -50%);
width
:
36rpx
;
height
:
36rpx
;
}
}
.name
{
font-size
:
24rpx
;
color
:
#8A8C90
;
margin
:
10rpx
0
;
}
.name.activation
{
font-weight
:
600
;
font-size
:
24rpx
;
color
:
#323436
;
}
.label
{
font-size
:
18rpx
;
color
:
#8A8C90
;
}
.total
{
font-weight
:
500
;
font-size
:
24rpx
;
color
:
#3666FE
;
margin-top
:
22rpx
;
}
}
.itemCon
+
.itemCon
{
margin-left
:
4rpx
;
}
.selectBgc
{
border
:
2px
solid
#3666FE
;
/*按比例缩放*/
}
}
// .sceneCon
.
itemCon
.
activation
:
:
before
{
content
:
'已开通'
;
position
:
absolute
;
top
:
0rpx
;
left
:
0rpx
;
width
:
56rpx
;
height
:
32rpx
;
line-height
:
32rpx
;
text-align
:
center
;
font-size
:
16rpx
;
color
:
#EF971E
;
background
:
#FEEBD6
;
border-radius
:
6rpx
0
8rpx
0
;
>>>>>>>
7b4444b
(
联调
)
}
\ No newline at end of file
\ No newline at end of file
pages/tab/output/components/sceneSelect/sceneSelect.wxml
deleted
100644 → 0
View file @
84f79a3
<!-- pages/tab/output/components/sceneSelect/sceneSelect.wxml -->
<view class="sceneCon">
<view wx:for='{{sceneList}}' wx:key='index' class="itemCon {{index==selectInd?'selectBgc':'itembgc'}} {{item.activation?'activation':''}}">
<!-- style="background-image:url({{IMAGES.carselect}})" -->
<view class="itemImg">
<image class="icon" src="{{item.activation?item.actImgUrl:item.imgUrl}}" webp></image>
<image
class="lockIcon"
wx:if="{{!item.activation}}"
src="{{IMAGES.lock}}"
webp></image>
</view>
<view class="name {{item.activation?'activation':''}}">{{item.name}}</view>
<view class="label">{{item.label}}</view>
<view class="total">¥{{item.total}}</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