From eac7a81616ffe1d907f5df6953507d810ee48b4d Mon Sep 17 00:00:00 2001 From: chen <2659004835@qq.com> Date: Sun, 26 Dec 2021 12:04:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/utils.js | 1 + build/webpack.dev.conf.js | 2 +- build/webpack.prod.conf.js | 2 +- config/index.js | 2 +- package-lock.json | 20 +-- src/assets/css/electron.css | 29 ++-- src/assets/css/swiper-bundle.min.css | 13 ++ src/components/attendanceDetail.vue | 26 ++-- src/components/babyActivity.vue | 14 +- src/components/babyAlbum.vue | 28 +++- src/components/babyAlbumDetail.vue | 141 ++++++++---------- src/components/header.vue | 18 +-- src/components/homepage.vue | 132 ++++++++-------- src/components/kindIntroduction.vue | 10 +- src/components/newsInformation.vue | 53 ++++--- src/components/newsInformationDetail.vue | 12 +- src/components/noticeInfo.vue | 46 +++++- src/components/parkIntroduce.vue | 4 +- src/components/teacherStyle.vue | 14 ++ src/components/teacherStyleDetail.vue | 12 +- src/config.js | 6 +- src/utils/swiper-bundle.min.js | 14 ++ .../attendancedetail/babyactive-left.png | Bin .../attendancedetail/babyactive-right.png | Bin .../attendancedetail/chah.png} | Bin .../icon-attendancedetail.png | Bin .../attendancedetail/icon-lixiao.png | Bin .../attendancedetail/icon-nothing.png} | Bin .../{ => img}/attendancedetail/icon-qingj.png | Bin .../attendancedetail/icon-weidao.png | Bin .../attendancedetail/icon-wu.png} | Bin .../-s-插画.png => img/babyalbum/chah.png} | Bin .../babyalbum/choose-01.png} | Bin .../babyalbum/choose-02.png} | Bin static/{ => img}/error/error-icon.png | Bin static/{ => img}/home/baby-foot.png | Bin static/{ => img}/home/class-dongt.png | Bin static/{ => img}/home/flower.png | Bin static/{ => img}/home/foot-icon.png | Bin static/{ => img}/home/icon-link.png | Bin static/{ => img}/home/icon-notice.png | Bin static/{ => img}/home/icon-set.png | Bin static/{ => img}/home/left-kuang.png | Bin static/{ => img}/home/logo-bottom.png | Bin static/{ => img}/home/logo.png | Bin static/{ => img}/home/right-back.png | Bin static/{ => img}/home/slices.png | Bin static/{ => img}/home/title-bottom-01.png | Bin static/{ => img}/home/title-bottom-02.png | Bin .../kindergartenIntroduce/chahua-01.png | Bin .../kindergartenIntroduce/icon-back.png | Bin .../kindergartenIntroduce/icon-browse.png | Bin .../kindergartenIntroduce/icon-choose.png | Bin .../kindergartenIntroduce/icon-new.png | Bin .../kindergartenIntroduce/icon-notice-msg.png | Bin .../kindergartenIntroduce/icon-notice.png | Bin .../icon-parkIntroduce.png | Bin .../icon-teacher-style.png | Bin static/{ => img}/seconds/tu-01.png | Bin static/{ => img}/weather/1.png | Bin static/{ => img}/weather/2.png | Bin static/{ => img}/weather/3.png | Bin static/{ => img}/weather/4.png | Bin static/{ => img}/weather/5.png | Bin static/{ => img}/weather/6.png | Bin static/{ => img}/weather/7.png | Bin static/{ => img}/weather/8.png | Bin static/{ => img}/weather/9.png | Bin 68 files changed, 348 insertions(+), 251 deletions(-) create mode 100644 src/assets/css/swiper-bundle.min.css create mode 100644 src/utils/swiper-bundle.min.js rename static/{ => img}/attendancedetail/babyactive-left.png (100%) rename static/{ => img}/attendancedetail/babyactive-right.png (100%) rename static/{attendancedetail/-s-插画.png => img/attendancedetail/chah.png} (100%) rename static/{ => img}/attendancedetail/icon-attendancedetail.png (100%) rename static/{ => img}/attendancedetail/icon-lixiao.png (100%) rename static/{attendancedetail/-s-暂无.png => img/attendancedetail/icon-nothing.png} (100%) rename static/{ => img}/attendancedetail/icon-qingj.png (100%) rename static/{ => img}/attendancedetail/icon-weidao.png (100%) rename static/{attendancedetail/icon-暂无数据.png => img/attendancedetail/icon-wu.png} (100%) rename static/{babyalbum/-s-插画.png => img/babyalbum/chah.png} (100%) rename static/{babyalbum/-s-选择1.png => img/babyalbum/choose-01.png} (100%) rename static/{babyalbum/-s-选择2.png => img/babyalbum/choose-02.png} (100%) rename static/{ => img}/error/error-icon.png (100%) rename static/{ => img}/home/baby-foot.png (100%) rename static/{ => img}/home/class-dongt.png (100%) rename static/{ => img}/home/flower.png (100%) rename static/{ => img}/home/foot-icon.png (100%) rename static/{ => img}/home/icon-link.png (100%) rename static/{ => img}/home/icon-notice.png (100%) rename static/{ => img}/home/icon-set.png (100%) rename static/{ => img}/home/left-kuang.png (100%) rename static/{ => img}/home/logo-bottom.png (100%) rename static/{ => img}/home/logo.png (100%) rename static/{ => img}/home/right-back.png (100%) rename static/{ => img}/home/slices.png (100%) rename static/{ => img}/home/title-bottom-01.png (100%) rename static/{ => img}/home/title-bottom-02.png (100%) rename static/{ => img}/kindergartenIntroduce/chahua-01.png (100%) rename static/{ => img}/kindergartenIntroduce/icon-back.png (100%) rename static/{ => img}/kindergartenIntroduce/icon-browse.png (100%) rename static/{ => img}/kindergartenIntroduce/icon-choose.png (100%) rename static/{ => img}/kindergartenIntroduce/icon-new.png (100%) rename static/{ => img}/kindergartenIntroduce/icon-notice-msg.png (100%) rename static/{ => img}/kindergartenIntroduce/icon-notice.png (100%) rename static/{ => img}/kindergartenIntroduce/icon-parkIntroduce.png (100%) rename static/{ => img}/kindergartenIntroduce/icon-teacher-style.png (100%) rename static/{ => img}/seconds/tu-01.png (100%) rename static/{ => img}/weather/1.png (100%) rename static/{ => img}/weather/2.png (100%) rename static/{ => img}/weather/3.png (100%) rename static/{ => img}/weather/4.png (100%) rename static/{ => img}/weather/5.png (100%) rename static/{ => img}/weather/6.png (100%) rename static/{ => img}/weather/7.png (100%) rename static/{ => img}/weather/8.png (100%) rename static/{ => img}/weather/9.png (100%) diff --git a/build/utils.js b/build/utils.js index e534fb0..4125875 100644 --- a/build/utils.js +++ b/build/utils.js @@ -47,6 +47,7 @@ exports.cssLoaders = function (options) { if (options.extract) { return ExtractTextPlugin.extract({ use: loaders, + publicPath:'../../', fallback: 'vue-style-loader' }) } else { diff --git a/build/webpack.dev.conf.js b/build/webpack.dev.conf.js index 070ae22..d6482f7 100644 --- a/build/webpack.dev.conf.js +++ b/build/webpack.dev.conf.js @@ -60,7 +60,7 @@ const devWebpackConfig = merge(baseWebpackConfig, { // copy custom static assets new CopyWebpackPlugin([ { - from: path.resolve(__dirname, '../static'), + from: path.resolve(__dirname, '../static/img'), to: config.dev.assetsSubDirectory, ignore: ['.*'] } diff --git a/build/webpack.prod.conf.js b/build/webpack.prod.conf.js index d9f99f6..8248056 100644 --- a/build/webpack.prod.conf.js +++ b/build/webpack.prod.conf.js @@ -111,7 +111,7 @@ const webpackConfig = merge(baseWebpackConfig, { // copy custom static assets new CopyWebpackPlugin([ { - from: path.resolve(__dirname, '../static'), + from: path.resolve(__dirname, '../static/img'), to: config.build.assetsSubDirectory, ignore: ['.*'] } diff --git a/config/index.js b/config/index.js index c5eded7..1f0f155 100644 --- a/config/index.js +++ b/config/index.js @@ -43,7 +43,7 @@ module.exports = { // Paths assetsRoot: path.resolve(__dirname, '../dist'), assetsSubDirectory: 'static', - assetsPublicPath: '/', + assetsPublicPath: './', /** * Source Maps diff --git a/package-lock.json b/package-lock.json index 434bdc8..8f78f09 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11658,9 +11658,9 @@ "integrity": "sha1-UkKUktY8YuuYmATBFVLj0i53kwM=", "dev": true }, - "node_modules/static-extend": { + "node_modules../../static/img-extend": { "version": "0.1.2", - "resolved": "https://registry.nlark.com/static-extend/download/static-extend-0.1.2.tgz", + "resolved": "https://registry.nlark.com../../static/img-extend/download../../static/img-extend-0.1.2.tgz", "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", "dev": true, "dependencies": { @@ -11671,7 +11671,7 @@ "node": ">=0.10.0" } }, - "node_modules/static-extend/node_modules/define-property": { + "node_modules../../static/img-extend/node_modules/define-property": { "version": "0.2.5", "resolved": "https://registry.nlark.com/define-property/download/define-property-0.2.5.tgz", "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", @@ -11683,7 +11683,7 @@ "node": ">=0.10.0" } }, - "node_modules/static-extend/node_modules/is-accessor-descriptor": { + "node_modules../../static/img-extend/node_modules/is-accessor-descriptor": { "version": "0.1.6", "resolved": "https://registry.nlark.com/is-accessor-descriptor/download/is-accessor-descriptor-0.1.6.tgz", "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", @@ -11695,7 +11695,7 @@ "node": ">=0.10.0" } }, - "node_modules/static-extend/node_modules/is-accessor-descriptor/node_modules/kind-of": { + "node_modules../../static/img-extend/node_modules/is-accessor-descriptor/node_modules/kind-of": { "version": "3.2.2", "resolved": "https://registry.npm.taobao.org/kind-of/download/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", @@ -11707,7 +11707,7 @@ "node": ">=0.10.0" } }, - "node_modules/static-extend/node_modules/is-data-descriptor": { + "node_modules../../static/img-extend/node_modules/is-data-descriptor": { "version": "0.1.4", "resolved": "https://registry.nlark.com/is-data-descriptor/download/is-data-descriptor-0.1.4.tgz", "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", @@ -11719,7 +11719,7 @@ "node": ">=0.10.0" } }, - "node_modules/static-extend/node_modules/is-data-descriptor/node_modules/kind-of": { + "node_modules../../static/img-extend/node_modules/is-data-descriptor/node_modules/kind-of": { "version": "3.2.2", "resolved": "https://registry.npm.taobao.org/kind-of/download/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", @@ -11731,7 +11731,7 @@ "node": ">=0.10.0" } }, - "node_modules/static-extend/node_modules/is-descriptor": { + "node_modules../../static/img-extend/node_modules/is-descriptor": { "version": "0.1.6", "resolved": "https://registry.nlark.com/is-descriptor/download/is-descriptor-0.1.6.tgz", "integrity": "sha1-Nm2CQN3kh8pRgjsaufB6EKeCUco=", @@ -11745,7 +11745,7 @@ "node": ">=0.10.0" } }, - "node_modules/static-extend/node_modules/kind-of": { + "node_modules../../static/img-extend/node_modules/kind-of": { "version": "5.1.0", "resolved": "https://registry.npm.taobao.org/kind-of/download/kind-of-5.1.0.tgz", "integrity": "sha1-cpyR4thXt6QZofmqZWhcTDP1hF0=", @@ -23807,7 +23807,7 @@ }, "static-extend": { "version": "0.1.2", - "resolved": "https://registry.nlark.com/static-extend/download/static-extend-0.1.2.tgz", + "resolved": "https://registry.nlark.com../../static/img-extend/download../../static/img-extend-0.1.2.tgz", "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", "dev": true, "requires": { diff --git a/src/assets/css/electron.css b/src/assets/css/electron.css index ecebd46..a244478 100644 --- a/src/assets/css/electron.css +++ b/src/assets/css/electron.css @@ -35,7 +35,7 @@ img { display: flex; justify-content: center; align-items: center; - background: url(/static/home/logo-bottom.png) no-repeat; + background: url(/static/img/home/logo-bottom.png) no-repeat; background-size: 100% 100%; width: 177px; height: 162px; @@ -71,12 +71,12 @@ img { } .activeTitle { color: #FFFFFF; - background: url(/static/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/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/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/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/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/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/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; @@ -372,6 +372,11 @@ img { margin-top: 57px; margin-bottom: 110px; display: flex; + overflow: hidden; + overflow-y: scroll; +} +.babyalbum-box::-webkit-scrollbar,.attendance-box::-webkit-scrollbar{ + display: none; } .attendance-left { min-width: 230px; @@ -392,7 +397,7 @@ img { .attendance-left-item-box {display: flex;align-items: center;font-size: 24px;color: #FFE68F;width: 100%;height: 76px;padding: 0 10px;} .attendance-active {background-color: #6348b0;} .attendance-left-item-box img{width: 20px;height: 20px;margin-right: 10px;} -.attendance-right .attendance-right-item-box { +.attendance-right-item-box { display: flex; flex-direction: column; align-items: center; @@ -528,10 +533,10 @@ img { .notice-title div{font-size: 18px;color: #3F3F3F;font-weight: bold;} .noticeInfo-time {font-size: 14px;color: #959595;} /* 新闻动态 */ -.news-box {display: flex;border-bottom: 1px solid #D3D3D3;padding-bottom: 18px;margin-top: 18px;} +.news-box {display: flex;border-bottom: 1px solid #D3D3D3;padding-bottom: 18px;margin-top: 18px;height: 194px;} .news-box:first-child {margin-top: 0px;} .news-img {width: 202px;height: auto;object-fit: cover;margin-right: 20px;flex-shrink: 0;} -.news-right-box {display: flex;flex-direction: column;justify-content: space-between;} +.news-right-box {display: flex;flex-direction: column;justify-content: space-between;width: 100%;} .news-content-box {display: flex;justify-content: space-between;align-items: flex-end;} .news-content-box .clips1 {font-size: 20px;font-weight: 800;color: #3F3F3F;margin-right: 30px;} .new-time-box {font-size: 14px;font-weight: 500;color: #959595;flex-shrink: 0;width: 170px;display: flex;justify-content: space-between;} @@ -542,7 +547,7 @@ img { /* 教师风采 */ .teacher-title {text-align: left;padding-right: 50px;} .teacher-content-box {border-top: 1px solid #D3D3D3;margin-top: 18px;padding-top: 23px;display: flex;} -.teacher-img {width: 208px;height: 208px;border-radius: 100%;border: 5px solid #ECE6FF;flex-shrink: 0;margin-right: 58px;} +.teacher-img {width: 208px;height: 208px;border-radius: 100%;border: 5px solid #ECE6FF;flex-shrink: 0;margin-right: 58px;object-fit: cover;} .teacher-right-box {font-size: 16px;color: #666666;line-height: 30px;} /* 宝宝相册详情 */ .babyalbum-detail-box { diff --git a/src/assets/css/swiper-bundle.min.css b/src/assets/css/swiper-bundle.min.css new file mode 100644 index 0000000..4e7349d --- /dev/null +++ b/src/assets/css/swiper-bundle.min.css @@ -0,0 +1,13 @@ +/** + * Swiper 6.8.1 + * Most modern mobile touch slider and framework with hardware accelerated transitions + * https://swiperjs.com + * + * Copyright 2014-2021 Vladimir Kharlampidi + * + * Released under the MIT License + * + * Released on: August 3, 2021 + */ + +@font-face{font-family:swiper-icons;src:url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA') format('woff');font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}.swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-container-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-container-multirow>.swiper-wrapper{flex-wrap:wrap}.swiper-container-multirow-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-container-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-container-pointer-events{touch-action:pan-y}.swiper-container-pointer-events.swiper-container-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-container-3d{perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-container-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-container-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-container-horizontal.swiper-container-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-container-vertical.swiper-container-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;text-transform:none;font-variant:initial;line-height:1}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{left:10px;right:auto}.swiper-button-prev:after,.swiper-container-rtl .swiper-button-next:after{content:'prev'}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{right:10px;left:auto}.swiper-button-next:after,.swiper-container-rtl .swiper-button-prev:after{content:'next'}.swiper-button-next.swiper-button-white,.swiper-button-prev.swiper-button-white{--swiper-navigation-color:#ffffff}.swiper-button-next.swiper-button-black,.swiper-button-prev.swiper-button-black{--swiper-navigation-color:#000000}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:50%;background:#000;opacity:.2}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:1;background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;transform:translate3d(0px,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:6px 0;display:block}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progressbar,.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-container-vertical>.swiper-pagination-progressbar{width:4px;height:100%;left:0;top:0}.swiper-pagination-white{--swiper-pagination-color:#ffffff}.swiper-pagination-black{--swiper-pagination-color:#000000}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0,0,0,.1)}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-container-vertical>.swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0,0,0,.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;animation:swiper-preloader-spin 1s infinite linear;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{100%{transform:rotate(360deg)}}.swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-container-fade.swiper-container-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-container-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube.swiper-container-rtl .swiper-slide{transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right,.swiper-container-cube .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-container-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-container-flip{overflow:visible}.swiper-container-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right,.swiper-container-flip .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden} \ No newline at end of file diff --git a/src/components/attendanceDetail.vue b/src/components/attendanceDetail.vue index 9a6cb31..361099f 100644 --- a/src/components/attendanceDetail.vue +++ b/src/components/attendanceDetail.vue @@ -15,7 +15,7 @@