Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 9a5267dd
authored
Feb 19, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
驻店目标
1 parent
006bced0
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
509 additions
and
17 deletions
app.json
packageEquity/pages/clueDetail/clueDetail.js
packageEquity/pages/clueDetail/clueDetail.json
packageEquity/pages/clueDetail/clueDetail.wxml
packageEquity/pages/clueList/clueList.sass
packageEquity/pages/clueList/clueList.wxml
packageEquity/pages/clueList/components/EquityItem/EquityItem.js
packageEquity/pages/clueList/components/EquityItem/EquityItem.sass
packageEquity/pages/clueList/components/EquityItem/EquityItem.wxml
packageEquity/pages/clueList/components/UpgradeItem/UpgradeItem.js
packageEquity/pages/clueList/components/UpgradeItem/UpgradeItem.sass
packageEquity/pages/clueList/components/UpgradeItem/UpgradeItem.wxml
packageEquity/pages/index/index.js
packageEquity/pages/residentTarget/residentTarget.js
packageEquity/pages/residentTarget/residentTarget.json
packageEquity/pages/residentTarget/residentTarget.scss
packageEquity/pages/residentTarget/residentTarget.wxml
project.private.config.json
tabIndex/pages/index/index_mixins.js
app.json
View file @
9a5267d
...
...
@@ -103,7 +103,8 @@
"pages/carEquity/previewContract/previewContract"
,
"pages/collegeScene/collegeScene"
,
"pages/clueList/clueList"
,
"pages/clueDetail/clueDetail"
"pages/clueDetail/clueDetail"
,
"pages/residentTarget/residentTarget"
]
},
{
...
...
packageEquity/pages/clueDetail/clueDetail.js
View file @
9a5267d
...
...
@@ -12,9 +12,7 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad
(
options
)
{
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
...
...
packageEquity/pages/clueDetail/clueDetail.json
View file @
9a5267d
{
"usingComponents"
:
{}
"usingComponents"
:
{},
"navigationBarTitleText"
:
"客户详情"
}
\ No newline at end of file
packageEquity/pages/clueDetail/clueDetail.wxml
View file @
9a5267d
<!--packageEquity/pages/clueDetail/clueDetail.wxml-->
<text>packageEquity/pages/clueDetail/clueDetail.wxml</text>
\ No newline at end of file
packageEquity/pages/clueList/clueList.sass
View file @
9a5267d
page
{
background
:
#fff
;
}
.layout
{
.to-box
{
position
:
sticky
;
...
...
packageEquity/pages/clueList/clueList.wxml
View file @
9a5267d
...
...
@@ -18,10 +18,10 @@
<block wx:for="{{list}}" wx:key="index">
<block wx:for="{{item}}" wx:key="ind" wx:for-item="i" wx:for-index="ind">
<block wx:if="{{type == 0}}">
<upgrade-item></upgrade-item>
<upgrade-item
item="{{i}}"
></upgrade-item>
</block>
<block wx:else>
<equity-item></equity-item>
<equity-item
item="{{i}}"
></equity-item>
</block>
</block>
</block>
...
...
packageEquity/pages/clueList/components/EquityItem/EquityItem.js
View file @
9a5267d
...
...
@@ -5,20 +5,50 @@ Component({
* 组件的属性列表
*/
properties
:
{
data
:
Object
},
/**
* 组件的初始数据
*/
data
:
{
infoObject
:
[{
label
:
'车型'
,
key
:
''
},
{
label
:
'车辆颜色'
,
key
:
''
},
{
label
:
'权益服务'
,
key
:
''
},
{
label
:
'精品加装'
,
key
:
''
}
],
package
:
new
Array
(
1
)
},
/**
* 组件的方法列表
*/
methods
:
{
showAllFun
()
{
this
.
setData
({
showAll
:
!
this
.
data
.
showAll
})
},
jump
()
{
wx
.
navigateTo
({
url
:
'/packageEquity/pages/clueDetail/clueDetail'
,
params
:
{
a
:
1
,
b
:
2
}
})
}
}
})
\ No newline at end of file
packageEquity/pages/clueList/components/EquityItem/EquityItem.sass
View file @
9a5267d
.flex
{
display
:
flex
;
align-items
:
center
;
}
.item
{
min-height
:
724rpx
;
background
:
#FFFFFF
;
box-shadow
:
0
4rpx
16rpx
0
#cdcdd1
80
;
border-radius
:
16rpx
;
margin-bottom
:
20rpx
;
box-sizing
:
border-box
;
padding
:
0
20rpx
;
.top
{
padding
:
24rpx
12rpx
;
.icon
{
width
:
80rpx
;
height
:
80rpx
;
margin-right
:
16rpx
;
border-radius
:
100%
;
overflow
:
hidden
;
background-color
:
#096
;
}
.info
{
.name
{
font-size
:
28rpx
;
color
:
#1B233D
;
line-height
:
48rpx
;
}
.phone
{
font-size
:
24rpx
;
color
:
#9B9B9E
;
line-height
:
32rpx
;
}
}
}
.info-box
{
padding
:
0
12rpx
;
line-height
:
36rpx
;
font-size
:
24rpx
;
.info-item
{
margin-bottom
:
16rpx
;
.label
{
width
:
136rpx
;
color
:
#999EA8
;
}
.value
{
color
:
#292D33
;
}
}
}
.package-box
{
background
:
#F7F8FA
;
border-radius
:
12rpx
;
padding
:
20rpx
32rpx
;
box-sizing
:
border-box
;
.package-item
{
font-size
:
24rpx
;
color
:
#292D33
;
margin-bottom
:
16rpx
;
&
:
:
before
{
width
:
12rpx
;
height
:
12rpx
;
background
:
#347BFF
;
content
:
''
;
display
:
block
;
margin-right
:
16rpx
;
border-radius
:
100%
;
}
.price
{
color
:
#6C6C70
;
margin-left
:
auto
;
}
}
.show-all
{
font-size
:
24rpx
;
color
:
#347BFF
;
line-height
:
36rpx
;
padding-left
:
28rpx
;
text
{
color
:
#999EA8
;
}
}
}
.bottom
{
height
:
96rpx
;
padding
:
0
12rpx
;
font-size
:
24rpx
;
color
:
#999EA8
;
.num
{
font-weight
:
700
;
font-size
:
32rpx
;
color
:
#347BFF
;
margin-left
:
40rpx
;
.unit
{
font-size
:
28rpx
;
}
}
.btn
{
margin-left
:
auto
;
font-size
:
28rpx
;
color
:
#FFFFFF
;
width
:
180rpx
;
height
:
56rpx
;
background
:
#347BFF
;
border-radius
:
32rpx
;
justify-content
:
center
;
}
}
}
\ No newline at end of file
packageEquity/pages/clueList/components/EquityItem/EquityItem.wxml
View file @
9a5267d
<view class="item"></view>
\ No newline at end of file
<view class="item">
<view class="top flex">
<view class="icon">
<image src="{{data.icon}}" />
</view>
<view class="info">
<view class="name">巅峰盛典</view>
<view class="phone">184984989</view>
</view>
</view>
<view class="info-box">
<block wx:for="{{infoObject}}" wx:key="index">
<view class="info-item flex">
<view class="label">{{item.label}}</view>
<view class="value">{{data[item.key]}}</view>
</view>
</block>
</view>
<view class="package-box">
<block wx:for="{{package}}" wx:key="index">
<block wx:if="{{index < 2 || showAll}}">
<view class="package-item flex">
哈哈哈
<view class="price">¥1000.00</view>
</view>
</block>
</block>
<block wx:if="{{package.length > 2}}">
<view class="show-all" bindtap="showAllFun">
<block wx:if="{{!showAll}}">
查看全部<text>(共10件)</text>
</block>
<block wx:else>
收起
</block>
</view>
</block>
</view>
<view class="bottom flex">
<view class="price flex">
升级总价
<view class="num flex">
<view class="unit">¥</view> 5000.00
</view>
</view>
<view class="btn flex" bindtap="jump">数字报价单</view>
</view>
</view>
\ No newline at end of file
packageEquity/pages/clueList/components/UpgradeItem/UpgradeItem.js
View file @
9a5267d
...
...
@@ -12,7 +12,31 @@ Component({
* 组件的初始数据
*/
data
:
{
infoObject
:
[{
label
:
'车型'
,
key
:
''
},
{
label
:
'车辆颜色'
,
key
:
''
},
{
label
:
'车辆价格'
,
key
:
''
},
{
label
:
'座位数'
,
key
:
''
},
{
label
:
'精品加装'
,
key
:
''
},
{
label
:
'权益服务'
,
key
:
''
},
],
},
/**
...
...
packageEquity/pages/clueList/components/UpgradeItem/UpgradeItem.sass
View file @
9a5267d
.flex
{
display
:
flex
;
align-items
:
center
;
}
.item
{
min-height
:
724rpx
;
background
:
#FFFFFF
;
box-shadow
:
0
4rpx
16rpx
0
#cdcdd1
80
;
border-radius
:
16rpx
;
margin-bottom
:
20rpx
;
box-sizing
:
border-box
;
padding
:
0
20rpx
;
.top
{
padding
:
24rpx
12rpx
;
.icon
{
width
:
80rpx
;
height
:
80rpx
;
margin-right
:
16rpx
;
border-radius
:
100%
;
overflow
:
hidden
;
background-color
:
#096
;
}
.info
{
.name
{
font-size
:
28rpx
;
color
:
#1B233D
;
line-height
:
48rpx
;
}
.phone
{
font-size
:
24rpx
;
color
:
#9B9B9E
;
line-height
:
32rpx
;
}
}
}
.info-box
{
padding
:
0
12rpx
;
line-height
:
36rpx
;
font-size
:
24rpx
;
.info-item
{
margin-bottom
:
16rpx
;
.label
{
width
:
136rpx
;
color
:
#999EA8
;
}
.value
{
color
:
#292D33
;
}
}
}
.package-box
{
background
:
#F7F8FA
;
border-radius
:
12rpx
;
padding
:
20rpx
32rpx
;
box-sizing
:
border-box
;
.package-item
{
font-size
:
24rpx
;
color
:
#292D33
;
margin-bottom
:
16rpx
;
&
:
:
before
{
width
:
12rpx
;
height
:
12rpx
;
background
:
#347BFF
;
content
:
''
;
display
:
block
;
margin-right
:
16rpx
;
border-radius
:
100%
;
}
.price
{
color
:
#6C6C70
;
margin-left
:
auto
;
}
}
.show-all
{
font-size
:
24rpx
;
color
:
#347BFF
;
line-height
:
36rpx
;
padding-left
:
28rpx
;
text
{
color
:
#999EA8
;
}
}
}
.bottom
{
height
:
96rpx
;
padding
:
0
12rpx
;
font-size
:
24rpx
;
color
:
#999EA8
;
.num
{
font-weight
:
700
;
font-size
:
32rpx
;
color
:
#347BFF
;
margin-left
:
40rpx
;
.unit
{
font-size
:
28rpx
;
}
}
.btn
{
margin-left
:
auto
;
font-size
:
28rpx
;
color
:
#FFFFFF
;
width
:
180rpx
;
height
:
56rpx
;
background
:
#347BFF
;
border-radius
:
32rpx
;
justify-content
:
center
;
}
}
}
\ No newline at end of file
packageEquity/pages/clueList/components/UpgradeItem/UpgradeItem.wxml
View file @
9a5267d
<view class="item"></view>
\ No newline at end of file
<view class="item">
<view class="top flex">
<view class="icon">
<image src="{{data.icon}}" />
</view>
<view class="info">
<view class="name">巅峰盛典</view>
<view class="phone">184984989</view>
</view>
</view>
<view class="info-box">
<block wx:for="{{infoObject}}" wx:key="index">
<view class="info-item flex">
<view class="label">{{item.label}}</view>
<view class="value">{{data[item.key]}}</view>
</view>
</block>
</view>
<view class="package-box">
<block wx:for="{{package}}" wx:key="index">
<block wx:if="{{index < 2 || showAll}}">
<view class="package-item flex">
哈哈哈
<view class="price">¥1000.00</view>
</view>
</block>
</block>
<block wx:if="{{package.length > 2}}">
<view class="show-all" bindtap="showAllFun">
<block wx:if="{{!showAll}}">
查看全部<text>(共10件)</text>
</block>
<block wx:else>
收起
</block>
</view>
</block>
</view>
<view class="bottom flex">
<view class="price flex">
升级总价
<view class="num flex">
<view class="unit">¥</view> 5000.00
</view>
</view>
<view class="btn flex">车膜升级单</view>
</view>
</view>
\ No newline at end of file
packageEquity/pages/index/index.js
View file @
9a5267d
...
...
@@ -86,6 +86,10 @@ Component({
menuText
:
'客户线索'
,
icon
:
'customer_clue'
,
path
:
'packageEquity.clueList'
},{
menuText
:
'驻店目标'
,
icon
:
'resident_target'
,
path
:
'packageEquity.residentTarget'
}],
loginRoleLabel
:
{
1
:
'超管'
,
...
...
packageEquity/pages/residentTarget/residentTarget.js
0 → 100644
View file @
9a5267d
// packageEquity/pages/residentTarget/residentTarget.js
Page
({
/**
* 页面的初始数据
*/
data
:
{
},
/**
* 生命周期函数--监听页面加载
*/
onLoad
(
options
)
{
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady
()
{
},
/**
* 生命周期函数--监听页面显示
*/
onShow
()
{
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide
()
{
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload
()
{
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh
()
{
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom
()
{
},
/**
* 用户点击右上角分享
*/
onShareAppMessage
()
{
}
})
\ No newline at end of file
packageEquity/pages/residentTarget/residentTarget.json
0 → 100644
View file @
9a5267d
{
"usingComponents"
:
{},
"navigationStyle"
:
"custom"
}
\ No newline at end of file
packageEquity/pages/residentTarget/residentTarget.scss
0 → 100644
View file @
9a5267d
/* packageEquity/pages/residentTarget/residentTarget.wxss */
\ No newline at end of file
packageEquity/pages/residentTarget/residentTarget.wxml
0 → 100644
View file @
9a5267d
<navigation-bar bindnavbarReady="navbarReady" navStyle="{{ navStyle }}">
<view class="navigation-title">
<view class="navigation-title-text text-hide">驻店目标</view>
</view>
</navigation-bar>
<view class="layout">
</view>
\ No newline at end of file
project.private.config.json
View file @
9a5267d
...
...
@@ -4,6 +4,20 @@
"miniprogram"
:
{
"list"
:
[
{
"name"
:
"驻店目标"
,
"pathName"
:
"packageEquity/pages/residentTarget/residentTarget"
,
"query"
:
""
,
"launchMode"
:
"default"
,
"scene"
:
null
},
{
"name"
:
"packageEquity/pages/cleD"
,
"pathName"
:
"packageEquity/pages/clueDetail/clueDetail"
,
"query"
:
""
,
"launchMode"
:
"default"
,
"scene"
:
null
},
{
"name"
:
"线管理"
,
"pathName"
:
"packageEquity/pages/clueList/clueList"
,
"query"
:
""
,
...
...
@@ -82,5 +96,6 @@
}
]
}
}
},
"libVersion"
:
"3.3.4"
}
\ No newline at end of file
tabIndex/pages/index/index_mixins.js
View file @
9a5267d
...
...
@@ -73,6 +73,12 @@ export default {
url
:
'packageEquity.clueList'
,
recordId
:
11
,
icon
:
'customer_clue'
},
{
name
:
'驻店目标'
,
url
:
'packageEquity.residentTarget'
,
recordId
:
11
,
icon
:
'resident_target'
}
],
totalTableSum
:
[
...
...
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