Browse Source

bug修改

master
unknown 5 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> <template>
<view class="info_row"> <view class="info_row">
<view class="avatar"> <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>
<view class="info" @click="$goPage('/pages/userCenter/personaInfo/personaInfo')"> <view class="info" @click="$goPage('/pages/userCenter/personaInfo/personaInfo')">
<view class="name_row"> <view class="name_row">
@ -36,6 +37,8 @@
height: 144rpx; height: 144rpx;
border-radius: 50%; border-radius: 50%;
overflow: hidden; overflow: hidden;
background: url("../../static/images/coach/avatar.png") no-repeat;
background-size: 100% 100%;
} }
.info { .info {

6
manifest.json

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

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

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

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

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

10
pages/tabbar/statistics/index.vue

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

16
pages/userCenter/scanCode/scanCodeSchool.vue

@ -32,7 +32,6 @@
this.$nextTick(()=>{ this.$nextTick(()=>{
this.refresh() this.refresh()
}) })
this.test()
}, },
methods: { methods: {
refresh() { refresh() {
@ -58,21 +57,8 @@
// canvas // canvas
qr.drawCanvas(); 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> </script>

2
pages/userCenter/teachingData/teachingData.vue

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

BIN
static/images/bigImg/indexTopBanner.png

After

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

Loading…
Cancel
Save