|
@@ -5,14 +5,23 @@
|
|
|
<view v-if="!useUserStore.isLogin" class="font-weight-bold font-size-20" @tap="handleLogin">点击登录</view>
|
|
|
<view v-else class="font-weight-bold font-size-20">{{ userInfo.name || userInfo.phone }}</view>
|
|
|
</view>
|
|
|
- <view style="margin-top: 80rpx;">
|
|
|
- <uni-grid :column="4" :show-border="false">
|
|
|
- <uni-grid-item :index="0" v-for="(val, index) in grid" :key="index" class="text-center">
|
|
|
- <uni-icons :type="val.icon" size="40" color="#00897B"></uni-icons>
|
|
|
- <text class="font-size-13 color-999 mt-5">{{ val.title }}</text>
|
|
|
- </uni-grid-item>
|
|
|
- </uni-grid>
|
|
|
+ <view class="d-flex" style="margin-top: 80rpx;">
|
|
|
+ <view v-for="(item, index) in itemList" :key="index" @tap="handleToLink(item)" class="parent">
|
|
|
+ <view class="d-flex justify-space-between">
|
|
|
+ <view>
|
|
|
+ <view class="colors">
|
|
|
+ <span>查看更多</span>
|
|
|
+ <uni-icons color="#c8c5c4" type="right" size="15" class="ml"/>
|
|
|
+ </view>
|
|
|
+ <view class="size-16">{{ item.title }}</view>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <uni-icons color="#00897B" :type="item.icon" size="45"/>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
+
|
|
|
<view style="height: 10rpx; background-color: #f8f8fa;"></view>
|
|
|
|
|
|
<view class="card">
|
|
@@ -36,15 +45,11 @@ import { userStore } from '@/store/user'
|
|
|
import { getUserAvatar } from '@/utils/avatar'
|
|
|
|
|
|
const useUserStore = userStore()
|
|
|
-const userInfo = computed(() => {
|
|
|
- return useUserStore.userInfo
|
|
|
-})
|
|
|
+const userInfo = computed(() => useUserStore.userInfo)
|
|
|
const popup = ref()
|
|
|
-const grid = [
|
|
|
- { title: '全部', icon: 'list' },
|
|
|
- { title: '被查看', icon: 'eye-filled' },
|
|
|
- { title: '面试邀约', icon: 'auth-filled' },
|
|
|
- { title: '不合适', icon: 'closeempty' }
|
|
|
+const itemList = [
|
|
|
+ { title: "面试管理", path: "/pagesA/interview/index", icon: "list" },
|
|
|
+ { title:'谁看过我', path:'/pagesA/seenMe/index', icon:'staff' }
|
|
|
]
|
|
|
|
|
|
const list = [
|
|
@@ -96,4 +101,23 @@ const handleLogoutConfirm = () => {
|
|
|
font-size: 32rpx !important;
|
|
|
font-weight: 500;
|
|
|
}
|
|
|
+.colors{
|
|
|
+ font-size: 24rpx;
|
|
|
+ color: #606266;
|
|
|
+}
|
|
|
+.size-16{
|
|
|
+ color: #3f424f;
|
|
|
+ font-size: 32rpx;
|
|
|
+ margin: 13rpx 0 5rpx 0;
|
|
|
+}
|
|
|
+.parent{
|
|
|
+ width: 50%;
|
|
|
+ border: 1px solid #f4f4f4;
|
|
|
+ border-radius: 10rpx;
|
|
|
+ margin: 0 30rpx 20rpx 30rpx;
|
|
|
+ padding: 20rpx;
|
|
|
+}
|
|
|
+.parent:first-child{
|
|
|
+ margin: 0 0 20rpx 30rpx;
|
|
|
+}
|
|
|
</style>
|