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 006bced0
authored
Feb 04, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交线索
1 parent
f24fc85f
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
240 additions
and
9 deletions
packageEquity/pages/clueList/clueList.js
packageEquity/pages/clueList/clueList.json
packageEquity/pages/clueList/clueList.sass
packageEquity/pages/clueList/clueList.scss
packageEquity/pages/clueList/clueList.wxml
packageEquity/pages/clueList/components/EquityItem/EquityItem.js
packageEquity/pages/clueList/components/EquityItem/EquityItem.json
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.json
packageEquity/pages/clueList/components/UpgradeItem/UpgradeItem.sass
packageEquity/pages/clueList/components/UpgradeItem/UpgradeItem.wxml
packageEquity/pages/index/index.js
project.private.config.json
tabIndex/pages/index/index_mixins.js
packageEquity/pages/clueList/clueList.js
View file @
006bced
...
...
@@ -5,16 +5,44 @@ Page({
* 页面的初始数据
*/
data
:
{
tabList
:
[{
text
:
'全部'
,
count
:
0
},
{
text
:
'待跟进'
,
count
:
0
},
{
text
:
'已升级'
,
count
:
0
},
{
text
:
'战败'
,
count
:
0
}
],
list
:[
new
Array
(
10
)]
},
/**
* 生命周期函数--监听页面加载
*/
onLoad
(
options
)
{
},
input
(
e
)
{
let
{
value
}
=
e
.
detail
this
.
setData
({
customerName
:
value
})
},
handleReset
()
{
this
.
setData
({
customerName
:
''
})
this
.
search
()
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
...
...
packageEquity/pages/clueList/clueList.json
View file @
006bced
{
"usingComponents"
:
{}
"usingComponents"
:
{
"equity-item"
:
"./components/EquityItem/EquityItem"
,
"upgrade-item"
:
"./components/UpgradeItem/UpgradeItem"
},
"navigationBarTitleText"
:
"线索管理"
}
\ No newline at end of file
packageEquity/pages/clueList/clueList.sass
0 → 100644
View file @
006bced
.layout
{
.to-box
{
position
:
sticky
;
top
:
0
;
z-index
:
2
;
.search-box
{
width
:
100%
;
padding
:
32rpx
32rpx
0
;
display
:
flex
;
background-color
:
#fff
;
position
:
sticky
;
top
:
0
;
left
:
0
;
z-index
:
9
;
box-sizing
:
border-box
;
.search-input
{
background
:
#F7F8FA
;
border-radius
:
38rpx
;
width
:
100%
;
height
:
72rpx
;
display
:
flex
;
align-items
:
center
;
.search-icon
{
width
:
28rpx
;
height
:
28rpx
;
margin
:
0
10rpx
0
26rpx
;
}
.clearBtn
{
width
:
100rpx
;
height
:
100rpx
;
position
:
relative
;
}
.search-clear
{
position
:
absolute
;
left
:
40rpx
;
top
:
33rpx
;
width
:
36rpx
;
height
:
36rpx
;
/* margin: 0 26rpx 0 10rpx; */
}
.input
{
font-size
:
28rpx
;
width
:
calc
(
100%
-
136rpx
)
;
}
.input-placeholder
{
color
:
rgba
(
200
,
201
,
204
,
.89
)
;
}
}
.search
{
width
:
144rpx
;
height
:
100%
;
color
:
#666
;
box-sizing
:
border-box
;
padding
:
0
24rpx
;
.text-center
{
font-size
:
24rpx
;
/* background-color: #f7f7f7; */
border-radius
:
12rpx
;
width
:
100%
;
height
:
50rpx
;
color
:
#888
;
.search-filter
{
margin-left
:
6rpx
;
width
:
24rpx
;
height
:
24rpx
;
}
}
}
}
}
.tips
{
font-size
:
24rpx
;
color
:
#222222
;
line-height
:
32rpx
;
padding
:
24rpx
40rpx
20rpx
;
}
.content
{
padding
:
0
20rpx
100rpx
;
}
}
\ No newline at end of file
packageEquity/pages/clueList/clueList.scss
deleted
100644 → 0
View file @
f24fc85
/* packageEquity/pages/clueList/clueList.wxss */
\ No newline at end of file
packageEquity/pages/clueList/clueList.wxml
View file @
006bced
<!--packageEquity/pages/clueList/clueList.wxml-->
<text>packageEquity/pages/clueList/clueList.wxml</text>
\ No newline at end of file
<view class="layout">
<view class="to-box">
<view class="search-box">
<view class="search-input">
<image src="/images/search.png" class="search-icon" />
<input type="text" placeholder="请输入客户名字进行搜索" class="input" confirm-type="search" value="{{customerName}}" placeholder-class="input-placeholder" bindinput="input" bindconfirm="search" />
<block wx:if="{{customerName}}">
<view bindtap="handleReset" class="clearBtn">
<image src="/images/clear.png" class="search-clear" />
</view>
</block>
</view>
</view>
<tab-bar tabList="{{tabList}}" bindclick="tabClick" />
</view>
<view class="tips">今日新增客户·12</view>
<view class="content">
<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>
</block>
<block wx:else>
<equity-item></equity-item>
</block>
</block>
</block>
</view>
</view>
\ No newline at end of file
packageEquity/pages/clueList/components/EquityItem/EquityItem.js
0 → 100644
View file @
006bced
// packageEquity/pages/clueList/components/EquityItem/EquityItem.js
Component
({
/**
* 组件的属性列表
*/
properties
:
{
},
/**
* 组件的初始数据
*/
data
:
{
},
/**
* 组件的方法列表
*/
methods
:
{
}
})
\ No newline at end of file
packageEquity/pages/clueList/components/EquityItem/EquityItem.json
0 → 100644
View file @
006bced
{
"component"
:
true
,
"usingComponents"
:
{}
}
\ No newline at end of file
packageEquity/pages/clueList/components/EquityItem/EquityItem.sass
0 → 100644
View file @
006bced
.item
{
min-height
:
724rpx
;
background
:
#FFFFFF
;
box-shadow
:
0
4rpx
16rpx
0
#cdcdd1
80
;
border-radius
:
16rpx
;
margin-bottom
:
20rpx
;
}
\ No newline at end of file
packageEquity/pages/clueList/components/EquityItem/EquityItem.wxml
0 → 100644
View file @
006bced
<view class="item"></view>
\ No newline at end of file
packageEquity/pages/clueList/components/UpgradeItem/UpgradeItem.js
0 → 100644
View file @
006bced
// packageEquity/pages/clueList/components/UpgradeItem/UpgradeItem.js
Component
({
/**
* 组件的属性列表
*/
properties
:
{
},
/**
* 组件的初始数据
*/
data
:
{
},
/**
* 组件的方法列表
*/
methods
:
{
}
})
\ No newline at end of file
packageEquity/pages/clueList/components/UpgradeItem/UpgradeItem.json
0 → 100644
View file @
006bced
{
"component"
:
true
,
"usingComponents"
:
{}
}
\ No newline at end of file
packageEquity/pages/clueList/components/UpgradeItem/UpgradeItem.sass
0 → 100644
View file @
006bced
.item
{
min-height
:
724rpx
;
background
:
#FFFFFF
;
box-shadow
:
0
4rpx
16rpx
0
#cdcdd1
80
;
border-radius
:
16rpx
;
margin-bottom
:
20rpx
;
}
\ No newline at end of file
packageEquity/pages/clueList/components/UpgradeItem/UpgradeItem.wxml
0 → 100644
View file @
006bced
<view class="item"></view>
\ No newline at end of file
packageEquity/pages/index/index.js
View file @
006bced
...
...
@@ -84,7 +84,7 @@ Component({
path
:
''
},
{
menuText
:
'客户线索'
,
icon
:
'c
reate_order
'
,
icon
:
'c
ustomer_clue
'
,
path
:
'packageEquity.clueList'
}],
loginRoleLabel
:
{
...
...
project.private.config.json
View file @
006bced
...
...
@@ -4,6 +4,13 @@
"miniprogram"
:
{
"list"
:
[
{
"name"
:
"线管理"
,
"pathName"
:
"packageEquity/pages/clueList/clueList"
,
"query"
:
""
,
"launchMode"
:
"default"
,
"scene"
:
null
},
{
"name"
:
"场景"
,
"pathName"
:
"pages/sceneIndex/sceneIndex"
,
"query"
:
""
,
...
...
tabIndex/pages/index/index_mixins.js
View file @
006bced
...
...
@@ -72,7 +72,7 @@ export default {
name
:
'客户线索'
,
url
:
'packageEquity.clueList'
,
recordId
:
11
,
icon
:
'
business_data
'
icon
:
'
customer_clue
'
}
],
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