|
|
@ -2,13 +2,20 @@ |
|
|
|
<view class="page"> |
|
|
|
<view class="page"> |
|
|
|
<view class="status-bar"></view> |
|
|
|
<view class="status-bar"></view> |
|
|
|
<image class="bg" src="https://occupationlab.com/images/preschoolEdu/person-bg.png" /> |
|
|
|
<image class="bg" src="https://occupationlab.com/images/preschoolEdu/person-bg.png" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view v-if="platformId !== 7" class="team-wrap" :style="{paddingTop: headerTop}"> |
|
|
|
|
|
|
|
<view class="team"> |
|
|
|
|
|
|
|
<uni-data-picker class="picker-input" placeholder="切换团队" popup-title="切换团队" preload :clear-icon="false" :localdata="teams" :map="{text: 'classificationName', value: 'teamId'}" v-model="teamId" @change="teamChange"></uni-data-picker> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="wrap"> |
|
|
|
<view class="wrap"> |
|
|
|
<view class="info"> |
|
|
|
<view class="info"> |
|
|
|
<button class="avatar-btn" open-type="chooseAvatar" @chooseavatar="onChooseAvatar"> |
|
|
|
<button class="avatar-btn" open-type="chooseAvatar" @chooseavatar="onChooseAvatar"> |
|
|
|
<image class="avatar" :src="avatar" mode=""></image> |
|
|
|
<image class="avatar" :src="avatar" mode=""></image> |
|
|
|
</button> |
|
|
|
</button> |
|
|
|
<view class="text"> |
|
|
|
<view class="text"> |
|
|
|
<view class="name">{{ info.realName }}</view> |
|
|
|
<view class="name">{{ info.realName || userName }}</view> |
|
|
|
<view class="phone">1369641301</view> |
|
|
|
<view class="phone">1369641301</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="auth" @click="toAuth"> |
|
|
|
<view class="auth" @click="toAuth"> |
|
|
@ -49,14 +56,40 @@ |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view v-if="role" class="block" style="padding-bottom: 0;"> |
|
|
|
<template v-if="platformId === 7"> |
|
|
|
|
|
|
|
<view class="types"> |
|
|
|
|
|
|
|
<view class="item"> |
|
|
|
|
|
|
|
<view class="left"> |
|
|
|
|
|
|
|
<view class="icon"> |
|
|
|
|
|
|
|
<image class="img" src="https://occupationlab.com/images/preschoolEdu/role-icon1.png" mode="widthFix" /> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="text">我是供应商</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="btn" @click="tips">供应商认证</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="types"> |
|
|
|
|
|
|
|
<view class="item item2"> |
|
|
|
|
|
|
|
<view class="left"> |
|
|
|
|
|
|
|
<view class="icon"> |
|
|
|
|
|
|
|
<image class="img" src="https://occupationlab.com/images/preschoolEdu/role-icon2.png" mode="widthFix" /> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="text">我是幼儿园</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="btn" @click="tips">幼儿园认证</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view v-else class="block" style="padding-bottom: 0;"> |
|
|
|
<view class="identity"> |
|
|
|
<view class="identity"> |
|
|
|
<view class="title">我是供应商</view> |
|
|
|
<view class="title">我是{{ platformName }}</view> |
|
|
|
<view class="badge">供应商负责人</view> |
|
|
|
<view class="badge">{{ platformName }}负责人</view> |
|
|
|
<view class="auth" @click="toPage('/team/certified/certified')">未认证</view> |
|
|
|
<view class="auth" @click="toPage('/team/certified/certified')">未认证</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="identity-bg"> |
|
|
|
<view class="identity-bg"> |
|
|
|
<image class="pic" src="https://occupationlab.com/images/preschoolEdu/vip.png" mode="widthFix" /> |
|
|
|
<image v-if="isPreschool" class="pic" src="https://occupationlab.com/images/preschoolEdu/preschool1.png" mode="widthFix" /> |
|
|
|
|
|
|
|
<image v-else class="pic" src="https://occupationlab.com/images/preschoolEdu/supplier1.png" mode="widthFix" /> |
|
|
|
<view class="open"> |
|
|
|
<view class="open"> |
|
|
|
立即开通 |
|
|
|
立即开通 |
|
|
|
<uni-icons class="icon" type="right" size="12" color="#c5530d"></uni-icons> |
|
|
|
<uni-icons class="icon" type="right" size="12" color="#c5530d"></uni-icons> |
|
|
@ -68,9 +101,9 @@ |
|
|
|
<ul class="func"> |
|
|
|
<ul class="func"> |
|
|
|
<li @click="toPage('/team/auth/auth')"> |
|
|
|
<li @click="toPage('/team/auth/auth')"> |
|
|
|
<image src="https://occupationlab.com/images/preschoolEdu/icon7.png" /> |
|
|
|
<image src="https://occupationlab.com/images/preschoolEdu/icon7.png" /> |
|
|
|
<view class="text ell">供应商认证</view> |
|
|
|
<view class="text ell">{{ platformName }}认证</view> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li @click="tips"> |
|
|
|
<li v-if="isSupplier" @click="tips"> |
|
|
|
<image src="https://occupationlab.com/images/preschoolEdu/icon8.png" /> |
|
|
|
<image src="https://occupationlab.com/images/preschoolEdu/icon8.png" /> |
|
|
|
<view class="text ell">商品管理</view> |
|
|
|
<view class="text ell">商品管理</view> |
|
|
|
</li> |
|
|
|
</li> |
|
|
@ -80,9 +113,9 @@ |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li @click="tips"> |
|
|
|
<li @click="tips"> |
|
|
|
<image src="https://occupationlab.com/images/preschoolEdu/icon10.png" /> |
|
|
|
<image src="https://occupationlab.com/images/preschoolEdu/icon10.png" /> |
|
|
|
<view class="text ell">订单管理</view> |
|
|
|
<view class="text ell">{{ isSupplier ? '订单管理' : '我的订单' }}</view> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li @click="tips"> |
|
|
|
<li v-if="isSupplier" @click="tips"> |
|
|
|
<image src="https://occupationlab.com/images/preschoolEdu/icon11.png" /> |
|
|
|
<image src="https://occupationlab.com/images/preschoolEdu/icon11.png" /> |
|
|
|
<view class="text ell">活动管理</view> |
|
|
|
<view class="text ell">活动管理</view> |
|
|
|
</li> |
|
|
|
</li> |
|
|
@ -90,10 +123,15 @@ |
|
|
|
<image src="https://occupationlab.com/images/preschoolEdu/icon12.png" /> |
|
|
|
<image src="https://occupationlab.com/images/preschoolEdu/icon12.png" /> |
|
|
|
<view class="text ell">信息维护</view> |
|
|
|
<view class="text ell">信息维护</view> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
|
|
|
|
<li v-if="isPreschool" @click="tips"> |
|
|
|
|
|
|
|
<image src="https://occupationlab.com/images/preschoolEdu/icon15.png" /> |
|
|
|
|
|
|
|
<view class="text ell">我要采购</view> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li @click="tips"> |
|
|
|
<li @click="tips"> |
|
|
|
<image src="https://occupationlab.com/images/preschoolEdu/icon13.png" /> |
|
|
|
<image src="https://occupationlab.com/images/preschoolEdu/icon13.png" /> |
|
|
|
<view class="text ell">对账管理</view> |
|
|
|
<view class="text ell">对账管理</view> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
|
|
|
|
<template v-if="isSupplier"> |
|
|
|
<li @click="tips"> |
|
|
|
<li @click="tips"> |
|
|
|
<image src="https://occupationlab.com/images/preschoolEdu/icon14.png" /> |
|
|
|
<image src="https://occupationlab.com/images/preschoolEdu/icon14.png" /> |
|
|
|
<view class="text ell">商机线索</view> |
|
|
|
<view class="text ell">商机线索</view> |
|
|
@ -102,28 +140,10 @@ |
|
|
|
<image src="https://occupationlab.com/images/preschoolEdu/icon15.png" /> |
|
|
|
<image src="https://occupationlab.com/images/preschoolEdu/icon15.png" /> |
|
|
|
<view class="text ell">发票管理</view> |
|
|
|
<view class="text ell">发票管理</view> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
|
|
|
|
</template> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<template v-else> |
|
|
|
|
|
|
|
<view class="types"> |
|
|
|
|
|
|
|
<view class="item"> |
|
|
|
|
|
|
|
<view class="icon"> |
|
|
|
|
|
|
|
<image class="img" src="https://occupationlab.com/images/preschoolEdu/role-icon1.png" mode="widthFix" /> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="text">我是幼儿园</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="types"> |
|
|
|
|
|
|
|
<view class="item item2"> |
|
|
|
|
|
|
|
<view class="icon"> |
|
|
|
|
|
|
|
<image class="img" src="https://occupationlab.com/images/preschoolEdu/role-icon2.png" mode="widthFix" /> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="text">我是供应商</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="list"> |
|
|
|
<view class="list"> |
|
|
|
<view class="item" @click="toPage(`/team/setting/setting`)"> |
|
|
|
<view class="item" @click="toPage(`/team/setting/setting`)"> |
|
|
|
<view class="left"> |
|
|
|
<view class="left"> |
|
|
@ -138,14 +158,15 @@ |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import { my, editProvinceCity } from '@/apis/modules/parner.js' |
|
|
|
import { getTeamsByPlatformId } from '@/apis/modules/parner.js' |
|
|
|
import { authenticationOrNot, queryProvince, queryCity, updateAvatars, getUserRolesPermissionMenu } from '@/apis/modules/user.js' |
|
|
|
import { authenticationOrNot, updateAvatars } from '@/apis/modules/user.js' |
|
|
|
import { getTeamsByAccountId } from '@/apis/modules/client.js' |
|
|
|
import OSS from '@/libs/Oss/upload' |
|
|
|
export default { |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
return { |
|
|
|
per: true, // 是否有权限 |
|
|
|
per: true, // 是否有权限 |
|
|
|
teamId: uni.getStorageSync('teamId') || '', |
|
|
|
teamId: uni.getStorageSync('teamId') || '', |
|
|
|
|
|
|
|
platformId: uni.getStorageSync('platformId'), |
|
|
|
teams: [], |
|
|
|
teams: [], |
|
|
|
info: {}, |
|
|
|
info: {}, |
|
|
|
// avatar: uni.getStorageSync('avatar') || '@/static/image/avatar.png', |
|
|
|
// avatar: uni.getStorageSync('avatar') || '@/static/image/avatar.png', |
|
|
@ -154,12 +175,28 @@ |
|
|
|
hasOwnTeam: 0, // 有自己的团队 |
|
|
|
hasOwnTeam: 0, // 有自己的团队 |
|
|
|
disabled: true, |
|
|
|
disabled: true, |
|
|
|
isAuth: false, |
|
|
|
isAuth: false, |
|
|
|
role: 0 |
|
|
|
headerTop: 0 |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
computed: { |
|
|
|
|
|
|
|
// 幼儿园 |
|
|
|
|
|
|
|
isPreschool() { |
|
|
|
|
|
|
|
return this.platformId === 5 |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
// 供应商 |
|
|
|
|
|
|
|
isSupplier() { |
|
|
|
|
|
|
|
return this.platformId === 6 |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
// 平台名字 |
|
|
|
|
|
|
|
platformName() { |
|
|
|
|
|
|
|
return this.platformId === 6 ? '供应商' : this.platformId === 5 ? '幼儿园' : '' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
onShow() { |
|
|
|
onShow() { |
|
|
|
|
|
|
|
this.headerTop = uni.getMenuButtonBoundingClientRect().top + 8 + 'px' |
|
|
|
this.per = true |
|
|
|
this.per = true |
|
|
|
this.getAuthOrNot() |
|
|
|
this.getAuthOrNot() |
|
|
|
|
|
|
|
this.platformId === 7 || this.getTeams() |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
// 初始化权限 |
|
|
|
// 初始化权限 |
|
|
@ -178,79 +215,36 @@ |
|
|
|
this.info = res.authenticationInformation |
|
|
|
this.info = res.authenticationInformation |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 查询当前角色权限 |
|
|
|
// 获取团队信息 |
|
|
|
getAuth() { |
|
|
|
async getTeams() { |
|
|
|
uni.showLoading({ |
|
|
|
const { data } = await getTeamsByPlatformId({platformId: this.platformId}) |
|
|
|
title: '加载中' |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
getUserRolesPermissionMenu({ |
|
|
|
|
|
|
|
teamId: this.teams.find(e => e.teamId == this.teamId).partnerClassificationId, |
|
|
|
|
|
|
|
platformId: 4 |
|
|
|
|
|
|
|
}).then(({ permissionMenu }) => { |
|
|
|
|
|
|
|
uni.hideLoading() |
|
|
|
|
|
|
|
const auth = [] |
|
|
|
|
|
|
|
// 生成权限数组 |
|
|
|
|
|
|
|
const generateAuth = (list, parent) => { |
|
|
|
|
|
|
|
list.map(e => { |
|
|
|
|
|
|
|
const name = `${parent ? parent + ':' : ''}${e.name}` |
|
|
|
|
|
|
|
auth.push(name) |
|
|
|
|
|
|
|
generateAuth(e.children, name) |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
generateAuth(permissionMenu[0].children, '') |
|
|
|
|
|
|
|
uni.setStorageSync('auth', auth) |
|
|
|
|
|
|
|
this.initRole() |
|
|
|
|
|
|
|
}).catch(e => { |
|
|
|
|
|
|
|
uni.hideLoading() |
|
|
|
|
|
|
|
uni.setStorageSync('auth', []) |
|
|
|
|
|
|
|
this.initRole() |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
// 获取团队 |
|
|
|
|
|
|
|
getTeam() { |
|
|
|
|
|
|
|
uni.showLoading({ |
|
|
|
|
|
|
|
title: '加载中' |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
getTeamsByAccountId().then(({ data }) => { |
|
|
|
|
|
|
|
let hasOwnTeam = 0 // 是否有自己的团队 |
|
|
|
|
|
|
|
data.map(e => { |
|
|
|
data.map(e => { |
|
|
|
const n = e.partnerClassificationList |
|
|
|
const n = e.platformTeamClassificationList |
|
|
|
e.id = n.id |
|
|
|
e.id = n.id |
|
|
|
// parnerId是商务经理id,teamId则是下面这个,其他地方要用的话直接uni.getStorageSync('team').partnerId去使用 |
|
|
|
// parnerId是商务经理id,teamId则是下面这个,其他地方要用的话直接uni.getStorageSync('team').partnerId去使用 |
|
|
|
e.teamId = e.isTeam == 1 ? +e.partnerClassificationId : n.id |
|
|
|
e.teamId = e.isTeam === '1' ? +e.classificationId : n.id |
|
|
|
e.partnerClassificationName = n.partnerClassificationName |
|
|
|
e.classificationName = n.classificationName |
|
|
|
delete e.partnerClassificationList |
|
|
|
delete e.platformTeamClassificationList |
|
|
|
if (e.isTeam == 1) hasOwnTeam = 1 |
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
this.hasOwnTeam = hasOwnTeam |
|
|
|
|
|
|
|
const teamId = uni.getStorageSync('teamId') |
|
|
|
|
|
|
|
if (data.length) { |
|
|
|
if (data.length) { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* @description 如果是第一次进,则默认选中第一个团队,并把该团队的信息存入缓存 |
|
|
|
* @description 如果是第一次进,则默认选中第一个团队,并把该团队的信息存入缓存 |
|
|
|
* 或者团队列表里没有该id,则说明超管已经被转让,也需要重新选中团队 |
|
|
|
* 或者团队列表里没有该id,则说明超管已经被转让,也需要重新选中团队 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
const curTeam = data.find(e => e.teamId == teamId) |
|
|
|
if (!uni.getStorageSync('team') || !data.find(e => e.teamId == this.teamId)) { |
|
|
|
if (teamId && curTeam) { |
|
|
|
|
|
|
|
uni.setStorageSync('team', curTeam) |
|
|
|
|
|
|
|
} else if (!uni.getStorageSync('team') || !curTeam) { |
|
|
|
|
|
|
|
this.teamId = data[0].teamId |
|
|
|
this.teamId = data[0].teamId |
|
|
|
uni.setStorageSync('teamId', data[0].teamId) |
|
|
|
uni.setStorageSync('teamId', data[0].teamId) |
|
|
|
uni.setStorageSync('team', data[0]) |
|
|
|
uni.setStorageSync('team', data[0]) |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
|
|
|
|
// 如果没有团队,则退出登录 |
|
|
|
|
|
|
|
uni.hideLoading() |
|
|
|
|
|
|
|
uni.clearStorageSync() |
|
|
|
|
|
|
|
uni.navigateTo({ |
|
|
|
|
|
|
|
url: '../login/login' |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
this.disabled = uni.getStorageSync('team').isTeam == 0 // 成员不能改省份城市 |
|
|
|
|
|
|
|
this.teams = data |
|
|
|
this.teams = data |
|
|
|
this.getAuth() |
|
|
|
}, |
|
|
|
}).catch(e => { |
|
|
|
// 团队选择回调 |
|
|
|
uni.hideLoading() |
|
|
|
teamChange() { |
|
|
|
}) |
|
|
|
const { teamId } = this |
|
|
|
|
|
|
|
const e = this.teams.find(e => e.teamId == teamId) |
|
|
|
|
|
|
|
uni.setStorageSync('team', e) |
|
|
|
|
|
|
|
uni.setStorageSync('teamId', teamId) |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 获取个人信息 |
|
|
|
// 获取个人信息 |
|
|
|
getInfo() { |
|
|
|
getInfo() { |
|
|
@ -263,34 +257,30 @@ |
|
|
|
const avatar = my.info.userAvatars || 'https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png' |
|
|
|
const avatar = my.info.userAvatars || 'https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png' |
|
|
|
this.avatar = avatar |
|
|
|
this.avatar = avatar |
|
|
|
uni.setStorageSync('avatar', avatar) |
|
|
|
uni.setStorageSync('avatar', avatar) |
|
|
|
this.provinceId = my.teamInfo.provinceId |
|
|
|
|
|
|
|
this.cityId = my.teamInfo.cityId |
|
|
|
|
|
|
|
uni.setStorageSync('provinceId', this.provinceId) |
|
|
|
|
|
|
|
uni.setStorageSync('cityId', this.cityId) |
|
|
|
|
|
|
|
this.getProvince() |
|
|
|
|
|
|
|
this.provinceId && this.getCity() |
|
|
|
|
|
|
|
}).catch(e => {}) |
|
|
|
}).catch(e => {}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 上传头像回调 |
|
|
|
// 上传头像回调 |
|
|
|
onChooseAvatar(e) { |
|
|
|
onChooseAvatar(e) { |
|
|
|
uni.uploadFile({ |
|
|
|
OSS(e.detail.avatarUrl, (name) => { |
|
|
|
url: 'https://huorantech.cn/nakadai/nakadai/oss/fileUpload', |
|
|
|
updateAvatars(name).then(res => { |
|
|
|
filePath: e.detail.avatarUrl, |
|
|
|
// this.getInfo() |
|
|
|
name: 'file', |
|
|
|
|
|
|
|
header: { |
|
|
|
|
|
|
|
token: uni.getStorageSync('token'), |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
formData: {}, |
|
|
|
|
|
|
|
success: ({ data }) => { |
|
|
|
|
|
|
|
updateAvatars(JSON.parse(data).filesResult.fileUrl).then(res => { |
|
|
|
|
|
|
|
this.getInfo() |
|
|
|
|
|
|
|
}).catch(e => {}) |
|
|
|
}).catch(e => {}) |
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
// 创建自己的团队 |
|
|
|
// uni.uploadFile({ |
|
|
|
createTeam() { |
|
|
|
// url: 'https://huorantech.cn/nakadai/nakadai/oss/fileUpload', |
|
|
|
this.$util.to(`../reg/reg?openid=${uni.getStorageSync('openid')}&phone=${this.my.info.phone}&my=1`) |
|
|
|
// filePath: e.detail.avatarUrl, |
|
|
|
|
|
|
|
// name: 'file', |
|
|
|
|
|
|
|
// header: { |
|
|
|
|
|
|
|
// token: uni.getStorageSync('token'), |
|
|
|
|
|
|
|
// }, |
|
|
|
|
|
|
|
// formData: {}, |
|
|
|
|
|
|
|
// success: ({ data }) => { |
|
|
|
|
|
|
|
// updateAvatars(JSON.parse(data).filesResult.fileUrl).then(res => { |
|
|
|
|
|
|
|
// this.getInfo() |
|
|
|
|
|
|
|
// }).catch(e => {}) |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
// }) |
|
|
|
}, |
|
|
|
}, |
|
|
|
toPage(href) { |
|
|
|
toPage(href) { |
|
|
|
this.$util.to(href) |
|
|
|
this.$util.to(href) |
|
|
@ -312,10 +302,21 @@ |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
height: calc(var(--status-bar-height) + 500rpx); |
|
|
|
height: calc(var(--status-bar-height) + 500rpx); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.team-wrap { |
|
|
|
|
|
|
|
margin: -560rpx 30rpx 30rpx; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.team { |
|
|
|
|
|
|
|
position: relative; |
|
|
|
|
|
|
|
width: 300rpx; |
|
|
|
|
|
|
|
/deep/.selected-item text { |
|
|
|
|
|
|
|
font-size: 30rpx; |
|
|
|
|
|
|
|
font-weight: 600; |
|
|
|
|
|
|
|
color: #5f5f5f; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
.wrap { |
|
|
|
.wrap { |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
padding: 0 24rpx 24rpx; |
|
|
|
padding: 0 24rpx 24rpx; |
|
|
|
margin-top: -400rpx; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
.block { |
|
|
|
.block { |
|
|
|
padding: 24rpx; |
|
|
|
padding: 24rpx; |
|
|
@ -433,7 +434,7 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
.open { |
|
|
|
.open { |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
|
top: 46rpx; |
|
|
|
top: 50rpx; |
|
|
|
right: 20rpx; |
|
|
|
right: 20rpx; |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
align-items: center; |
|
|
@ -476,6 +477,7 @@ |
|
|
|
text-align: center; |
|
|
|
text-align: center; |
|
|
|
.item { |
|
|
|
.item { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
|
|
|
|
justify-content: space-between; |
|
|
|
align-items: center; |
|
|
|
align-items: center; |
|
|
|
height: 150rpx; |
|
|
|
height: 150rpx; |
|
|
|
padding: 0 50rpx; |
|
|
|
padding: 0 50rpx; |
|
|
@ -483,6 +485,10 @@ |
|
|
|
background: url('https://occupationlab.com/images/preschoolEdu/role-bg1.png') 0 0/100% 100% no-repeat; |
|
|
|
background: url('https://occupationlab.com/images/preschoolEdu/role-bg1.png') 0 0/100% 100% no-repeat; |
|
|
|
box-sizing: border-box; |
|
|
|
box-sizing: border-box; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.left { |
|
|
|
|
|
|
|
display: inline-flex; |
|
|
|
|
|
|
|
align-items: center; |
|
|
|
|
|
|
|
} |
|
|
|
.icon { |
|
|
|
.icon { |
|
|
|
display: inline-flex; |
|
|
|
display: inline-flex; |
|
|
|
justify-content: center; |
|
|
|
justify-content: center; |
|
|
@ -508,5 +514,12 @@ |
|
|
|
width: 70rpx; |
|
|
|
width: 70rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.btn { |
|
|
|
|
|
|
|
padding: 8rpx 16rpx; |
|
|
|
|
|
|
|
font-size: 24rpx; |
|
|
|
|
|
|
|
color: #c5530d; |
|
|
|
|
|
|
|
background-color: #f9cf9d; |
|
|
|
|
|
|
|
border-radius: 8px; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |
|
|
|