Browse Source

bug修改

master
unknown 3 months ago
parent
commit
3b18c6cfff
  1. 5
      components/user-info/user-info.vue
  2. 6
      manifest.json
  3. 6
      pages/recordEntry/student/studentDetail/comp/list.vue
  4. 2
      pages/tabbar/statistics/comp/comp.scss
  5. 10
      pages/tabbar/statistics/index.vue
  6. 16
      pages/userCenter/scanCode/scanCodeSchool.vue
  7. 2
      pages/userCenter/teachingData/teachingData.vue
  8. BIN
      static/images/bigImg/indexTopBanner.png

5
components/user-info/user-info.vue

@ -1,7 +1,8 @@
<template>
<view class="info_row">
<view class="avatar">
<image src="@/static/images/coach/avatar.png" mode=""></image>
<!-- <image src="@/static/images/coach/avatar.png" mode=""></image> -->
<image :src="vuex_userInfo.photoPath" mode="" v-if="vuex_userInfo.photoPath"></image>
</view>
<view class="info" @click="$goPage('/pages/userCenter/personaInfo/personaInfo')">
<view class="name_row">
@ -36,6 +37,8 @@
height: 144rpx;
border-radius: 50%;
overflow: hidden;
background: url("../../static/images/coach/avatar.png") no-repeat;
background-size: 100% 100%;
}
.info {

6
manifest.json

@ -2,8 +2,8 @@
"name" : "洛阳驾校端",
"appid" : "__UNI__BD23957",
"description" : "",
"versionName" : "1.0.3",
"versionCode" : 103,
"versionName" : "1.0.4",
"versionCode" : 104,
"transformPx" : false,
/* 5+App */
"app-plus" : {
@ -118,7 +118,7 @@
"disableHostCheck" : true,
"proxy" : {
"/api" : {
"target" : "http://192.168.1.43:8318/",
"target" : "http://192.168.1.40:8318/",
// "target" : "http://123.6.232.1:8099",
"changeOrigin" : true,
"secure" : true,

6
pages/recordEntry/student/studentDetail/comp/list.vue

@ -13,11 +13,11 @@
<view class="lab">{{item.dynamicsName}}</view>
<view class="date">{{item.dynamicsTime}}</view>
</view>
<view class="bg">
<view class="bg" v-if="item.examSite||item.examTime">
<view class="row">
<view class="text">地点{{item.examSite}}</view>
<view class="text" v-if="item.examSite">地点{{item.examSite}}</view>
</view>
<view class="row">
<view class="row" v-if="item.examTime">
<view class="text">时间{{item.examTime}}</view>
</view>
</view>

2
pages/tabbar/statistics/comp/comp.scss

@ -24,7 +24,7 @@
.schoolName {
font-size: 28rpx;
padding: 20rpx;
max-width: 220rpx;
max-width: calc(100vw - 40rpx);
color: #fff;
}

10
pages/tabbar/statistics/index.vue

@ -1,5 +1,5 @@
<template>
<view class="main" :style="{ background: `url(${imgUrl}) #f6f6f6 no-repeat`, backgroundSize: backgroundSize }">
<view class="main">
<!-- <operateCoach v-if="identity=='实操教练'"/>
<principal v-if="identity=='校长'||identity=='驾校财务'"/> -->
@ -68,7 +68,6 @@
import stage from './comp/stage'
import columnChart from './comp/columnChart'
import tabDate from './comp/tabDate'
import { imgUrl } from '@/config/site.config'
import {
getSettlementStatistics,
settle_list,
@ -87,8 +86,6 @@
currentTab: 1,
statistics: {},
list: [],
imgUrl: imgUrl+'indexTopBanner.png',
backgroundSize: '100% 492rpx',
show: false,
chartData: []
}
@ -175,7 +172,10 @@
<style lang="scss" scoped>
@import './comp/comp.scss';
.main {
background: url('../../../static/images/bigImg/indexTopBanner.png') #f6f6f6 no-repeat;
background-size: 100% 492rpx;
}
</style>

16
pages/userCenter/scanCode/scanCodeSchool.vue

@ -32,7 +32,6 @@
this.$nextTick(()=>{
this.refresh()
})
this.test()
},
methods: {
refresh() {
@ -58,21 +57,8 @@
// canvas
qr.drawCanvas();
},
}
test() {
// ,,
let reg = /^哈*$/
let b = reg.test('哈哈')
//
let reg2 = /^哈*$/
let b2 = reg2.test('') //false
let reg3 = new RegExp(/^1\d{10}$/)
let b3 = reg3.test('18267103167') //false
console.log( b3)
},
}
}
</script>

2
pages/userCenter/teachingData/teachingData.vue

@ -26,7 +26,7 @@
<view class="title">
<view class="txt">结业率高达</view>
<view class="num">{{info.finishRate}}</view>
<view class="num">{{info.finishRate?(info.finishRate*1).toFixed(2):0}}</view>
</view>
<view class="ul">
<view class="li" v-if="info.finishSubjectOneTime">

BIN
static/images/bigImg/indexTopBanner.png

After

Width: 750  |  Height: 492  |  Size: 394 KiB

Loading…
Cancel
Save