Commit 630cd972 authored by youjie's avatar youjie

no message

parent baed81ef
......@@ -38,8 +38,8 @@
</style>
<template>
<view>
<!-- :scroll-left="scrollLeft" -->
<scroll-view class="scheduleTsBox" :scroll-x="true">
<scroll-view class="scheduleTsBox" :scroll-x="true"
:scroll-left="scrollLeft">
<view class="scheduleT-text row-aic-n">
<template v-for="(item,index) in list">
<view class="scheduleText" :id="`refs_${index+1}`"
......@@ -100,6 +100,11 @@
let findIndex = this.list.findIndex(x => x.id == newVal.type)
if(findIndex != -1) {
this.scrollLeft = this.list[findIndex].left
if(this.scrollLeft>0){
uni.setStorageSync("teamLeadr", {
scrollLeft: this.scrollLeft
})
}
}
})
},
......@@ -111,7 +116,7 @@
},
mounted(){
this.scrollLeft = uni.getStorageSync("teamLeadr").scrollLeft
},
methods:{
getType(item){
......
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