oil-station/gasStation-uni/pagesMy/fleetInfo/index.vue

109 lines
1.6 KiB
Vue
Raw Normal View History

2024-09-22 14:30:12 +08:00
<template>
<view class="content">
<view class="container">
<view class="box-hang" @click="goEdit(0)">
<view class="">车队名称</view>
<view class="dis">
<text >xxxxxx</text>
<!-- <uni-icons type="right" size="16"></uni-icons> -->
</view>
</view>
</view>
</view>
</template>
<script>
import request from '../../utils/request';
export default {
data() {
return {
title: '',
List: [],
pageNo: 1,
pageSize: 10,
totalPage: '',
}
},
onLoad() {
},
onPullDownRefresh() {
//下拉刷新
},
onReachBottom() {
// 触底加载
if (this.pageNo >= this.totalPage) {
uni.showToast({
title: '没有下一页数据',
icon: 'none'
})
} else {
this.pageNo++
}
},
components: {
},
methods: {
goback() {
uni.navigateBack()
}
}
}
</script>
<style scoped lang="scss">
.content {
background: #f4f5f6;
}
.container {
width: 100%;
height: 100vh;
box-sizing: border-box;
padding-top: 88px;
}
.my-header {
width: 100%;
height: 88px;
background: #ffffff;
display: flex;
align-items: center;
justify-content: space-between;
color: #000;
box-sizing: border-box;
padding: 0px 15px;
padding-top: 40px;
z-index: 99999;
.my-icons {
width: 20px;
}
position: fixed;
top: 0px;
}
.box-hang {
background-color: white;
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
padding: 15px 0px;
border-bottom: 1px solid #f4f5f6;
}
.dis {
color: #a69999;
}
</style>