|
@@ -77,8 +77,6 @@ import { showAuthModal } from '@/hooks/useModal'
|
|
|
import { onShow, onLoad, onShareAppMessage, onShareTimeline } from '@dcloudio/uni-app'
|
|
|
import Navbar from '@/components/Navbar'
|
|
|
|
|
|
-// showAuthModal('selectUserType') // 测试
|
|
|
-
|
|
|
const navbarHeight = ref(uni.getStorageSync('navbarHeight'))
|
|
|
|
|
|
// 设置自定义tabbar选中值
|
|
@@ -103,17 +101,65 @@ const itemList = [
|
|
|
]
|
|
|
|
|
|
const defaultList = [
|
|
|
- { title: '求职反馈', path: '/pagesA/interview/index', src: 'https://minio.menduner.com/dev/747122b480d8358096e5848d0039cce0c8b8cf2a52f0409d073cc733cf4c0224.png' },
|
|
|
- { title: '在线简历', path: '/pagesA/resumeOnline/index', src: 'https://minio.menduner.com/dev/ec05228053a844dfa89d3bcb3750aaf2571bff4c8e04a5de6dbee2e68200e792.png' },
|
|
|
- { title: '附件简历', path: '/pagesA/resume/index', src: 'https://minio.menduner.com/dev/d2687a2081847b092fc839880dd12fd7f374c58afeb07d567ae7cdfe8d68ce54.png' },
|
|
|
- { title: '学生专区', path: '/pagesA/student/index', key: 'student', defaultHide: true, src: 'https://minio.menduner.com/dev/ec05228053a844dfa89d3bcb3750aaf2571bff4c8e04a5de6dbee2e68200e792.png' },
|
|
|
- { title: '会员套餐', path: '/pagesA/vipPackage/index', src: 'https://minio.menduner.com/dev/4e9f86f6a48b78c1aca7a6a6b3c5971044275a7f890f73d7c3b981f125378a0f.png' },
|
|
|
- // { title: '我的分享码', path: '/pagesB/sharePoster/index', src: 'https://minio.menduner.com/dev/32e78eca5e003bb0136d874a973b582581eb4f9d3c746fb11ed3cc7f41a9b0e9.png' },
|
|
|
- { title: '我的分享码', path: '/pagesB/inviteRecord/index', src: 'https://minio.menduner.com/dev/32e78eca5e003bb0136d874a973b582581eb4f9d3c746fb11ed3cc7f41a9b0e9.png' },
|
|
|
- { title: '门墩儿商城', appId: 'wx6decdf12f9e7a061', src: 'https://minio.menduner.com/dev/1f83900522317f36618b4b8314c2b6263c30d43ff1c0e8738903f85996f165d3.png' },
|
|
|
- { title: '我要招聘', key: 'recruit', src:'https://minio.menduner.com/dev/c8e7d358858eaf9bfe197473751d04d1bc79598b9ce6ecf882ec61c79b0d3bae.png' },
|
|
|
- { title: '联系我们', path: '/pagesB/contactUs/index', src: 'https://minio.menduner.com/dev/747122b480d8358096e5848d0039cce0c8b8cf2a52f0409d073cc733cf4c0224.png' },
|
|
|
- { title: '协议中心', path: '/pagesB/agreement/index', open: true, src: 'https://minio.menduner.com/dev/58cc8847965aaa4e80064732a2024b690ff2285aa57cc4d133846a1e06a23478.png' }
|
|
|
+ {
|
|
|
+ title: '求职反馈',
|
|
|
+ path: '/pagesA/interview/index',
|
|
|
+ src: 'https://minio.menduner.com/dev/747122b480d8358096e5848d0039cce0c8b8cf2a52f0409d073cc733cf4c0224.png'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '在线简历',
|
|
|
+ path: '/pagesA/resumeOnline/index',
|
|
|
+ src: 'https://minio.menduner.com/dev/ec05228053a844dfa89d3bcb3750aaf2571bff4c8e04a5de6dbee2e68200e792.png'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '附件简历',
|
|
|
+ path: '/pagesA/resume/index',
|
|
|
+ src: 'https://minio.menduner.com/dev/d2687a2081847b092fc839880dd12fd7f374c58afeb07d567ae7cdfe8d68ce54.png'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '学生专区',
|
|
|
+ path: '/pagesA/student/index',
|
|
|
+ key: 'student',
|
|
|
+ defaultHide: true,
|
|
|
+ src: 'https://minio.menduner.com/dev/ec05228053a844dfa89d3bcb3750aaf2571bff4c8e04a5de6dbee2e68200e792.png'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '会员套餐',
|
|
|
+ path: '/pagesA/vipPackage/index',
|
|
|
+ src: 'https://minio.menduner.com/dev/4e9f86f6a48b78c1aca7a6a6b3c5971044275a7f890f73d7c3b981f125378a0f.png'
|
|
|
+ },
|
|
|
+ // {
|
|
|
+ // title: '我的分享码',
|
|
|
+ // path: '/pagesB/sharePoster/index',
|
|
|
+ // src: 'https://minio.menduner.com/dev/32e78eca5e003bb0136d874a973b582581eb4f9d3c746fb11ed3cc7f41a9b0e9.png'
|
|
|
+ // },
|
|
|
+ {
|
|
|
+ title: '我的分享码',
|
|
|
+ path: '/pagesB/inviteRecord/index',
|
|
|
+ src: 'https://minio.menduner.com/dev/32e78eca5e003bb0136d874a973b582581eb4f9d3c746fb11ed3cc7f41a9b0e9.png'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '门墩儿商城',
|
|
|
+ // appId: 'wx6decdf12f9e7a061',
|
|
|
+ key: 'mall',
|
|
|
+ src: 'https://minio.menduner.com/dev/1f83900522317f36618b4b8314c2b6263c30d43ff1c0e8738903f85996f165d3.png'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '我要招聘',
|
|
|
+ appId: 'wx247547be545cfc27',
|
|
|
+ src:'https://minio.menduner.com/dev/c8e7d358858eaf9bfe197473751d04d1bc79598b9ce6ecf882ec61c79b0d3bae.png'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '联系我们',
|
|
|
+ path: '/pagesB/contactUs/index',
|
|
|
+ src: 'https://minio.menduner.com/dev/747122b480d8358096e5848d0039cce0c8b8cf2a52f0409d073cc733cf4c0224.png'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '协议中心',
|
|
|
+ path: '/pagesB/agreement/index',
|
|
|
+ open: true,
|
|
|
+ src: 'https://minio.menduner.com/dev/58cc8847965aaa4e80064732a2024b690ff2285aa57cc4d133846a1e06a23478.png'
|
|
|
+ }
|
|
|
]
|
|
|
const list = ref(defaultList.filter(e => !e.defaultHide))
|
|
|
|
|
@@ -186,19 +232,12 @@ const dialogType = ref('')
|
|
|
const handleToLink = (item) => {
|
|
|
if (item.open && item.path) return uni.navigateTo({ url: item.path })
|
|
|
if (item.appId) {
|
|
|
- // uni.navigateToMiniProgram({
|
|
|
- // appId: item.appId,
|
|
|
- // })
|
|
|
- // return
|
|
|
- // uni.showToast({
|
|
|
- // title: '请前往网页版门墩儿商城',
|
|
|
- // icon: 'none'
|
|
|
- // })
|
|
|
- dialogType.value = 0
|
|
|
- inputDialog.value.open()
|
|
|
+ uni.navigateToMiniProgram({
|
|
|
+ appId: item.appId
|
|
|
+ })
|
|
|
}
|
|
|
- if (item.key === 'recruit') {
|
|
|
- dialogType.value = 1
|
|
|
+ if (item.key === 'mall') {
|
|
|
+ dialogType.value = 0
|
|
|
inputDialog.value.open()
|
|
|
}
|
|
|
if (!item.path) return
|