74 lines
1.5 KiB
Vue
74 lines
1.5 KiB
Vue
<style lang='scss' scoped>
|
|
.registerGuide{
|
|
width: 100%;
|
|
&-bg{
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
/* bottom: 0;
|
|
right: 0; */
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
&-btn{
|
|
position: absolute;
|
|
left: 0;
|
|
top: 300rpx;
|
|
width: 100%;
|
|
padding: 0 40rpx;
|
|
&-company,&-user{
|
|
width: 100%;
|
|
height: 130rpx;
|
|
background: #FEB531;
|
|
box-shadow: 0px 0px 10px 0px rgba(192, 192, 192, 0.5);
|
|
border-radius: 8px;
|
|
font-size: 40rpx;
|
|
color: #fff;
|
|
}
|
|
&-user{
|
|
background-color: #B8E3FC;
|
|
color: #364F82;
|
|
margin-top: 100rpx;
|
|
}
|
|
}
|
|
}
|
|
</style>
|
|
<template>
|
|
<view class="registerGuide">
|
|
<view class="registerGuide-bg">
|
|
<u-image mode="scaleToFill" width="100%" height="100%" src="http://static.drgyen.com/app/hc-app-power/images/my/online-bg.jpg"></u-image>
|
|
</view>
|
|
<!-- <view class="registerGuide-btn">
|
|
<view class="registerGuide-btn-company flex-center" @click="goRegisterCompanyFn">企业用户</view>
|
|
<view class="registerGuide-btn-user flex-center" @click="goRegisterUserFn">普通用户</view>
|
|
</view> -->
|
|
|
|
</view>
|
|
</template>
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {}
|
|
},
|
|
onLoad() {},
|
|
methods: {
|
|
goRegisterUserFn(){
|
|
// uni.navigateTo({
|
|
// url:"./userRegister"
|
|
// })
|
|
uni.navigateTo({
|
|
url:"./login?userType=user"
|
|
})
|
|
},
|
|
goRegisterCompanyFn(){
|
|
// uni.navigateTo({
|
|
// url:"./companyRegister"
|
|
// })
|
|
uni.navigateTo({
|
|
url:"./login?userType=company"
|
|
})
|
|
},
|
|
}
|
|
}
|
|
</script>
|