1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <!-- 管理车辆 -->
- <template>
- <view class="content">
- <view class="content1">
- <view class="content1-item inline-block ">
- <u--image width='100%' height='100%' src="https://cdn.uviewui.com/uview/album/1.jpg" mode="widthFix">
- </u--image>
- <view class="flex flex-space-between">
- <view>辽H11111</view>
- <view>审核中</view>
- </view>
- <view class="flex">
- <view>删除</view>
- <view>修改</view>
- </view>
- </view>
- <view class="content1-item inline-block ">
- <u--image width='100%' height='100%' src="https://cdn.uviewui.com/uview/album/1.jpg" mode="widthFix">
- </u--image>
- <view class="flex flex-space-between">
- <view>辽H11111</view>
- <view>审核中</view>
- </view>
- <view class="flex">
- <view>删除</view>
- <view>修改</view>
- </view>
- </view>
- <view class="content1-item inline-block ">
- <u--image width='100%' height='100%' src="https://cdn.uviewui.com/uview/album/1.jpg" mode="widthFix">
- </u--image>
- <view class="flex flex-space-between">
- <view>辽H11111</view>
- <view>审核中</view>
- </view>
- <view class="flex">
- <view>删除</view>
- <view>修改</view>
- </view>
- </view>
- <view class="content1-item inline-block ">
- <u--image width='100%' height='100%' src="https://cdn.uviewui.com/uview/album/1.jpg" mode="widthFix">
- </u--image>
- <view class="flex flex-space-between">
- <view>辽H11111</view>
- <view>审核中</view>
- </view>
- <view class="flex">
- <view @click="del">删除</view>
- <view @click="edit">修改</view>
- </view>
- </view>
- </view>
- <u-button type="primary" @click="addCar">添加车辆</u-button>
- </view>
- </template>
- <script>
- import {
- mapState
- } from 'vuex';
- var _this;
- export default {
- data() {
- return {
- };
- },
- onLoad(options) {
- _this = this;
- console.log(options)
- if (!this.hasLogin) {
- uni.$u.route('/pages/public/login');
- }
- },
- computed: {
- ...mapState(['hasLogin', 'userInfo']),
- },
- methods: {
- addCar() {
- uni.$u.route('/pages/mine/manageVehicles/addVehicle');
- },
- edit() {
- uni.$u.route('/pages/mine/manageVehicles/editVehicle');
- }
- },
- }
- </script>
- <style lang="scss" scoped>
- .content1 {
- width: 100%;
- }
- .content1-item {
- width: calc(50% - 0rpx);
- }
- </style>
|