外宿申请表单
This commit is contained in:
1755
pages/dormitory/outsideAccommodation/applicationForm.vue
Normal file
1755
pages/dormitory/outsideAccommodation/applicationForm.vue
Normal file
File diff suppressed because it is too large
Load Diff
52
pages/dormitory/outsideAccommodation/index.vue
Normal file
52
pages/dormitory/outsideAccommodation/index.vue
Normal file
@@ -0,0 +1,52 @@
|
||||
<template>
|
||||
<view>
|
||||
<!-- 添加外宿申请按钮 -->
|
||||
<view class="add" @click="addOutsideAccommodation">+</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 跳转添加页面
|
||||
addOutsideAccommodation() {
|
||||
// if (this.roleGroup === "学生") {
|
||||
// if (this.dormInfo.length > 0) {
|
||||
// uni.showToast({
|
||||
// title: '请勿重复提交',
|
||||
// icon: 'none'
|
||||
// });
|
||||
// return
|
||||
// }
|
||||
// }
|
||||
uni.navigateTo({
|
||||
url: `/pages/dormitory/outsideAccommodation/applicationForm`
|
||||
})
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.add {
|
||||
position: fixed;
|
||||
bottom: 50rpx;
|
||||
right: 50rpx;
|
||||
width: 90rpx;
|
||||
height: 90rpx;
|
||||
border-radius: 50%;
|
||||
background-color: #1890FF;
|
||||
color: white;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 60rpx;
|
||||
box-shadow: 0 4rpx 12rpx rgba(24, 144, 255, 0.3);
|
||||
z-index: 99;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user