leaseAdd.vue
3.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<template>
<view class="page">
<view class="add-list">
<view class="list">
<view class="title">
<text>租赁人姓名</text>
<text class="star">*</text>
</view>
<view class="content">
<input type="text" placeholder="请输入">
</view>
</view>
<view class="list">
<view class="title">
<text>身份证号</text>
<text class="star">*</text>
</view>
<view class="content">
<input type="text" placeholder="请输入">
</view>
</view>
<view class="list">
<view class="title">
<text>联系方式</text>
<text class="star">*</text>
</view>
<view class="content">
<input type="text" placeholder="请输入">
</view>
</view>
<view class="list">
<view class="title">
<text>意向租期</text>
<text class="star">*</text>
</view>
<view class="content">
<input type="text" placeholder="请选择">
</view>
</view>
<view class="list">
<view class="title">
<text>经营用途</text>
<text class="star">*</text>
</view>
<view class="content">
<input type="text" placeholder="请选择">
<image :src="$imgUrl('/right2.png')" ></image>
</view>
</view>
<view class="list">
<view class="title">
<text>经营类型</text>
<text class="star">*</text>
</view>
<view class="content">
<input type="text" placeholder="请选择">
<image :src="$imgUrl('/right2.png')"></image>
</view>
</view>
<view class="feedback-data">
<view>
<view class="title">
<text>法人身份证正反面</text>
<text class="star">*</text>
</view>
</view>
<view class="voucher-img">
<view class="voucher-list">
<image :src="$imgUrl('/voucher_bg.png')"></image>
</view>
</view>
</view>
<view class="feedback-data">
<view>
<view class="title">
<text>营业许可证</text>
<text class="star">*</text>
</view>
</view>
<view class="voucher-img">
<view class="voucher-list">
<image :src="$imgUrl('/voucher_bg.png')"></image>
</view>
</view>
</view>
<view class="feedback-data">
<view>
<view class="title">
<text>餐饮服务许可证</text>
<text class="star">*</text>
</view>
</view>
<view class="voucher-img">
<view class="voucher-list">
<image :src="$imgUrl('/voucher_bg.png')" ></image>
</view>
</view>
</view>
</view>
<!-- 保存按钮 -->
<view class="page-footer" @click="go">
<view class="footer-buy">
<view class="cart-add">
<text>提交</text>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
};
},
onLoad() {
// 检查用户是否登录
const isLogin = uni.getStorageSync('token') || false;
if (!isLogin) {
// 如果未登录,跳转到登录页面
uni.redirectTo({
url: '/pages/login/login'
});
}
},
methods:{
go(){
uni.navigateTo({
url: '/pages/record/record'
})
}
}
}
</script>
<style scoped lang="scss">
@import 'leaseAdd.scss';
</style>