|
|
@ -16,10 +16,10 @@ |
|
|
</view> |
|
|
</view> |
|
|
<view class="userId">ID:{{ dccode }}</view> |
|
|
<view class="userId">ID:{{ dccode }}</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="msg-right"> |
|
|
|
|
|
|
|
|
<!-- <view class="msg-right"> |
|
|
<image class="image-attendance" src="/static/my/Check-in.png"/> |
|
|
<image class="image-attendance" src="/static/my/Check-in.png"/> |
|
|
<span style="font-size:10px;">签到</span> |
|
|
<span style="font-size:10px;">签到</span> |
|
|
</view> |
|
|
|
|
|
|
|
|
</view> --> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="settings-buttons"> |
|
|
<view class="settings-buttons"> |
|
|
@ -81,6 +81,8 @@ import { |
|
|
} from '@element-plus/icons-vue' |
|
|
} from '@element-plus/icons-vue' |
|
|
import footerBar from '../../components/footerBar.vue' |
|
|
import footerBar from '../../components/footerBar.vue' |
|
|
import {getUserInfo} from "@/api/member" |
|
|
import {getUserInfo} from "@/api/member" |
|
|
|
|
|
import { useUserStore } from "../../stores/modules/userInfo" |
|
|
|
|
|
const userStore = useUserStore() |
|
|
|
|
|
|
|
|
const type = ref('member') |
|
|
const type = ref('member') |
|
|
const iSMT = ref(0) |
|
|
const iSMT = ref(0) |
|
|
@ -90,7 +92,7 @@ const dccode = ref('') |
|
|
const userInfoRes = ref()// 用户身份信息 |
|
|
const userInfoRes = ref()// 用户身份信息 |
|
|
userInfoRes.value = getUserInfo() |
|
|
userInfoRes.value = getUserInfo() |
|
|
userInfoRes.value.then(res => { |
|
|
userInfoRes.value.then(res => { |
|
|
username.value = res.data.username |
|
|
|
|
|
|
|
|
username.value = res.data.dcname |
|
|
dccode.value = res.data.dccode |
|
|
dccode.value = res.data.dccode |
|
|
console.log('用户信息', userInfoRes.value) |
|
|
console.log('用户信息', userInfoRes.value) |
|
|
}) |
|
|
}) |
|
|
@ -136,6 +138,7 @@ onMounted(() => { |
|
|
// 状态栏高度 |
|
|
// 状态栏高度 |
|
|
iSMT.value = uni.getSystemInfoSync().statusBarHeight |
|
|
iSMT.value = uni.getSystemInfoSync().statusBarHeight |
|
|
console.log('??????????????', iSMT.value) |
|
|
console.log('??????????????', iSMT.value) |
|
|
|
|
|
console.log('通信来的用户身份',userStore.userInfo) |
|
|
}) |
|
|
}) |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
@ -146,7 +149,7 @@ onMounted(() => { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.top { |
|
|
.top { |
|
|
height: 47vh; |
|
|
|
|
|
|
|
|
height: 50vh; |
|
|
background-color: white; |
|
|
background-color: white; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ -159,8 +162,8 @@ onMounted(() => { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.image-bell { |
|
|
.image-bell { |
|
|
width: 13px; |
|
|
|
|
|
height: 16px; |
|
|
|
|
|
|
|
|
width: 26rpx; |
|
|
|
|
|
height: 32rpx; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.msg { |
|
|
.msg { |
|
|
@ -171,7 +174,7 @@ onMounted(() => { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.msg-left { |
|
|
.msg-left { |
|
|
width: 33.6vw; |
|
|
|
|
|
|
|
|
width: 252rpx; |
|
|
display: flex; |
|
|
display: flex; |
|
|
justify-content: center; |
|
|
justify-content: center; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
@ -185,7 +188,7 @@ onMounted(() => { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.msg-center { |
|
|
.msg-center { |
|
|
width: 51.7vw; |
|
|
|
|
|
|
|
|
width: 388rpx; |
|
|
padding-left: 2.5vh; |
|
|
padding-left: 2.5vh; |
|
|
display: flex; |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
flex-direction: column; |
|
|
@ -204,11 +207,10 @@ onMounted(() => { |
|
|
.image-editName { |
|
|
.image-editName { |
|
|
width: 40rpx; |
|
|
width: 40rpx; |
|
|
height: 40rpx; |
|
|
height: 40rpx; |
|
|
margin-left: 2vw; |
|
|
|
|
|
|
|
|
margin-left: 15rpx; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.msg-right { |
|
|
.msg-right { |
|
|
width: 14.7vw; |
|
|
|
|
|
display: flex; |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
flex-direction: column; |
|
|
justify-content: center; |
|
|
justify-content: center; |
|
|
@ -232,6 +234,7 @@ onMounted(() => { |
|
|
justify-content: center; |
|
|
justify-content: center; |
|
|
background-color: rgb(243, 243, 243); |
|
|
background-color: rgb(243, 243, 243); |
|
|
border-radius: 8%; |
|
|
border-radius: 8%; |
|
|
|
|
|
margin-bottom: 1vh; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.setting-icon { |
|
|
.setting-icon { |
|
|
|