master
parent
eac7a81616
commit
806485eebe
|
@ -46,7 +46,8 @@ module.exports = {
|
||||||
loader: 'url-loader',
|
loader: 'url-loader',
|
||||||
options: {
|
options: {
|
||||||
limit: 10000,
|
limit: 10000,
|
||||||
name: utils.assetsPath('img/[name].[hash:7].[ext]')
|
name: utils.assetsPath('img/[name].[hash:7].[ext]'),
|
||||||
|
esModule: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -9,7 +9,7 @@ module.exports = {
|
||||||
|
|
||||||
// Paths
|
// Paths
|
||||||
assetsSubDirectory: 'static',
|
assetsSubDirectory: 'static',
|
||||||
assetsPublicPath: '/',
|
assetsPublicPath: './',
|
||||||
proxyTable: {},
|
proxyTable: {},
|
||||||
|
|
||||||
// Various Dev Server settings
|
// Various Dev Server settings
|
||||||
|
|
|
@ -35,11 +35,11 @@ img {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: 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%;
|
background-size: 100% 100%;
|
||||||
width: 177px;
|
width: 177px;
|
||||||
height: 162px;
|
height: 162px;
|
||||||
margin-left: 287px;
|
margin-left: 16%;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
.header-box .logo {
|
.header-box .logo {
|
||||||
|
@ -71,12 +71,12 @@ img {
|
||||||
}
|
}
|
||||||
.activeTitle {
|
.activeTitle {
|
||||||
color: #FFFFFF;
|
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%;
|
background-size: 100% 100%;
|
||||||
}
|
}
|
||||||
.activeTitle2 {
|
.activeTitle2 {
|
||||||
color: #FFFFFF;
|
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%;
|
background-size: 100% 100%;
|
||||||
}
|
}
|
||||||
/* 天气 */
|
/* 天气 */
|
||||||
|
@ -116,7 +116,7 @@ img {
|
||||||
.left-one {
|
.left-one {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-bottom: 20px;
|
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%;
|
background-size: 100% 100%;
|
||||||
width: 390px;
|
width: 390px;
|
||||||
height: 296px;
|
height: 296px;
|
||||||
|
@ -181,7 +181,7 @@ img {
|
||||||
}
|
}
|
||||||
.center-title {color: #7557CC;font-size: 36px;text-align: center;line-height: 40px;padding-top: 40px;}
|
.center-title {color: #7557CC;font-size: 36px;text-align: center;line-height: 40px;padding-top: 40px;}
|
||||||
.center-img-box {
|
.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%;
|
background-size: 100% 100%;
|
||||||
width: 967px;
|
width: 967px;
|
||||||
height: 900px;
|
height: 900px;
|
||||||
|
@ -199,7 +199,7 @@ img {
|
||||||
width: 390px;
|
width: 390px;
|
||||||
height: 900px;
|
height: 900px;
|
||||||
flex-shrink: 0;
|
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%;
|
background-size: 100% 100%;
|
||||||
}
|
}
|
||||||
.right-content {color: #7557CC;text-align: center;height: 90%; overflow: hidden;overflow-y: scroll;}
|
.right-content {color: #7557CC;text-align: center;height: 90%; overflow: hidden;overflow-y: scroll;}
|
||||||
|
@ -244,7 +244,7 @@ img {
|
||||||
.class-left-one {
|
.class-left-one {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-bottom: 20px;
|
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%;
|
background-size: 100% 100%;
|
||||||
width: 464px;
|
width: 464px;
|
||||||
height: 826px;
|
height: 826px;
|
||||||
|
@ -342,7 +342,7 @@ img {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 100%;
|
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%;
|
background-size: 100% 100%;
|
||||||
margin-left: 30px;
|
margin-left: 30px;
|
||||||
height: 826px;
|
height: 826px;
|
||||||
|
|
|
@ -28,21 +28,21 @@
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
navArr:[
|
navArr:[
|
||||||
{icon:'../../static/img/attendancedetail/icon-attendancedetail.png',title:'出勤详情',num:12},
|
{icon:require('../../static/img/attendancedetail/icon-attendancedetail.png'),title:'出勤详情',num:12},
|
||||||
{icon:'../../static/img/attendancedetail/icon-lixiao.png',title:'离校情况',num:0},
|
{icon:require('../../static/img/attendancedetail/icon-lixiao.png'),title:'离校情况',num:0},
|
||||||
{icon:'../../static/img/attendancedetail/icon-weidao.png',title:'未到校宝宝',num:0},
|
{icon:require('../../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-qingj.png'),title:'请假宝宝',num:0},
|
||||||
],
|
],
|
||||||
navIndex:0,
|
navIndex:0,
|
||||||
teatherArr:[
|
teatherArr:[
|
||||||
{teatherImg:'../../static/img/seconds/tu-01.png',teatherName:'张跑跑',status:0},
|
{teatherImg:require('../../static/img/seconds/tu-01.png'),teatherName:'张跑跑',status:0},
|
||||||
{teatherImg:'../../static/img/seconds/tu-01.png',teatherName:'张跑跑',status:1},
|
{teatherImg:require('../../static/img/seconds/tu-01.png'),teatherName:'张跑跑',status:1},
|
||||||
{teatherImg:'../../static/img/seconds/tu-01.png',teatherName:'张跑跑',status:2},
|
{teatherImg:require('../../static/img/seconds/tu-01.png'),teatherName:'张跑跑',status:2},
|
||||||
{teatherImg:'../../static/img/seconds/tu-01.png',teatherName:'张跑跑',status:3},
|
{teatherImg:require('../../static/img/seconds/tu-01.png'),teatherName:'张跑跑',status:3},
|
||||||
{teatherImg:'../../static/img/seconds/tu-01.png',teatherName:'张跑跑',status:0},
|
{teatherImg:require('../../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:'../../static/img/seconds/tu-01.png',teatherName:'张跑跑',status:0},
|
{teatherImg:require('../../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},
|
||||||
],
|
],
|
||||||
isNothing:false
|
isNothing:false
|
||||||
}
|
}
|
||||||
|
|
|
@ -92,11 +92,11 @@
|
||||||
weekNum:0,
|
weekNum:0,
|
||||||
dateTime:'2021年12月28日',
|
dateTime:'2021年12月28日',
|
||||||
teatherArr:[
|
teatherArr:[
|
||||||
{name:'张芳芳',headImg:'../../static/img/seconds/tu-01.png'},
|
{name:'张芳芳',headImg:require('../../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:'../../static/img/seconds/tu-01.png'},
|
{name:'张芳芳',headImg:require('../../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:'../../static/img/seconds/tu-01.png'},
|
{name:'张芳芳',headImg:require('../../static/img/seconds/tu-01.png')},
|
||||||
],
|
],
|
||||||
kebiaoArr:['时间','星期一','星期二','星期三','星期四','星期五'],
|
kebiaoArr:['时间','星期一','星期二','星期三','星期四','星期五'],
|
||||||
dataArr:[],
|
dataArr:[],
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="baby-album-box">
|
<div class="baby-album-box">
|
||||||
<img src="../../static/img/babyalbum/choose-01.png" class="swiper-button-prev">
|
<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-container">
|
||||||
<div class="swiper-wrapper">
|
<div class="swiper-wrapper">
|
||||||
<div class="swiper-slide" v-for="(item,index) in babyalbumList" :key="index" style="display: flex;justify-content: center;">
|
<div class="swiper-slide" v-for="(item,index) in babyalbumList" :key="index" style="display: flex;justify-content: center;">
|
||||||
|
|
|
@ -238,7 +238,7 @@
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.weather = `/static/img/weather/2.png`;
|
this.weather = require(`../../static/img/weather/2.png`);
|
||||||
this.weatherEv();
|
this.weatherEv();
|
||||||
window.addEventListener('online', this.updateOnlineStatus); //网络由异常到正常时触发
|
window.addEventListener('online', this.updateOnlineStatus); //网络由异常到正常时触发
|
||||||
window.addEventListener('offline', this.updateOnlineStatus); //网络由正常到异常时触发
|
window.addEventListener('offline', this.updateOnlineStatus); //网络由正常到异常时触发
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
<div class="remind-box">
|
<div class="remind-box">
|
||||||
<div class="msg-box">
|
<div class="msg-box">
|
||||||
<img src="../../static/img/home/icon-notice.png" />
|
<img src="../../static/img/home/icon-notice.png" />
|
||||||
<div>{{ noticeData }}</div>
|
<div v-if="noticeData!=0">{{ noticeData }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="msg-box">
|
<div class="msg-box">
|
||||||
<div>宝宝提醒</div>
|
<div>宝宝提醒</div>
|
||||||
|
@ -128,7 +128,7 @@
|
||||||
return {
|
return {
|
||||||
threeMeals: ["早餐", "午餐", "晚餐"],
|
threeMeals: ["早餐", "午餐", "晚餐"],
|
||||||
threeMealIndex: 0,
|
threeMealIndex: 0,
|
||||||
noticeData: [],
|
noticeData: 0,
|
||||||
babyBirthdayData: "",
|
babyBirthdayData: "",
|
||||||
dynamicPictureData: "",
|
dynamicPictureData: "",
|
||||||
noonArr: [],
|
noonArr: [],
|
||||||
|
|
|
@ -45,10 +45,10 @@
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
navArr:[
|
navArr:[
|
||||||
{icon:'../../static/img/kindergartenIntroduce/icon-parkIntroduce.png',title:'园区介绍'},
|
{icon:require('../../static/img/kindergartenIntroduce/icon-parkIntroduce.png'),title:'园区介绍'},
|
||||||
{icon:'../../static/img/kindergartenIntroduce/icon-teacher-style.png',title:'教师风采'},
|
{icon:require('../../static/img/kindergartenIntroduce/icon-teacher-style.png'),title:'教师风采'},
|
||||||
{icon:'../../static/img/kindergartenIntroduce/icon-new.png',title:'新闻动态'},
|
{icon:require('../../static/img/kindergartenIntroduce/icon-new.png'),title:'新闻动态'},
|
||||||
{icon:'../../static/img/kindergartenIntroduce/icon-notice-msg.png',title:'公告信息'},
|
{icon:require('../../static/img/kindergartenIntroduce/icon-notice-msg.png'),title:'公告信息'},
|
||||||
],
|
],
|
||||||
navIndex:0,
|
navIndex:0,
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,17 +25,7 @@
|
||||||
name: 'babyActivity',
|
name: 'babyActivity',
|
||||||
data() {
|
data() {
|
||||||
return {
|
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: {
|
methods: {
|
||||||
|
|
Loading…
Reference in New Issue