Commit f625ed65 authored by youjie's avatar youjie

no message

parent 237306e1
......@@ -19,7 +19,7 @@
background: linear-gradient(-30deg, #4FA9FF, #4779FF);
}
.reimbursementInforTitle.fixed .reimbursementInforTsBox{
top: 22rpx;
// top: 22rpx;
}
.reimbursementInforTsBox{
width: 60%;
......@@ -66,11 +66,12 @@
:enable-back-to-top="true" :enable-flex="true"
@scroll="scroll" style="height: 100vh;">
<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>
<scroll-view class="reimbursementInforTsBox" :scroll-x="true"
:scroll-left="scrollLeftHeader"
@scroll="scrollHandlerHeader">
>
<view class="reimbursementInforT-text row-aic-n">
<view class="reimbursementInforText"
:class="[params.type==item.id?'active':'']"
......@@ -80,6 +81,7 @@
</view>
</scroll-view>
</view>
<!--
<view class="reimbursementInforTitle fixed"
:style="{ opacity: boxOption + '%' }">
<headers textAlign="left" :title="pageTitle" color="#fff"></headers>
......@@ -95,7 +97,7 @@
@click="getType(item)">{{ item.name }}</view>
</view>
</scroll-view>
</view>
</view>-->
<headeDatas v-show="params.type<5" :currencyList="currencyList" :data="params" @change="getNewData"></headeDatas>
</view>
<!-- 车信息-->
......@@ -262,7 +264,6 @@ export default {
},
],
scrollLeft: 0,
scrollLeftHeader: 0,
currencyList: [],
shopTypeList: [],
}
......@@ -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) {
this.old.scrollTop = e.detail.scrollTop
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