flat: 123
This commit is contained in:
@@ -6,12 +6,13 @@
|
||||
<image v-else src="../../static/img/head.svg" mode=""></image>
|
||||
<view class="userRight">
|
||||
<view class="userTel" v-if="userInfo.user_name">
|
||||
{{ auth.authInfo.realName ? auth.authInfo.realName :
|
||||
phoneFilter(userInfo.user_name) }}
|
||||
{{ auth.authInfo.realName ? auth.authInfo.realName : phoneFilter(userInfo.user_name) }}
|
||||
</view>
|
||||
<view class="userTel" v-else></view>
|
||||
<view class="userContent">
|
||||
<view style="margin-right: 40rpx;">实名认证:{{ auth.realNameState ? '已认证' : '未认证' }}</view>
|
||||
<view style="margin-right: 40rpx">
|
||||
实名认证:{{ auth.realNameState ? '已认证' : '未认证' }}
|
||||
</view>
|
||||
<!-- <view>银行卡核验:{{auth.bankCardState?'已认证':'未认证'}}</view> -->
|
||||
</view>
|
||||
</view>
|
||||
@@ -39,7 +40,7 @@
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
<view style="height: 104rpx;"></view>
|
||||
<view style="height: 104rpx"></view>
|
||||
<!-- <view class="federation">
|
||||
<view>新业态职工工会联合会</view>
|
||||
<view v-if="!federationStatus" class="forMembership" @click="go('/pageMy/federation/forMembership/Notice')">申请入会</view>
|
||||
@@ -57,26 +58,26 @@
|
||||
认证信息
|
||||
<image src="../../static/img/right.svg" mode=""></image>
|
||||
</view>
|
||||
<!-- <view class="btnList" @click="navTo('/pageMy/setUserBase/mailbox')">
|
||||
<view class="btnList" @click="navTo('/pageMy/setUserBase/mailbox')">
|
||||
<image src="../../static/img/evaluate.png" mode=""></image>
|
||||
咨询信箱
|
||||
<image src="../../static/img/right.svg" mode=""></image>
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="btnList" @click="navTo('/pageMy/setUserBase/applicationsRecord')">
|
||||
<image src="../../static/img/phone.svg" mode=""></image>
|
||||
问卷调查
|
||||
<image src="../../static/img/right.svg" mode=""></image>
|
||||
</view>
|
||||
<!-- <view class="btnList" @click="navTo('/pageMy/setUserBase/survey')">
|
||||
<view class="btnList" @click="navTo('/pageMy/setUserBase/survey')">
|
||||
<image src="../../static/img/phone.svg" mode=""></image>
|
||||
用工调研
|
||||
<image src="../../static/img/right.svg" mode=""></image>
|
||||
</view> -->
|
||||
<!-- <view class="btnList" @click="navTo('/pageMy/setUserBase/complain')">
|
||||
</view>
|
||||
<view class="btnList" @click="navTo('/pageMy/setUserBase/complain')">
|
||||
<image src="../../static/img/vip.svg" mode=""></image>
|
||||
投诉建议
|
||||
<image src="../../static/img/right.svg" mode=""></image>
|
||||
</view> -->
|
||||
</view>
|
||||
<template v-if="user.userIsCms">
|
||||
<view class="btnList" @click="navTo('/pageMy/admin/check')">
|
||||
<image src="../../static/img/check1.png" mode=""></image>
|
||||
@@ -122,25 +123,15 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
GoLogin
|
||||
} from '@/untils/AxiosUtils.js';
|
||||
import {
|
||||
mapState,
|
||||
mapGetters
|
||||
} from 'vuex'
|
||||
import {
|
||||
phoneFilter,
|
||||
stringFilterNum
|
||||
} from '@/untils/format.js'
|
||||
import {
|
||||
labourUnionInfo
|
||||
} from '@/api/federation.js'
|
||||
import { GoLogin } from '@/untils/AxiosUtils.js';
|
||||
import { mapState, mapGetters } from 'vuex';
|
||||
import { phoneFilter, stringFilterNum } from '@/untils/format.js';
|
||||
import { labourUnionInfo } from '@/api/federation.js';
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
federationStatus: false
|
||||
}
|
||||
federationStatus: false,
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
// this.$store.dispatch('getMobileIsCms')
|
||||
@@ -152,27 +143,27 @@
|
||||
if (/token/g.test(location.href)) {
|
||||
this.$api.sleep(2000).then(() => {
|
||||
if (!this.$api.haslogin()) {
|
||||
GoLogin()
|
||||
GoLogin();
|
||||
} else {
|
||||
uni.$emit('newsReadChange')
|
||||
this.$store.dispatch('refreshAuthState')
|
||||
uni.$emit('newsReadChange');
|
||||
this.$store.dispatch('refreshAuthState');
|
||||
}
|
||||
})
|
||||
});
|
||||
} else {
|
||||
if (!this.$api.haslogin()) {
|
||||
GoLogin()
|
||||
GoLogin();
|
||||
} else {
|
||||
uni.$emit('newsReadChange')
|
||||
this.$store.dispatch('refreshAuthState')
|
||||
uni.$emit('newsReadChange');
|
||||
this.$store.dispatch('refreshAuthState');
|
||||
}
|
||||
}
|
||||
// this.labourUnionInfoInit()
|
||||
},
|
||||
methods: {
|
||||
labourUnionInfoInit() {
|
||||
labourUnionInfo().then(e => {
|
||||
this.federationStatus = e.data.data.joined
|
||||
})
|
||||
labourUnionInfo().then((e) => {
|
||||
this.federationStatus = e.data.data.joined;
|
||||
});
|
||||
},
|
||||
// logout() {
|
||||
// this.$store.dispatch('LogOut').then(() => {
|
||||
@@ -186,22 +177,22 @@
|
||||
// },
|
||||
go(url) {
|
||||
uni.navigateTo({
|
||||
url
|
||||
})
|
||||
url,
|
||||
});
|
||||
},
|
||||
makePhoneCall: function () {
|
||||
uni.makePhoneCall({
|
||||
phoneNumber: "18500206848"
|
||||
})
|
||||
phoneNumber: '18500206848',
|
||||
});
|
||||
},
|
||||
phoneFilter,
|
||||
stringFilterNum
|
||||
stringFilterNum,
|
||||
},
|
||||
computed: {
|
||||
...mapState(['user']),
|
||||
...mapGetters(['userInfo', 'auth', 'authPass'])
|
||||
}
|
||||
}
|
||||
...mapGetters(['userInfo', 'auth', 'authPass']),
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style>
|
||||
@@ -217,7 +208,7 @@
|
||||
margin: 30rpx;
|
||||
font-size: 32rpx;
|
||||
font-weight: 400;
|
||||
color: #6F5931;
|
||||
color: #6f5931;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
@@ -228,12 +219,12 @@
|
||||
.forMembership {
|
||||
width: 140rpx;
|
||||
height: 50rpx;
|
||||
background: linear-gradient(112deg, #EFE0BC 0%, #D29A5A 100%, #DDBA88 100%);
|
||||
background: linear-gradient(112deg, #efe0bc 0%, #d29a5a 100%, #ddba88 100%);
|
||||
box-shadow: 0px 0px 2px 1px rgba(231, 174, 85, 0.39);
|
||||
border-radius: 25rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: 400;
|
||||
color: #6F5931;
|
||||
color: #6f5931;
|
||||
line-height: 48rpx;
|
||||
text-align: center;
|
||||
}
|
||||
@@ -309,14 +300,14 @@
|
||||
.userContent {
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 26rpx;
|
||||
color: #FFFFFF;
|
||||
color: #ffffff;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.userTel {
|
||||
font-family: PingFangSC-Medium;
|
||||
font-size: 36rpx;
|
||||
color: #FFFFFF;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.userRight {
|
||||
@@ -331,7 +322,7 @@
|
||||
margin-right: 20rpx;
|
||||
float: left;
|
||||
border-radius: 200rpx;
|
||||
background-color: rgba(255, 255, 255, .3);
|
||||
background-color: rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
|
||||
.userTitle {
|
||||
@@ -339,7 +330,7 @@
|
||||
}
|
||||
|
||||
.head {
|
||||
background-color: #1B66FF;
|
||||
background-color: #1b66ff;
|
||||
width: 100%;
|
||||
height: 200rpx;
|
||||
padding-top: 200rpx;
|
||||
|
||||
@@ -6,8 +6,8 @@ module.exports = {
|
||||
port: 1887,
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://10.165.0.173:8000',
|
||||
// target: 'http://192.168.1.115:8000',
|
||||
// target: 'http://10.165.0.173:8000',
|
||||
target: 'http://192.168.1.115:8000',
|
||||
ws: true,
|
||||
pathRewrite: {
|
||||
'^/api': '/'
|
||||
|
||||
Reference in New Issue
Block a user