Files
jobslink-user-clent/pageMy/federation/forMembership/forBook.vue
2024-02-02 10:24:54 +08:00

116 lines
2.2 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<view>
<view class="bookBox">
<view class="title">入会申请书</view>
<view class="content">{{content}}</view>
<view class="time people">申请人</view>
<view class="time">
<view class="day">日期</view>
<view class="year"> <view></view> </view>
</view>
</view>
<view style="height: 49rpx;"></view>
<view class="nextBtn" @click="submit">
确定入会
</view>
</view>
</template>
<script>
import {contract} from '@/api/federation.js'
export default{
data(){
return{
password: false,
maxlength: 6,
content: '我自愿加入石家庄新业态职工工会联合会,遵守工会章程,执行工会决议,积极参加工会活动,为把我国建设成为富强、民主、文明的社会主义国家而努力奋斗。'
}
},
methods:{
submit(){
uni.showLoading({
title:'请求中'
})
contract().then(e => {
uni.hideLoading()
uni.switchTab({
url: '/pages/my/my'
})
})
},
go(url) {
uni.navigateTo({
url
})
}
}
}
</script>
<style lang="scss">
page{
background: #F6F6F6;
}
.bookBox{
width: 630rpx;
height: 691rpx;
background: #FFFFFF;
margin: 53rpx 30rpx;
padding: 60rpx 30rpx 0 30rpx;
position: relative;
.title{
font-size: 40rpx;
font-weight: 500;
color: #333333;
line-height: 56rpx;
text-align: center;
margin-bottom: 47rpx;
}
.content{
font-size: 28rpx;
font-weight: 400;
color: #333333;
line-height: 50rpx;
text-indent:2em;
}
.people{
position: absolute;
bottom: 203rpx;
right: 223rpx;
}
.time{
font-size: 32rpx;
font-weight: 500;
color: #333333;
line-height: 45rpx;
.day{
position: absolute;
bottom: 128rpx;
right: 255rpx;
}
.year{
width: 192rpx;
display: flex;
justify-content: space-between;
position: absolute;
bottom: 128rpx;
right: 30rpx;
}
}
}
.nextBtn{
margin: 50rpx 30rpx;
height: 80rpx;
background: #1B66FF;
border-radius: 8rpx;
font-size: 30rpx;
font-weight: 400;
color: #FFFFFF;
line-height: 80rpx;
text-align: center;
}
</style>