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 c2783a1a
authored
Mar 17, 2023
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
权益 首页样式调整 入口名称修改
1 parent
67ca2783
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
31 additions
and
17 deletions
components/tipsBottom/index.js
packageEquity/pages/TabBar/equityPage.wxml
packageEquity/pages/TabBar/equityPage.wxss
packageEquity/pages/carEquity/components/EquityList/EquityList.js
packageEquity/pages/carEquity/components/EquityList/EquityList.wxml
packageEquity/pages/carEquity/components/EquityList/EquityList.wxss
packageEquity/pages/carQuotation/index/index.wxml
packageEquity/pages/carQuotation/index/index.wxss
pages/sceneIndex/sceneIndex.js
components/tipsBottom/index.js
View file @
c2783a1
...
@@ -29,6 +29,7 @@ Component({
...
@@ -29,6 +29,7 @@ Component({
this
.
setData
({
this
.
setData
({
tipsProps
:
false
tipsProps
:
false
})
})
this
.
triggerEvent
(
'closeTips'
)
}
else
{
}
else
{
thisPage
.
tipsEvent
()
thisPage
.
tipsEvent
()
}
}
...
...
packageEquity/pages/TabBar/equityPage.wxml
View file @
c2783a1
...
@@ -8,10 +8,10 @@
...
@@ -8,10 +8,10 @@
</view>
</view>
</navigation-bar>
</navigation-bar>
<!-- style="margin-top:{{navBarHeight}}px" -->
<!-- style="margin-top:{{navBarHeight}}px" -->
<view class="layout" style="padding-top:{{navBarHeight}}px;
height: calc(100vh - {{navBarHeight}}px)
;">
<view class="layout" style="padding-top:{{navBarHeight}}px;
position: relative
;">
<block wx:if="{{navBarHeight && showPage}}">
<block wx:if="{{navBarHeight && showPage}}">
<quotation-list id="page-0" navBarHeight="{{navBarHeight}}" class="{{tabIndex == 0?'':'hide'}}" />
<quotation-list id="page-0" navBarHeight="{{navBarHeight}}" class="
pagedetail
{{tabIndex == 0?'':'hide'}}" />
<equity-list id="page-1" navBarHeight="{{navBarHeight}}" class="{{tabIndex == 1?'':'hide'}}" />
<equity-list id="page-1" navBarHeight="{{navBarHeight}}" class="
pagedetail
{{tabIndex == 1?'':'hide'}}" />
</block>
</block>
</view>
</view>
<custom-tabBar list="{{tabBarList}}" color="#6C6C70" selectedColor="#3582EE" tabIndex="{{tabIndex}}" bindchange="changeTabBar" />
<custom-tabBar list="{{tabBarList}}" color="#6C6C70" selectedColor="#3582EE" tabIndex="{{tabIndex}}" bindchange="changeTabBar" />
...
...
packageEquity/pages/TabBar/equityPage.wxss
View file @
c2783a1
...
@@ -44,6 +44,10 @@
...
@@ -44,6 +44,10 @@
color: #8A8C90;
color: #8A8C90;
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
height: calc(100vh - 50px);
height: calc(100vh - 100rpx - env(safe-area-inset-bottom));
height: calc(100vh - 100rpx - constant(safe-area-inset-bottom));
overflow: hidden;
overflow: hidden;
}
\ No newline at end of file
\ No newline at end of file
}
.layout .pagedetail{
height: 100%;
}
packageEquity/pages/carEquity/components/EquityList/EquityList.js
View file @
c2783a1
...
@@ -65,7 +65,8 @@ Component({
...
@@ -65,7 +65,8 @@ Component({
iconUrl
:
'../images/order-close.png'
iconUrl
:
'../images/order-close.png'
},
},
triggered
:
false
,
triggered
:
false
,
scrollTop
:
0
scrollTop
:
0
,
isShowTips
:
true
},
},
lifetimes
:
{
lifetimes
:
{
...
@@ -92,6 +93,11 @@ Component({
...
@@ -92,6 +93,11 @@ Component({
onBottomRefresh
()
{
onBottomRefresh
()
{
this
.
getList
()
this
.
getList
()
},
},
closeTips
()
{
this
.
setData
({
isShowTips
:
false
})
},
getTotal
()
{
getTotal
()
{
let
{
storeInfo
}
=
this
.
data
let
{
storeInfo
}
=
this
.
data
carLifeApi
.
equityStatistics
({
carLifeApi
.
equityStatistics
({
...
...
packageEquity/pages/carEquity/components/EquityList/EquityList.wxml
View file @
c2783a1
...
@@ -32,11 +32,11 @@
...
@@ -32,11 +32,11 @@
<tab-bar tabList="{{tabList}}" bindclick="tabClick" />
<tab-bar tabList="{{tabList}}" bindclick="tabClick" />
</view>
</view>
<view class="total-box">总订单 · <text>{{statisticsObj.totalOder}}</text> 待补单 · <text style="color: #E7AA47;">{{statisticsObj.ladingOder}}</text> 提单失败 · <text style="color: #D26F6B;">{{statisticsObj.failed}}</text></view>
<view class="total-box">总订单 · <text>{{statisticsObj.totalOder}}</text> 待补单 · <text style="color: #E7AA47;">{{statisticsObj.ladingOder}}</text> 提单失败 · <text style="color: #D26F6B;">{{statisticsObj.failed}}</text></view>
<view wx:if="{{tabIndex != 3 && list.length}}" class="tips-box">
<view wx:if="{{tabIndex != 3 && list.length
&& isShowTips
}}" class="tips-box">
<tips-bottom custom-class="tips-custom" style="width: 100%;box-sizing: border-box;" tipsProps="{{tipsProps}}" />
<tips-bottom custom-class="tips-custom" style="width: 100%;box-sizing: border-box;" tipsProps="{{tipsProps}}"
bind:closeTips="closeTips"
/>
</view>
</view>
<view wx:if="{{flag}}" class="order-box">
<view wx:if="{{flag}}" class="order-box"
style="height: calc(100% - 104rpx - 104rpx - 80rpx - {{isShowTips ? 48 : 0}}rpx);"
>
<scroll-view scroll-y enable-back-to-top refresher-enabled="{{true}}" bindrefresherrefresh="search" bindscrolltolower="onBottomRefresh" class="list" s
tyle="height:calc(100vh - {{navBarHeight}}px - 300px - 84px);" scroll-top="{{scrollTop}}
" refresher-threshold="104" refresher-triggered="{{triggered}}">
<scroll-view scroll-y enable-back-to-top refresher-enabled="{{true}}" bindrefresherrefresh="search" bindscrolltolower="onBottomRefresh" class="list" s
croll-top="{{scrollTop}}" style="height: calc(100% - 2rpx)
" refresher-threshold="104" refresher-triggered="{{triggered}}">
<block wx:if="{{list.length > 0}}">
<block wx:if="{{list.length > 0}}">
<view wx:for="{{list}}" wx:key="index" class="item">
<view wx:for="{{list}}" wx:key="index" class="item">
<view class="item-header">
<view class="item-header">
...
...
packageEquity/pages/carEquity/components/EquityList/EquityList.wxss
View file @
c2783a1
...
@@ -94,6 +94,7 @@
...
@@ -94,6 +94,7 @@
background: #FFFFFF;
background: #FFFFFF;
border-radius: 48rpx 48rpx 0 0;
border-radius: 48rpx 48rpx 0 0;
overflow: hidden;
overflow: hidden;
height: calc(100% - 192rpx);
}
}
.to-box {
.to-box {
...
@@ -194,7 +195,6 @@
...
@@ -194,7 +195,6 @@
}
}
.order-box {
.order-box {
margin-bottom: 200rpx;
background-color: #fdfdfd;
background-color: #fdfdfd;
}
}
...
...
packageEquity/pages/carQuotation/index/index.wxml
View file @
c2783a1
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
<text wx:if="{{tabIndex == 0}}" class="total-tips">今日成功支付{{statisticsObj.todaySuccessPay || 0}}位,战败{{statisticsObj.todayFailurePay || 0}}位</text>
<text wx:if="{{tabIndex == 0}}" class="total-tips">今日成功支付{{statisticsObj.todaySuccessPay || 0}}位,战败{{statisticsObj.todayFailurePay || 0}}位</text>
</view>
</view>
<view wx:if="{{flag}}" class="order-box">
<view wx:if="{{flag}}" class="order-box">
<scroll-view scroll-y enable-back-to-top refresher-enabled="{{true}}" bindrefresherrefresh="search" bindscrolltolower="onBottomRefresh" class="list" s
tyle="height:calc(100vh - {{navBarHeight}}px - 300px - 60px);" s
croll-top="{{scrollTop}}" refresher-threshold="104" refresher-triggered="{{triggered}}">
<scroll-view scroll-y enable-back-to-top refresher-enabled="{{true}}" bindrefresherrefresh="search" bindscrolltolower="onBottomRefresh" class="list" scroll-top="{{scrollTop}}" refresher-threshold="104" refresher-triggered="{{triggered}}">
<block wx:if="{{list.length > 0}}">
<block wx:if="{{list.length > 0}}">
<view wx:for="{{list}}" wx:key="index" class="item">
<view wx:for="{{list}}" wx:key="index" class="item">
<view class="itme-content">
<view class="itme-content">
...
...
packageEquity/pages/carQuotation/index/index.wxss
View file @
c2783a1
...
@@ -87,6 +87,7 @@
...
@@ -87,6 +87,7 @@
background: #FFFFFF;
background: #FFFFFF;
border-radius: 48rpx 48rpx 0 0;
border-radius: 48rpx 48rpx 0 0;
overflow: hidden;
overflow: hidden;
height: calc(100% - 260rpx);
}
}
.to-box {
.to-box {
...
@@ -176,14 +177,16 @@
...
@@ -176,14 +177,16 @@
}
}
.order-box {
.order-box {
margin-bottom: 200rpx;
background-color: #fdfdfd;
background-color: #fdfdfd;
height: calc(100% - 104rpx - 104rpx - 52rpx);
}
}
.list {
.list {
box-sizing: border-box;
box-sizing: border-box;
width: 100%;
width: 100%;
padding: 20rpx;
padding: 20rpx;
padding-bottom: 0;
height: calc(100% - 20rpx);
}
}
.list .item {
.list .item {
...
...
pages/sceneIndex/sceneIndex.js
View file @
c2783a1
...
@@ -9,14 +9,14 @@ Page({
...
@@ -9,14 +9,14 @@ Page({
timeState
:
''
,
timeState
:
''
,
sceneList
:
[
sceneList
:
[
{
{
sceneName
:
'
1.1
精品升级'
,
sceneName
:
'精品升级'
,
sceneDesc
:
'
1.1
太阳膜升级转化下单'
,
sceneDesc
:
'太阳膜升级转化下单'
,
sceneType
:
1
,
sceneType
:
1
,
actived
:
false
actived
:
false
},
},
{
{
sceneName
:
'
2.1
会员权益/升级'
,
sceneName
:
'会员权益/升级'
,
sceneDesc
:
'
2.1
新车车损险下单'
,
sceneDesc
:
'新车车损险下单'
,
sceneType
:
0
,
sceneType
:
0
,
actived
:
false
actived
:
false
}
}
...
...
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