Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
sales-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 15923b64
authored
Apr 28, 2026
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
客户管理需求开发
1 parent
39453ee0
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
189 additions
and
22 deletions
app.json
components/SearchInput/SearchInput.js
packageTool/index.wxs
packageTool/pages/salesDailyReport/salesDailyReport.js
pages/tab/customer/components/PotentialSection/PotentialSection.js
pages/tab/customer/components/PotentialSection/PotentialSection.scss
pages/tab/customer/components/PotentialSection/PotentialSection.wxml
pages/tab/customer/components/StoreSection/StoreSection.js
pages/tab/customer/components/StoreSection/StoreSection.scss
pages/tab/customer/components/StoreSection/StoreSection.wxml
app.json
View file @
15923b6
...
@@ -98,7 +98,8 @@
...
@@ -98,7 +98,8 @@
"nothing-tips"
:
"/components/Nothing-tips/nothingTips"
,
"nothing-tips"
:
"/components/Nothing-tips/nothingTips"
,
"glsx-image"
:
"/components/image/index"
,
"glsx-image"
:
"/components/image/index"
,
"glsx-privacy"
:
"glsx-applet-component/GlsxPrivacy/index"
,
"glsx-privacy"
:
"glsx-applet-component/GlsxPrivacy/index"
,
"van-popup"
:
"@vant/weapp/popup/index"
"van-popup"
:
"@vant/weapp/popup/index"
,
"search-input"
:
"/components/SearchInput/SearchInput"
},
},
"resolveAlias"
:
{
"resolveAlias"
:
{
"~/*"
:
"/*"
"~/*"
:
"/*"
...
...
components/SearchInput/SearchInput.js
View file @
15923b6
// components/SearchInput/SearchInput.js
// components/SearchInput/SearchInput.js
Component
({
Component
({
options
:
{
styleIsolation
:
'shared'
// 允许外部样式穿透组件
},
/**
/**
* 组件的属性列表
* 组件的属性列表
*/
*/
...
...
packageTool/index.wxs
View file @
15923b6
...
@@ -35,18 +35,29 @@ var isDateWithin7Days = function (date) {
...
@@ -35,18 +35,29 @@ var isDateWithin7Days = function (date) {
return diffDays >= -7
return diffDays >= -7
}
}
var isDateWithin1Days = function (date) {
var isDateWithin1Days = function (date) {
// console.log(date, 'date');
var currentDate = getDate() // 当前日期时间
var oneDay = 24 * 60 * 60 * 1000 // 一天的毫秒数
var currentDate = getDate() // 当前日期
var targetDate = getDate(date) // 给定的日期
var targetDate = getDate(date) // 给定的日期
// 计算给定日期与当前日期的时间差(以毫秒为单位)
// 获取当前日期的零点
var diffMilliseconds = targetDate - currentDate
var currentMidnight = getDate(currentDate.getFullYear(), currentDate.getMonth(), currentDate.getDate()).getTime()
// 获取目标日期的零点
var targetMidnight = getDate(targetDate.getFullYear(), targetDate.getMonth(), targetDate.getDate()).getTime()
// 计算时间差对应的天数
// 当天操作当天的记录,永远允许
var diffDays = Math.floor(diffMilliseconds / oneDay)
if (currentMidnight === targetMidnight) {
// console.log(diffDays, 'diffDays');
return true;
return diffDays >= -1
}
// 如果目标日期是昨天
var oneDay = 24 * 60 * 60 * 1000;
if (currentMidnight - targetMidnight === oneDay) {
// 昨天的数据,判断当前时间是否在凌晨2点之前
var currentHour = currentDate.getHours();
return currentHour < 2;
}
// 目标日期是未来,或者昨天之前的数据,不允许
return false;
}
}
var isDateWithin60Days = function (date) {
var isDateWithin60Days = function (date) {
var oneDay = 24 * 60 * 60 * 1000 // 一天的毫秒数
var oneDay = 24 * 60 * 60 * 1000 // 一天的毫秒数
...
...
packageTool/pages/salesDailyReport/salesDailyReport.js
View file @
15923b6
...
@@ -136,7 +136,7 @@ Page({
...
@@ -136,7 +136,7 @@ Page({
// reportTypeList: [-1]
// reportTypeList: [-1]
})
})
.
then
(
data
=>
{
.
then
(
data
=>
{
console
.
log
(
data
,
'
getStaffDailyReportDetailWeeklyList
'
)
console
.
log
(
data
,
'
🚀
'
)
// let { code, data, message } = res
// let { code, data, message } = res
// if (code == 0) {
// if (code == 0) {
// console.log(data, 'data')
// console.log(data, 'data')
...
...
pages/tab/customer/components/PotentialSection/PotentialSection.js
View file @
15923b6
...
@@ -8,6 +8,9 @@ const __CUR_YM_TS__ = new Date(__NOW__.getFullYear(), __NOW__.getMonth(), 1).get
...
@@ -8,6 +8,9 @@ const __CUR_YM_TS__ = new Date(__NOW__.getFullYear(), __NOW__.getMonth(), 1).get
const
__MIN_YM_TS__
=
new
Date
(
__NOW__
.
getFullYear
(),
__NOW__
.
getMonth
()
-
23
,
1
).
getTime
()
const
__MIN_YM_TS__
=
new
Date
(
__NOW__
.
getFullYear
(),
__NOW__
.
getMonth
()
-
23
,
1
).
getTime
()
Component
({
Component
({
options
:
{
styleIsolation
:
'shared'
},
properties
:
{
properties
:
{
showAddIcon
:
Boolean
,
showAddIcon
:
Boolean
,
navBarHeight
:
Number
,
navBarHeight
:
Number
,
...
@@ -17,9 +20,10 @@ Component({
...
@@ -17,9 +20,10 @@ Component({
},
},
data
:
{
data
:
{
searchKeyword
:
''
,
IMG_URL
,
IMG_URL
,
// 列表与分页(保持原有结构)
// 列表与分页(保持原有结构)
listTabs
:
[
'全部'
,
'跟进中'
,
'已签约'
,
'已绑定'
,
'未签约'
],
listTabs
:
[
'全部'
,
'跟进中'
,
'已签约'
,
'未签约'
],
customerList
:
[],
customerList
:
[],
currentPage
:
1
,
currentPage
:
1
,
pageSize
:
10
,
pageSize
:
10
,
...
@@ -53,6 +57,16 @@ Component({
...
@@ -53,6 +57,16 @@ Component({
},
},
methods
:
{
methods
:
{
onSearchConfirm
(
e
){
let
{
value
}
=
e
.
detail
this
.
setData
({
searchKeyword
:
value
},()
=>
{
this
.
resetAndLoad
(()
=>
{
this
.
triggerEvent
(
'needScrollTop'
,
this
.
data
.
initialTabTop
)
})
})
},
getPageData
()
{
getPageData
()
{
// 获取数据看板数据
// 获取数据看板数据
this
.
getStatic
()
this
.
getStatic
()
...
@@ -65,10 +79,11 @@ Component({
...
@@ -65,10 +79,11 @@ Component({
0
:
0
,
// 全部
0
:
0
,
// 全部
1
:
1
,
// 待跟进
1
:
1
,
// 待跟进
2
:
3
,
// 已签约
2
:
3
,
// 已签约
3
:
4
,
// 已绑定
3
:
2
,
// 已绑定
4
:
2
// 未签约
//
4: 2 // 未签约
}
}
const
obj
=
{
const
obj
=
{
keyword
:
this
.
data
.
searchKeyword
,
isAll
:
boardScopeActive
?
1
:
0
,
isAll
:
boardScopeActive
?
1
:
0
,
year
:
boardScopeActive
?
undefined
:
new
Date
(
monthPickerValue
).
getFullYear
(),
year
:
boardScopeActive
?
undefined
:
new
Date
(
monthPickerValue
).
getFullYear
(),
month
:
boardScopeActive
?
undefined
:
new
Date
(
monthPickerValue
).
getMonth
()
+
1
,
month
:
boardScopeActive
?
undefined
:
new
Date
(
monthPickerValue
).
getMonth
()
+
1
,
...
...
pages/tab/customer/components/PotentialSection/PotentialSection.scss
View file @
15923b6
...
@@ -5,19 +5,23 @@
...
@@ -5,19 +5,23 @@
background
:
#fff
;
background
:
#fff
;
border-radius
:
16rpx
;
border-radius
:
16rpx
;
padding
:
32rpx
;
padding
:
32rpx
;
.board-header
{
.board-header
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
space-between
;
justify-content
:
space-between
;
margin-bottom
:
16rpx
;
margin-bottom
:
16rpx
;
.board-title
{
.board-title
{
font-size
:
32rpx
;
font-size
:
32rpx
;
font-weight
:
600
;
font-weight
:
600
;
color
:
#181A1F
;
color
:
#181A1F
;
}
}
.board-actions
{
.board-actions
{
display
:
flex
;
display
:
flex
;
gap
:
16rpx
;
gap
:
16rpx
;
.board-action
{
.board-action
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
@@ -29,33 +33,41 @@
...
@@ -29,33 +33,41 @@
border
:
1rpx
solid
#e0e0e0
;
border
:
1rpx
solid
#e0e0e0
;
color
:
#999EA8
;
color
:
#999EA8
;
position
:
relative
;
position
:
relative
;
image
{
image
{
width
:
28rpx
;
width
:
28rpx
;
height
:
28rpx
;
height
:
28rpx
;
margin-left
:
8rpx
;
margin-left
:
8rpx
;
transform
:
rotate
(
90deg
);
transform
:
rotate
(
90deg
);
}
}
&
.active
{
&
.active
{
color
:
#292D33
;
color
:
#292D33
;
}
}
}
}
}
}
}
}
.board-grid
{
.board-grid
{
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
.grid-item
{
.grid-item
{
margin
:
16rpx
0
;
margin
:
16rpx
0
;
&
.wid-128
{
&
.wid-128
{
width
:
256rpx
;
width
:
256rpx
;
}
}
&
.wid-67
{
&
.wid-67
{
width
:
134rpx
;
width
:
134rpx
;
}
}
.label
{
.label
{
font-size
:
24rpx
;
font-size
:
24rpx
;
color
:
#757B85
;
color
:
#757B85
;
}
}
.value
{
.value
{
font-family
:
"numberBold"
;
font-family
:
"numberBold"
;
margin-top
:
8rpx
;
margin-top
:
8rpx
;
...
@@ -66,6 +78,44 @@
...
@@ -66,6 +78,44 @@
}
}
}
}
}
}
.search-wrap
{
padding
:
16rpx
24rpx
0
;
background
:
#fff
;
margin-top
:
24rpx
;
search-input
{
display
:
block
;
width
:
100%
;
.search-box
{
margin
:
0
!
important
;
padding
:
0
!
important
;
border
:
none
!
important
;
height
:
auto
!
important
;
}
.search-input
{
width
:
100%
!
important
;
background
:
#F7F8FA
!
important
;
.input
{
text-align
:
left
!
important
;
padding-left
:
72rpx
!
important
;
box-sizing
:
border-box
!
important
;
}
.placeholder
{
text-align
:
left
!
important
;
}
.icon
{
left
:
28rpx
!
important
;
transform
:
translateY
(
-50%
)
!
important
;
}
}
}
}
.tabbar-anchor
{
.tabbar-anchor
{
width
:
100%
;
width
:
100%
;
min-height
:
88rpx
;
min-height
:
88rpx
;
...
@@ -79,46 +129,55 @@
...
@@ -79,46 +129,55 @@
.list-section
{
.list-section
{
padding
:
24rpx
20rpx
0
;
padding
:
24rpx
20rpx
0
;
background
:
#F7F8FA
;
background
:
#F7F8FA
;
.list-card
{
.list-card
{
background
:
#fff
;
background
:
#fff
;
border-radius
:
16rpx
;
border-radius
:
16rpx
;
padding
:
24rpx
;
padding
:
24rpx
;
margin-bottom
:
20rpx
;
margin-bottom
:
20rpx
;
box-shadow
:
0
8rpx
16rpx
0
rgba
(
0
,
0
,
0
,
0
.04
);
box-shadow
:
0
8rpx
16rpx
0
rgba
(
0
,
0
,
0
,
0
.04
);
.card-header
{
.card-header
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
space-between
;
justify-content
:
space-between
;
margin-bottom
:
8rpx
;
margin-bottom
:
8rpx
;
.title
{
.title
{
font-size
:
32rpx
;
font-size
:
32rpx
;
font-weight
:
600
;
font-weight
:
600
;
color
:
#292D33
;
color
:
#292D33
;
}
}
.status-tag
{
.status-tag
{
flex-shrink
:
0
;
flex-shrink
:
0
;
font-size
:
26rpx
;
font-size
:
26rpx
;
margin-left
:
28rpx
;
margin-left
:
28rpx
;
}
}
}
}
.card-row
{
.card-row
{
display
:
flex
;
display
:
flex
;
margin-top
:
10rpx
;
margin-top
:
10rpx
;
font-size
:
28rpx
;
font-size
:
28rpx
;
.label
{
.label
{
margin-right
:
24rpx
;
margin-right
:
24rpx
;
color
:
#999EA8
;
color
:
#999EA8
;
}
}
.value
{
.value
{
flex
:
1
;
flex
:
1
;
color
:
#292D33
;
color
:
#292D33
;
}
}
}
}
.card-actions
{
.card-actions
{
display
:
flex
;
display
:
flex
;
gap
:
16rpx
;
gap
:
16rpx
;
margin-top
:
16rpx
;
margin-top
:
16rpx
;
justify-content
:
flex-end
;
justify-content
:
flex-end
;
.btn
{
.btn
{
padding
:
8rpx
16rpx
;
padding
:
8rpx
16rpx
;
border-radius
:
12rpx
;
border-radius
:
12rpx
;
...
@@ -126,12 +185,14 @@
...
@@ -126,12 +185,14 @@
color
:
#fff
;
color
:
#fff
;
font-size
:
28rpx
;
font-size
:
28rpx
;
}
}
.ghost
{
.ghost
{
background
:
#347bff
1a
;
background
:
#347bff
1a
;
color
:
#347BFF
;
color
:
#347BFF
;
}
}
}
}
}
}
.list-footer
{
.list-footer
{
color
:
#999EA8
;
color
:
#999EA8
;
padding-bottom
:
20rpx
;
padding-bottom
:
20rpx
;
...
@@ -140,9 +201,11 @@
...
@@ -140,9 +201,11 @@
justify-content
:
center
;
justify-content
:
center
;
}
}
}
}
.loading
{
.loading
{
pointer-events
:
none
;
pointer-events
:
none
;
}
}
.fixed-btns
{
.fixed-btns
{
position
:
fixed
;
position
:
fixed
;
right
:
20rpx
;
right
:
20rpx
;
...
@@ -152,6 +215,7 @@
...
@@ -152,6 +215,7 @@
background
:
#FFFFFF
;
background
:
#FFFFFF
;
box-shadow
:
0
4rpx
20rpx
0
#000000
1a
;
box-shadow
:
0
4rpx
20rpx
0
#000000
1a
;
border-radius
:
16rpx
;
border-radius
:
16rpx
;
.btn
{
.btn
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
20rpx
18rpx
;
padding
:
20rpx
18rpx
;
...
@@ -164,6 +228,7 @@
...
@@ -164,6 +228,7 @@
color
:
#347BFF
;
color
:
#347BFF
;
width
:
136rpx
;
width
:
136rpx
;
height
:
136rpx
;
height
:
136rpx
;
image
{
image
{
width
:
60rpx
;
width
:
60rpx
;
height
:
60rpx
;
height
:
60rpx
;
...
@@ -171,6 +236,7 @@
...
@@ -171,6 +236,7 @@
}
}
}
}
}
}
.arrowIcon
{
.arrowIcon
{
position
:
fixed
;
position
:
fixed
;
right
:
0
;
right
:
0
;
...
@@ -184,6 +250,7 @@
...
@@ -184,6 +250,7 @@
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
.image
{
.image
{
width
:
32rpx
;
width
:
32rpx
;
height
:
32rpx
;
height
:
32rpx
;
...
...
pages/tab/customer/components/PotentialSection/PotentialSection.wxml
View file @
15923b6
...
@@ -29,10 +29,6 @@
...
@@ -29,10 +29,6 @@
<view class="value">{{dashboard.signedCount}}</view>
<view class="value">{{dashboard.signedCount}}</view>
</view>
</view>
<view class="grid-item wid-128">
<view class="grid-item wid-128">
<view class="label">已绑定</view>
<view class="value">{{dashboard.bindCount}}</view>
</view>
<view class="grid-item wid-128">
<view class="label">未签约</view>
<view class="label">未签约</view>
<view class="value">{{dashboard.notSignedCount}}</view>
<view class="value">{{dashboard.notSignedCount}}</view>
</view>
</view>
...
@@ -40,6 +36,10 @@
...
@@ -40,6 +36,10 @@
</view>
</view>
</view>
</view>
</view>
</view>
<view class="search-wrap">
<search-input value="{{searchKeyword}}" bind:input="onSearchInput" placeholder="搜索" bind:search="onSearchConfirm" />
</view>
<view class="tabbar-anchor" >
<view class="tabbar-anchor" >
<tab-bar tabList="{{ listTabs }}" notInitialLoading="{{true}}" bindclick="tabClick" activeIndex="{{ statusIndex }}" />
<tab-bar tabList="{{ listTabs }}" notInitialLoading="{{true}}" bindclick="tabClick" activeIndex="{{ statusIndex }}" />
</view>
</view>
...
...
pages/tab/customer/components/StoreSection/StoreSection.js
View file @
15923b6
...
@@ -8,6 +8,9 @@ const __CUR_YM_TS__ = new Date(__NOW__.getFullYear(), __NOW__.getMonth(), 1).get
...
@@ -8,6 +8,9 @@ const __CUR_YM_TS__ = new Date(__NOW__.getFullYear(), __NOW__.getMonth(), 1).get
const
__MIN_YM_TS__
=
new
Date
(
__NOW__
.
getFullYear
(),
__NOW__
.
getMonth
()
-
23
,
1
).
getTime
()
const
__MIN_YM_TS__
=
new
Date
(
__NOW__
.
getFullYear
(),
__NOW__
.
getMonth
()
-
23
,
1
).
getTime
()
Component
({
Component
({
options
:
{
styleIsolation
:
'shared'
},
properties
:
{
properties
:
{
navBarHeight
:
Number
,
navBarHeight
:
Number
,
searchObj
:
Object
,
searchObj
:
Object
,
...
@@ -16,6 +19,7 @@ Component({
...
@@ -16,6 +19,7 @@ Component({
},
},
data
:
{
data
:
{
searchKeyword
:
''
,
IMG_URL
,
IMG_URL
,
// 门店数据看板(示例数据)
// 门店数据看板(示例数据)
boardMonthText
:
`
${
__NOW__
.
getMonth
()
+
1
}
月`
,
boardMonthText
:
`
${
__NOW__
.
getMonth
()
+
1
}
月`
,
...
@@ -36,7 +40,7 @@ Component({
...
@@ -36,7 +40,7 @@ Component({
hasMore
:
true
,
hasMore
:
true
,
loading
:
false
,
loading
:
false
,
// 门店状态 TabBar
// 门店状态 TabBar
listTabs
:
[
'全部'
,
'新店'
,
'老店'
],
listTabs
:
[
'全部'
,
'新店'
,
'老店'
,
'关店'
],
statusIndex
:
0
statusIndex
:
0
},
},
...
@@ -46,6 +50,16 @@ Component({
...
@@ -46,6 +50,16 @@ Component({
},
},
methods
:
{
methods
:
{
onSearchConfirm
(
e
){
let
{
value
}
=
e
.
detail
this
.
setData
({
searchKeyword
:
value
},()
=>
{
this
.
resetAndLoad
(()
=>
{
this
.
triggerEvent
(
'needScrollTop'
,
this
.
data
.
initialTabTop
)
})
})
},
getPageData
()
{
getPageData
()
{
// 获取数据看板数据
// 获取数据看板数据
this
.
getStatic
()
this
.
getStatic
()
...
@@ -55,6 +69,7 @@ Component({
...
@@ -55,6 +69,7 @@ Component({
getParams
()
{
getParams
()
{
let
{
boardScopeActive
,
monthPickerValue
,
searchObj
,
statusIndex
,
userInfo
,
personParams
}
=
this
.
data
let
{
boardScopeActive
,
monthPickerValue
,
searchObj
,
statusIndex
,
userInfo
,
personParams
}
=
this
.
data
const
obj
=
{
const
obj
=
{
keyword
:
this
.
data
.
searchKeyword
,
isAll
:
boardScopeActive
?
1
:
0
,
isAll
:
boardScopeActive
?
1
:
0
,
year
:
boardScopeActive
?
undefined
:
new
Date
(
monthPickerValue
).
getFullYear
(),
year
:
boardScopeActive
?
undefined
:
new
Date
(
monthPickerValue
).
getFullYear
(),
month
:
boardScopeActive
?
undefined
:
new
Date
(
monthPickerValue
).
getMonth
()
+
1
,
month
:
boardScopeActive
?
undefined
:
new
Date
(
monthPickerValue
).
getMonth
()
+
1
,
...
...
pages/tab/customer/components/StoreSection/StoreSection.scss
View file @
15923b6
...
@@ -109,6 +109,10 @@
...
@@ -109,6 +109,10 @@
color
:
#347BFF
;
color
:
#347BFF
;
background
:
#347bff
14
;
background
:
#347bff
14
;
}
}
.close
{
color
:
#666666
;
background
:
#666666
14
;
}
.title
{
.title
{
font-size
:
32rpx
;
font-size
:
32rpx
;
font-weight
:
600
;
font-weight
:
600
;
...
@@ -136,3 +140,39 @@
...
@@ -136,3 +140,39 @@
color
:
#757B85
;
color
:
#757B85
;
padding-bottom
:
20rpx
;
padding-bottom
:
20rpx
;
}
}
.search-wrap
{
padding
:
16rpx
24rpx
0
;
background
:
#fff
;
margin-top
:
24rpx
;
search-input
{
display
:
block
;
width
:
100%
;
.search-box
{
margin
:
0
!
important
;
padding
:
0
!
important
;
border
:
none
!
important
;
height
:
auto
!
important
;
}
.search-input
{
width
:
100%
!
important
;
background
:
#F7F8FA
!
important
;
.input
{
text-align
:
left
!
important
;
padding-left
:
72rpx
!
important
;
box-sizing
:
border-box
!
important
;
}
.placeholder
{
text-align
:
left
!
important
;
}
.icon
{
left
:
28rpx
!
important
;
transform
:
translateY
(
-50%
)
!
important
;
}
}
}
}
\ No newline at end of file
\ No newline at end of file
pages/tab/customer/components/StoreSection/StoreSection.wxml
View file @
15923b6
...
@@ -35,10 +35,16 @@
...
@@ -35,10 +35,16 @@
<view class="label">已出单</view>
<view class="label">已出单</view>
<view class="value">{{dashboard.signedCount}}</view>
<view class="value">{{dashboard.signedCount}}</view>
</view>
</view>
<view class="grid-item wid-67">
<view class="label">关店</view>
<view class="value">{{dashboard.signedCount}}</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<view class="search-wrap">
<search-input value="{{searchKeyword}}" bind:input="onSearchInput" placeholder="搜索" bind:search="onSearchConfirm" />
</view>
<!-- 列表状态筛选 TabBar(与父页吸顶逻辑保持一致类名) -->
<!-- 列表状态筛选 TabBar(与父页吸顶逻辑保持一致类名) -->
<view class="tabbar-anchor" id="storeListTop">
<view class="tabbar-anchor" id="storeListTop">
<tab-bar tabList="{{ listTabs }}" notInitialLoading="{{true}}" bindclick="tabClick" activeIndex="{{ statusIndex }}" />
<tab-bar tabList="{{ listTabs }}" notInitialLoading="{{true}}" bindclick="tabClick" activeIndex="{{ statusIndex }}" />
...
@@ -50,7 +56,7 @@
...
@@ -50,7 +56,7 @@
<block wx:for="{{storeList}}" wx:key="index">
<block wx:for="{{storeList}}" wx:key="index">
<view class="list-card" bindtap="goDetail" data-item="{{item}}">
<view class="list-card" bindtap="goDetail" data-item="{{item}}">
<view class="card-header">
<view class="card-header">
<view class="status-tag {{item.storeType == 1 ? 'new'
: 'old
'}}">{{ item.storeType == 1 ? '新店' : '老店' }}</view>
<view class="status-tag {{item.storeType == 1 ? 'new'
: item.storeType == 2? 'old':'close
'}}">{{ item.storeType == 1 ? '新店' : '老店' }}</view>
<view class="title">{{item.merchantName || '-'}} </view>
<view class="title">{{item.merchantName || '-'}} </view>
</view>
</view>
<view class="card-row">
<view class="card-row">
...
@@ -73,6 +79,14 @@
...
@@ -73,6 +79,14 @@
<view class="label">展业时间</view>
<view class="label">展业时间</view>
<view class="value">{{item.expectedOperationDate || '-'}} </view>
<view class="value">{{item.expectedOperationDate || '-'}} </view>
</view>
</view>
<view class="card-row">
<view class="label">关店时间</view>
<view class="value">{{item.signedTime || '-'}} </view>
</view>
<view class="card-row">
<view class="label">关店原因</view>
<view class="value">{{item.expectedOperationDate || '-'}} </view>
</view>
</view>
</view>
</block>
</block>
<view class="list-footer" wx:if="{{loading}}">加载中...</view>
<view class="list-footer" wx:if="{{loading}}">加载中...</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