Commit f625ed65 authored by youjie's avatar youjie

no message

parent 237306e1
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
background: linear-gradient(-30deg, #4FA9FF, #4779FF); background: linear-gradient(-30deg, #4FA9FF, #4779FF);
} }
.reimbursementInforTitle.fixed .reimbursementInforTsBox{ .reimbursementInforTitle.fixed .reimbursementInforTsBox{
top: 22rpx; // top: 22rpx;
} }
.reimbursementInforTsBox{ .reimbursementInforTsBox{
width: 60%; width: 60%;
...@@ -66,11 +66,12 @@ ...@@ -66,11 +66,12 @@
:enable-back-to-top="true" :enable-flex="true" :enable-back-to-top="true" :enable-flex="true"
@scroll="scroll" style="height: 100vh;"> @scroll="scroll" style="height: 100vh;">
<view class="reimbursementInforHeaderBox"> <view class="reimbursementInforHeaderBox">
<view class="reimbursementInforTitle"> <view class="reimbursementInforTitle"
:class="[boxOption>0?'fixed':'']"
:style="[boxOption>0?'titleStyle':'']">
<headers textAlign="left" :title="pageTitle" color="#fff"></headers> <headers textAlign="left" :title="pageTitle" color="#fff"></headers>
<scroll-view class="reimbursementInforTsBox" :scroll-x="true" <scroll-view class="reimbursementInforTsBox" :scroll-x="true"
:scroll-left="scrollLeftHeader" >
@scroll="scrollHandlerHeader">
<view class="reimbursementInforT-text row-aic-n"> <view class="reimbursementInforT-text row-aic-n">
<view class="reimbursementInforText" <view class="reimbursementInforText"
:class="[params.type==item.id?'active':'']" :class="[params.type==item.id?'active':'']"
...@@ -80,6 +81,7 @@ ...@@ -80,6 +81,7 @@
</view> </view>
</scroll-view> </scroll-view>
</view> </view>
<!--
<view class="reimbursementInforTitle fixed" <view class="reimbursementInforTitle fixed"
:style="{ opacity: boxOption + '%' }"> :style="{ opacity: boxOption + '%' }">
<headers textAlign="left" :title="pageTitle" color="#fff"></headers> <headers textAlign="left" :title="pageTitle" color="#fff"></headers>
...@@ -95,7 +97,7 @@ ...@@ -95,7 +97,7 @@
@click="getType(item)">{{ item.name }}</view> @click="getType(item)">{{ item.name }}</view>
</view> </view>
</scroll-view> </scroll-view>
</view> </view>-->
<headeDatas v-show="params.type<5" :currencyList="currencyList" :data="params" @change="getNewData"></headeDatas> <headeDatas v-show="params.type<5" :currencyList="currencyList" :data="params" @change="getNewData"></headeDatas>
</view> </view>
<!-- 车信息--> <!-- 车信息-->
...@@ -262,7 +264,6 @@ export default { ...@@ -262,7 +264,6 @@ export default {
}, },
], ],
scrollLeft: 0, scrollLeft: 0,
scrollLeftHeader: 0,
currencyList: [], currencyList: [],
shopTypeList: [], shopTypeList: [],
} }
...@@ -377,14 +378,6 @@ export default { ...@@ -377,14 +378,6 @@ export default {
} }
}) })
}, },
scrollHandlerHeader(e){
console.log(e,'----------')
// this.scrollLeft = e.detail.scrollLeft
},
scrollHandler(e){
console.log(e,'----------2222')
// this.scrollLeftHeader = e.detail.scrollLeft
},
scroll(e) { scroll(e) {
this.old.scrollTop = e.detail.scrollTop this.old.scrollTop = e.detail.scrollTop
this.boxOption = Math.floor((e.detail.scrollTop - 100) / 1.5); this.boxOption = Math.floor((e.detail.scrollTop - 100) / 1.5);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment