Commit d09febe9 by chenwq

文案和样式

1 parent 431c557e
...@@ -15,11 +15,12 @@ ...@@ -15,11 +15,12 @@
/* flex: 1; */ /* flex: 1; */
background: #F7F8FC; background: #F7F8FC;
margin-right: 4rpx; margin-right: 4rpx;
font-size: 16rpx; font-size: 18rpx;
/* color: #8A8C90; */ /* color: #8A8C90; */
color: #323436; color: #323436;
padding: 32rpx 0 28rpx; padding: 32rpx 0 28rpx;
border-radius: 12rpx; border-radius: 12rpx;
font-weight: 500;
/* margin-bottom: 20rpx; */ /* margin-bottom: 20rpx; */
} }
......
...@@ -32,19 +32,19 @@ Component({ ...@@ -32,19 +32,19 @@ Component({
custSceneList: [ custSceneList: [
{ {
title: '新车洽谈场景', title: '新车洽谈场景',
subTitle: '1.0新车权益销售' subTitle: '1.0新车权益升级'
}, },
{ {
title: '新车交付场景', title: '新车交付场景',
subTitle: '1.1新车精品升级' subTitle: '1.1新车精品升级'
}, },
{ {
title: '0-12个月', title: '0-6个月',
subTitle: '1.2新车线上转化' subTitle: '1.2次新车膨胀金活动'
}, },
{ {
title: '12个月以上', title: '6个月以上',
subTitle: '1.3存量用户众筹' subTitle: '1.3售后直播众筹活动'
} }
] ]
}, },
......
...@@ -16,10 +16,12 @@ ...@@ -16,10 +16,12 @@
background: #F7F8FC; background: #F7F8FC;
margin-right: 4rpx; margin-right: 4rpx;
font-size: 18rpx; font-size: 18rpx;
color: #8A8C90; /* color: #8A8C90; */
color: #323436;
padding: 32rpx 0 28rpx; padding: 32rpx 0 28rpx;
border-radius: 12rpx; border-radius: 12rpx;
margin-bottom: 20rpx; margin-bottom: 20rpx;
font-weight: 500;
} }
.scene-item:last-child { .scene-item:last-child {
...@@ -85,9 +87,9 @@ ...@@ -85,9 +87,9 @@
height: 56rpx; height: 56rpx;
} }
.notOpened { /* .notOpened {
color: #8A8C90; color: #8A8C90;
} } */
.total-price { .total-price {
height: 40rpx; height: 40rpx;
......
...@@ -45,20 +45,25 @@ Component({ ...@@ -45,20 +45,25 @@ Component({
pMerchantId: userInfo.subLoginUser.merchantId pMerchantId: userInfo.subLoginUser.merchantId
}) })
}, },
clientRefresh() { onBindRefresh() {
this.clientRefresh(true)
},
clientRefresh(isPull = false) {
this.getPMerchantInfo() this.getPMerchantInfo()
this.setData({ this.setData({
['pageObj.currentPage']: 1, ['pageObj.currentPage']: 1,
list: [] list: []
}) })
this.getClientApi() this.getClientApi(isPull)
}, },
getClientApi() { getClientApi(isPull = false) {
this.getProfit() this.getProfit()
this.getList() this.getList()
isPull && wx.$api.showToast('刷新成功')
if (this.data.pageObj.currentPage == 1) { if (this.data.pageObj.currentPage == 1) {
this.setData({ this.setData({
scrollTop: 0 scrollTop: 0,
triggered: false
}) })
} }
}, },
......
...@@ -2,7 +2,10 @@ ...@@ -2,7 +2,10 @@
<scroll-view <scroll-view
class="client" class="client"
scroll-y="{{true}}" scroll-y="{{true}}"
refresher-enabled="{{true}}"
refresher-triggered="{{triggered}}"
bindscrolltolower="onReachBottom" bindscrolltolower="onReachBottom"
bindrefresherrefresh="onBindRefresh"
lower-threshold='50' lower-threshold='50'
scroll-top="{{scrollTop}}"> scroll-top="{{scrollTop}}">
<!-- <view class="test">1234567890</view> --> <!-- <view class="test">1234567890</view> -->
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!