1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- <template>
- <view class="switch-roles">
- <nav-bar title="切换身份"></nav-bar>
- <view class="roles-content">
- <view class="content">
- <image src="/static/images/my/zhaopingzhe.svg" mode="scaleToFill" />
- <view class="roles-desc">你当前的身份是“招聘者”</view>
- <view class="roles-btn" @click="goBusinessLicense">切换为“求职者”身份</view>
- </view>
- </view>
- </view>
- </template>
- <script>
- import navBar from "@/components/nav-bar/index.vue";
- export default {
- data() {
- return {};
- },
- components: {
- navBar,
- },
- methods: {
- goBusinessLicense(){
- uni.navigateTo({ url: '/pages/my/businessLicense' })
- }
- },
- };
- </script>
- <style lang="scss" scoped>
- .switch-roles {
- background: linear-gradient(90deg, rgba(13, 39, 247, 1), rgba(19, 193, 234, 1) 100%);
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- display: flex;
- flex-direction: column;
- .roles-content {
- width: 100%;
- flex: 1;
- overflow: hidden;
- overflow-y: auto;
- padding-top: 10vh;
- box-sizing: border-box;
- .content {
- padding: 62rpx;
- box-sizing: border-box;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- image {
- width: 364rpx;
- height: 364rpx;
- }
- .roles-desc {
- color: rgba(255, 255, 255, 1);
- font-family: DM Sans;
- font-size: 32rpx;
- font-weight: 400;
- line-height: 48rpx;
- text-align: center;
- padding: 24rpx 0 36rpx 0;
- box-sizing: border-box;
- }
- .roles-btn {
- color: #016bf6;
- font-family: DM Sans;
- font-size: 32rpx;
- font-weight: 400;
- line-height: 48rpx;
- letter-spacing: 0%;
- background-color: #fff;
- text-align: center;
- padding: 16rpx 32rpx;
- box-sizing: border-box;
- border-radius: 100rpx;
- }
- }
- }
- }
- </style>
|