123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262 |
- <template>
- <view>
- <u-navbar back-text="发布" back-icon-size="0" :customBack="customBack" back-icon-color="#ffffff" :background="{backgroundColor: '#2795FD',}"
- :back-text-style="{color: '#ffffff'}"></u-navbar>
- <view class="main">
- <view class="title">
- 选择您要发布的信息
- </view>
- <view class="headline">
- 您好,欢迎来到荆开零工驿站
- </view>
- <view class="card" @click="toMyJobInformation">
- <view class="icon">
- <img src="@/assets/img/issue1@1x.png" alt="">
- </view>
- <view class="card-title">
- <view class="title1">
- 求职信息
- </view>
- <view class="title2">
- 坐等好工作来找你
- </view>
- </view>
- <view class="right">
- <u-icon name="arrow-right" color="#D6D6D6"></u-icon>
- </view>
- </view>
- <view class="card" @click="toLaborManagement">
- <view class="icon">
- <img src="@/assets/img/issue2@1x.png" alt="">
- </view>
- <view class="card-title">
- <view class="title1">
- 招工信息
- </view>
- <view class="title2">
- 精准满足用工需求
- </view>
- </view>
- <view class="right">
- <u-icon name="arrow-right" color="#D6D6D6"></u-icon>
- </view>
- </view>
- <view class="card" @click="toPostMessage">
- <view class="icon">
- <img src="@/assets/img/issue3@1x.png" alt="">
- </view>
- <view class="card-title">
- <view class="title1">
- 共享用工
- </view>
- <view class="title2">
- 发布共享公共信息
- </view>
- </view>
- <view class="right">
- <u-icon name="arrow-right" color="#D6D6D6"></u-icon>
- </view>
- </view>
- </view>
-
- <tabbar :current="2"></tabbar>
- </view>
- </template>
- <script>
- import * as API from '@/apis/pagejs/tab.js'
- import tabbar from "@/components/Tabbar.vue"
-
- export default {
- components: {
- tabbar
- },
- data() {
- return {
- }
- },
- methods: {
- customBack(){
-
- },
- ck1(){
- var user = this.carhelp.getPersonInfo();
-
- if (!user) {
- uni.showModal({
- title: '提示',
- content: '当前操作需要登录',
- confirmText: "前往登录",
- showCancel: true,
- success: function(res) {
- if (res.confirm) {
- uni.navigateTo({
- url: '/pages/tab/mine/mine'
- })
-
- } else if (res.cancel) {
- console.log('用户点击取消');
- }
- }
- });
- return false
- }
- return true
- },
- ck2(){
- var user = this.carhelp.getPersonInfo();
-
- if (user.status != 1) {
- uni.showModal({
- title: '提示',
- content: '当前操作需要实名认证',
- confirmText: "实名认证",
- showCancel: true,
- success: function(res) {
- if (res.confirm) {
- uni.navigateTo({
- url: '/pages/packages/mine/otherServices/authentication'
- })
-
- } else if (res.cancel) {
- console.log('用户点击取消');
- }
- }
- });
- return false
- }
- return true
- },
- ck3(){
- var enterpriseInfo=this.carhelp.getPersonInfoPlus().enterpriseInfo;
-
- if (!enterpriseInfo||enterpriseInfo.status!=1) {
- uni.showModal({
- title: '提示',
- content: '当前操作需要进行企业认证',
- confirmText:"企业认证",
- showCancel: true,
- success: function(res) {
- if (res.confirm) {
- uni.navigateTo({
- url:'/pages/packages/mine/otherServices/authentication'
- })
-
- } else if (res.cancel) {
- console.log('用户点击取消');
- }
- }
- });
- return false
- }
- return true
- },
- toMyJobInformation() {
-
- if(this.ck1()&&this.ck2()){
-
- }else{
- return
- }
-
- uni.navigateTo({
- url: '/pages/packages/mine/myJobInformation/myJobInformation'
- })
- },
- toLaborManagement() {
- if(this.ck1()&&this.ck3()){
-
- }else{
- return
- }
- uni.navigateTo({
- url: '/pages/packages/mine/employmentService/laborManagement/postMessage'
- })
- },
- toPostMessage() {
- if(this.ck1()&&this.ck3()){
-
- }else{
- return
- }
- uni.navigateTo({
- url: '/pages/packages/mine/employmentService/postMessage'
- })
- },
- }
- }
- </script>
- <style>
- page {
- padding-bottom: 100px;
- }
- </style>
- <style scoped lang="scss">
- .main {
- padding: 96rpx 32rpx;
- .title {
- color: rgba(16, 16, 16, 1);
- font-size: 48rpx;
- font-family: 'PingFangSC-medium';
- line-height: 48rpx;
- }
- .headline {
- margin-top: 12rpx;
- line-height: 48rpx;
- color: rgba(119, 119, 119, 1);
- margin-bottom: 60rpx;
- }
- .card {
- display: flex;
- align-items: center;
- padding: 32rpx;
- border-radius: 12px;
- margin-bottom: 40rpx;
- background-color: rgba(245, 250, 255, 1);
- .icon {
- width: 136rpx;
- height: 136rpx;
- img {
- width: 100%;
- height: 100%;
- }
- }
- .card-title {
- margin-left: 40rpx;
- .title1 {
- color: rgba(16, 16, 16, 1);
- font-size: 36rpx;
- font-family: 'PingFangSC-medium';
- }
- .title2 {
- color: rgba(119, 119, 119, 1);
- margin-top: 8rpx;
- }
- }
- .right {
- margin-left: auto;
- }
- }
- }
- </style>
|