空轴进站返回顶部

This commit is contained in:
2024-05-11 16:39:05 +08:00
parent 932a5a31be
commit b4604fa746
3 changed files with 17 additions and 14 deletions

View File

@@ -33,16 +33,18 @@ uni-button:after {
color: #D7592F ;
}
.icon_unchecked {
display: inline-block;
color: #fff;
width: 32rpx;
height: 32rpx;
width: 42rpx;
height: 42rpx;
background-color: #fff;
font-size: 24rpx;
line-height: 28rpx;
font-size: 28rpx;
line-height: 38rpx;
border: 1rpx solid #bbb;
border-radius: 8rpx;
}
.icon_checked {
color: #D7592F ;
background-color: #D7592F ;
border: 1rpx solid #D7592F ;
}
.icon_back {

View File

@@ -172,7 +172,4 @@
}
}
}
</script>
<style lang="stylus">
</style>
</script>

View File

@@ -63,20 +63,24 @@
<button class="zd-col-15 btn-submit btn-success letter-30" :class="{'btn-info': !index1 || !pkId}" :disabled="disabled" @tap="_inConfirm">上空轴</button>
<button class="zd-col-6 btn-submit btn-success letter-30" @tap="_queryMaterialInfo">查询</button>
</view>
<up-top ref="UT" :scrollTop="top"></up-top>
</view>
</template>
<script>
import NavBar from '@/components/NavBar.vue'
import SearchBox from '@/components/SearchBox.vue'
import UpTop from '@/components/upTop.vue'
import {devicePointQuery, queryProductArea, queryDeviceByarea, queryMaterialInfo5, inConfirm} from '@/utils/getData2.js'
export default {
components: {
NavBar,
SearchBox
SearchBox,
UpTop
},
data() {
return {
top: 0,
options1: [],
index1: '',
options2: [],
@@ -89,6 +93,9 @@
disabled: false
};
},
onPageScroll(e) {
this.$refs.UT.topData(e.scrollTop)
},
created () {
this._queryProductArea()
this._queryMaterialInfo()
@@ -172,7 +179,4 @@
}
}
}
</script>
<style lang="stylus">
</style>
</script>