1 |
- {"version":3,"sources":["webpack:///./src/views/teacher/CallNames.vue?859e","webpack:///src/views/teacher/CallNames.vue","webpack:///./src/views/teacher/CallNames.vue?48f5","webpack:///./src/views/teacher/CallNames.vue","webpack:///./src/components/MHeader.vue?563b","webpack:///./src/components/MHeader.vue?d846","webpack:///src/components/MHeader.vue","webpack:///./src/components/MHeader.vue?2e8d","webpack:///./src/components/MHeader.vue","webpack:///./src/views/teacher/CallNames.vue?75b1"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","slot","_v","_m","_l","i","key","staticRenderFns","component","class","isFixed","directives","name","rawName","value","expression","on","goBack","_t","_s","$route","meta","descrition"],"mappings":"oHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,aAAa,CAACF,EAAG,YAAYA,EAAG,WAAW,CAACE,YAAY,QAAQC,MAAM,CAAC,cAAc,kBAAkB,CAACH,EAAG,WAAW,CAACI,KAAK,WAAW,CAACR,EAAIS,GAAG,SAASL,EAAG,WAAW,CAACI,KAAK,SAAS,CAACR,EAAIS,GAAG,kBAAkBL,EAAG,WAAW,CAACI,KAAK,SAAS,CAACJ,EAAG,IAAI,CAACE,YAAY,QAAQ,CAACN,EAAIS,GAAG,8BAA8BL,EAAG,IAAI,CAACE,YAAY,WAAW,CAACF,EAAG,WAAW,CAACG,MAAM,CAAC,KAAO,cAAcP,EAAIS,GAAG,gDAAgD,MAAM,GAAGT,EAAIU,GAAG,GAAGN,EAAG,MAAM,CAACE,YAAY,WAAWN,EAAIW,GAAG,EAAI,SAASC,GAAG,OAAOR,EAAG,iBAAiB,CAACS,IAAID,GAAG,CAACR,EAAG,WAAW,CAACE,YAAY,YAAYC,MAAM,CAAC,QAAS,EAAK,QAAS,IAAQ,CAACH,EAAG,WAAW,CAACI,KAAK,QAAQ,CAACJ,EAAG,MAAM,CAACE,Y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,OAAOE,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,SAAS,CAACE,YAAY,eAAeU,MAAM,CAAChB,EAAIiB,QAAU,QAAU,KAAK,CAACb,EAAG,MAAM,CAACc,WAAW,CAAC,CAACC,KAAK,OAAOC,QAAQ,SAASC,MAAOrB,EAAU,OAAEsB,WAAW,WAAWhB,YAAY,kBAAkBiB,GAAG,CAAC,MAAQvB,EAAIwB,SAAS,CAACpB,EAAG,WAAW,CAACE,YAAY,aAAaC,MAAM,CAAC,KAAO,iBAAiB,GAAGH,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAACN,EAAIyB,GAAG,UAAU,CAACzB,EAAIS,GAAGT,EAAI0B,GAAG1B,EAAImB,KAAOnB,EAAImB,KAAOlB,KAAK0B,OAAOC,KAAKC,gBAAgB,GAAGzB,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAACN,EAAIyB,GAAG,UAAU,QAC3mBX,EAAkB,GCsBtB,GACE,KAAF,UACE,MAAF,CACI,KAAJ,OACI,OAAJ,CACM,KAAN,QACM,SAAN,GAEI,QAAJ,CACM,KAAN,QACM,SAAN,GAEI,QAAJ,CACM,KAAN,OACM,QAAN,WACQ,MAAR,CACU,SAAV,KACU,KAAV,GACU,OAAV,OAKE,QAAF,CACI,OADJ,WAEM,IAAN,eAEA,8BACQ,EAAR,WAEA,OACU,KAAV,cACY,KAAZ,OACY,MAAZ,WAGU,QAAV,UC3DiV,I,wBCQ7UC,EAAY,eACd,EACAhB,EACAe,GACA,EACA,KACA,WACA,MAIa,OAAAC,E,6CCnBf,yBAA4jB,EAAG","file":"js/CallNames.99565f8e.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"callnames\"},[_c('m-header'),_c('van-cell',{staticClass:\"title\",attrs:{\"title-class\":\"title-content\"}},[_c('template',{slot:\"default\"},[_vm._v(\"孙老师\")]),_c('template',{slot:\"title\"},[_vm._v(\"武汉小学乐团·长笛基础课\")]),_c('template',{slot:\"label\"},[_c('p',{staticClass:\"time\"},[_vm._v(\"09月12日(星期一) 13:00-13:45\")]),_c('p',{staticClass:\"address\"},[_c('van-icon',{attrs:{\"name\":\"location\"}}),_vm._v(\"\\n 湖北省武汉市红领巾小学\\n \")],1)])],2),_vm._m(0),_c('div',{staticClass:\"section\"},_vm._l((6),function(i){return _c('van-cell-group',{key:i},[_c('van-cell',{staticClass:\"btn-group\",attrs:{\"center\":true,\"border\":false}},[_c('template',{slot:\"icon\"},[_c('img',{staticClass:\"logo\",attrs:{\"src\":\"http://dev.dayaedu.com/img/teacher1.91bf990d.png\",\"alt\":\"\"}})]),_c('template',{slot:\"title\"},[_vm._v(\"阿曼湾\")]),_c('template',{slot:\"label\"},[_c('span',[_vm._v(\"长笛\")]),_c('span',[_vm._v(\"合奏课1班\")])])],2),_c('van-cell',{staticClass:\"btn-group\"},[_c('van-button',{attrs:{\"round\":\"\",\"type\":\"danger\"}},[_vm._v(\"请假\")]),_c('van-button',{attrs:{\"round\":\"\",\"type\":\"primary\"}},[_vm._v(\"未到\")]),_c('van-button',{attrs:{\"round\":\"\",\"type\":\"info\"}},[_vm._v(\"到课\")])],1)],1)}),1),_c('div',{staticClass:\"button-group\"},[_c('van-button',{attrs:{\"type\":\"default\"}},[_vm._v(\"全到\")]),_c('van-button',{attrs:{\"type\":\"primary\"}},[_vm._v(\"点名完成\")])],1)],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"name-info\"},[_c('span',[_vm._v(\"共有:30\")]),_c('span',[_vm._v(\"实有:30\")]),_c('span',[_vm._v(\"请假:30\")])])}]\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"callnames\">\r\n <m-header />\r\n\r\n <van-cell class=\"title\" title-class=\"title-content\">\r\n <template slot=\"default\">孙老师</template>\r\n <template slot=\"title\">武汉小学乐团·长笛基础课</template>\r\n <template slot=\"label\">\r\n <p class=\"time\">09月12日(星期一) 13:00-13:45</p>\r\n <p class=\"address\">\r\n <van-icon name=\"location\" />\r\n 湖北省武汉市红领巾小学\r\n </p>\r\n </template>\r\n </van-cell>\r\n\r\n <div class=\"name-info\">\r\n <span>共有:30</span>\r\n <span>实有:30</span>\r\n <span>请假:30</span>\r\n </div>\r\n\r\n <div class=\"section\">\r\n <van-cell-group v-for=\"i in 6\" :key=\"i\">\r\n <van-cell class=\"btn-group\" :center=\"true\" :border=\"false\">\r\n <template slot=\"icon\">\r\n <img class=\"logo\" src=\"http://dev.dayaedu.com/img/teacher1.91bf990d.png\" alt=\"\">\r\n </template>\r\n <template slot=\"title\">阿曼湾</template>\r\n <template slot=\"label\"><span>长笛</span><span>合奏课1班</span></template>\r\n </van-cell>\r\n <van-cell class=\"btn-group\">\r\n <van-button round type=\"danger\">请假</van-button>\r\n <van-button round type=\"primary\">未到</van-button>\r\n <van-button round type=\"info\">到课</van-button>\r\n </van-cell>\r\n </van-cell-group>\r\n </div>\r\n\r\n <div class=\"button-group\">\r\n <van-button type=\"default\">全到</van-button>\r\n <van-button type=\"primary\">点名完成</van-button>\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\nimport MHeader from '@/components/MHeader'\r\nexport default {\r\n name: 'callnames',\r\n components: { MHeader }\r\n}\r\n</script>\r\n<style lang='less' scoped>\r\n@import url(\"../../assets/commonLess/variable.less\");\r\n.title { \r\n padding: .16rem;\r\n}\r\n.title-content {\r\n font-size: .18rem !important;\r\n font-weight: bold;\r\n .van-cell__label {\r\n font-weight: 400;\r\n color: @mFontColor;\r\n margin-top: .06rem;\r\n .time {\r\n font-size: .16rem;\r\n }\r\n .address {\r\n padding-top: .03rem;\r\n font-size: .14rem;\r\n display: flex;\r\n align-items: center;\r\n }\r\n }\r\n .van-icon-location {\r\n margin-right: .03rem;\r\n color: @mColor;\r\n }\r\n}\r\n/deep/.van-cell__title {\r\n font-size: .14rem;\r\n color: @mFontColor;\r\n flex: 1 auto;\r\n}\r\n/deep/.van-cell__value, /deep/.van-cell__label {\r\n color: @sFontColor;\r\n}\r\n/deep/.van-cell__label {\r\n margin-top: 0;\r\n span {\r\n padding-right: .1rem;\r\n }\r\n}\r\n.name-info {\r\n color: @mFontColor;\r\n padding: .09rem .16rem;\r\n span {\r\n padding-right: .15rem;\r\n }\r\n}\r\n.logo {\r\n width: .35rem;\r\n height: .35rem;\r\n margin-right: .12rem;\r\n}\r\n.btn-group {\r\n &:first-child {\r\n padding-bottom: .12rem;\r\n }\r\n &:last-child {\r\n padding-top: 0;\r\n padding-left: .63rem;\r\n }\r\n .van-button {\r\n padding: .04rem .24rem;\r\n height: auto;\r\n line-height: 1.5;\r\n font-size: .16rem;\r\n margin-right: .16rem;\r\n &:last-child {\r\n margin-right: 0;\r\n }\r\n }\r\n .van-button--danger {\r\n background-color: @redColor;\r\n border: 1px solid @redColor;\r\n }\r\n .van-button--primary {\r\n background-color: #FFC10D;\r\n border: 1px solid #FFC10D;\r\n }\r\n}\r\n.section{\r\n margin-bottom: .82rem;\r\n}\r\n\r\n.button-group {\r\n position: fixed;\r\n bottom: 0;\r\n left: 0;\r\n z-index: 99;\r\n width: 100%;\r\n box-shadow:0 .02rem .07rem 0 rgba(0,0,0,0.16);\r\n display: flex;\r\n .van-button { \r\n flex: 1;\r\n height: .52rem;\r\n line-height: .5rem;\r\n font-size: .16rem;\r\n }\r\n .van-button--default {\r\n color: @mFontColor;\r\n }\r\n .van-button--primary {\r\n background: @mColor;\r\n border-color: @mColor;\r\n }\r\n}\r\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CallNames.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CallNames.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CallNames.vue?vue&type=template&id=528cb71b&scoped=true&\"\nimport script from \"./CallNames.vue?vue&type=script&lang=js&\"\nexport * from \"./CallNames.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CallNames.vue?vue&type=style&index=0&id=528cb71b&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"528cb71b\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/index.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MHeader.vue?vue&type=style&index=0&id=61d0e2e4&lang=less&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/index.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MHeader.vue?vue&type=style&index=0&id=61d0e2e4&lang=less&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mheader\"},[_c('header',{staticClass:\"m-nav-header\",class:[_vm.isFixed ? 'fixed' : '']},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isBack),expression:\"isBack\"}],staticClass:\"m-nav-bar__left\",on:{\"click\":_vm.goBack}},[_c('van-icon',{staticClass:\"arrow-left\",attrs:{\"name\":\"arrow-left\"}})],1),_c('div',{staticClass:\"m-nav-bar__title\"},[_vm._t(\"default\",[_vm._v(_vm._s(_vm.name ? _vm.name : this.$route.meta.descrition))])],2),_c('div',{staticClass:\"m-nav-bar__right\"},[_vm._t(\"right\")],2)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"mheader\">\r\n <header class=\"m-nav-header\" :class=\"[isFixed ? 'fixed' : '']\">\r\n <div class=\"m-nav-bar__left\" @click=\"goBack\" v-show=\"isBack\">\r\n <van-icon class=\"arrow-left\" name=\"arrow-left\"></van-icon>\r\n </div>\r\n <div class=\"m-nav-bar__title\">\r\n <slot>{{ name ? name : this.$route.meta.descrition }}</slot>\r\n </div>\r\n <div class=\"m-nav-bar__right\">\r\n <slot name=\"right\"></slot>\r\n </div>\r\n </header>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n/**\r\n * 插槽使用方式\r\n * <template v-slot:right>\r\n 这里\r\n </template>\r\n */\r\nexport default {\r\n name: 'mheader',\r\n props: {\r\n name: String, // 标题名称\r\n isBack: { // 是否显示返回按钮\r\n type: Boolean,\r\n default: true\r\n },\r\n isFixed: { // 是否固定顶部\r\n type: Boolean,\r\n default: true\r\n },\r\n backUrl: { // 跳转指定的URL\r\n type: Object,\r\n default: () => {\r\n return {\r\n callBack: null, // 方法\r\n path: '', // 跳转路径\r\n params: {}, // 跳转参数 目前只能用query的方式\r\n }\r\n }\r\n }\r\n },\r\n methods: {\r\n goBack() { // 返回上层\r\n let urlObj = this.backUrl\r\n // console.log(typeof urlObj.callBack)\r\n if(typeof urlObj.callBack == 'function') {\r\n urlObj.callBack()\r\n } else {\r\n if(urlObj.path) {\r\n this.$router.push({\r\n path: urlObj.path,\r\n query: urlObj.params\r\n })\r\n } else {\r\n history.go(-1)\r\n }\r\n }\r\n\r\n \r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style lang=\"less\" scoped>\r\n@import url('../assets/commonLess/variable');\r\n.mheader {\r\n height: .44rem;\r\n overflow: hidden;\r\n}\r\n.m-nav-header {\r\n position: absolute;\r\n left: 0;\r\n top: 0;\r\n width: 100%;\r\n height: .44rem;\r\n line-height: .44rem;\r\n background-color: @mColor;\r\n text-align: center;\r\n user-select: none;\r\n color: @whiteColor;\r\n &.fixed {\r\n position: fixed;\r\n z-index: 99;\r\n }\r\n .m-nav-bar__title {\r\n max-width: 60%;\r\n margin: 0 auto;\r\n color: @whiteColor;\r\n font-weight: 500;\r\n font-size: .16rem;\r\n }\r\n .m-nav-bar__left, .m-nav-bar__right {\r\n position: absolute;\r\n bottom: 0;\r\n }\r\n .m-nav-bar__left {\r\n left: .12rem;\r\n .arrow-left {\r\n font-size: .21rem;\r\n vertical-align: middle;\r\n }\r\n }\r\n .m-nav-bar__right {\r\n right: .12rem;\r\n }\r\n}\r\n</style>","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MHeader.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MHeader.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MHeader.vue?vue&type=template&id=61d0e2e4&scoped=true&\"\nimport script from \"./MHeader.vue?vue&type=script&lang=js&\"\nexport * from \"./MHeader.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MHeader.vue?vue&type=style&index=0&id=61d0e2e4&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"61d0e2e4\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CallNames.vue?vue&type=style&index=0&id=528cb71b&lang=less&scoped=true&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CallNames.vue?vue&type=style&index=0&id=528cb71b&lang=less&scoped=true&\""],"sourceRoot":""}
|