| | |
| | | <view class="content"> |
| | | <view class="chuany-flex chuany-flex-direction chuany-paddingbottom-100 chuany-align-center"> |
| | | <view class="logo"> |
| | | <image src="/static/logo.png"></image> |
| | | <image mode="widthFix" src="/static/boss.png"></image> |
| | | </view> |
| | | <text class="title chuany-padding18 c-m-t-10">欢迎来到寿安工业区</text> |
| | | <text class="title"> </text> |
| | |
| | | </view> |
| | | <view class="titlecon chuany-flex chuany-align-center" @click="goEnterprise"> |
| | | <view class="logo"> |
| | | <image src="/static/boss.png"></image> |
| | | <image mode="widthFix" src="/static/logo.png"></image> |
| | | </view> |
| | | <view class="chuany-flex chuany-justify-between chuany-paddingleft-28 vwidth"> |
| | | <text class="chuany-font36">我是企业</text> |
| | |
| | | </view> |
| | | <view class="titlecon chuany-flex chuany-align-center c-m-b-140" @click="goWorker"> |
| | | <view class="logo"> |
| | | <image src="/static/worker.png"></image> |
| | | <image mode="widthFix" src="/static/worker.png"></image> |
| | | </view> |
| | | <view class="chuany-flex chuany-justify-between chuany-paddingleft-28 vwidth"> |
| | | <text class="chuany-font36">我是工人</text> |
| | |
| | | uni.getStorage({ |
| | | key: 'identity', |
| | | success: function (res) { |
| | | console.log('identity',res.data); |
| | | console.log('identity www',res.data); |
| | | if(res.data){ |
| | | uni.switchTab({ |
| | | url: '/pages/index/index' |
| | |
| | | flex-direction: column; |
| | | align-items: center; |
| | | justify-content: center; |
| | | background-color: #e8eaed; |
| | | background: linear-gradient(to bottom, #B4DEFF, #ffffff); |
| | | height: 100vh; |
| | | } |
| | | |
| | | .logo { |
| | | height: 140rpx; |
| | | width: 140rpx; |
| | | height: 160rpx; |
| | | width: 160rpx; |
| | | /* margin-top: 200rpx; */ |
| | | /* margin-left: auto; |
| | | margin-right: auto; */ |
| | |
| | | |
| | | /* 超出容器的图片部分将被隐藏 */ |
| | | image { |
| | | width: 100%; |
| | | width: 80%; |
| | | /* 图片宽度自适应容器宽度 */ |
| | | height: 100%; |
| | | /* 图片高度自适应容器高度 */ |