master
chen 2021-12-26 15:21:26 +08:00
parent eac7a81616
commit 806485eebe
10 changed files with 38 additions and 47 deletions

View File

@ -46,7 +46,8 @@ module.exports = {
loader: 'url-loader',
options: {
limit: 10000,
name: utils.assetsPath('img/[name].[hash:7].[ext]')
name: utils.assetsPath('img/[name].[hash:7].[ext]'),
esModule: false
}
},
{

View File

@ -9,7 +9,7 @@ module.exports = {
// Paths
assetsSubDirectory: 'static',
assetsPublicPath: '/',
assetsPublicPath: './',
proxyTable: {},
// Various Dev Server settings

View File

@ -35,11 +35,11 @@ img {
display: flex;
justify-content: center;
align-items: center;
background: url(/static/img/home/logo-bottom.png) no-repeat;
background: url(../../../static/img/home/logo-bottom.png) no-repeat;
background-size: 100% 100%;
width: 177px;
height: 162px;
margin-left: 287px;
margin-left: 16%;
margin-top: 20px;
}
.header-box .logo {
@ -71,12 +71,12 @@ img {
}
.activeTitle {
color: #FFFFFF;
background: url(/static/img/home/title-bottom-01.png) no-repeat;
background: url(../../../static/img/home/title-bottom-01.png) no-repeat;
background-size: 100% 100%;
}
.activeTitle2 {
color: #FFFFFF;
background: url(/static/img/home/title-bottom-02.png) no-repeat;
background: url(../../../static/img/home/title-bottom-02.png) no-repeat;
background-size: 100% 100%;
}
/* 天气 */
@ -116,7 +116,7 @@ img {
.left-one {
position: relative;
margin-bottom: 20px;
background: url(/static/img/home/left-kuang.png) no-repeat;
background: url(../../../static/img/home/left-kuang.png) no-repeat;
background-size: 100% 100%;
width: 390px;
height: 296px;
@ -181,7 +181,7 @@ img {
}
.center-title {color: #7557CC;font-size: 36px;text-align: center;line-height: 40px;padding-top: 40px;}
.center-img-box {
background: url(/static/img/home/class-dongt.png) no-repeat;
background: url(../../../static/img/home/class-dongt.png) no-repeat;
background-size: 100% 100%;
width: 967px;
height: 900px;
@ -199,7 +199,7 @@ img {
width: 390px;
height: 900px;
flex-shrink: 0;
background: url(/static/img/home/right-back.png) no-repeat;
background: url(../../../static/img/home/right-back.png) no-repeat;
background-size: 100% 100%;
}
.right-content {color: #7557CC;text-align: center;height: 90%; overflow: hidden;overflow-y: scroll;}
@ -244,7 +244,7 @@ img {
.class-left-one {
position: relative;
margin-bottom: 20px;
background: url(/static/img/attendancedetail/babyactive-left.png) no-repeat;
background: url(../../../static/img/attendancedetail/babyactive-left.png) no-repeat;
background-size: 100% 100%;
width: 464px;
height: 826px;
@ -342,7 +342,7 @@ img {
position: relative;
display: inline-block;
width: 100%;
background: url(/static/img/attendancedetail/babyactive-right.png) no-repeat;
background: url(../../../static/img/attendancedetail/babyactive-right.png) no-repeat;
background-size: 100% 100%;
margin-left: 30px;
height: 826px;

View File

@ -28,21 +28,21 @@
data() {
return {
navArr:[
{icon:'../../static/img/attendancedetail/icon-attendancedetail.png',title:'出勤详情',num:12},
{icon:'../../static/img/attendancedetail/icon-lixiao.png',title:'离校情况',num:0},
{icon:'../../static/img/attendancedetail/icon-weidao.png',title:'未到校宝宝',num:0},
{icon:'../../static/img/attendancedetail/icon-qingj.png',title:'请假宝宝',num:0},
{icon:require('../../static/img/attendancedetail/icon-attendancedetail.png'),title:'出勤详情',num:12},
{icon:require('../../static/img/attendancedetail/icon-lixiao.png'),title:'离校情况',num:0},
{icon:require('../../static/img/attendancedetail/icon-weidao.png'),title:'未到校宝宝',num:0},
{icon:require('../../static/img/attendancedetail/icon-qingj.png'),title:'请假宝宝',num:0},
],
navIndex:0,
teatherArr:[
{teatherImg:'../../static/img/seconds/tu-01.png',teatherName:'张跑跑',status:0},
{teatherImg:'../../static/img/seconds/tu-01.png',teatherName:'张跑跑',status:1},
{teatherImg:'../../static/img/seconds/tu-01.png',teatherName:'张跑跑',status:2},
{teatherImg:'../../static/img/seconds/tu-01.png',teatherName:'张跑跑',status:3},
{teatherImg:'../../static/img/seconds/tu-01.png',teatherName:'张跑跑',status:0},
{teatherImg:'../../static/img/seconds/tu-01.png',teatherName:'张跑跑',status:0},
{teatherImg:'../../static/img/seconds/tu-01.png',teatherName:'张跑跑',status:0},
{teatherImg:'../../static/img/seconds/tu-01.png',teatherName:'张跑跑',status:0},
{teatherImg:require('../../static/img/seconds/tu-01.png'),teatherName:'张跑跑',status:0},
{teatherImg:require('../../static/img/seconds/tu-01.png'),teatherName:'张跑跑',status:1},
{teatherImg:require('../../static/img/seconds/tu-01.png'),teatherName:'张跑跑',status:2},
{teatherImg:require('../../static/img/seconds/tu-01.png'),teatherName:'张跑跑',status:3},
{teatherImg:require('../../static/img/seconds/tu-01.png'),teatherName:'张跑跑',status:0},
{teatherImg:require('../../static/img/seconds/tu-01.png'),teatherName:'张跑跑',status:0},
{teatherImg:require('../../static/img/seconds/tu-01.png'),teatherName:'张跑跑',status:0},
{teatherImg:require('../../static/img/seconds/tu-01.png'),teatherName:'张跑跑',status:0},
],
isNothing:false
}

View File

@ -92,11 +92,11 @@
weekNum:0,
dateTime:'2021年12月28日',
teatherArr:[
{name:'张芳芳',headImg:'../../static/img/seconds/tu-01.png'},
{name:'张芳芳',headImg:'../../static/img/seconds/tu-01.png'},
{name:'张芳芳',headImg:'../../static/img/seconds/tu-01.png'},
{name:'张芳芳',headImg:'../../static/img/seconds/tu-01.png'},
{name:'张芳芳',headImg:'../../static/img/seconds/tu-01.png'},
{name:'张芳芳',headImg:require('../../static/img/seconds/tu-01.png')},
{name:'张芳芳',headImg:require('../../static/img/seconds/tu-01.png')},
{name:'张芳芳',headImg:require('../../static/img/seconds/tu-01.png')},
{name:'张芳芳',headImg:require('../../static/img/seconds/tu-01.png')},
{name:'张芳芳',headImg:require('../../static/img/seconds/tu-01.png')},
],
kebiaoArr:['时间','星期一','星期二','星期三','星期四','星期五'],
dataArr:[],

View File

@ -10,7 +10,7 @@
</div>
<div class="baby-album-box">
<img src="../../static/img/babyalbum/choose-01.png" class="swiper-button-prev">
<div style="width: 80%;margin: 0 auto;">
<div style="width: 80%;margin: 0 auto;height: 515px;">
<div class="swiper-container">
<div class="swiper-wrapper">
<div class="swiper-slide" v-for="(item,index) in babyalbumList" :key="index" style="display: flex;justify-content: center;">

View File

@ -238,7 +238,7 @@
},
},
mounted() {
this.weather = `/static/img/weather/2.png`;
this.weather = require(`../../static/img/weather/2.png`);
this.weatherEv();
window.addEventListener('online', this.updateOnlineStatus); //
window.addEventListener('offline', this.updateOnlineStatus); //

View File

@ -87,7 +87,7 @@
<div class="remind-box">
<div class="msg-box">
<img src="../../static/img/home/icon-notice.png" />
<div>{{ noticeData }}</div>
<div v-if="noticeData!=0">{{ noticeData }}</div>
</div>
<div class="msg-box">
<div>宝宝提醒</div>
@ -128,7 +128,7 @@
return {
threeMeals: ["早餐", "午餐", "晚餐"],
threeMealIndex: 0,
noticeData: [],
noticeData: 0,
babyBirthdayData: "",
dynamicPictureData: "",
noonArr: [],

View File

@ -45,10 +45,10 @@
data() {
return {
navArr:[
{icon:'../../static/img/kindergartenIntroduce/icon-parkIntroduce.png',title:'园区介绍'},
{icon:'../../static/img/kindergartenIntroduce/icon-teacher-style.png',title:'教师风采'},
{icon:'../../static/img/kindergartenIntroduce/icon-new.png',title:'新闻动态'},
{icon:'../../static/img/kindergartenIntroduce/icon-notice-msg.png',title:'公告信息'},
{icon:require('../../static/img/kindergartenIntroduce/icon-parkIntroduce.png'),title:'园区介绍'},
{icon:require('../../static/img/kindergartenIntroduce/icon-teacher-style.png'),title:'教师风采'},
{icon:require('../../static/img/kindergartenIntroduce/icon-new.png'),title:'新闻动态'},
{icon:require('../../static/img/kindergartenIntroduce/icon-notice-msg.png'),title:'公告信息'},
],
navIndex:0,
}

View File

@ -25,17 +25,7 @@
name: 'babyActivity',
data() {
return {
babyArr:[
{babyImg:'',babyName:'张跑跑',albumNum:0},
{babyImg:'',babyName:'张跑跑',albumNum:0},
{babyImg:'',babyName:'张跑跑',albumNum:0},
{babyImg:'',babyName:'张跑跑',albumNum:0},
{babyImg:'',babyName:'张跑跑',albumNum:0},
{babyImg:'',babyName:'张跑跑',albumNum:0},
{babyImg:'',babyName:'张跑跑',albumNum:0},
{babyImg:'',babyName:'张跑跑',albumNum:0},
],
isNothing:false
}
},
methods: {