Browse Source

准备改版了

master
unknown 12 months ago
parent
commit
fd155734e6
  1. 2
      common/css/app.scss
  2. 3
      config/site.config.js
  3. 12
      pages/login/login.vue
  4. 4
      pages/tabbar/statistics/comp/comp.scss
  5. 2
      pages/tabbar/statistics/comp/examinCoach.vue
  6. 2
      pages/tabbar/statistics/comp/operateCoach.vue
  7. 2
      pages/tabbar/statistics/comp/principal.vue
  8. 8
      pages/tabbar/statistics/index.vue

2
common/css/app.scss

@ -42,7 +42,7 @@ view {
.pageBgImg {
font-size: 28rpx;;
color: #333;
background: url('http://192.168.1.20:81/zhili/image/20230824/afabc8b8a39544dc9ee4aea739b716cc.png') #F6F6F6 no-repeat;
background: url('http://jxtemp.oss-cn-hangzhou.aliyuncs.com/defaultImages/admin/bigImg/topPageBg.png') #F6F6F6 no-repeat;
background-size: 100% 324rpx;
min-height: 100vh;
}

3
config/site.config.js

@ -4,5 +4,6 @@ module.exports = {
H5_API: VUE_APP_PLATFORM === 'h5' ? '/api/' : '',//h5代理
WX_API: VUE_APP_PLATFORM === 'h5' ? '' : 'http://192.168.1.26:48082/',//非代理地址
TEMP_HOST: VUE_APP_PLATFORM === 'h5' ? '' : 'http://192.168.1.26:48082/',
httpPrefix: 'admin-api/'
httpPrefix: 'admin-api/',
imgUrl: 'http://jxtemp.oss-cn-hangzhou.aliyuncs.com/defaultImages/admin/bigImg/'
};

12
pages/login/login.vue

@ -6,7 +6,7 @@
</view>
</view>
<view class="title">
<image src="@/static/images/userCenter/loginTitle.png" mode=""></image>
<image :src="imgUrl" mode=""></image>
</view>
<view class="form">
<view class="form-item">
@ -40,6 +40,7 @@
<script>
import { loginPwd, tenantPage } from '@/config/api.js'
import { imgUrl } from '@/config/site.config.js'
export default {
data() {
return {
@ -50,6 +51,7 @@
password: '',
tenantName: ''
},
imgUrl: imgUrl+'loginTitle.png',
codeOn: false,
show: false,
columnsArea: [],
@ -164,6 +166,8 @@
},
async submitFn() {
// this.chooseIdentity('')
// return
if(!this.btnHighlight) return
const {data: res} = await loginPwd(this.FormData)
this.$store.commit('update_vuex_loginInfo', res)
@ -178,6 +182,8 @@
})
if(this.list.length>1) {
this.showRole = true
}else {
this.chooseIdentity(this.list[0].name)
}
console.log(this.list)
return
@ -192,8 +198,8 @@
.main {
width: 100%;
min-height: 100vh;
background: url('http://192.168.1.20:81/zhili/image/20230922/f5e2cfaf05f441c1b9f897e7dc284f1d.png') no-repeat;
background-size: 100% 360rpx;
// background: url('http://192.168.1.20:81/zhili/image/20230922/f5e2cfaf05f441c1b9f897e7dc284f1d.png') no-repeat;
// background-size: 100% 360rpx;
.u-back-top {
padding: 32rpx 0 0 0;
.backBox {

4
pages/tabbar/statistics/comp/comp.scss

@ -2,8 +2,8 @@
.content {
width: 100%;
background: url('http://192.168.1.20:81/zhili/image/20230824/30073140957f4349b6579cb0ff00d4b1.png') #F6F6F6 no-repeat;
background-size: 100% 492rpx;
// background: url('http://192.168.1.20:81/zhili/image/20230824/30073140957f4349b6579cb0ff00d4b1.png') #F6F6F6 no-repeat;
// background-size: 100% 492rpx;
padding: 142rpx 28rpx 140rpx 28rpx;
.userInfo {

2
pages/tabbar/statistics/comp/examinCoach.vue

@ -1,5 +1,5 @@
<template>
<view class="content pageBg">
<view class="content">
<view class="userInfo">
<view class="tit">Hi,大乔教练</view>
<view class="flex userRow">

2
pages/tabbar/statistics/comp/operateCoach.vue

@ -1,5 +1,5 @@
<template>
<view class="content pageBg">
<view class="content">
<view class="userInfo">
<view class="tit">Hi,大乔教练</view>
<view class="flex userRow">

2
pages/tabbar/statistics/comp/principal.vue

@ -1,5 +1,5 @@
<template>
<view class="content pageBg">
<view class="content">
<view class="userInfo">
<view class="tit">Hi,大乔教练</view>
<view class="flex userRow">

8
pages/tabbar/statistics/index.vue

@ -1,5 +1,5 @@
<template>
<view class="main">
<view class="main" :style="{ background: `url(${imgUrl}) #f6f6f6 no-repeat`, backgroundSize: backgroundSize }">
<examinCoach v-if="identity=='考场模拟教练'"/>
<operateCoach v-if="identity=='实操教练'"/>
<principal v-if="identity=='校长'"/>
@ -10,7 +10,7 @@
import examinCoach from './comp/examinCoach'
import operateCoach from './comp/operateCoach'
import principal from './comp/principal'
import { imgUrl } from '@/config/site.config'
export default {
components: {
examinCoach,
@ -19,7 +19,8 @@
},
data() {
return {
imgUrl: imgUrl+'indexTopBanner.png',
backgroundSize: '100% 492rpx',
}
},
onShow() {
@ -28,4 +29,3 @@
}
</script>
<style></style>
Loading…
Cancel
Save