正在显示
64 个修改的文件
包含
0 行增加
和
4475 行删除
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/login/login.vue?5783","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/login/login.vue?d348","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/login/login.vue?5b4a","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/login/login.vue?e7b5","uni-app:///pages/main/my/login/login.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/login/login.vue?1931","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/login/login.vue?355a"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,qG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA8H;AAC9H;AACyD;AACL;AACsC;;;AAG1F;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,4FAAM;AACR,EAAE,qGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,gGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,uSAEN;AACP,KAAK;AACL;AACA,aAAa,wLAEN;AACP,KAAK;AACL;AACA,aAAa,6VAEN;AACP,KAAK;AACL;AACA,aAAa,yTAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChDA;AAAA;AAAA;AAAA;AAAi2B,CAAgB,myBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwCr3B,iD;;;;;AAKA;AACA,MADA,kBACA;AACA;AACA,qBADA;AAEA,iBAFA;AAGA,iMAHA;AAIA,8KAJA;AAKA;AACA,kBADA;AAEA,oBAFA,EALA;;;AAUA,GAZA;;AAcA,QAdA,oBAcA;;AAEA,YAFA;AAGA,eAHA,CAEA,QAFA;;AAKA,GAnBA;;AAqBA,QArBA,oBAqBA;;AAEA,GAvBA;;AAyBA;AACA;AACA;;AAEA,KAJA,EAzBA;;;AAgCA;AACA;AACA;AACA,kBAFA,GADA,CAhCA;;;;;AAwCA;;AAEA,eAFA,yBAEA;AACA;AACA;AACA,wGADA;;AAGA,KAPA;;AASA,cATA,wBASA;AACA;AACA,uGADA;;AAGA,KAbA;;AAeA,kBAfA,0BAeA,CAfA,EAeA;AACA;;AAEA,KAlBA;;AAoBA,kBApBA,4BAoBA;AACA;AACA;AACA;AACA,wBADA,EACA;AACA;AACA;AACA;AACA;AACA,SANA;;AAQA,KA/BA;;AAiCA,kBAjCA,0BAiCA,CAjCA,EAiCA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA,8BADA;AAEA,2BAFA;AAGA,4BAHA;AAIA,+BAJA;;AAMA,SAZA;;AAcA,KAlDA;;AAoDA,cApDA,wBAoDA;AACA;AACA,mBADA;AAEA,uBAFA;AAGA,kCAHA;AAIA,oCAJA;;AAMA,KA3DA;;AA6DA,qBA7DA,+BA6DA;AACA;AACA,qDADA;AAEA,kBAFA;;AAIA,KAlEA,EAxCA,E;;;;;;;;;;;;AC7CA;AAAA;AAAA;AAAA;AAAgnD,CAAgB,07CAAG,EAAC,C;;;;;;;;;;;ACApoD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/main/my/login/login.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import '@dcloudio/uni-stat/dist/uni-stat.es.js';\nimport Vue from 'vue'\nimport Page from './pages/main/my/login/login.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./login.vue?vue&type=template&id=3bc2128d&scoped=true&\"\nvar renderjs\nimport script from \"./login.vue?vue&type=script&lang=js&\"\nexport * from \"./login.vue?vue&type=script&lang=js&\"\nimport style0 from \"./login.vue?vue&type=style&index=0&id=3bc2128d&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3bc2128d\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/my/login/login.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./login.vue?vue&type=template&id=3bc2128d&scoped=true&\"","var components\ntry {\n components = {\n uImage: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-image/u-image\" */ \"@/uni_modules/uview-ui/components/u-image/u-image.vue\"\n )\n },\n cButton: function() {\n return import(\n /* webpackChunkName: \"components/c-button/c-button\" */ \"@/components/c-button/c-button.vue\"\n )\n },\n uCheckboxGroup: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group\" */ \"@/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue\"\n )\n },\n uCheckbox: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-checkbox/u-checkbox\" */ \"@/uni_modules/uview-ui/components/u-checkbox/u-checkbox.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./login.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./login.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"login\">\r\n\t\t<u-image width=\"100%\" height=\"100%\" :src=\"vuex_baseImgUrl+'/logo_bg.png'\" />\r\n\r\n\t\t<view class=\"box\">\r\n\r\n\t\t\t<view class=\"logo\">\r\n\t\t\t\t<u-image width=\"260rpx\" height=\"140rpx\" :src=\"vuex_baseImgUrl+'/logo.png'\" />\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"btn button_warp\">\r\n\t\t\t\t<c-button type=\"confirm\" shape=\"circle\"\r\n\t\t\t\t\t:customStyle=\"{borderRadius:'48rpx',fontSize:'34rpx',color:'#fff',fontWeight:'400'}\" text=\"微信一键登录\"\r\n\t\t\t\t\t:disabled=\"isDisable\" openType=\"getPhoneNumber\" @getPhoneNumber=\"getPhoneNumber\"\r\n\t\t\t\t\t@click=\"getUserProfile\"></c-button>\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"changeLogin\" @click=\"handelMobileLogin\">\r\n\t\t\t\t手机号码登录/注册\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"agreement\">\r\n\t\t\t\t<view class=\"check\">\r\n\t\t\t\t\t<u-checkbox-group @change=\"checkboxChange\" v-model=\"checked\">\r\n\t\t\t\t\t\t<u-checkbox size=\"30\" activeColor=\"#0CB17A\" shape=\"circle\">\r\n\t\t\t\t\t\t</u-checkbox>\r\n\t\t\t\t\t</u-checkbox-group>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"text\">\r\n\t\t\t\t\t<text>您已阅读理解并同意</text>\r\n\t\t\t\t\t<text class=\"span\" @click=\"linkService\">《优学乐业服务协议》、</text>\r\n\t\t\t\t\t<text class=\"span\" @click=\"linkPolicy\">《优学乐业隐私政策》</text>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tmapState,\r\n\t\tmapActions\r\n\t} from 'vuex'\r\n\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\n\t\t\t\tisDisable: true,\r\n\t\t\t\tchecked: [],\r\n\t\t\t\tservice: \"https://yxlypublic.oss-cn-beijing.aliyuncs.com/WeChat/agreement/%E3%80%8A%E4%BC%98%E5%AD%A6%E4%B9%90%E4%B8%9A%E7%94%A8%E6%88%B7%E6%9C%8D%E5%8A%A1%E5%8D%8F%E8%AE%AE%E3%80%8B.htm\",\r\n\t\t\t\tpolicy: \"https://yxlypublic.oss-cn-beijing.aliyuncs.com/WeChat/agreement/%E3%80%8A%E4%BC%98%E5%AD%A6%E4%B9%90%E4%B8%9A%E9%9A%90%E7%A7%81%E5%8D%8F%E8%AE%AE%E3%80%8B.htm\",\r\n\t\t\t\tform: {\r\n\t\t\t\t\tmobile: '',\r\n\t\t\t\t\tpassword: '',\r\n\t\t\t\t},\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tonLoad() {\r\n\t\t\tconst {\r\n\t\t\t\tdispatch\r\n\t\t\t} = this.$store;\r\n\r\n\t\t},\r\n\r\n\t\tonShow() {\r\n\r\n\t\t},\n\t\t\n\t\twatch: {\n\t\t\tchecked: function(newVal, oldVal) {\n\t\t\t\tthis.isDisable = newVal.length != 0 ? false : true;\n\t\t\t\t\n\t\t\t}\n\t\t},\r\n\r\n\t\tcomputed: {\r\n\t\t\t...mapState('user', {\r\n\t\t\t\t// 箭头函数可使代码更简练\r\n\t\t\t\tisReg: 'isReg',\r\n\r\n\t\t\t}),\r\n\t\t},\r\n\r\n\t\tmethods: {\r\n\r\n\t\t\tlinkService() {\r\n\t\t\t\tconsole.log(this)\r\n\t\t\t\tthis.$u.route({\r\n\t\t\t\t\turl: `/pages/common/webview/webview?navtitle=服务协议&url=${this.service}`,\r\n\t\t\t\t})\r\n\t\t\t},\r\n\r\n\t\t\tlinkPolicy() {\r\n\t\t\t\tthis.$u.route({\r\n\t\t\t\t\turl: `/pages/common/webview/webview?navtitle=隐私政策&url=${this.policy}`,\r\n\t\t\t\t})\r\n\t\t\t},\r\n\r\n\t\t\tcheckboxChange(n) {\n\t\t\t\tconsole.log(n)\r\n\r\n\t\t\t},\r\n\r\n\t\t\tgetUserProfile() {\r\n\t\t\t\t// 推荐使用wx.getUserProfile获取用户信息,开发者每次通过该接口获取用户个人信息均需用户确认\r\n\t\t\t\t// 开发者妥善保管用户快速填写的头像昵称,避免重复弹窗\r\n\t\t\t\twx.getUserProfile({\r\n\t\t\t\t\tdesc: '用于完善会员资料', // 声明获取用户个人信息后的用途,后续会展示在弹窗中,请谨慎填写\r\n\t\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\t\tconsole.log('getUserProfile...', res)\r\n\t\t\t\t\t\t// this.$store.commit('setWenxinUserInfo', res);\r\n\t\t\t\t\t\tthis.$u.vuex('vuex_weixinUserInfo', res.userInfo);\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\r\n\t\t\tgetPhoneNumber(e) {\r\n\t\t\t\tconsole.log(e)\r\n\r\n\t\t\t\twx.login({\r\n\t\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\t\tconsole.log(res);\r\n\r\n\t\t\t\t\t\t// this.getUserProfile();\r\n\r\n\t\t\t\t\t\tthis.$store.dispatch(`user/login`, {\r\n\t\t\t\t\t\t\tway: 'wechat_code',\r\n\t\t\t\t\t\t\ttype: 'student',\r\n\t\t\t\t\t\t\tjsCode: res.code,\r\n\t\t\t\t\t\t\tcode: e.detail.code,\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\r\n\t\t\tphoneLogin() {\r\n\t\t\t\tthis.$store.dispatch(`user/login`, {\r\n\t\t\t\t\tway: 'name',\r\n\t\t\t\t\ttype: 'student',\r\n\t\t\t\t\tusername: this.form.mobile,\r\n\t\t\t\t\tpassword: this.form.password,\r\n\t\t\t\t})\r\n\t\t\t},\r\n\r\n\t\t\thandelMobileLogin() {\r\n\t\t\t\tthis.$u.route({\r\n\t\t\t\t\turl: \"/pages/main/my/mobileLogin/mobileLogin\",\r\n\t\t\t\t\tparams: {}\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.login {\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t\tposition: relative;\r\n\r\n\t\t.box {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 100%;\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: 0;\r\n\t\t\tleft: 0;\r\n\r\n\t\t\t.logo {\r\n\t\t\t\tpadding: 156rpx 0 0 0;\r\n\t\t\t\twidth: 260rpx;\r\n\t\t\t\tmargin: 0 auto;\r\n\t\t\t}\r\n\r\n\t\t\t.changeLogin {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tmargin: 48rpx 0 0 0;\r\n\t\t\t\tfont-size: 15px;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tcolor: rgba(0, 0, 0, 0.65);\r\n\t\t\t}\r\n\r\n\t\t\t.agreement {\r\n\t\t\t\tposition: fixed;\r\n\t\t\t\tleft: 0;\r\n\t\t\t\tbottom: 34rpx;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tflex-direction: row;\r\n\t\t\t\tjustify-content: flex-start;\r\n\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\tmargin: 30rpx 0 32rpx 0;\r\n\t\t\t\tpadding: 0 50rpx;\r\n\r\n\t\t\t\t.check {\r\n\t\t\t\t\twidth: 40rpx;\r\n\t\t\t\t\tpadding: 3rpx 0 0 0;\r\n\t\t\t\t\t// display: inline-block;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.text {\r\n\t\t\t\t\t// display: inline-block;\r\n\t\t\t\t\tcolor: rgba(0, 0, 0, 0.45);\r\n\r\n\t\t\t\t\t.span {\r\n\t\t\t\t\t\tcolor: #0CB17A;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.form {\r\n\t\t\t\tmargin: 30rpx 60rpx 0px;\r\n\t\t\t}\r\n\r\n\t\t\t.btn {\r\n\t\t\t\tmargin-top: 200rpx;\r\n\t\t\t\tpadding: 0 48rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.wxLogin {\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tflex-direction: column;\r\n\t\t\t\tmargin-top: 180rpx;\r\n\r\n\t\t\t\tbutton {\r\n\t\t\t\t\tbackground-color: transparent;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tbutton::after {\r\n\t\t\t\t\tborder: initial\r\n\t\t\t\t}\r\n\r\n\t\t\t\timage {\r\n\t\t\t\t\twidth: 96rpx;\r\n\t\t\t\t\theight: 96rpx;\r\n\t\t\t\t}\r\n\r\n\t\t\t\ttext {\r\n\t\t\t\t\tmargin-top: 0rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>\n","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./login.vue?vue&type=style&index=0&id=3bc2128d&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./login.vue?vue&type=style&index=0&id=3bc2128d&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657703506898\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | |
\ No newline at end of file |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/mobileLogin/mobileLogin.vue?9176","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/mobileLogin/mobileLogin.vue?783c","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/mobileLogin/mobileLogin.vue?8cd7","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/mobileLogin/mobileLogin.vue?56a0","uni-app:///pages/main/my/mobileLogin/mobileLogin.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/mobileLogin/mobileLogin.vue?dcc9","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/mobileLogin/mobileLogin.vue?16a6"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,uH,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,oBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoI;AACpI;AAC+D;AACL;AACsC;;;AAGhG;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,iFAAM;AACR,EAAE,kGAAM;AACR,EAAE,2GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,sGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,+TAEN;AACP,KAAK;AACL;AACA,aAAa,uSAEN;AACP,KAAK;AACL;AACA,aAAa,6SAEN;AACP,KAAK;AACL;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,wLAEN;AACP,KAAK;AACL;AACA,aAAa,6VAEN;AACP,KAAK;AACL;AACA,aAAa,yTAEN;AACP,KAAK;AACL;AACA,aAAa,iPAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzEA;AAAA;AAAA;AAAA;AAAu2B,CAAgB,yyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwE33B;;;;AAIA;;;AAGA,+E;;AAEA;AACA,MADA,kBACA;AACA;AACA,0BADA;AAEA,qBAFA;AAGA,iBAHA;AAIA,iMAJA;AAKA,8KALA;AAMA;AACA,kBADA;AAEA,oBAFA,EANA;;AAUA,2BAVA;AAWA,uBAXA;;AAaA,GAfA;;AAiBA,QAjBA,oBAiBA;;AAEA,YAFA;AAGA,eAHA,CAEA,QAFA;;AAKA,GAtBA;;AAwBA,QAxBA,oBAwBA;;AAEA,GA1BA;;AA4BA;AACA;AACA;;AAEA,KAJA,EA5BA;;;;AAoCA;AACA;AACA;AACA,kBAFA,GADA,CApCA;;;;;AA4CA;;AAEA,iBAFA,2BAEA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA,KARA;;AAUA,eAVA,yBAUA;AACA;AACA;AACA,wGADA;;AAGA,KAfA;;AAiBA,cAjBA,wBAiBA;AACA;AACA,uGADA;;AAGA,KArBA;;AAuBA,kBAvBA,0BAuBA,CAvBA,EAuBA;AACA;AACA,KAzBA;;AA2BA,kBA3BA,4BA2BA;AACA;AACA;AACA;AACA,wBADA,EACA;AACA;AACA;AACA;AACA;AACA,SANA;;AAQA,KAtCA;;AAwCA,cAxCA,sBAwCA,IAxCA,EAwCA;AACA;AACA,KA1CA;;AA4CA,WA5CA,qBA4CA;;;AAGA,eAHA,CAEA,MAFA,CAEA,MAFA,kCAEA,EAFA;;AAKA;AACA;AACA,6BADA;AAEA,uBAFA;AAGA,wBAHA;;;AAMA,OAPA,MAOA;AACA;AACA;AACA;AACA,4BADA;;AAGA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,2BADA;;;AAIA,WAXA,EAWA,IAXA;AAYA,SAjBA,MAiBA;AACA;AACA;AACA;AACA,KA9EA;;AAgFA,cAhFA,wBAgFA;AACA;AACA;AACA;AACA,qBADA;AAEA,yBAFA;AAGA,iCAHA;AAIA,kCAJA;;AAMA,OAPA,MAOA;AACA;AACA;AACA,qBADA;AAEA,yBAFA;AAGA,oCAHA;AAIA,2DAJA;;AAMA;AACA,KAlGA,EA5CA,E;;;;;;;;;;;;;ACjFA;AAAA;AAAA;AAAA;AAAsnD,CAAgB,g8CAAG,EAAC,C;;;;;;;;;;;ACA1oD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/main/my/mobileLogin/mobileLogin.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import '@dcloudio/uni-stat/dist/uni-stat.es.js';\nimport Vue from 'vue'\nimport Page from './pages/main/my/mobileLogin/mobileLogin.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./mobileLogin.vue?vue&type=template&id=26ccca09&scoped=true&\"\nvar renderjs\nimport script from \"./mobileLogin.vue?vue&type=script&lang=js&\"\nexport * from \"./mobileLogin.vue?vue&type=script&lang=js&\"\nimport style0 from \"./mobileLogin.vue?vue&type=style&index=0&id=26ccca09&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"26ccca09\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/my/mobileLogin/mobileLogin.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./mobileLogin.vue?vue&type=template&id=26ccca09&scoped=true&\"","var components\ntry {\n components = {\n uForm: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-form/u-form\" */ \"@/uni_modules/uview-ui/components/u-form/u-form.vue\"\n )\n },\n uFormItem: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-form-item/u-form-item\" */ \"@/uni_modules/uview-ui/components/u-form-item/u-form-item.vue\"\n )\n },\n uInput: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-input/u-input\" */ \"@/uni_modules/uview-ui/components/u-input/u-input.vue\"\n )\n },\n uButton: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-button/u-button\" */ \"@/uni_modules/uview-ui/components/u-button/u-button.vue\"\n )\n },\n uCode: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-code/u-code\" */ \"@/uni_modules/uview-ui/components/u-code/u-code.vue\"\n )\n },\n cButton: function() {\n return import(\n /* webpackChunkName: \"components/c-button/c-button\" */ \"@/components/c-button/c-button.vue\"\n )\n },\n uCheckboxGroup: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group\" */ \"@/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue\"\n )\n },\n uCheckbox: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-checkbox/u-checkbox\" */ \"@/uni_modules/uview-ui/components/u-checkbox/u-checkbox.vue\"\n )\n },\n uToast: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-toast/u-toast\" */ \"@/uni_modules/uview-ui/components/u-toast/u-toast.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./mobileLogin.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./mobileLogin.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"login\">\r\n\t\t<view class=\"box\">\r\n\t\t\t<view v-if=\"changeLogin == '账号密码登录'\" class=\"form\">\r\n\t\t\t\t<u-form :model=\"form\" ref=\"uForm\">\r\n\t\t\t\t\t<u-form-item prop=\"mobile\"\r\n\t\t\t\t\t\t:leftIconStyle=\"{width:'40rpx',height:'40rpx', position:'relative', right:'8rpx'}\"\r\n\t\t\t\t\t\tleft-icon=\"/static/img/my/login_mobile.png\" borderBottom>\r\n\t\t\t\t\t\t<u-input v-model=\"form.mobile\" border=\"none\" maxlength='11' placeholder=\"请输入手机号\"\r\n\t\t\t\t\t\t\t:customStyle=\"{fontSize:'17px'}\" />\r\n\t\t\t\t\t</u-form-item>\r\n\t\t\t\t\t<u-form-item prop=\"verifyCode\"\r\n\t\t\t\t\t\t:leftIconStyle=\"{width:'40rpx',height:'40rpx', position:'relative', right:'8rpx'}\"\r\n\t\t\t\t\t\tleft-icon=\"/static/img/my/login_code1.png\" borderBottom>\r\n\t\t\t\t\t\t<u-input v-model=\"form.password\" border=\"none\" placeholder=\"请输入验证码\"\r\n\t\t\t\t\t\t\t:customStyle=\"{fontSize:'17px'}\" />\r\n\t\t\t\t\t\t<u-button type=\"default\" size=\"mini\" slot=\"right\" :hair-line=\"false\"\r\n\t\t\t\t\t\t\t:custom-style=\"{color:'#0CB17A', border:'none',fontSize:'30rpx'}\" @click=\"getCode\">\r\n\t\t\t\t\t\t\t{{codeText}}\r\n\t\t\t\t\t\t</u-button>\r\n\t\t\t\t\t\t<u-code ref=\"uCode\" @change=\"codeChange\"></u-code>\r\n\t\t\t\t\t</u-form-item>\r\n\t\t\t\t</u-form>\r\n\t\t\t</view>\r\n\t\t\t<view v-else class=\"form\">\r\n\t\t\t\t<u-form :model=\"form\" ref=\"uForm\">\r\n\t\t\t\t\t<u-form-item prop=\"mobile\"\r\n\t\t\t\t\t\t:left-icon-style=\"{width:'40rpx',height:'40rpx', position:'relative', right:'8rpx'}\"\r\n\t\t\t\t\t\tleft-icon=\"/static/img/my/login_mobile.png\" borderBottom>\r\n\t\t\t\t\t\t<u-input v-model=\"form.mobile\" border=\"none\" placeholder=\"请输入账号\"\r\n\t\t\t\t\t\t\t:customStyle=\"{fontSize:'17px'}\" />\r\n\t\t\t\t\t</u-form-item>\r\n\t\t\t\t\t<u-form-item prop=\"verifyCode\"\r\n\t\t\t\t\t\t:left-icon-style=\"{width:'40rpx',height:'40rpx', position:'relative', right:'8rpx'}\"\r\n\t\t\t\t\t\tleft-icon=\"/static/img/my/login_code2.png\" borderBottom>\r\n\t\t\t\t\t\t<u-input v-model=\"form.password\" border=\"none\" type='password' placeholder=\"请输入密码\"\r\n\t\t\t\t\t\t\t:customStyle=\"{fontSize:'17px'}\" />\r\n\t\t\t\t\t</u-form-item>\r\n\t\t\t\t</u-form>\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"btn button_warp\">\r\n\t\t\t\t<c-button type=\"confirm\" shape=\"circle\"\r\n\t\t\t\t\t:customStyle=\"{borderRadius:'48rpx',fontSize:'34rpx',color:'#fff',fontWeight:'400'}\" text=\"登录\"\r\n\t\t\t\t\t:disabled=\"isDisable\" @click=\"phoneLogin\"></c-button>\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"changeLogin\" @click=\"onchangeLogin\">\r\n\t\t\t\t{{changeLogin}}\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"agreement\">\r\n\t\t\t\t<view class=\"check\">\r\n\t\t\t\t\t<u-checkbox-group @change=\"checkboxChange\" v-model=\"checked\">\r\n\t\t\t\t\t\t<u-checkbox size=\"28\" activeColor=\"#0CB17A\" shape=\"circle\">\r\n\t\t\t\t\t\t</u-checkbox>\r\n\t\t\t\t\t</u-checkbox-group>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"text\">\r\n\t\t\t\t\t<text>您已阅读理解并同意</text>\r\n\t\t\t\t\t<text class=\"span\" @click=\"linkService\">《优学乐业服务协议》、</text>\r\n\t\t\t\t\t<text class=\"span\" @click=\"linkPolicy\">《优学乐业隐私政策》</text>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view>\r\n\t\t\t<u-toast ref=\"uToast\" />\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tmapState,\r\n\t\tmapActions\r\n\t} from 'vuex'\r\n\timport {\r\n\t\tgetSmsCodeApi,\r\n\t} from '@/config/api.js';\r\n\timport md5 from '@/common/md5';\r\n\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\terrorType: ['toast'],\n\t\t\t\tisDisable: true,\r\n\t\t\t\tchecked: [],\r\n\t\t\t\tservice: \"https://yxlypublic.oss-cn-beijing.aliyuncs.com/WeChat/agreement/%E3%80%8A%E4%BC%98%E5%AD%A6%E4%B9%90%E4%B8%9A%E7%94%A8%E6%88%B7%E6%9C%8D%E5%8A%A1%E5%8D%8F%E8%AE%AE%E3%80%8B.htm\",\r\n\t\t\t\tpolicy: \"https://yxlypublic.oss-cn-beijing.aliyuncs.com/WeChat/agreement/%E3%80%8A%E4%BC%98%E5%AD%A6%E4%B9%90%E4%B8%9A%E9%9A%90%E7%A7%81%E5%8D%8F%E8%AE%AE%E3%80%8B.htm\",\r\n\t\t\t\tform: {\r\n\t\t\t\t\tmobile: '',\r\n\t\t\t\t\tpassword: '',\r\n\t\t\t\t},\r\n\t\t\t\tchangeLogin: '账号密码登录',\r\n\t\t\t\tcodeText: '发送验证码',\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tonLoad() {\r\n\t\t\tconst {\r\n\t\t\t\tdispatch\r\n\t\t\t} = this.$store;\r\n\r\n\t\t},\r\n\r\n\t\tonShow() {\r\n\r\n\t\t},\n\t\t\n\t\twatch: {\n\t\t\tchecked: function(newVal, oldVal) {\n\t\t\t\tthis.isDisable = newVal.length != 0 ? false : true;\n\t\t\t\t\n\t\t\t}\n\t\t},\n\t\t\r\n\r\n\t\tcomputed: {\r\n\t\t\t...mapState('user', {\r\n\t\t\t\t// 箭头函数可使代码更简练\r\n\t\t\t\tisReg: 'isReg',\r\n\r\n\t\t\t}),\r\n\t\t},\r\n\r\n\t\tmethods: {\r\n\r\n\t\t\tonchangeLogin() {\r\n\t\t\t\tif (this.changeLogin == '验证码登录') {\r\n\t\t\t\t\tthis.changeLogin = '账号密码登录';\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.changeLogin = '验证码登录';\r\n\t\t\t\t}\r\n\t\t\t},\r\n\r\n\t\t\tlinkService() {\r\n\t\t\t\tconsole.log(this)\r\n\t\t\t\tthis.$u.route({\r\n\t\t\t\t\turl: `/pages/common/webview/webview?navtitle=服务协议&url=${this.service}`,\r\n\t\t\t\t})\r\n\t\t\t},\r\n\r\n\t\t\tlinkPolicy() {\r\n\t\t\t\tthis.$u.route({\r\n\t\t\t\t\turl: `/pages/common/webview/webview?navtitle=隐私政策&url=${this.policy}`,\r\n\t\t\t\t})\r\n\t\t\t},\r\n\r\n\t\t\tcheckboxChange(n) {\r\n\t\t\t\t// console.log(n)\r\n\t\t\t},\r\n\r\n\t\t\tgetUserProfile() {\r\n\t\t\t\t// 推荐使用wx.getUserProfile获取用户信息,开发者每次通过该接口获取用户个人信息均需用户确认\r\n\t\t\t\t// 开发者妥善保管用户快速填写的头像昵称,避免重复弹窗\r\n\t\t\t\twx.getUserProfile({\r\n\t\t\t\t\tdesc: '用于完善会员资料', // 声明获取用户个人信息后的用途,后续会展示在弹窗中,请谨慎填写\r\n\t\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\t\tconsole.log('getUserProfile...', res)\r\n\t\t\t\t\t\t// this.$store.commit('setWenxinUserInfo', res);\r\n\t\t\t\t\t\tthis.$u.vuex('vuex_weixinUserInfo', res.userInfo);\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\r\n\t\t\tcodeChange(text) {\r\n\t\t\t\tthis.codeText = text;\r\n\t\t\t},\r\n\r\n\t\t\tgetCode() {\r\n\t\t\t\tconst {\r\n\t\t\t\t\tmobile = ''\r\n\t\t\t\t} = this.form;\r\n\r\n\t\t\t\tif (!(mobile && /^1[0-9]{10}$/.test(mobile))) {\r\n\t\t\t\t\tthis.$refs.uToast.show({\r\n\t\t\t\t\t\tmessage: '请填写正确手机号',\r\n\t\t\t\t\t\ttype: 'error',\r\n\t\t\t\t\t\tduration: 1500,\r\n\t\t\t\t\t})\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\tif (this.$refs.uCode.canGetCode) {\r\n\t\t\t\t\t\t// 模拟向后端请求验证码\r\n\t\t\t\t\t\tuni.showLoading({\r\n\t\t\t\t\t\t\ttitle: '正在获取验证码'\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\tuni.hideLoading();\r\n\t\t\t\t\t\t\t// 通知验证码组件内部开始倒计时\r\n\t\t\t\t\t\t\tthis.$refs.uCode.start();\r\n\r\n\t\t\t\t\t\t\tconsole.log(mobile)\r\n\r\n\t\t\t\t\t\t\tgetSmsCodeApi({\r\n\t\t\t\t\t\t\t\tphone: mobile\r\n\t\t\t\t\t\t\t})\r\n\r\n\t\t\t\t\t\t}, 1000);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.$u.toast('倒计时结束后再发送');\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\r\n\t\t\tphoneLogin() {\r\n\t\t\t\t// this.getUserProfile();\r\n\t\t\t\tif (this.changeLogin == '账号密码登录') {\r\n\t\t\t\t\tthis.$store.dispatch(`user/login`, {\r\n\t\t\t\t\t\tway: 'code',\r\n\t\t\t\t\t\ttype: 'student',\r\n\t\t\t\t\t\tphone: this.form.mobile,\r\n\t\t\t\t\t\tcode: this.form.password,\r\n\t\t\t\t\t})\r\n\t\t\t\t} else {\r\n\t\t\t\t\tconsole.log(md5.hex_md5(this.form.password));\r\n\t\t\t\t\tthis.$store.dispatch(`user/login`, {\r\n\t\t\t\t\t\tway: 'name',\r\n\t\t\t\t\t\ttype: 'student',\r\n\t\t\t\t\t\tusername: this.form.mobile,\r\n\t\t\t\t\t\tpassword: md5.hex_md5(this.form.password),\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t}\r\n\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.login {\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t\tposition: relative;\r\n\r\n\t\t.box {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 100%;\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: 0;\r\n\t\t\tleft: 0;\r\n\r\n\t\t\t.logo {\r\n\t\t\t\tpadding: 156rpx 0 0 0;\r\n\t\t\t\twidth: 120rpx;\r\n\t\t\t\tmargin: 0 auto;\r\n\t\t\t}\r\n\r\n\t\t\t.name {\r\n\t\t\t\tmargin: 32rpx 0 0 0;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tfont-size: 48rpx;\r\n\t\t\t\tline-height: 66rpx;\r\n\t\t\t\tcolor: #000000;\r\n\t\t\t\tfont-weight: 600;\r\n\t\t\t}\r\n\r\n\t\t\t.changeLogin {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tmargin: 48rpx 0 0 0;\r\n\t\t\t\tfont-size: 15px;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tcolor: #0CB17A;\r\n\t\t\t}\r\n\r\n\t\t\t.agreement {\r\n\t\t\t\tposition: fixed;\r\n\t\t\t\tleft: 0;\r\n\t\t\t\tbottom: 34rpx;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tflex-direction: row;\r\n\t\t\t\tjustify-content: flex-start;\r\n\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\tmargin: 30rpx 0 32rpx 0;\r\n\t\t\t\tpadding: 0 50rpx;\r\n\r\n\t\t\t\t.check {\r\n\t\t\t\t\twidth: 40rpx;\r\n\t\t\t\t\tpadding: 5rpx 0 0 0;\r\n\t\t\t\t\t// display: inline-block;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.text {\r\n\t\t\t\t\t// display: inline-block;\r\n\t\t\t\t\tcolor: rgba(0, 0, 0, 0.45);\r\n\r\n\t\t\t\t\t.span {\r\n\t\t\t\t\t\tcolor: #0CB17A;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.form {\r\n\t\t\t\tmargin: 128rpx 60rpx 0px;\r\n\t\t\t}\r\n\r\n\t\t\t.btn {\r\n\t\t\t\tmargin-top: 128rpx;\r\n\t\t\t\tpadding: 0 48rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.wxLogin {\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tflex-direction: column;\r\n\t\t\t\tmargin-top: 180rpx;\r\n\r\n\t\t\t\tbutton {\r\n\t\t\t\t\tbackground-color: transparent;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tbutton::after {\r\n\t\t\t\t\tborder: initial\r\n\t\t\t\t}\r\n\r\n\t\t\t\timage {\r\n\t\t\t\t\twidth: 96rpx;\r\n\t\t\t\t\theight: 96rpx;\r\n\t\t\t\t}\r\n\r\n\t\t\t\ttext {\r\n\t\t\t\t\tmargin-top: 0rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>\n","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./mobileLogin.vue?vue&type=style&index=0&id=26ccca09&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./mobileLogin.vue?vue&type=style&index=0&id=26ccca09&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657703506905\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | |
\ No newline at end of file |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/internship/internship.vue?0fd3","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/internship/internship.vue?7d42","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/internship/internship.vue?6853","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/internship/internship.vue?9f9d","uni-app:///pages/tabBar/internship/internship.vue"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,mH,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,mBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAmI;AACnI;AAC8D;AACL;;;AAGzD;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,gFAAM;AACR,EAAE,iGAAM;AACR,EAAE,0GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,qGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACtBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAu1B,CAAgB,wyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;ACQ32B;AACA,MADA,kBACA;AACA;;;AAGA,GALA;;AAOA,QAPA,oBAOA,EAPA;;AASA,QATA,oBASA;;AAEA,GAXA;;AAaA,aAbA,E","file":"pages/tabBar/internship/internship.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import '@dcloudio/uni-stat/dist/uni-stat.es.js';\nimport Vue from 'vue'\nimport Page from './pages/tabBar/internship/internship.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./internship.vue?vue&type=template&id=b3f92cd2&scoped=true&\"\nvar renderjs\nimport script from \"./internship.vue?vue&type=script&lang=js&\"\nexport * from \"./internship.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b3f92cd2\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/tabBar/internship/internship.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./internship.vue?vue&type=template&id=b3f92cd2&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./internship.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./internship.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"internship\">\r\n\t\t\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\t\r\n\t\t\t};\r\n\t\t},\r\n\r\n\t\tonLoad() {},\r\n\r\n\t\tasync onShow() {\r\n\t\t\t\r\n\t\t},\r\n\r\n\t\tmethods: {\r\n\t\t\t\r\n\t\t},\r\n\t};\r\n</script>\n\r\n<style lang=\"scss\" scoped>\r\n\r\n\t\r\n</style>\n"],"sourceRoot":""} | |
\ No newline at end of file |
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-button/u-button.js.map
已删除
100644 → 0
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-button/u-button.vue?3bf8","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-button/u-button.vue?53fb","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-button/u-button.vue?d6f5","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-button/u-button.vue?caf8","uni-app:///uni_modules/uview-ui/components/u-button/u-button.vue","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-button/u-button.vue?3907","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-button/u-button.vue?665a"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,iVAEN;AACP,KAAK;AACL;AACA,aAAa,iSAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpDA;AAAA;AAAA;AAAA;AAAo2B,CAAgB,syBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC+Gx3B;AACA;AACA,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA2CA,EACA,gBADA,EAGA,0FAHA,EAQA,IARA,kBAQA,CACA,UACA,CAVA,EAWA,YACA;AACA,YAFA,sBAEA,CACA;AACA,wBACA,gBACA,QADA,EAEA,yBAFA,EAGA,iCAHA,EAKA,CANA,MAMA,CACA;AACA,wBACA,QADA,EAEA,iBAFA,EAGA,iCAHA,EAKA,CACA,CAlBA,EAmBA,YAnBA,0BAmBA,CACA,iBACA;AACA,4BACA,UADA,GAEA,2CAFA,CAGA,CACA,2BACA,iBACA,CACA,4BACA,CA9BA,EA+BA,YA/BA,0BA+BA,CACA;AACA;AACA,gDACA,iBACA,2CACA,CAFA,MAEA,CACA,oDACA,CACA,CAxCA,EAyCA,SAzCA,uBAyCA,CACA,eACA,iBACA;AACA,wDACA,kBACA;AACA,iDACA,CACA,4CACA;AACA;AACA;AACA,mCACA,2BACA,4BACA,0BACA,kBACA,mCACA,CACA,CAXA,MAWA,CACA;AACA,yCACA,0BACA,4BACA,CACA,CACA,aACA,CArEA,EAsEA;AACA,iBAvEA,2BAuEA,CACA,eADA,CAEA;AACA,iCACA,wBACA,CACA,iBACA,gDACA,CACA,sCACA,aACA,CAlFA,EAmFA;AACA,YApFA,sBAoFA,CACA,kBACA,IADA,GACA,IADA,CACA,IADA,CAEA,oCACA,qCACA,oCACA,mCACA,gBACA,CA5FA,EAXA,EAyGA,WACA,YADA,0BACA,mBACA;AACA,4CACA;AACA,qCACA,qBACA,CAFA,EAEA,iBAFA,EAGA,CACA,CATA,EAUA;AACA,kBAXA,0BAWA,GAXA,EAWA,CACA,kCACA,CAbA,EAcA,WAdA,uBAcA,GAdA,EAcA,CACA,+BACA,CAhBA,EAiBA,KAjBA,iBAiBA,GAjBA,EAiBA,CACA,yBACA,CAnBA,EAoBA,WApBA,uBAoBA,GApBA,EAoBA,CACA;AACA,KAtBA;AAuBA,aAvBA,qBAuBA,GAvBA,EAuBA;AACA;AACA,KAzBA,EAzGA,E;;;;;;;;;;;;;AC7JA;AAAA;AAAA;AAAA;AAAmnD,CAAgB,67CAAG,EAAC,C;;;;;;;;;;;ACAvoD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uni_modules/uview-ui/components/u-button/u-button.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-button.vue?vue&type=template&id=2bf0e569&scoped=true&\"\nvar renderjs\nimport script from \"./u-button.vue?vue&type=script&lang=js&\"\nexport * from \"./u-button.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-button.vue?vue&type=style&index=0&id=2bf0e569&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2bf0e569\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uni_modules/uview-ui/components/u-button/u-button.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-button.vue?vue&type=template&id=2bf0e569&scoped=true&\"","var components\ntry {\n components = {\n uLoadingIcon: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-loading-icon/u-loading-icon\" */ \"@/uni_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue\"\n )\n },\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-icon/u-icon\" */ \"@/uni_modules/uview-ui/components/u-icon/u-icon.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.__get_style([_vm.baseColor, _vm.$u.addStyle(_vm.customStyle)])\n\n var m0 = Number(_vm.hoverStartTime)\n var m1 = Number(_vm.hoverStayTime)\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n m0: m0,\n m1: m1\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-button.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-button.vue?vue&type=script&lang=js&\"","<template>\n <!-- #ifndef APP-NVUE -->\n <button\n :hover-start-time=\"Number(hoverStartTime)\"\n :hover-stay-time=\"Number(hoverStayTime)\"\n :form-type=\"formType\"\n :open-type=\"openType\"\n :app-parameter=\"appParameter\"\n :hover-stop-propagation=\"hoverStopPropagation\"\n :send-message-title=\"sendMessageTitle\"\n :send-message-path=\"sendMessagePath\"\n :lang=\"lang\"\n :data-name=\"dataName\"\n :session-from=\"sessionFrom\"\n :send-message-img=\"sendMessageImg\"\n :show-message-card=\"showMessageCard\"\n @getphonenumber=\"getphonenumber\"\n @getuserinfo=\"getuserinfo\"\n @error=\"error\"\n @opensetting=\"opensetting\"\n @launchapp=\"launchapp\"\n :hover-class=\"!disabled && !loading ? 'u-button--active' : ''\"\n class=\"u-button u-reset-button\"\n :style=\"[baseColor, $u.addStyle(customStyle)]\"\n @tap=\"clickHandler\"\n :class=\"bemClass\"\n >\n <template v-if=\"loading\">\n <u-loading-icon\n :mode=\"loadingMode\"\n :size=\"loadingSize * 1.15\"\n :color=\"loadingColor\"\n ></u-loading-icon>\n <text\n class=\"u-button__loading-text\"\n :style=\"[{ fontSize: textSize + 'px' }]\"\n >{{ loadingText || text }}</text\n >\n </template>\n <template v-else>\n <u-icon\n v-if=\"icon\"\n :name=\"icon\"\n :color=\"iconColorCom\"\n :size=\"textSize * 1.35\"\n :customStyle=\"{ marginRight: '2px' }\"\n ></u-icon>\n <slot>\n <text\n class=\"u-button__text\"\n :style=\"[{ fontSize: textSize + 'px' }]\"\n >{{ text }}</text\n >\n </slot>\n </template>\n </button>\n <!-- #endif -->\n\n <!-- #ifdef APP-NVUE -->\n <view\n :hover-start-time=\"Number(hoverStartTime)\"\n :hover-stay-time=\"Number(hoverStayTime)\"\n class=\"u-button\"\n :hover-class=\"\n !disabled && !loading && !color && (plain || type === 'info')\n ? 'u-button--active--plain'\n : !disabled && !loading && !plain\n ? 'u-button--active'\n : ''\n \"\n @tap=\"clickHandler\"\n :class=\"bemClass\"\n :style=\"[baseColor, $u.addStyle(customStyle)]\"\n >\n <template v-if=\"loading\">\n <u-loading-icon\n :mode=\"loadingMode\"\n :size=\"loadingSize * 1.15\"\n :color=\"loadingColor\"\n ></u-loading-icon>\n <text\n class=\"u-button__loading-text\"\n :style=\"[nvueTextStyle]\"\n :class=\"[plain && `u-button__text--plain--${type}`]\"\n >{{ loadingText || text }}</text\n >\n </template>\n <template v-else>\n <u-icon\n v-if=\"icon\"\n :name=\"icon\"\n :color=\"iconColorCom\"\n :size=\"textSize * 1.35\"\n ></u-icon>\n <text\n class=\"u-button__text\"\n :style=\"[\n {\n marginLeft: icon ? '2px' : 0,\n },\n nvueTextStyle,\n ]\"\n :class=\"[plain && `u-button__text--plain--${type}`]\"\n >{{ text }}</text\n >\n </template>\n </view>\n <!-- #endif -->\n</template>\n\n<script>\nimport button from \"../../libs/mixin/button.js\";\nimport openType from \"../../libs/mixin/openType.js\";\nimport props from \"./props.js\";\n/**\n * button 按钮\n * @description Button 按钮\n * @tutorial https://www.uviewui.com/components/button.html\n *\n * @property {Boolean}\t\t\thairline\t\t\t\t是否显示按钮的细边框 (默认 true )\n * @property {String}\t\t\ttype\t\t\t\t\t按钮的预置样式,info,primary,error,warning,success (默认 'info' )\n * @property {String}\t\t\tsize\t\t\t\t\t按钮尺寸,large,normal,mini (默认 normal)\n * @property {String}\t\t\tshape\t\t\t\t\t按钮形状,circle(两边为半圆),square(带圆角) (默认 'square' )\n * @property {Boolean}\t\t\tplain\t\t\t\t\t按钮是否镂空,背景色透明 (默认 false)\n * @property {Boolean}\t\t\tdisabled\t\t\t\t是否禁用 (默认 false)\n * @property {Boolean}\t\t\tloading\t\t\t\t\t按钮名称前是否带 loading 图标(App-nvue 平台,在 ios 上为雪花,Android上为圆圈) (默认 false)\n * @property {String | Number}\tloadingText\t\t\t\t加载中提示文字\n * @property {String}\t\t\tloadingMode\t\t\t\t加载状态图标类型 (默认 'spinner' )\n * @property {String | Number}\tloadingSize\t\t\t\t加载图标大小 (默认 15 )\n * @property {String}\t\t\topenType\t\t\t\t开放能力,具体请看uniapp稳定关于button组件部分说明\n * @property {String}\t\t\tformType\t\t\t\t用于 <form> 组件,点击分别会触发 <form> 组件的 submit/reset 事件\n * @property {String}\t\t\tappParameter\t\t\t打开 APP 时,向 APP 传递的参数,open-type=launchApp时有效 (注:只微信小程序、QQ小程序有效)\n * @property {Boolean}\t\t\thoverStopPropagation\t指定是否阻止本节点的祖先节点出现点击态,微信小程序有效(默认 true )\n * @property {String}\t\t\tlang\t\t\t\t\t指定返回用户信息的语言,zh_CN 简体中文,zh_TW 繁体中文,en 英文(默认 en )\n * @property {String}\t\t\tsessionFrom\t\t\t\t会话来源,openType=\"contact\"时有效\n * @property {String}\t\t\tsendMessageTitle\t\t会话内消息卡片标题,openType=\"contact\"时有效\n * @property {String}\t\t\tsendMessagePath\t\t\t会话内消息卡片点击跳转小程序路径,openType=\"contact\"时有效\n * @property {String}\t\t\tsendMessageImg\t\t\t会话内消息卡片图片,openType=\"contact\"时有效\n * @property {Boolean}\t\t\tshowMessageCard\t\t\t是否显示会话内消息卡片,设置此参数为 true,用户进入客服会话会在右下角显示\"可能要发送的小程序\"提示,用户点击后可以快速发送小程序消息,openType=\"contact\"时有效(默认false)\n * @property {String}\t\t\tdataName\t\t\t\t额外传参参数,用于小程序的data-xxx属性,通过target.dataset.name获取\n * @property {String | Number}\tthrottleTime\t\t\t节流,一定时间内只能触发一次 (默认 0 )\n * @property {String | Number}\thoverStartTime\t\t\t按住后多久出现点击态,单位毫秒 (默认 0 )\n * @property {String | Number}\thoverStayTime\t\t\t手指松开后点击态保留时间,单位毫秒 (默认 200 )\n * @property {String | Number}\ttext\t\t\t\t\t按钮文字,之所以通过props传入,是因为slot传入的话(注:nvue中无法控制文字的样式)\n * @property {String}\t\t\ticon\t\t\t\t\t按钮图标\n * @property {String}\t\t\ticonColor\t\t\t\t按钮图标颜色\n * @property {String}\t\t\tcolor\t\t\t\t\t按钮颜色,支持传入linear-gradient渐变色\n * @property {Object}\t\t\tcustomStyle\t\t\t\t定义需要用到的外部样式\n *\n * @event {Function}\tclick\t\t\t非禁止并且非加载中,才能点击\n * @event {Function}\tgetphonenumber\topen-type=\"getPhoneNumber\"时有效\n * @event {Function}\tgetuserinfo\t\t用户点击该按钮时,会返回获取到的用户信息,从返回参数的detail中获取到的值同uni.getUserInfo\n * @event {Function}\terror\t\t\t当使用开放能力时,发生错误的回调\n * @event {Function}\topensetting\t\t在打开授权设置页并关闭后回调\n * @event {Function}\tlaunchapp\t\t打开 APP 成功的回调\n * @example <u-button>月落</u-button>\n */\nexport default {\n name: \"u-button\",\n // #ifdef MP\n mixins: [uni.$u.mpMixin, uni.$u.mixin, button, openType, props],\n // #endif\n // #ifndef MP\n mixins: [uni.$u.mpMixin, uni.$u.mixin, props],\n // #endif\n data() {\n return {};\n },\n computed: {\n // 生成bem风格的类名\n bemClass() {\n // this.bem为一个computed变量,在mixin中\n if (!this.color) {\n return this.bem(\n \"button\",\n [\"type\", \"shape\", \"size\"],\n [\"disabled\", \"plain\", \"hairline\"]\n );\n } else {\n // 由于nvue的原因,在有color参数时,不需要传入type,否则会生成type相关的类型,影响最终的样式\n return this.bem(\n \"button\",\n [\"shape\", \"size\"],\n [\"disabled\", \"plain\", \"hairline\"]\n );\n }\n },\n loadingColor() {\n if (this.plain) {\n // 如果有设置color值,则用color值,否则使用type主题颜色\n return this.color\n ? this.color\n : uni.$u.config.color[`u-${this.type}`];\n }\n if (this.type === \"info\") {\n return \"#c9c9c9\";\n }\n return \"rgb(200, 200, 200)\";\n },\n iconColorCom() {\n // 如果是镂空状态,设置了color就用color值,否则使用主题颜色,\n // u-icon的color能接受一个主题颜色的值\n\t\t\tif (this.iconColor) return this.iconColor;\n\t\t\tif (this.plain) {\n return this.color ? this.color : this.type;\n } else {\n return this.type === \"info\" ? \"#000000\" : \"#ffffff\";\n }\n },\n baseColor() {\n let style = {};\n if (this.color) {\n // 针对自定义了color颜色的情况,镂空状态下,就是用自定义的颜色\n style.color = this.plain ? this.color : \"white\";\n if (!this.plain) {\n // 非镂空,背景色使用自定义的颜色\n style[\"background-color\"] = this.color;\n }\n if (this.color.indexOf(\"gradient\") !== -1) {\n // 如果自定义的颜色为渐变色,不显示边框,以及通过backgroundImage设置渐变色\n // weex文档说明可以写borderWidth的形式,为什么这里需要分开写?\n // 因为weex是阿里巴巴为了部门业绩考核而做的你懂的东西,所以需要这么写才有效\n style.borderTopWidth = 0;\n style.borderRightWidth = 0;\n style.borderBottomWidth = 0;\n style.borderLeftWidth = 0;\n if (!this.plain) {\n style.backgroundImage = this.color;\n }\n } else {\n // 非渐变色,则设置边框相关的属性\n style.borderColor = this.color;\n style.borderWidth = \"1px\";\n style.borderStyle = \"solid\";\n }\n }\n return style;\n },\n // nvue版本按钮的字体不会继承父组件的颜色,需要对每一个text组件进行单独的设置\n nvueTextStyle() {\n let style = {};\n // 针对自定义了color颜色的情况,镂空状态下,就是用自定义的颜色\n if (this.type === \"info\") {\n style.color = \"#323233\";\n }\n if (this.color) {\n style.color = this.plain ? this.color : \"white\";\n }\n style.fontSize = this.textSize + \"px\";\n return style;\n },\n // 字体大小\n textSize() {\n let fontSize = 14,\n { size } = this;\n if (size === \"large\") fontSize = 16;\n if (size === \"normal\") fontSize = 14;\n if (size === \"small\") fontSize = 12;\n if (size === \"mini\") fontSize = 10;\n return fontSize;\n },\n },\n methods: {\n clickHandler() {\n // 非禁止并且非加载中,才能点击\n if (!this.disabled && !this.loading) {\n\t\t\t\t// 进行节流控制,每this.throttle毫秒内,只在开始处执行\n\t\t\t\tuni.$u.throttle(() => {\n\t\t\t\t\tthis.$emit(\"click\");\n\t\t\t\t}, this.throttleTime);\n }\n },\n // 下面为对接uniapp官方按钮开放能力事件回调的对接\n getphonenumber(res) {\n this.$emit(\"getphonenumber\", res);\n },\n getuserinfo(res) {\n this.$emit(\"getuserinfo\", res);\n },\n error(res) {\n this.$emit(\"error\", res);\n },\n opensetting(res) {\n this.$emit(\"opensetting\", res);\n },\n launchapp(res) {\n this.$emit(\"launchapp\", res);\n },\n },\n};\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"../../libs/css/components.scss\";\n\n/* #ifndef APP-NVUE */\n@import \"./vue.scss\";\n/* #endif */\n\n/* #ifdef APP-NVUE */\n@import \"./nvue.scss\";\n/* #endif */\n\n$u-button-u-button-height: 40px !default;\n$u-button-text-font-size: 15px !default;\n$u-button-loading-text-font-size: 15px !default;\n$u-button-loading-text-margin-left: 4px !default;\n$u-button-large-width: 100% !default;\n$u-button-large-height: 50px !default;\n$u-button-normal-padding: 0 12px !default;\n$u-button-large-padding: 0 15px !default;\n$u-button-normal-font-size: 14px !default;\n$u-button-small-min-width: 60px !default;\n$u-button-small-height: 30px !default;\n$u-button-small-padding: 0px 8px !default;\n$u-button-mini-padding: 0px 8px !default;\n$u-button-small-font-size: 12px !default;\n$u-button-mini-height: 22px !default;\n$u-button-mini-font-size: 10px !default;\n$u-button-mini-min-width: 50px !default;\n$u-button-disabled-opacity: 0.5 !default;\n$u-button-info-color: #323233 !default;\n$u-button-info-background-color: #fff !default;\n$u-button-info-border-color: #ebedf0 !default;\n$u-button-info-border-width: 1px !default;\n$u-button-info-border-style: solid !default;\n$u-button-success-color: #fff !default;\n$u-button-success-background-color: $u-success !default;\n$u-button-success-border-color: $u-button-success-background-color !default;\n$u-button-success-border-width: 1px !default;\n$u-button-success-border-style: solid !default;\n$u-button-primary-color: #fff !default;\n$u-button-primary-background-color: $u-primary !default;\n$u-button-primary-border-color: $u-button-primary-background-color !default;\n$u-button-primary-border-width: 1px !default;\n$u-button-primary-border-style: solid !default;\n$u-button-error-color: #fff !default;\n$u-button-error-background-color: $u-error !default;\n$u-button-error-border-color: $u-button-error-background-color !default;\n$u-button-error-border-width: 1px !default;\n$u-button-error-border-style: solid !default;\n$u-button-warning-color: #fff !default;\n$u-button-warning-background-color: $u-warning !default;\n$u-button-warning-border-color: $u-button-warning-background-color !default;\n$u-button-warning-border-width: 1px !default;\n$u-button-warning-border-style: solid !default;\n$u-button-block-width: 100% !default;\n$u-button-circle-border-top-right-radius: 100px !default;\n$u-button-circle-border-top-left-radius: 100px !default;\n$u-button-circle-border-bottom-left-radius: 100px !default;\n$u-button-circle-border-bottom-right-radius: 100px !default;\n$u-button-square-border-top-right-radius: 3px !default;\n$u-button-square-border-top-left-radius: 3px !default;\n$u-button-square-border-bottom-left-radius: 3px !default;\n$u-button-square-border-bottom-right-radius: 3px !default;\n$u-button-icon-min-width: 1em !default;\n$u-button-plain-background-color: #fff !default;\n$u-button-hairline-border-width: 0.5px !default;\n\n.u-button {\n height: $u-button-u-button-height;\n position: relative;\n align-items: center;\n justify-content: center;\n @include flex;\n /* #ifndef APP-NVUE */\n box-sizing: border-box;\n /* #endif */\n flex-direction: row;\n\n &__text {\n font-size: $u-button-text-font-size;\n }\n\n &__loading-text {\n font-size: $u-button-loading-text-font-size;\n margin-left: $u-button-loading-text-margin-left;\n }\n\n &--large {\n /* #ifndef APP-NVUE */\n width: $u-button-large-width;\n /* #endif */\n height: $u-button-large-height;\n padding: $u-button-large-padding;\n }\n\n &--normal {\n padding: $u-button-normal-padding;\n font-size: $u-button-normal-font-size;\n }\n\n &--small {\n /* #ifndef APP-NVUE */\n min-width: $u-button-small-min-width;\n /* #endif */\n height: $u-button-small-height;\n padding: $u-button-small-padding;\n font-size: $u-button-small-font-size;\n }\n\n &--mini {\n height: $u-button-mini-height;\n font-size: $u-button-mini-font-size;\n /* #ifndef APP-NVUE */\n min-width: $u-button-mini-min-width;\n /* #endif */\n padding: $u-button-mini-padding;\n }\n\n &--disabled {\n opacity: $u-button-disabled-opacity;\n }\n\n &--info {\n color: $u-button-info-color;\n background-color: $u-button-info-background-color;\n border-color: $u-button-info-border-color;\n border-width: $u-button-info-border-width;\n border-style: $u-button-info-border-style;\n }\n\n &--success {\n color: $u-button-success-color;\n background-color: $u-button-success-background-color;\n border-color: $u-button-success-border-color;\n border-width: $u-button-success-border-width;\n border-style: $u-button-success-border-style;\n }\n\n &--primary {\n color: $u-button-primary-color;\n background-color: $u-button-primary-background-color;\n border-color: $u-button-primary-border-color;\n border-width: $u-button-primary-border-width;\n border-style: $u-button-primary-border-style;\n }\n\n &--error {\n color: $u-button-error-color;\n background-color: $u-button-error-background-color;\n border-color: $u-button-error-border-color;\n border-width: $u-button-error-border-width;\n border-style: $u-button-error-border-style;\n }\n\n &--warning {\n color: $u-button-warning-color;\n background-color: $u-button-warning-background-color;\n border-color: $u-button-warning-border-color;\n border-width: $u-button-warning-border-width;\n border-style: $u-button-warning-border-style;\n }\n\n &--block {\n @include flex;\n width: $u-button-block-width;\n }\n\n &--circle {\n border-top-right-radius: $u-button-circle-border-top-right-radius;\n border-top-left-radius: $u-button-circle-border-top-left-radius;\n border-bottom-left-radius: $u-button-circle-border-bottom-left-radius;\n border-bottom-right-radius: $u-button-circle-border-bottom-right-radius;\n }\n\n &--square {\n border-bottom-left-radius: $u-button-square-border-top-right-radius;\n border-bottom-right-radius: $u-button-square-border-top-left-radius;\n border-top-left-radius: $u-button-square-border-bottom-left-radius;\n border-top-right-radius: $u-button-square-border-bottom-right-radius;\n }\n\n &__icon {\n /* #ifndef APP-NVUE */\n min-width: $u-button-icon-min-width;\n line-height: inherit !important;\n vertical-align: top;\n /* #endif */\n }\n\n &--plain {\n background-color: $u-button-plain-background-color;\n }\n\n &--hairline {\n border-width: $u-button-hairline-border-width !important;\n }\n}\n</style>\n","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-button.vue?vue&type=style&index=0&id=2bf0e569&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-button.vue?vue&type=style&index=0&id=2bf0e569&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657703507160\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | |
\ No newline at end of file |
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue?7ffd","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue?3015","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue?0acd","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue?074b","uni-app:///uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue?b783","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue?76cb"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAyI;AACzI;AACoE;AACL;AACsC;;;AAGrG;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,uGAAM;AACR,EAAE,gHAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,2GAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA42B,CAAgB,8yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACUh4B,gF;;;;;;;;;AACA;;;;;;;;;;;;;;;;;;;;;;kBAuBA,EACA,wBADA,EAEA,sDAFA,EAGA,YACA;AACA;AACA;AACA,cAJA,wBAIA,CACA,oHACA,aADA,EACA,iBADA,EACA,cADA;AAGA,KARA;AASA,YATA,sBASA;AACA;AACA;AACA,KAZA,EAHA;;AAiBA;AACA;AACA,cAFA,wBAEA;AACA;AACA;AACA;AACA;AACA,SAHA;AAIA;AACA,KATA,EAjBA;;AA4BA,MA5BA,kBA4BA;AACA;;;AAGA,GAhCA;AAiCA,SAjCA,qBAiCA;AACA;AACA,GAnCA;AAoCA;AACA;AACA,kBAFA,0BAEA,aAFA,EAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OALA;AAMA;AACA;AACA;AACA;AACA,KAdA,EApCA,E;;;;;;;;;;;;;AClCA;AAAA;AAAA;AAAA;AAA2nD,CAAgB,q8CAAG,EAAC,C;;;;;;;;;;;ACA/oD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-checkbox-group.vue?vue&type=template&id=2ef8bac9&scoped=true&\"\nvar renderjs\nimport script from \"./u-checkbox-group.vue?vue&type=script&lang=js&\"\nexport * from \"./u-checkbox-group.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-checkbox-group.vue?vue&type=style&index=0&id=2ef8bac9&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2ef8bac9\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-checkbox-group.vue?vue&type=template&id=2ef8bac9&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-checkbox-group.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-checkbox-group.vue?vue&type=script&lang=js&\"","<template>\n\t<view\n\t class=\"u-checkbox-group\"\n\t :class=\"bemClass\"\n\t>\n\t\t<slot></slot>\n\t</view>\n</template>\n\n<script>\n\timport props from './props.js';\n\t/**\n\t * checkboxGroup 复选框组\n\t * @description 复选框组件一般用于需要多个选择的场景,该组件功能完整,使用方便\n\t * @tutorial https://www.uviewui.com/components/checkbox.html\n\t * @property {String}\t\t\tname\t\t\t标识符 \n\t * @property {Array}\t\t\tvalue\t\t\t绑定的值\n\t * @property {String}\t\t\tshape\t\t\t形状,circle-圆形,square-方形 (默认 'square' )\n\t * @property {Boolean}\t\t\tdisabled\t\t是否禁用全部checkbox (默认 false )\n\t * @property {String}\t\t\tactiveColor\t\t选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值 (默认 '#2979ff' )\n\t * @property {String}\t\t\tinactiveColor\t未选中的颜色 (默认 '#c8c9cc' )\n\t * @property {String | Number}\tsize\t\t\t整个组件的尺寸 单位px (默认 18 )\n\t * @property {String}\t\t\tplacement\t\t布局方式,row-横向,column-纵向 (默认 'row' )\n\t * @property {String | Number}\tlabelSize\t\tlabel的字体大小,px单位 (默认 14 )\n\t * @property {String}\t\t\tlabelColor\t\tlabel的字体颜色 (默认 '#303133' )\n\t * @property {Boolean}\t\t\tlabelDisabled\t是否禁止点击文本操作 (默认 false )\n\t * @property {String}\t\t\ticonColor\t\t图标颜色 (默认 '#ffffff' )\n\t * @property {String | Number}\ticonSize\t\t图标的大小,单位px (默认 12 )\n\t * @property {String}\t\t\ticonPlacement\t勾选图标的对齐方式,left-左边,right-右边 (默认 'left' )\n\t * @property {Boolean}\t\t\tborderBottom\tplacement为row时,是否显示下边框 (默认 false )\n\t * @event {Function}\tchange\t任一个checkbox状态发生变化时触发,回调为一个对象\n\t * @event {Function}\tinput\t修改通过v-model绑定的值时触发,回调为一个对象\n\t * @example <u-checkbox-group></u-checkbox-group>\n\t */\n\texport default {\n\t\tname: 'u-checkbox-group',\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin,props],\n\t\tcomputed: {\n\t\t\t// 这里computed的变量,都是子组件u-checkbox需要用到的,由于头条小程序的兼容性差异,子组件无法实时监听父组件参数的变化\n\t\t\t// 所以需要手动通知子组件,这里返回一个parentData变量,供watch监听,在其中去通知每一个子组件重新从父组件(u-checkbox-group)\n\t\t\t// 拉取父组件新的变化后的参数\n\t\t\tparentData() {\n\t\t\t\treturn [this.value, this.disabled, this.inactiveColor, this.activeColor, this.size, this.labelDisabled, this.shape,\n\t\t\t\t\tthis.iconSize, this.borderBottom, this.placement\n\t\t\t\t]\n\t\t\t},\n\t\t\tbemClass() {\n\t\t\t\t// this.bem为一个computed变量,在mixin中\n\t\t\t\treturn this.bem('checkbox-group', ['placement'])\n\t\t\t},\n\t\t},\n\t\twatch: {\n\t\t\t// 当父组件需要子组件需要共享的参数发生了变化,手动通知子组件\n\t\t\tparentData() {\n\t\t\t\tif (this.children.length) {\n\t\t\t\t\tthis.children.map(child => {\n\t\t\t\t\t\t// 判断子组件(u-checkbox)如果有init方法的话,就就执行(执行的结果是子组件重新从父组件拉取了最新的值)\n\t\t\t\t\t\ttypeof(child.init) === 'function' && child.init()\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t},\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\n\t\t\t}\n\t\t},\n\t\tcreated() {\n\t\t\tthis.children = []\n\t\t},\n\t\tmethods: {\n\t\t\t// 将其他的checkbox设置为未选中的状态\n\t\t\tunCheckedOther(childInstance) {\n\t\t\t\tconst values = []\n\t\t\t\tthis.children.map(child => {\n\t\t\t\t\t// 将被选中的checkbox,放到数组中返回\n\t\t\t\t\tif (child.isChecked) {\n\t\t\t\t\t\tvalues.push(child.name)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\t// 发出事件\n\t\t\t\tthis.$emit('change', values)\n\t\t\t\t// 修改通过v-model绑定的值\n\t\t\t\tthis.$emit('input', values)\n\t\t\t},\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t@import \"../../libs/css/components.scss\";\n\n\t.u-checkbox-group {\n\n\t\t&--row {\n\t\t\t@include flex;\n\t\t}\n\n\t\t&--column {\n\t\t\t@include flex(column);\n\t\t}\n\t}\n</style>\n","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-checkbox-group.vue?vue&type=style&index=0&id=2ef8bac9&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-checkbox-group.vue?vue&type=style&index=0&id=2ef8bac9&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657703507055\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | |
\ No newline at end of file |
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox/u-checkbox.vue?6300","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox/u-checkbox.vue?f3c4","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox/u-checkbox.vue?4e0d","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox/u-checkbox.vue?d832","uni-app:///uni_modules/uview-ui/components/u-checkbox/u-checkbox.vue","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox/u-checkbox.vue?42cb","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox/u-checkbox.vue?5ce9"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAmI;AACnI;AAC8D;AACL;AACsC;;;AAG/F;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,gFAAM;AACR,EAAE,iGAAM;AACR,EAAE,0GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,qGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,iSAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9CA;AAAA;AAAA;AAAA;AAAs2B,CAAgB,wyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkC13B,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;;;;;;;;;;;;;;;;;;;;;kBAsBA,EACA,kBADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA,gBADA,EAEA;AACA;AACA,oBACA,YADA,EAEA,mBAFA,EAGA,cAHA,EAIA,eAJA,EAKA,iBALA,EAMA,mBANA,EAOA,QAPA,EAQA,WARA,EASA,eATA,EAUA,gBAVA,EAWA,mBAXA,EAYA,qBAZA,EAJA,GAmBA,CAvBA,EAwBA,YACA;AACA,cAFA,wBAEA,CACA,mHACA,CAJA,EAKA;AACA,mBANA,6BAMA,CACA,iIACA,KADA,CAEA,CATA,EAUA;AACA,UAXA,oBAWA,CACA;AACA,KAbA;AAcA;AACA,cAfA,wBAeA;AACA;AACA,KAjBA;AAkBA;AACA,iBAnBA,2BAmBA;AACA;AACA,KArBA;AAsBA;AACA,mBAvBA,6BAuBA;AACA;AACA,eADA;AAEA,KA1BA;AA2BA;AACA,gBA5BA,0BA4BA;AACA;AACA,KA9BA;AA+BA;AACA,WAhCA,qBAgCA;AACA;AACA,KAlCA;AAmCA;AACA,eApCA,yBAoCA;AACA;AACA,UADA;AAEA,KAvCA;AAwCA,eAxCA,yBAwCA;AACA;AACA,eADA;AAEA;AACA;AACA;AACA;AACA,OAHA,MAGA;AACA;AACA;AACA,KAlDA;AAmDA,eAnDA,yBAmDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;AAIA;AACA,KAlEA;AAmEA,iBAnEA,2BAmEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KA/EA;AAgFA,iBAhFA,2BAgFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KA1FA,EAxBA;;AAoHA,SApHA,qBAoHA;AACA;AACA,GAtHA;AAuHA;AACA,QADA,kBACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA,SAFA;AAGA;AACA,KAhBA;AAiBA,oBAjBA,8BAiBA;AACA;AACA,KAnBA;AAoBA;AACA,uBArBA,+BAqBA,CArBA,EAqBA;AACA;AACA,KAvBA;AAwBA;AACA,oBAzBA,4BAyBA,CAzBA,EAyBA;AACA;AACA;AACA;AACA;AACA;AACA,KA/BA;AAgCA;AACA,qBAjCA,6BAiCA,CAjCA,EAiCA;AACA;AACA;AACA;AACA;AACA;AACA,KAvCA;AAwCA,aAxCA,uBAwCA;AACA;AACA;AACA;AACA;AACA,OAFA;AAGA,KA9CA;AA+CA;AACA;AACA;AACA,yBAlDA,mCAkDA;AACA;AACA;AACA;AACA;AACA,KAvDA,EAvHA;;AAgLA;AACA,WADA,qBACA;AACA;AACA,KAHA,EAhLA,E;;;;;;;;;;;;;ACzDA;AAAA;AAAA;AAAA;AAAqnD,CAAgB,+7CAAG,EAAC,C;;;;;;;;;;;ACAzoD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uni_modules/uview-ui/components/u-checkbox/u-checkbox.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-checkbox.vue?vue&type=template&id=c4a74aee&scoped=true&\"\nvar renderjs\nimport script from \"./u-checkbox.vue?vue&type=script&lang=js&\"\nexport * from \"./u-checkbox.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-checkbox.vue?vue&type=style&index=0&id=c4a74aee&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c4a74aee\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uni_modules/uview-ui/components/u-checkbox/u-checkbox.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-checkbox.vue?vue&type=template&id=c4a74aee&scoped=true&\"","var components\ntry {\n components = {\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-icon/u-icon\" */ \"@/uni_modules/uview-ui/components/u-icon/u-icon.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.__get_style([_vm.checkboxStyle])\n\n var s1 = _vm.__get_style([_vm.iconWrapStyle])\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n s1: s1\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-checkbox.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-checkbox.vue?vue&type=script&lang=js&\"","<template>\n\t<view\n\t class=\"u-checkbox\"\n\t :style=\"[checkboxStyle]\"\n\t @tap.stop=\"wrapperClickHandler\"\n\t :class=\"[`u-checkbox-label--${parentData.iconPlacement}`, parentData.borderBottom && parentData.placement === 'column' && 'u-border-bottom']\"\n\t>\n\t\t<view\n\t\t class=\"u-checkbox__icon-wrap\"\n\t\t @tap.stop=\"iconClickHandler\"\n\t\t :class=\"iconClasses\"\n\t\t :style=\"[iconWrapStyle]\"\n\t\t>\n\t\t\t<slot name=\"icon\">\n\t\t\t\t<u-icon\n\t\t\t\t class=\"u-checkbox__icon-wrap__icon\"\n\t\t\t\t name=\"checkbox-mark\"\n\t\t\t\t :size=\"elIconSize\"\n\t\t\t\t :color=\"elIconColor\"\n\t\t\t\t/>\n\t\t\t</slot>\n\t\t</view>\n\t\t<text\n\t\t @tap.stop=\"labelClickHandler\"\n\t\t :style=\"{\n\t\t\t\tcolor: elDisabled ? elInactiveColor : elLabelColor,\n\t\t\t\tfontSize: elLabelSize,\n\t\t\t\tlineHeight: elLabelSize\n\t\t\t}\"\n\t\t>{{label}}</text>\n\t</view>\n</template>\n\n<script>\n\timport props from './props.js';\n\t/**\n\t * checkbox 复选框\n\t * @description 复选框组件一般用于需要多个选择的场景,该组件功能完整,使用方便\n\t * @tutorial https://uviewui.com/components/checkbox.html\n\t * @property {String | Number | Boolean}\tname\t\t\tcheckbox组件的标示符\n\t * @property {String}\t\t\t\t\t\tshape\t\t\t形状,square为方形,circle为圆型\n\t * @property {String | Number}\t\t\t\tsize\t\t\t整体的大小\n\t * @property {Boolean}\t\t\t\t\t\tchecked\t\t\t是否默认选中\n\t * @property {String | Boolean}\t\t\t\tdisabled\t\t是否禁用\n\t * @property {String}\t\t\t\t\t\tactiveColor\t\t选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值\n\t * @property {String}\t\t\t\t\t\tinactiveColor\t未选中的颜色\n\t * @property {String | Number}\t\t\t\ticonSize\t\t图标的大小,单位px\n\t * @property {String}\t\t\t\t\t\ticonColor\t\t图标颜色\n\t * @property {String | Number}\t\t\t\tlabel\t\t\tlabel提示文字,因为nvue下,直接slot进来的文字,由于特殊的结构,无法修改样式\n\t * @property {String}\t\t\t\t\t\tlabelColor \t\tlabel的颜色\n\t * @property {String | Number}\t\t\t\tlabelSize\t\tlabel的字体大小,px单位\n\t * @property {String | Boolean}\t\t\t\tlabelDisabled\t是否禁止点击提示语选中复选框\n\t * @property {Object}\t\t\t\t\t\tcustomStyle\t\t定义需要用到的外部样式\n\t * \n\t * @event {Function}\tchange\t任一个checkbox状态发生变化时触发,回调为一个对象\n\t * @example <u-checkbox v-model=\"checked\" :disabled=\"false\">天涯</u-checkbox>\n\t */\n\texport default {\n\t\tname: \"u-checkbox\",\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin,props],\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tisChecked: false,\n\t\t\t\t// 父组件的默认值,因为头条小程序不支持在computed中使用this.parent.shape的形式\n\t\t\t\t// 故只能使用如此方法\n\t\t\t\tparentData: {\n\t\t\t\t\ticonSize: 12,\n\t\t\t\t\tlabelDisabled: null,\n\t\t\t\t\tdisabled: null,\n\t\t\t\t\tshape: 'square',\n\t\t\t\t\tactiveColor: null,\n\t\t\t\t\tinactiveColor: null,\n\t\t\t\t\tsize: 18,\n\t\t\t\t\tvalue: null,\n\t\t\t\t\ticonColor: null,\n\t\t\t\t\tplacement: 'row',\n\t\t\t\t\tborderBottom: false,\n\t\t\t\t\ticonPlacement: 'left'\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tcomputed: {\n\t\t\t// 是否禁用,如果父组件u-raios-group禁用的话,将会忽略子组件的配置\n\t\t\telDisabled() {\n\t\t\t\treturn this.disabled !== '' ? this.disabled : this.parentData.disabled !== null ? this.parentData.disabled : false;\n\t\t\t},\n\t\t\t// 是否禁用label点击\n\t\t\telLabelDisabled() {\n\t\t\t\treturn this.labelDisabled !== '' ? this.labelDisabled : this.parentData.labelDisabled !== null ? this.parentData.labelDisabled :\n\t\t\t\t\tfalse;\n\t\t\t},\n\t\t\t// 组件尺寸,对应size的值,默认值为21px\n\t\t\telSize() {\n\t\t\t\treturn this.size ? this.size : (this.parentData.size ? this.parentData.size : 21);\n\t\t\t},\n\t\t\t// 组件的勾选图标的尺寸,默认12px\n\t\t\telIconSize() {\n\t\t\t\treturn this.iconSize ? this.iconSize : (this.parentData.iconSize ? this.parentData.iconSize : 12);\n\t\t\t},\n\t\t\t// 组件选中激活时的颜色\n\t\t\telActiveColor() {\n\t\t\t\treturn this.activeColor ? this.activeColor : (this.parentData.activeColor ? this.parentData.activeColor : '#2979ff');\n\t\t\t},\n\t\t\t// 组件选未中激活时的颜色\n\t\t\telInactiveColor() {\n\t\t\t\treturn this.inactiveColor ? this.inactiveColor : (this.parentData.inactiveColor ? this.parentData.inactiveColor :\n\t\t\t\t\t'#c8c9cc');\n\t\t\t},\n\t\t\t// label的颜色\n\t\t\telLabelColor() {\n\t\t\t\treturn this.labelColor ? this.labelColor : (this.parentData.labelColor ? this.parentData.labelColor : '#606266')\n\t\t\t},\n\t\t\t// 组件的形状\n\t\t\telShape() {\n\t\t\t\treturn this.shape ? this.shape : (this.parentData.shape ? this.parentData.shape : 'circle');\n\t\t\t},\n\t\t\t// label大小\n\t\t\telLabelSize() {\n\t\t\t\treturn uni.$u.addUnit(this.labelSize ? this.labelSize : (this.parentData.labelSize ? this.parentData.labelSize :\n\t\t\t\t\t'15'))\n\t\t\t},\n\t\t\telIconColor() {\n\t\t\t\tconst iconColor = this.iconColor ? this.iconColor : (this.parentData.iconColor ? this.parentData.iconColor :\n\t\t\t\t\t'#ffffff');\n\t\t\t\t// 图标的颜色\n\t\t\t\tif (this.elDisabled) {\n\t\t\t\t\t// disabled状态下,已勾选的checkbox图标改为elInactiveColor\n\t\t\t\t\treturn this.isChecked ? this.elInactiveColor : 'transparent'\n\t\t\t\t} else {\n\t\t\t\t\treturn this.isChecked ? iconColor : 'transparent'\n\t\t\t\t}\n\t\t\t},\n\t\t\ticonClasses() {\n\t\t\t\tlet classes = []\n\t\t\t\t// 组件的形状\n\t\t\t\tclasses.push('u-checkbox__icon-wrap--' + this.elShape)\n\t\t\t\tif (this.elDisabled) {\n\t\t\t\t\tclasses.push('u-checkbox__icon-wrap--disabled')\n\t\t\t\t}\n\t\t\t\tif (this.isChecked && this.elDisabled) {\n\t\t\t\t\tclasses.push('u-checkbox__icon-wrap--disabled--checked')\n\t\t\t\t}\n\t\t\t\t// 支付宝,头条小程序无法动态绑定一个数组类名,否则解析出来的结果会带有\",\",而导致失效\n\t\t\t\t// #ifdef MP-ALIPAY || MP-TOUTIAO\n\t\t\t\tclasses = classes.join(' ')\n\t\t\t\t// #endif\n\t\t\t\treturn classes\n\t\t\t},\n\t\t\ticonWrapStyle() {\n\t\t\t\t// checkbox的整体样式\n\t\t\t\tconst style = {}\n\t\t\t\tstyle.backgroundColor = this.isChecked && !this.elDisabled ? this.elActiveColor : '#ffffff'\n\t\t\t\tstyle.borderColor = this.isChecked && !this.elDisabled ? this.elActiveColor : this.elInactiveColor\n\t\t\t\tstyle.width = uni.$u.addUnit(this.elSize)\n\t\t\t\tstyle.height = uni.$u.addUnit(this.elSize)\n\t\t\t\t// 如果是图标在右边的话,移除它的右边距\n\t\t\t\tif (this.parentData.iconPlacement === 'right') {\n\t\t\t\t\tstyle.marginRight = 0\n\t\t\t\t}\n\t\t\t\treturn style\n\t\t\t},\n\t\t\tcheckboxStyle() {\n\t\t\t\tconst style = {}\n\t\t\t\tif (this.parentData.borderBottom && this.parentData.placement === 'row') {\n\t\t\t\t\tuni.$u.error('检测到您将borderBottom设置为true,需要同时将u-checkbox-group的placement设置为column才有效')\n\t\t\t\t}\n\t\t\t\t// 当父组件设置了显示下边框并且排列形式为纵向时,给内容和边框之间加上一定间隔\n\t\t\t\tif (this.parentData.borderBottom && this.parentData.placement === 'column') {\n\t\t\t\t\tstyle.paddingBottom = '8px'\n\t\t\t\t}\n\t\t\t\treturn uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle))\n\t\t\t}\n\t\t},\n\t\tmounted() {\n\t\t\tthis.init()\n\t\t},\n\t\tmethods: {\n\t\t\tinit() {\n\t\t\t\t// 支付宝小程序不支持provide/inject,所以使用这个方法获取整个父组件,在created定义,避免循环引用\n\t\t\t\tthis.updateParentData()\n\t\t\t\tif (!this.parent) {\n\t\t\t\t\tuni.$u.error('u-checkbox必须搭配u-checkbox-group组件使用')\n\t\t\t\t}\n\t\t\t\t// 设置初始化时,是否默认选中的状态,父组件u-checkbox-group的value可能是array,所以额外判断\n\t\t\t\tif (this.checked) {\n\t\t\t\t\tthis.isChecked = true\n\t\t\t\t} else if (uni.$u.test.array(this.parentData.value)) {\n\t\t\t\t\t// 查找数组是是否存在this.name元素值\n\t\t\t\t\tthis.isChecked = this.parentData.value.some(item => {\n\t\t\t\t\t\treturn item === this.name\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t},\n\t\t\tupdateParentData() {\n\t\t\t\tthis.getParentData('u-checkbox-group')\n\t\t\t},\n\t\t\t// 横向两端排列时,点击组件即可触发选中事件\n\t\t\twrapperClickHandler(e) {\n\t\t\t\tthis.parentData.iconPlacement === 'right' && this.iconClickHandler(e)\n\t\t\t},\n\t\t\t// 点击图标\n\t\t\ticonClickHandler(e) {\n\t\t\t\tthis.preventEvent(e)\n\t\t\t\t// 如果整体被禁用,不允许被点击\n\t\t\t\tif (!this.elDisabled) {\n\t\t\t\t\tthis.setRadioCheckedStatus()\n\t\t\t\t}\n\t\t\t},\n\t\t\t// 点击label\n\t\t\tlabelClickHandler(e) {\n\t\t\t\tthis.preventEvent(e)\n\t\t\t\t// 如果按钮整体被禁用或者label被禁用,则不允许点击文字修改状态\n\t\t\t\tif (!this.elLabelDisabled && !this.elDisabled) {\n\t\t\t\t\tthis.setRadioCheckedStatus()\n\t\t\t\t}\n\t\t\t},\n\t\t\temitEvent() {\n\t\t\t\tthis.$emit('change', this.isChecked)\n\t\t\t\t// 尝试调用u-form的验证方法,进行一定延迟,否则微信小程序更新可能会不及时\n\t\t\t\tthis.$nextTick(() => {\n\t\t\t\t\tuni.$u.formValidate(this, 'change')\n\t\t\t\t})\n\t\t\t},\n\t\t\t// 改变组件选中状态\n\t\t\t// 这里的改变的依据是,更改本组件的checked值为true,同时通过父组件遍历所有u-checkbox实例\n\t\t\t// 将本组件外的其他u-checkbox的checked都设置为false(都被取消选中状态),因而只剩下一个为选中状态\n\t\t\tsetRadioCheckedStatus() {\n\t\t\t\t// 将本组件标记为与原来相反的状态\n\t\t\t\tthis.isChecked = !this.isChecked\n\t\t\t\tthis.emitEvent()\n\t\t\t\ttypeof this.parent.unCheckedOther === 'function' && this.parent.unCheckedOther(this)\n\t\t\t}\n\t\t},\n\t\twatch:{\n\t\t\tchecked(){\n\t\t\t\tthis.isChecked = this.checked\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t@import \"../../libs/css/components.scss\";\n\t$u-checkbox-icon-wrap-margin-right:6px !default;\n\t$u-checkbox-icon-wrap-font-size:6px !default;\n\t$u-checkbox-icon-wrap-border-width:1px !default;\n\t$u-checkbox-icon-wrap-border-color:#c8c9cc !default;\n\t$u-checkbox-icon-wrap-icon-line-height:0 !default;\n\t$u-checkbox-icon-wrap-circle-border-radius:100% !default;\n\t$u-checkbox-icon-wrap-square-border-radius:3px !default;\n\t$u-checkbox-icon-wrap-checked-color:#fff !default;\n\t$u-checkbox-icon-wrap-checked-background-color:red !default;\n\t$u-checkbox-icon-wrap-checked-border-color:#2979ff !default;\n\t$u-checkbox-icon-wrap-disabled-background-color:#ebedf0 !default;\n\t$u-checkbox-icon-wrap-disabled-checked-color:#c8c9cc !default;\n\t$u-checkbox-label-margin-left:5px !default;\n\t$u-checkbox-label-margin-right:12px !default;\n\t$u-checkbox-label-color:$u-content-color !default;\n\t$u-checkbox-label-font-size:15px !default;\n\t$u-checkbox-label-disabled-color:#c8c9cc !default;\n\n\t.u-checkbox {\n\t\t/* #ifndef APP-NVUE */\n\t\t@include flex(row);\n\t\t/* #endif */\n\t\toverflow: hidden;\n\t\tflex-direction: row;\n\t\talign-items: center;\n\n\t\t&-label--left {\n\t\t\tflex-direction: row\n\t\t}\n\n\t\t&-label--right {\n\t\t\tflex-direction: row-reverse;\n\t\t\tjustify-content: space-between\n\t\t}\n\n\t\t&__icon-wrap {\n\t\t\t/* #ifndef APP-NVUE */\n\t\t\tbox-sizing: border-box;\n\t\t\t// nvue下,border-color过渡有问题\n\t\t\ttransition-property: border-color, background-color, color;\n\t\t\ttransition-duration: 0.2s;\n\t\t\t/* #endif */\n\t\t\tcolor: $u-content-color;\n\t\t\t@include flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\tcolor: transparent;\n\t\t\ttext-align: center;\n\t\t\tmargin-right: $u-checkbox-icon-wrap-margin-right;\n\n\t\t\tfont-size: $u-checkbox-icon-wrap-font-size;\n\t\t\tborder-width: $u-checkbox-icon-wrap-border-width;\n\t\t\tborder-color: $u-checkbox-icon-wrap-border-color;\n\t\t\tborder-style: solid;\n\n\t\t\t/* #ifdef MP-TOUTIAO */\n\t\t\t// 头条小程序兼容性问题,需要设置行高为0,否则图标偏下\n\t\t\t&__icon {\n\t\t\t\tline-height: $u-checkbox-icon-wrap-icon-line-height;\n\t\t\t}\n\n\t\t\t/* #endif */\n\n\t\t\t&--circle {\n\t\t\t\tborder-radius: $u-checkbox-icon-wrap-circle-border-radius;\n\t\t\t}\n\n\t\t\t&--square {\n\t\t\t\tborder-radius: $u-checkbox-icon-wrap-square-border-radius;\n\t\t\t}\n\n\t\t\t&--checked {\n\t\t\t\tcolor: $u-checkbox-icon-wrap-checked-color;\n\t\t\t\tbackground-color: $u-checkbox-icon-wrap-checked-background-color;\n\t\t\t\tborder-color: $u-checkbox-icon-wrap-checked-border-color;\n\t\t\t}\n\n\t\t\t&--disabled {\n\t\t\t\tbackground-color: $u-checkbox-icon-wrap-disabled-background-color !important;\n\t\t\t}\n\n\t\t\t&--disabled--checked {\n\t\t\t\tcolor: $u-checkbox-icon-wrap-disabled-checked-color !important;\n\t\t\t}\n\t\t}\n\n\t\t&__label {\n\t\t\t/* #ifndef APP-NVUE */\n\t\t\tword-wrap: break-word;\n\t\t\t/* #endif */\n\t\t\tmargin-left: $u-checkbox-label-margin-left;\n\t\t\tmargin-right: $u-checkbox-label-margin-right;\n\t\t\tcolor: $u-checkbox-label-color;\n\t\t\tfont-size: $u-checkbox-label-font-size;\n\n\t\t\t&--disabled {\n\t\t\t\tcolor: $u-checkbox-label-disabled-color;\n\t\t\t}\n\t\t}\n\t}\n</style>\n","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-checkbox.vue?vue&type=style&index=0&id=c4a74aee&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-checkbox.vue?vue&type=style&index=0&id=c4a74aee&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657703507074\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | |
\ No newline at end of file |
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-code/u-code.js.map
已删除
100644 → 0
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-code/u-code.vue?0b7c","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-code/u-code.vue?0621","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-code/u-code.vue?8df6","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-code/u-code.vue?a9e1","uni-app:///uni_modules/uview-ui/components/u-code/u-code.vue","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-code/u-code.vue?2478","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-code/u-code.vue?81f5"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,6FAAM;AACR,EAAE,sGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,iGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAk2B,CAAgB,oyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;ACOt3B,gF;;;;;;AACA;;;;;;;;;;;;;;;kBAgBA,EACA,cADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA;AACA,0BADA;AAEA,iBAFA;AAGA,sBAHA,CAGA;AAHA;AAKA,GATA;AAUA,SAVA,qBAUA;AACA;AACA,GAZA;AAaA;AACA;AACA,qBADA;AAEA,aAFA,mBAEA,CAFA,EAEA;AACA;AACA,OAJA,EADA,EAbA;;;AAqBA;AACA,oBADA,8BACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAPA,MAOA;AACA;AACA;AACA;AACA,KAnBA;AAoBA;AACA,SArBA,mBAqBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAHA,MAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAZA,EAYA,IAZA;AAaA,KA7CA;AA8CA;AACA,SA/CA,mBA+CA;AACA;AACA;AACA;AACA;AACA,KApDA;AAqDA,eArDA,uBAqDA,IArDA,EAqDA;AACA;AACA,KAvDA;AAwDA;AACA,oBAzDA,8BAyDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uDADA;AAEA,kDAFA;;AAIA;AACA,KAtEA,EArBA;;AA6FA;AACA,eA9FA,2BA8FA;AACA;AACA;AACA;AACA,GAlGA,E;;;;;;;;;;;;;ACxBA;AAAA;AAAA;AAAA;AAAinD,CAAgB,27CAAG,EAAC,C;;;;;;;;;;;ACAroD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uni_modules/uview-ui/components/u-code/u-code.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-code.vue?vue&type=template&id=1d88f349&scoped=true&\"\nvar renderjs\nimport script from \"./u-code.vue?vue&type=script&lang=js&\"\nexport * from \"./u-code.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-code.vue?vue&type=style&index=0&id=1d88f349&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1d88f349\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uni_modules/uview-ui/components/u-code/u-code.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-code.vue?vue&type=template&id=1d88f349&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-code.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-code.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"u-code\">\n\t\t<!-- 此组件功能由js完成,无需写html逻辑 -->\n\t</view>\n</template>\n\n<script>\n\timport props from './props.js';\n\t/**\n\t * Code 验证码输入框\n\t * @description 考虑到用户实际发送验证码的场景,可能是一个按钮,也可能是一段文字,提示语各有不同,所以本组件 不提供界面显示,只提供提示语,由用户将提示语嵌入到具体的场景\n\t * @tutorial https://www.uviewui.com/components/code.html\n\t * @property {String | Number}\tseconds\t\t\t倒计时所需的秒数(默认 60 )\n\t * @property {String}\t\t\tstartText\t\t开始前的提示语,见官网说明(默认 '获取验证码' )\n\t * @property {String}\t\t\tchangeText\t\t倒计时期间的提示语,必须带有字母\"x\",见官网说明(默认 'X秒重新获取' )\n\t * @property {String}\t\t\tendText\t\t\t倒计结束的提示语,见官网说明(默认 '重新获取' )\n\t * @property {Boolean}\t\t\tkeepRunning\t\t是否在H5刷新或各端返回再进入时继续倒计时( 默认false )\n\t * @property {String}\t\t\tuniqueKey\t\t为了区分多个页面,或者一个页面多个倒计时组件本地存储的继续倒计时变了\n\t * \n\t * @event {Function}\tchange\t倒计时期间,每秒触发一次\n\t * @event {Function}\tstart\t开始倒计时触发\n\t * @event {Function}\tend\t\t结束倒计时触发\n\t * @example <u-code ref=\"uCode\" @change=\"codeChange\" seconds=\"20\"></u-code> \n\t */\n\texport default {\n\t\tname: \"u-code\",\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin,props],\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tsecNum: this.seconds,\n\t\t\t\ttimer: null,\n\t\t\t\tcanGetCode: true, // 是否可以执行验证码操作\n\t\t\t}\n\t\t},\n\t\tmounted() {\n\t\t\tthis.checkKeepRunning()\n\t\t},\n\t\twatch: {\n\t\t\tseconds: {\n\t\t\t\timmediate: true,\n\t\t\t\thandler(n) {\n\t\t\t\t\tthis.secNum = n\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\tcheckKeepRunning() {\n\t\t\t\t// 获取上一次退出页面(H5还包括刷新)时的时间戳,如果没有上次的保存,此值可能为空\n\t\t\t\tlet lastTimestamp = Number(uni.getStorageSync(this.uniqueKey + '_$uCountDownTimestamp'))\n\t\t\t\tif(!lastTimestamp) return this.changeEvent(this.startText)\n\t\t\t\t// 当前秒的时间戳\n\t\t\t\tlet nowTimestamp = Math.floor((+ new Date()) / 1000)\n\t\t\t\t// 判断当前的时间戳,是否小于上一次的本该按设定结束,却提前结束的时间戳\n\t\t\t\tif(this.keepRunning && lastTimestamp && lastTimestamp > nowTimestamp) {\n\t\t\t\t\t// 剩余尚未执行完的倒计秒数\n\t\t\t\t\tthis.secNum = lastTimestamp - nowTimestamp\n\t\t\t\t\t// 清除本地保存的变量\n\t\t\t\t\tuni.removeStorageSync(this.uniqueKey + '_$uCountDownTimestamp')\n\t\t\t\t\t// 开始倒计时\n\t\t\t\t\tthis.start()\n\t\t\t\t} else {\n\t\t\t\t\t// 如果不存在需要继续上一次的倒计时,执行正常的逻辑\n\t\t\t\t\tthis.changeEvent(this.startText)\n\t\t\t\t}\n\t\t\t},\n\t\t\t// 开始倒计时\n\t\t\tstart() {\n\t\t\t\t// 防止快速点击获取验证码的按钮而导致内部产生多个定时器导致混乱\n\t\t\t\tif(this.timer) {\n\t\t\t\t\tclearInterval(this.timer)\n\t\t\t\t\tthis.timer = null\n\t\t\t\t}\n\t\t\t\tthis.$emit('start')\n\t\t\t\tthis.canGetCode = false\n\t\t\t\t// 这里放这句,是为了一开始时就提示,否则要等setInterval的1秒后才会有提示\n\t\t\t\tthis.changeEvent(this.changeText.replace(/x|X/, this.secNum))\n\t\t\t\tthis.setTimeToStorage()\n\t\t\t\tthis.timer = setInterval(() => {\n\t\t\t\t\tif (--this.secNum) {\n\t\t\t\t\t\t// 用当前倒计时的秒数替换提示字符串中的\"x\"字母\n\t\t\t\t\t\tthis.changeEvent(this.changeText.replace(/x|X/, this.secNum))\n\t\t\t\t\t} else {\n\t\t\t\t\t\tclearInterval(this.timer)\n\t\t\t\t\t\tthis.timer = null\n\t\t\t\t\t\tthis.changeEvent(this.endText)\n\t\t\t\t\t\tthis.secNum = this.seconds\n\t\t\t\t\t\tthis.$emit('end')\n\t\t\t\t\t\tthis.canGetCode = true\n\t\t\t\t\t}\n\t\t\t\t}, 1000)\n\t\t\t},\n\t\t\t// 重置,可以让用户再次获取验证码\n\t\t\treset() {\n\t\t\t\tthis.canGetCode = true\n\t\t\t\tclearInterval(this.timer)\n\t\t\t\tthis.secNum = this.seconds\n\t\t\t\tthis.changeEvent(this.endText)\n\t\t\t},\n\t\t\tchangeEvent(text) {\n\t\t\t\tthis.$emit('change', text)\n\t\t\t},\n\t\t\t// 保存时间戳,为了防止倒计时尚未结束,H5刷新或者各端的右上角返回上一页再进来\n\t\t\tsetTimeToStorage() {\n\t\t\t\tif(!this.keepRunning || !this.timer) return\n\t\t\t\t// 记录当前的时间戳,为了下次进入页面,如果还在倒计时内的话,继续倒计时\n\t\t\t\t// 倒计时尚未结束,结果大于0;倒计时已经开始,就会小于初始值,如果等于初始值,说明没有开始倒计时,无需处理\n\t\t\t\tif(this.secNum > 0 && this.secNum <= this.seconds) {\n\t\t\t\t\t// 获取当前时间戳(+ new Date()为特殊写法),除以1000变成秒,再去除小数部分\n\t\t\t\t\tlet nowTimestamp = Math.floor((+ new Date()) / 1000)\n\t\t\t\t\t// 将本该结束时候的时间戳保存起来 => 当前时间戳 + 剩余的秒数\n\t\t\t\t\tuni.setStorage({\n\t\t\t\t\t\tkey: this.uniqueKey + '_$uCountDownTimestamp',\n\t\t\t\t\t\tdata: nowTimestamp + Number(this.secNum)\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t// 组件销毁的时候,清除定时器,否则定时器会继续存在,系统不会自动清除\n\t\tbeforeDestroy() {\n\t\t\tthis.setTimeToStorage()\n\t\t\tclearTimeout(this.timer)\n\t\t\tthis.timer = null\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t@import \"../../libs/css/components.scss\";\n</style>\n","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-code.vue?vue&type=style&index=0&id=1d88f349&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-code.vue?vue&type=style&index=0&id=1d88f349&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657703507109\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | |
\ No newline at end of file |
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-form-item/u-form-item.vue?faa5","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-form-item/u-form-item.vue?99ed","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-form-item/u-form-item.vue?5c85","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-form-item/u-form-item.vue?0b46","uni-app:///uni_modules/uview-ui/components/u-form-item/u-form-item.vue","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-form-item/u-form-item.vue?c1a9","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-form-item/u-form-item.vue?d623"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoI;AACpI;AAC+D;AACL;AACsC;;;AAGhG;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,iFAAM;AACR,EAAE,kGAAM;AACR,EAAE,2GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,sGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,iSAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClFA;AAAA;AAAA;AAAA;AAAu2B,CAAgB,yyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC6E33B,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;;;;;;;;;;;;;;kBAeA,EACA,mBADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA;AACA,iBAFA,EAGA,cACA;AACA,6BAFA,EAGA;AACA,0BAJA,EAKA;AACA,sBANA,EAOA;AACA,sBARA,EASA;AACA,4BAVA,EAHA,GAgBA,CApBA,EAqBA;AACA,cACA,SADA,uBACA,CACA,yBACA,CAHA,EAtBA,EA2BA,OA3BA,qBA2BA,CACA,YACA,CA7BA,EA8BA,WACA,IADA,kBACA,CACA;AACA,8BACA,mBACA,0CACA,CACA,CAPA,EAQA;AACA,oBATA,8BASA,CACA;AACA,mCACA,CAZA,EAaA;AACA,iBAdA,2BAcA,CACA,oBACA,CAhBA,EAiBA;AACA,cAlBA,wBAkBA,CACA;AACA,2EAFA,CAGA;AACA,8DAJA,CAKA;AACA,0BACA,CAzBA,EA0BA;AACA,gBA3BA,0BA2BA,CACA,oBACA,CA7BA,EA9BA,E;;;;;;;;;;;;;AC7FA;AAAA;AAAA;AAAA;AAAsnD,CAAgB,g8CAAG,EAAC,C;;;;;;;;;;;ACA1oD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uni_modules/uview-ui/components/u-form-item/u-form-item.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-form-item.vue?vue&type=template&id=067e4733&scoped=true&\"\nvar renderjs\nimport script from \"./u-form-item.vue?vue&type=script&lang=js&\"\nexport * from \"./u-form-item.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-form-item.vue?vue&type=style&index=0&id=067e4733&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"067e4733\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uni_modules/uview-ui/components/u-form-item/u-form-item.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-form-item.vue?vue&type=template&id=067e4733&scoped=true&\"","var components\ntry {\n components = {\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-icon/u-icon\" */ \"@/uni_modules/uview-ui/components/u-icon/u-icon.vue\"\n )\n },\n uLine: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-line/u-line\" */ \"@/uni_modules/uview-ui/components/u-line/u-line.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.__get_style([\n _vm.$u.addStyle(_vm.customStyle),\n {\n flexDirection: _vm.parentData.labelPosition === \"left\" ? \"row\" : \"column\"\n }\n ])\n\n var g0 =\n _vm.required || _vm.leftIcon || _vm.label\n ? _vm.$u.addUnit(_vm.labelWidth || _vm.parentData.labelWidth)\n : null\n var s1 =\n _vm.required || _vm.leftIcon || _vm.label\n ? _vm.__get_style([\n _vm.parentData.labelStyle,\n {\n justifyContent:\n _vm.parentData.labelAlign === \"left\"\n ? \"flex-start\"\n : _vm.parentData.labelAlign === \"center\"\n ? \"center\"\n : \"flex-end\"\n }\n ])\n : null\n var g1 =\n !!_vm.message && _vm.parentData.errorType === \"message\"\n ? _vm.$u.addUnit(\n _vm.parentData.labelPosition === \"top\"\n ? 0\n : _vm.labelWidth || _vm.parentData.labelWidth\n )\n : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n g0: g0,\n s1: s1,\n g1: g1\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-form-item.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-form-item.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"u-form-item\">\n\t\t<view\n\t\t\tclass=\"u-form-item__body\"\n\t\t\t@tap=\"clickHandler\"\n\t\t\t:style=\"[$u.addStyle(customStyle), {\n\t\t\t\tflexDirection: parentData.labelPosition === 'left' ? 'row' : 'column'\n\t\t\t}]\"\n\t\t>\n\t\t\t<!-- 微信小程序中,将一个参数设置空字符串,结果会变成字符串\"true\" -->\n\t\t\t<slot name=\"label\">\n\t\t\t\t<!-- {{required}} -->\n\t\t\t\t<view\n\t\t\t\t\tclass=\"u-form-item__body__left\"\n\t\t\t\t\tv-if=\"required || leftIcon || label\"\n\t\t\t\t\t:style=\"{\n\t\t\t\t\t\twidth: $u.addUnit(labelWidth || parentData.labelWidth),\n\t\t\t\t\t\tmarginBottom: parentData.labelPosition === 'left' ? 0 : '5px',\n\t\t\t\t\t}\"\n\t\t\t\t>\n\t\t\t\t\t<!-- 为了块对齐 -->\n\t\t\t\t\t<view class=\"u-form-item__body__left__content\">\n\t\t\t\t\t\t<!-- nvue不支持伪元素before -->\n\t\t\t\t\t\t<text\n\t\t\t\t\t\t\tv-if=\"required\"\n\t\t\t\t\t\t\tclass=\"u-form-item__body__left__content__required\"\n\t\t\t\t\t\t>*</text>\n\t\t\t\t\t\t<view\n\t\t\t\t\t\t\tclass=\"u-form-item__body__left__content__icon\"\n\t\t\t\t\t\t\tv-if=\"leftIcon\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<u-icon\n\t\t\t\t\t\t\t\t:name=\"leftIcon\"\n\t\t\t\t\t\t\t\t:custom-style=\"leftIconStyle\"\n\t\t\t\t\t\t\t></u-icon>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<text\n\t\t\t\t\t\t\tclass=\"u-form-item__body__left__content__label\"\n\t\t\t\t\t\t\t:style=\"[parentData.labelStyle, {\n\t\t\t\t\t\t\t\tjustifyContent: parentData.labelAlign === 'left' ? 'flex-start' : parentData.labelAlign === 'center' ? 'center' : 'flex-end'\n\t\t\t\t\t\t\t}]\"\n\t\t\t\t\t\t>{{ label }}</text>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</slot>\n\t\t\t<view class=\"u-form-item__body__right\">\n\t\t\t\t<view class=\"u-form-item__body__right__content\">\n\t\t\t\t\t<view class=\"u-form-item__body__right__content__slot\">\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</view>\n\t\t\t\t\t<view\n\t\t\t\t\t\tclass=\"item__body__right__content__icon\"\n\t\t\t\t\t\tv-if=\"$slots.right\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<slot name=\"right\" />\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t</view>\n\t\t<slot name=\"error\">\n\t\t\t<text\n\t\t\t\tv-if=\"!!message && parentData.errorType === 'message'\"\n\t\t\t\tclass=\"u-form-item__body__right__message\"\n\t\t\t\t:style=\"{\n\t\t\t\t\tmarginLeft: $u.addUnit(parentData.labelPosition === 'top' ? 0 : (labelWidth || parentData.labelWidth))\n\t\t\t\t}\"\n\t\t\t>{{ message }}</text>\n\t\t</slot>\n\t\t<u-line\n\t\t\tv-if=\"borderBottom\"\n\t\t\t:color=\"message && parentData.errorType === 'border-bottom' ? $u.color.error : propsLine.color\"\n\t\t\t:customStyle=\"`margin-top: ${message && parentData.errorType === 'message' ? '5px' : 0}`\"\n\t\t></u-line>\n\t</view>\n</template>\n\n<script>\n\timport props from './props.js';\n\t/**\n\t * Form 表单\n\t * @description 此组件一般用于表单场景,可以配置Input输入框,Select弹出框,进行表单验证等。\n\t * @tutorial https://www.uviewui.com/components/form.html\n\t * @property {String}\t\t\tlabel\t\t\tinput的label提示语\n\t * @property {String}\t\t\tprop\t\t\t绑定的值\n\t * @property {String | Boolean}\tborderBottom\t是否显示表单域的下划线边框\n\t * @property {String | Number}\tlabelWidth\t\tlabel的宽度,单位px\n\t * @property {String}\t\t\trightIcon\t\t右侧图标\n\t * @property {String}\t\t\tleftIcon\t\t左侧图标\n\t * @property {String | Object} leftIconStyle 左侧图标的样式\n\t * @property {Boolean}\t\t\trequired\t\t是否显示左边的必填星号,只作显示用,具体校验必填的逻辑,请在rules中配置 (默认 false )\n\t *\n\t * @example <u-form-item label=\"姓名\" prop=\"userInfo.name\" borderBottom ref=\"item1\"></u-form-item>\n\t */\n\texport default {\n\t\tname: 'u-form-item',\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin, props],\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\t// 错误提示语\n\t\t\t\tmessage: '',\n\t\t\t\tparentData: {\n\t\t\t\t\t// 提示文本的位置\n\t\t\t\t\tlabelPosition: 'left',\n\t\t\t\t\t// 提示文本对齐方式\n\t\t\t\t\tlabelAlign: 'left',\n\t\t\t\t\t// 提示文本的样式\n\t\t\t\t\tlabelStyle: {},\n\t\t\t\t\t// 提示文本的宽度\n\t\t\t\t\tlabelWidth: 45,\n\t\t\t\t\t// 错误提示方式\n\t\t\t\t\terrorType: 'message'\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t// 组件创建完成时,将当前实例保存到u-form中\n\t\tcomputed: {\n\t\t\tpropsLine() {\n\t\t\t\treturn uni.$u.props.line\n\t\t\t}\n\t\t},\n\t\tmounted() {\n\t\t\tthis.init()\n\t\t},\n\t\tmethods: {\n\t\t\tinit() {\n\t\t\t\t// 父组件的实例\n\t\t\t\tthis.updateParentData()\n\t\t\t\tif (!this.parent) {\n\t\t\t\t\tuni.$u.error('u-form-item需要结合u-form组件使用')\n\t\t\t\t}\n\t\t\t},\n\t\t\t// 获取父组件的参数\n\t\t\tupdateParentData() {\n\t\t\t\t// 此方法写在mixin中\n\t\t\t\tthis.getParentData('u-form');\n\t\t\t},\n\t\t\t// 移除u-form-item的校验结果\n\t\t\tclearValidate() {\n\t\t\t\tthis.message = null\n\t\t\t},\n\t\t\t// 清空当前的组件的校验结果,并重置为初始值\n\t\t\tresetField() {\n\t\t\t\t// 找到原始值\n\t\t\t\tconst value = uni.$u.getProperty(this.parent.originalModel, this.prop)\n\t\t\t\t// 将u-form的model的prop属性链还原原始值\n\t\t\t\tuni.$u.setProperty(this.parent.model, this.prop, value)\n\t\t\t\t// 移除校验结果\n\t\t\t\tthis.message = null\n\t\t\t},\n\t\t\t// 点击组件\n\t\t\tclickHandler() {\n\t\t\t\tthis.$emit('click')\n\t\t\t}\n\t\t},\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t@import \"../../libs/css/components.scss\";\n\n\t.u-form-item {\n\t\t@include flex(column);\n\t\tfont-size: 14px;\n\t\tcolor: $u-main-color;\n\n\t\t&__body {\n\t\t\t@include flex;\n\t\t\tpadding: 10px 0;\n\n\t\t\t&__left {\n\t\t\t\t@include flex;\n\t\t\t\talign-items: center;\n\n\t\t\t\t&__content {\n\t\t\t\t\tposition: relative;\n\t\t\t\t\t@include flex;\n\t\t\t\t\talign-items: center;\n\t\t\t\t\tpadding-right: 10rpx;\n\t\t\t\t\tflex: 1;\n\n\t\t\t\t\t&__icon {\n\t\t\t\t\t\tmargin-right: 8rpx;\n\t\t\t\t\t}\n\n\t\t\t\t\t&__required {\n\t\t\t\t\t\tposition: absolute;\n\t\t\t\t\t\tleft: -9px;\n\t\t\t\t\t\tcolor: $u-error;\n\t\t\t\t\t\tline-height: 20px;\n\t\t\t\t\t\tfont-size: 20px;\n\t\t\t\t\t\ttop: 3px;\n\t\t\t\t\t}\n\n\t\t\t\t\t&__label {\n\t\t\t\t\t\t@include flex;\n\t\t\t\t\t\talign-items: center;\n\t\t\t\t\t\tflex: 1;\n\t\t\t\t\t\tcolor: $u-main-color;\n\t\t\t\t\t\tfont-size: 15px;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&__right {\n\t\t\t\tflex: 1;\n\n\t\t\t\t&__content {\n\t\t\t\t\t@include flex;\n\t\t\t\t\talign-items: center;\n\t\t\t\t\tflex: 1;\n\n\t\t\t\t\t&__slot {\n\t\t\t\t\t\tflex: 1;\n\t\t\t\t\t\t/* #ifndef MP */\n\t\t\t\t\t\t@include flex;\n\t\t\t\t\t\talign-items: center;\n\t\t\t\t\t\t/* #endif */\n\t\t\t\t\t}\n\n\t\t\t\t\t&__icon {\n\t\t\t\t\t\tmargin-left: 10rpx;\n\t\t\t\t\t\tcolor: $u-light-color;\n\t\t\t\t\t\tfont-size: 30rpx;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t&__message {\n\t\t\t\t\tfont-size: 12px;\n\t\t\t\t\tline-height: 12px;\n\t\t\t\t\tcolor: $u-error;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n</style>\n","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-form-item.vue?vue&type=style&index=0&id=067e4733&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-form-item.vue?vue&type=style&index=0&id=067e4733&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657703507136\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | |
\ No newline at end of file |
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-form/u-form.js.map
已删除
100644 → 0
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-form/u-form.vue?b396","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-form/u-form.vue?34cb","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-form/u-form.vue?86e9","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-form/u-form.vue?1319","uni-app:///uni_modules/uview-ui/components/u-form/u-form.vue"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;;;AAGrD;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,6FAAM;AACR,EAAE,sGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,iGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACtBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAk2B,CAAgB,oyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;ACOt3B;AACA,8G;AACA;AACA;AACA;;;;;;;;;;;;;;AAcA;AACA,gBADA;AAEA,wDAFA;AAGA,SAHA,qBAGA;AACA;AACA,iBADA;;AAGA,GAPA;AAQA,MARA,kBAQA;AACA;AACA,mBADA;AAEA;AACA,mBAHA;AAIA;AACA,yBALA;;AAOA,GAhBA;AAiBA;AACA;AACA;AACA,qBADA;AAEA,aAFA,mBAEA,CAFA,EAEA;AACA;AACA,OAJA,EAFA;;AAQA;AACA,eATA,uBASA,CATA,EASA;AACA;AACA;AACA;AACA;AACA,kCADA;AAEA,SAJA;AAKA;AACA,KAjBA;AAkBA;AACA;AACA,qBADA;AAEA,aAFA,mBAEA,CAFA,EAEA;AACA;AACA;AACA;AACA,OANA,EAnBA,EAjBA;;;AA6CA;AACA,eADA,yBACA;AACA;AACA,oBADA;AAEA,uBAFA;AAGA,wBAHA;AAIA,qBAJA;AAKA,qBALA;AAMA,qBANA;;AAQA,KAVA,EA7CA;;AAyDA,SAzDA,qBAyDA;AACA;AACA;AACA;AACA,GA7DA;AA8DA;AACA;AACA,YAFA,oBAEA,KAFA,EAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAZA;AAaA;AACA,eAdA,yBAcA;AACA;AACA,KAhBA;AAiBA;AACA,cAlBA,sBAkBA,GAlBA,EAkBA;AACA;AACA;AACA;AACA;AACA;AACA,OAJA;AAKA,KAzBA;AA0BA;AACA,iBA3BA,yBA2BA,KA3BA,EA2BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OALA;AAMA,KAnCA;AAoCA;AACA,iBArCA,yBAqCA,KArCA,EAqCA,QArCA,EAqCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCADA;AAEA,gCAFA;;AAIA;AACA;AACA;AACA,6DADA;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCADA,EACA,QADA;;AAGA;AACA,oCADA,EACA,WADA;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,wCADA,kDACA,qBADA,yEACA,IADA;AAEA,yBAVA;;AAYA;AACA;AACA,mBA7CA;AA8CA;AACA;AACA,iBAtDA,EAFA;AAyDA,KA9FA;AA+FA;AACA,YAhGA,oBAgGA,QAhGA,EAgGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6CADA;;AAGA;AACA;AACA;AACA;AACA;AACA,aAJA,MAIA;AACA;AACA;AACA,WARA;AASA,SAdA;AAeA,OAjBA;AAkBA,KAxHA,EA9DA,E","file":"uni_modules/uview-ui/components/u-form/u-form.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-form.vue?vue&type=template&id=786a592e&scoped=true&\"\nvar renderjs\nimport script from \"./u-form.vue?vue&type=script&lang=js&\"\nexport * from \"./u-form.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"786a592e\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uni_modules/uview-ui/components/u-form/u-form.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-form.vue?vue&type=template&id=786a592e&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-form.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-form.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"u-form\">\r\n\t\t<slot />\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport props from \"./props.js\";\r\n\timport Schema from \"../../libs/util/async-validator\";\r\n\t// 去除警告信息\r\n\tSchema.warning = function() {};\r\n\t/**\r\n\t * Form 表单\r\n\t * @description 此组件一般用于表单场景,可以配置Input输入框,Select弹出框,进行表单验证等。\r\n\t * @tutorial https://www.uviewui.com/components/form.html\r\n\t * @property {Object}\t\t\t\t\t\tmodel\t\t\t当前form的需要验证字段的集合\r\n\t * @property {Object | Function | Array}\trules\t\t\t验证规则\r\n\t * @property {String}\t\t\t\t\t\terrorType\t\t错误的提示方式,见上方说明 ( 默认 message )\r\n\t * @property {Boolean}\t\t\t\t\t\tborderBottom\t是否显示表单域的下划线边框 ( 默认 true )\r\n\t * @property {String}\t\t\t\t\t\tlabelPosition\t表单域提示文字的位置,left-左侧,top-上方 ( 默认 'left' )\r\n\t * @property {String | Number}\t\t\t\tlabelWidth\t\t提示文字的宽度,单位px ( 默认 45 )\r\n\t * @property {String}\t\t\t\t\t\tlabelAlign\t\tlable字体的对齐方式 ( 默认 ‘left' )\r\n\t * @property {Object}\t\t\t\t\t\tlabelStyle\t\tlable的样式,对象形式\r\n\t * @example <u--formlabelPosition=\"left\" :model=\"model1\" :rules=\"rules\" ref=\"form1\"></u--form>\r\n\t */\r\n\texport default {\r\n\t\tname: \"u-form\",\r\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin, props],\r\n\t\tprovide() {\r\n\t\t\treturn {\r\n\t\t\t\tuForm: this,\r\n\t\t\t};\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tformRules: {},\r\n\t\t\t\t// 规则校验器\r\n\t\t\t\tvalidator: {},\r\n\t\t\t\t// 原始的model快照,用于resetFields方法重置表单时使用\r\n\t\t\t\toriginalModel: null,\r\n\t\t\t};\r\n\t\t},\r\n\t\twatch: {\r\n\t\t\t// 监听规则的变化\r\n\t\t\trules: {\r\n\t\t\t\timmediate: true,\r\n\t\t\t\thandler(n) {\r\n\t\t\t\t\tthis.setRules(n);\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t\t// 监听属性的变化,通知子组件u-form-item重新获取信息\r\n\t\t\tpropsChange(n) {\r\n\t\t\t\tif (this.children?.length) {\r\n\t\t\t\t\tthis.children.map((child) => {\r\n\t\t\t\t\t\t// 判断子组件(u-form-item)如果有updateParentData方法的话,就就执行(执行的结果是子组件重新从父组件拉取了最新的值)\r\n\t\t\t\t\t\ttypeof child.updateParentData == \"function\" &&\r\n\t\t\t\t\t\t\tchild.updateParentData();\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// 监听model的初始值作为重置表单的快照\r\n\t\t\tmodel: {\r\n\t\t\t\timmediate: true,\r\n\t\t\t\thandler(n) {\r\n\t\t\t\t\tif (!this.originalModel) {\r\n\t\t\t\t\t\tthis.originalModel = uni.$u.deepClone(n);\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\tpropsChange() {\r\n\t\t\t\treturn [\r\n\t\t\t\t\tthis.errorType,\r\n\t\t\t\t\tthis.borderBottom,\r\n\t\t\t\t\tthis.labelPosition,\r\n\t\t\t\t\tthis.labelWidth,\r\n\t\t\t\t\tthis.labelAlign,\r\n\t\t\t\t\tthis.labelStyle,\r\n\t\t\t\t];\r\n\t\t\t},\r\n\t\t},\r\n\t\tcreated() {\r\n\t\t\t// 存储当前form下的所有u-form-item的实例\r\n\t\t\t// 不能定义在data中,否则微信小程序会造成循环引用而报错\r\n\t\t\tthis.children = [];\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// 手动设置校验的规则,如果规则中有函数的话,微信小程序中会过滤掉,所以只能手动调用设置规则\r\n\t\t\tsetRules(rules) {\r\n\t\t\t\t// 判断是否有规则\r\n\t\t\t\tif (Object.keys(rules).length === 0) return;\n\t\t\t\tif (process.env.NODE_ENV === 'development' && Object.keys(this.model).length === 0) {\n\t\t\t\t\tuni.$u.error('设置rules,model必须设置!如果已经设置,请刷新页面。');\n\t\t\t\t\treturn;\n\t\t\t\t};\r\n\t\t\t\tthis.formRules = rules;\r\n\t\t\t\t// 重新将规则赋予Validator\r\n\t\t\t\tthis.validator = new Schema(rules);\r\n\t\t\t},\r\n\t\t\t// 清空所有u-form-item组件的内容,本质上是调用了u-form-item组件中的resetField()方法\r\n\t\t\tresetFields() {\r\n\t\t\t\tthis.resetModel();\r\n\t\t\t},\r\n\t\t\t// 重置model为初始值的快照\r\n\t\t\tresetModel(obj) {\r\n\t\t\t\t// 历遍所有u-form-item,根据其prop属性,还原model的原始快照\r\n\t\t\t\tthis.children.map((child) => {\r\n\t\t\t\t\tconst prop = child?.prop;\r\n\t\t\t\t\tconst value = uni.$u.getProperty(this.originalModel, prop);\r\n\t\t\t\t\tuni.$u.setProperty(this.model, prop, value);\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\t// 清空校验结果\r\n\t\t\tclearValidate(props) {\r\n\t\t\t\tprops = [].concat(props);\r\n\t\t\t\tthis.children.map((child) => {\r\n\t\t\t\t\t// 如果u-form-item的prop在props数组中,则清除对应的校验结果信息\r\n\t\t\t\t\tif (props[0] === undefined || props.includes(child.prop)) {\r\n\t\t\t\t\t\tchild.message = null;\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\t// 对部分表单字段进行校验\r\n\t\t\tasync validateField(value, callback, event = null) {\r\n\t\t\t\t// $nextTick是必须的,否则model的变更,可能会延后于此方法的执行\r\n\t\t\t\tthis.$nextTick(() => {\r\n\t\t\t\t\t// 校验错误信息,返回给回调方法,用于存放所有form-item的错误信息\r\n\t\t\t\t\tconst errorsRes = [];\r\n\t\t\t\t\t// 如果为字符串,转为数组\r\n\t\t\t\t\tvalue = [].concat(value);\r\n\t\t\t\t\t// 历遍children所有子form-item\r\n\t\t\t\t\tthis.children.map((child) => {\r\n\t\t\t\t\t\t// 用于存放form-item的错误信息\r\n\t\t\t\t\t\tconst childErrors = [];\r\n\t\t\t\t\t\tif (value.includes(child.prop)) {\r\n\t\t\t\t\t\t\t// 获取对应的属性,通过类似'a.b.c'的形式\r\n\t\t\t\t\t\t\tconst propertyVal = uni.$u.getProperty(\r\n\t\t\t\t\t\t\t\tthis.model,\r\n\t\t\t\t\t\t\t\tchild.prop\r\n\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t// 属性链数组\r\n\t\t\t\t\t\t\tconst propertyChain = child.prop.split(\".\");\r\n\t\t\t\t\t\t\tconst propertyName =\r\n\t\t\t\t\t\t\t\tpropertyChain[propertyChain.length - 1];\r\n\r\n\t\t\t\t\t\t\tconst rule = this.formRules[child.prop];\r\n\t\t\t\t\t\t\t// 如果不存在对应的规则,直接返回,否则校验器会报错\r\n\t\t\t\t\t\t\tif (!rule) return;\r\n\t\t\t\t\t\t\t// rule规则可为数组形式,也可为对象形式,此处拼接成为数组\r\n\t\t\t\t\t\t\tconst rules = [].concat(rule);\r\n\r\n\t\t\t\t\t\t\t// 对rules数组进行校验\r\n\t\t\t\t\t\t\tfor (let i = 0; i < rules.length; i++) {\r\n\t\t\t\t\t\t\t\tconst ruleItem = rules[i];\r\n\t\t\t\t\t\t\t\t// 将u-form-item的触发器转为数组形式\r\n\t\t\t\t\t\t\t\tconst trigger = [].concat(ruleItem?.trigger);\r\n\t\t\t\t\t\t\t\t// 如果是有传入触发事件,但是此form-item却没有配置此触发器的话,不执行校验操作\r\n\t\t\t\t\t\t\t\tif (event && !trigger.includes(event)) continue;\r\n\t\t\t\t\t\t\t\t// 实例化校验对象,传入构造规则\r\n\t\t\t\t\t\t\t\tconst validator = new Schema({\r\n\t\t\t\t\t\t\t\t\t[propertyName]: ruleItem,\r\n\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\tvalidator.validate({\r\n\t\t\t\t\t\t\t\t\t\t[propertyName]: propertyVal,\r\n\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t(errors, fields) => {\r\n\t\t\t\t\t\t\t\t\t\tif (uni.$u.test.array(errors)) {\r\n\t\t\t\t\t\t\t\t\t\t\terrorsRes.push(...errors);\r\n\t\t\t\t\t\t\t\t\t\t\tchildErrors.push(...errors);\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tchild.message =\r\n\t\t\t\t\t\t\t\t\t\t\tchildErrors[0]?.message ?? null;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t\t// 执行回调函数\r\n\t\t\t\t\ttypeof callback === \"function\" && callback(errorsRes);\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\t// 校验全部数据\r\n\t\t\tvalidate(callback) {\n\t\t\t\t// 开发环境才提示,生产环境不会提示\n\t\t\t\tif (process.env.NODE_ENV === 'development' && Object.keys(this.formRules).length === 0) {\n\t\t\t\t\tuni.$u.error('未设置rules,请看文档说明!如果已经设置,请刷新页面。');\n\t\t\t\t\treturn;\n\t\t\t\t}\r\n\t\t\t\treturn new Promise((resolve, reject) => {\r\n\t\t\t\t\t// $nextTick是必须的,否则model的变更,可能会延后于validate方法\r\n\t\t\t\t\tthis.$nextTick(() => {\r\n\t\t\t\t\t\t// 获取所有form-item的prop,交给validateField方法进行校验\r\n\t\t\t\t\t\tconst formItemProps = this.children.map(\r\n\t\t\t\t\t\t\t(item) => item.prop\r\n\t\t\t\t\t\t);\r\n\t\t\t\t\t\tthis.validateField(formItemProps, (errors) => {\r\n\t\t\t\t\t\t\tif(errors.length) {\r\n\t\t\t\t\t\t\t\t// 如果错误提示方式为toast,则进行提示\r\n\t\t\t\t\t\t\t\tthis.errorType === 'toast' && uni.$u.toast(errors[0].message)\r\n\t\t\t\t\t\t\t\treject(errors)\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tresolve(true)\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t});\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t},\r\n\t};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n</style>\r\n"],"sourceRoot":""} | |
\ No newline at end of file |
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-gap/u-gap.js.map
已删除
100644 → 0
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-gap/u-gap.vue?0c99","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-gap/u-gap.vue?35dc","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-gap/u-gap.vue?2f16","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-gap/u-gap.vue?89b3","uni-app:///uni_modules/uview-ui/components/u-gap/u-gap.vue","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-gap/u-gap.vue?e904","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-gap/u-gap.vue?e1b0"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA8H;AAC9H;AACyD;AACL;AACsC;;;AAG1F;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,4FAAM;AACR,EAAE,qGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,gGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA;AAAA;AAAA;AAAA;AAAi2B,CAAgB,myBAAG,EAAC,C;;;;;;;;;;;;;;;;;ACKr3B,gF;;;;AACA;;;;;;;;;;;kBAYA,EACA,aADA,EAEA,sDAFA;AAGA;AACA,YADA,sBACA;AACA;AACA,qCADA;AAEA,2CAFA;AAGA,iDAHA;AAIA,uDAJA;;AAMA;AACA,KATA,EAHA,E;;;;;;;;;;;;;AClBA;AAAA;AAAA;AAAA;AAAgnD,CAAgB,07CAAG,EAAC,C;;;;;;;;;;;ACApoD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uni_modules/uview-ui/components/u-gap/u-gap.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-gap.vue?vue&type=template&id=b138c5b2&scoped=true&\"\nvar renderjs\nimport script from \"./u-gap.vue?vue&type=script&lang=js&\"\nexport * from \"./u-gap.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-gap.vue?vue&type=style&index=0&id=b138c5b2&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b138c5b2\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uni_modules/uview-ui/components/u-gap/u-gap.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-gap.vue?vue&type=template&id=b138c5b2&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.__get_style([_vm.gapStyle])\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-gap.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-gap.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"u-gap\" :style=\"[gapStyle]\"></view>\n</template>\n\n<script>\n\timport props from './props.js';\n\t/**\n\t * gap 间隔槽\n\t * @description 该组件一般用于内容块之间的用一个灰色块隔开的场景,方便用户风格统一,减少工作量\n\t * @tutorial https://www.uviewui.com/components/gap.html\n\t * @property {String}\t\t\tbgColor\t\t\t背景颜色 (默认 'transparent' )\n\t * @property {String | Number}\theight\t\t\t分割槽高度,单位px (默认 20 )\n\t * @property {String | Number}\tmarginTop\t\t与前一个组件的距离,单位px( 默认 0 )\n\t * @property {String | Number}\tmarginBottom\t与后一个组件的距离,单位px (默认 0 )\n\t * @property {Object}\t\t\tcustomStyle\t\t定义需要用到的外部样式\n\t * \n\t * @example <u-gap height=\"80\" bg-color=\"#bbb\"></u-gap>\n\t */\n\texport default {\n\t\tname: \"u-gap\",\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin,props],\n\t\tcomputed: {\n\t\t\tgapStyle() {\n\t\t\t\tconst style = {\n\t\t\t\t\tbackgroundColor: this.bgColor,\n\t\t\t\t\theight: uni.$u.addUnit(this.height),\n\t\t\t\t\tmarginTop: uni.$u.addUnit(this.marginTop),\n\t\t\t\t\tmarginBottom: uni.$u.addUnit(this.marginBottom),\n\t\t\t\t}\n\t\t\t\treturn uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle))\n\t\t\t}\n\t\t}\n\t};\n</script>\n\n<style lang=\"scss\" scoped>\n\t@import \"../../libs/css/components.scss\";\n</style>\n","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-gap.vue?vue&type=style&index=0&id=b138c5b2&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-gap.vue?vue&type=style&index=0&id=b138c5b2&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657703507200\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | |
\ No newline at end of file |
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-icon/u-icon.js.map
已删除
100644 → 0
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-icon/u-icon.vue?4a64","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-icon/u-icon.vue?60e1","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-icon/u-icon.vue?6cb0","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-icon/u-icon.vue?f821","uni-app:///uni_modules/uview-ui/components/u-icon/u-icon.vue","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-icon/u-icon.vue?3ca2","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-icon/u-icon.vue?e496"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,6FAAM;AACR,EAAE,sGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,iGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAAk2B,CAAgB,oyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiDt3B;;AAEA,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAHA;AAGA,C,CAEA;;;;;;;;;;;;;;;;;;;;;;;;;oBA0BA,EACA,cADA,EAEA,IAFA,kBAEA,CACA,UAGA,CANA,EAOA,sDAPA,EAQA,YACA,QADA,sBACA,CACA,iBACA,kDAFA,CAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6GAVA,CAWA;AACA;AAIA,qBACA,CAlBA,EAmBA,SAnBA,uBAmBA,CACA,eACA,UACA,mCADA,EAEA,qCAFA,EAGA,yCAHA,EAIA;AACA,qCALA,GAFA,CASA;AACA,2FAEA,aACA,CAhCA,EAiCA;AACA,SAlCA,mBAkCA,CACA,qCACA,CApCA,EAqCA,QArCA,sBAqCA,CACA;AACA;AACA;AACA;AACA;AACA,KA3CA;AA4CA;AACA,QA7CA,kBA6CA;AACA;AACA;AACA,KAhDA,EARA;;AA0DA;AACA,gBADA,wBACA,CADA,EACA;AACA;AACA;AACA;AACA,KALA,EA1DA,E;;;;;;;;;;;;;AC/EA;AAAA;AAAA;AAAA;AAAinD,CAAgB,27CAAG,EAAC,C;;;;;;;;;;;ACAroD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uni_modules/uview-ui/components/u-icon/u-icon.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-icon.vue?vue&type=template&id=2ee87dc9&scoped=true&\"\nvar renderjs\nimport script from \"./u-icon.vue?vue&type=script&lang=js&\"\nexport * from \"./u-icon.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-icon.vue?vue&type=style&index=0&id=2ee87dc9&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2ee87dc9\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uni_modules/uview-ui/components/u-icon/u-icon.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-icon.vue?vue&type=template&id=2ee87dc9&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.isImg\n ? _vm.__get_style([_vm.imgStyle, _vm.$u.addStyle(_vm.customStyle)])\n : null\n var s1 = !_vm.isImg\n ? _vm.__get_style([_vm.iconStyle, _vm.$u.addStyle(_vm.customStyle)])\n : null\n var g0 = _vm.label !== \"\" ? _vm.$u.addUnit(_vm.labelSize) : null\n var g1 =\n _vm.label !== \"\" && _vm.labelPos == \"right\"\n ? _vm.$u.addUnit(_vm.space)\n : null\n var g2 =\n _vm.label !== \"\" && _vm.labelPos == \"bottom\"\n ? _vm.$u.addUnit(_vm.space)\n : null\n var g3 =\n _vm.label !== \"\" && _vm.labelPos == \"left\"\n ? _vm.$u.addUnit(_vm.space)\n : null\n var g4 =\n _vm.label !== \"\" && _vm.labelPos == \"top\" ? _vm.$u.addUnit(_vm.space) : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n s1: s1,\n g0: g0,\n g1: g1,\n g2: g2,\n g3: g3,\n g4: g4\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-icon.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-icon.vue?vue&type=script&lang=js&\"","<template>\n\t<view\n\t class=\"u-icon\"\n\t @tap=\"clickHandler\"\n\t :class=\"['u-icon--' + labelPos]\"\n\t>\n\t\t<image\n\t\t class=\"u-icon__img\"\n\t\t v-if=\"isImg\"\n\t\t :src=\"name\"\n\t\t :mode=\"imgMode\"\n\t\t :style=\"[imgStyle, $u.addStyle(customStyle)]\"\n\t\t></image>\n\t\t<text\n\t\t v-else\n\t\t class=\"u-icon__icon\"\n\t\t :class=\"uClasses\"\n\t\t :style=\"[iconStyle, $u.addStyle(customStyle)]\"\n\t\t :hover-class=\"hoverClass\"\n\t\t>{{icon}}</text>\n\t\t<!-- 这里进行空字符串判断,如果仅仅是v-if=\"label\",可能会出现传递0的时候,结果也无法显示 -->\n\t\t<text\n\t\t v-if=\"label !== ''\" \n\t\t class=\"u-icon__label\"\n\t\t :style=\"{\n\t\t\tcolor: labelColor,\n\t\t\tfontSize: $u.addUnit(labelSize),\n\t\t\tmarginLeft: labelPos == 'right' ? $u.addUnit(space) : 0,\n\t\t\tmarginTop: labelPos == 'bottom' ? $u.addUnit(space) : 0,\n\t\t\tmarginRight: labelPos == 'left' ? $u.addUnit(space) : 0,\n\t\t\tmarginBottom: labelPos == 'top' ? $u.addUnit(space) : 0,\n\t\t}\"\n\t\t>{{ label }}</text>\n\t</view>\n</template>\n\n<script>\n\t// #ifdef APP-NVUE\n\t// nvue通过weex的dom模块引入字体,相关文档地址如下:\n\t// https://weex.apache.org/zh/docs/modules/dom.html#addrule\n\tconst fontUrl = 'https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf'\n\tconst domModule = weex.requireModule('dom')\n\tdomModule.addRule('fontFace', {\n\t\t'fontFamily': \"uicon-iconfont\",\n\t\t'src': `url('${fontUrl}')`\n\t})\n\t// #endif\n\n\t// 引入图标名称,已经对应的unicode\n\timport icons from './icons'\n\t\n\timport props from './props.js';;\n\n\t/**\n\t * icon 图标\n\t * @description 基于字体的图标集,包含了大多数常见场景的图标。\n\t * @tutorial https://www.uviewui.com/components/icon.html\n\t * @property {String}\t\t\tname\t\t\t图标名称,见示例图标集\n\t * @property {String}\t\t\tcolor\t\t\t图标颜色,可接受主题色 (默认 color['u-content-color'] )\n\t * @property {String | Number}\tsize\t\t\t图标字体大小,单位px (默认 '16px' )\n\t * @property {Boolean}\t\t\tbold\t\t\t是否显示粗体 (默认 false )\n\t * @property {String | Number}\tindex\t\t\t点击图标的时候传递事件出去的index(用于区分点击了哪一个)\n\t * @property {String}\t\t\thoverClass\t\t图标按下去的样式类,用法同uni的view组件的hoverClass参数,详情见官网\n\t * @property {String}\t\t\tcustomPrefix\t自定义扩展前缀,方便用户扩展自己的图标库 (默认 'uicon' )\n\t * @property {String | Number}\tlabel\t\t\t图标右侧的label文字\n\t * @property {String}\t\t\tlabelPos\t\tlabel相对于图标的位置,只能right或bottom (默认 'right' )\n\t * @property {String | Number}\tlabelSize\t\tlabel字体大小,单位px (默认 '15px' )\n\t * @property {String}\t\t\tlabelColor\t\t图标右侧的label文字颜色 ( 默认 color['u-content-color'] )\n\t * @property {String | Number}\tspace\t\t\tlabel与图标的距离,单位px (默认 '3px' )\n\t * @property {String}\t\t\timgMode\t\t\t图片的mode\n\t * @property {String | Number}\twidth\t\t\t显示图片小图标时的宽度\n\t * @property {String | Number}\theight\t\t\t显示图片小图标时的高度\n\t * @property {String | Number}\ttop\t\t\t\t图标在垂直方向上的定位 用于解决某些情况下,让图标垂直居中的用途 (默认 0 )\n\t * @property {Boolean}\t\t\tstop\t\t\t是否阻止事件传播 (默认 false )\n\t * @property {Object}\t\t\tcustomStyle\t\ticon的样式,对象形式\n\t * @event {Function} click 点击图标时触发\n\t * @event {Function} touchstart 事件触摸时触发\n\t * @example <u-icon name=\"photo\" color=\"#2979ff\" size=\"28\"></u-icon>\n\t */\n\texport default {\n\t\tname: 'u-icon',\n\t\tdata() {\n\t\t\treturn {\n\n\t\t\t}\n\t\t},\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin,props],\n\t\tcomputed: {\n\t\t\tuClasses() {\n\t\t\t\tlet classes = []\n\t\t\t\tclasses.push(this.customPrefix + '-' + this.name)\n\t\t\t\t// // uView的自定义图标类名为u-iconfont\n\t\t\t\t// if (this.customPrefix == 'uicon') {\n\t\t\t\t// \tclasses.push('u-iconfont')\n\t\t\t\t// } else {\n\t\t\t\t// \tclasses.push(this.customPrefix)\n\t\t\t\t// }\n\t\t\t\t// 主题色,通过类配置\n\t\t\t\tif (this.color && uni.$u.config.type.includes(this.color)) classes.push('u-icon__icon--' + this.color)\n\t\t\t\t// 阿里,头条,百度小程序通过数组绑定类名时,无法直接使用[a, b, c]的形式,否则无法识别\n\t\t\t\t// 故需将其拆成一个字符串的形式,通过空格隔开各个类名\n\t\t\t\t//#ifdef MP-ALIPAY || MP-TOUTIAO || MP-BAIDU\n\t\t\t\tclasses = classes.join(' ')\n\t\t\t\t//#endif\n\t\t\t\treturn classes\n\t\t\t},\n\t\t\ticonStyle() {\n\t\t\t\tlet style = {}\n\t\t\t\tstyle = {\n\t\t\t\t\tfontSize: uni.$u.addUnit(this.size),\n\t\t\t\t\tlineHeight: uni.$u.addUnit(this.size),\n\t\t\t\t\tfontWeight: this.bold ? 'bold' : 'normal',\n\t\t\t\t\t// 某些特殊情况需要设置一个到顶部的距离,才能更好的垂直居中\n\t\t\t\t\ttop: uni.$u.addUnit(this.top)\n\t\t\t\t}\n\t\t\t\t// 非主题色值时,才当作颜色值\n\t\t\t\tif (this.color && !uni.$u.config.type.includes(this.color)) style.color = this.color\n\n\t\t\t\treturn style\n\t\t\t},\n\t\t\t// 判断传入的name属性,是否图片路径,只要带有\"/\"均认为是图片形式\n\t\t\tisImg() {\n\t\t\t\treturn this.name.indexOf('/') !== -1\n\t\t\t},\n\t\t\timgStyle() {\n\t\t\t\tlet style = {}\n\t\t\t\t// 如果设置width和height属性,则优先使用,否则使用size属性\n\t\t\t\tstyle.width = this.width ? uni.$u.addUnit(this.width) : uni.$u.addUnit(this.size)\n\t\t\t\tstyle.height = this.height ? uni.$u.addUnit(this.height) : uni.$u.addUnit(this.size)\n\t\t\t\treturn style\n\t\t\t},\n\t\t\t// 通过图标名,查找对应的图标\n\t\t\ticon() {\n\t\t\t\t// 如果内置的图标中找不到对应的图标,就直接返回name值,因为用户可能传入的是unicode代码\n\t\t\t\treturn icons['uicon-' + this.name] || this.name\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\tclickHandler(e) {\n\t\t\t\tthis.$emit('click', this.index)\n\t\t\t\t// 是否阻止事件冒泡\n\t\t\t\tthis.stop && this.preventEvent(e)\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t@import \"../../libs/css/components.scss\";\n\n\t// 变量定义\n\t$u-icon-primary: $u-primary !default;\n\t$u-icon-success: $u-success !default;\n\t$u-icon-info: $u-info !default;\n\t$u-icon-warning: $u-warning !default;\n\t$u-icon-error: $u-error !default;\n\t$u-icon-label-line-height:1 !default;\n\n\t/* #ifndef APP-NVUE */\n\t// 非nvue下加载字体\n\t@font-face {\n\t\tfont-family: 'uicon-iconfont';\n\t\tsrc: url('https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf') format('truetype');\n\t}\n\n\t/* #endif */\n\n\t.u-icon {\n\t\t/* #ifndef APP-NVUE */\n\t\tdisplay: flex;\n\t\t/* #endif */\n\t\talign-items: center;\n\n\t\t&--left {\n\t\t\tflex-direction: row-reverse;\n\t\t\talign-items: center;\n\t\t}\n\n\t\t&--right {\n\t\t\tflex-direction: row;\n\t\t\talign-items: center;\n\t\t}\n\n\t\t&--top {\n\t\t\tflex-direction: column-reverse;\n\t\t\tjustify-content: center;\n\t\t}\n\n\t\t&--bottom {\n\t\t\tflex-direction: column;\n\t\t\tjustify-content: center;\n\t\t}\n\n\t\t&__icon {\n\t\t\tfont-family: uicon-iconfont;\n\t\t\tposition: relative;\n\t\t\t@include flex;\n\t\t\talign-items: center;\n\n\t\t\t&--primary {\n\t\t\t\tcolor: $u-icon-primary;\n\t\t\t}\n\n\t\t\t&--success {\n\t\t\t\tcolor: $u-icon-success;\n\t\t\t}\n\n\t\t\t&--error {\n\t\t\t\tcolor: $u-icon-error;\n\t\t\t}\n\n\t\t\t&--warning {\n\t\t\t\tcolor: $u-icon-warning;\n\t\t\t}\n\n\t\t\t&--info {\n\t\t\t\tcolor: $u-icon-info;\n\t\t\t}\n\t\t}\n\n\t\t&__img {\n\t\t\t/* #ifndef APP-NVUE */\n\t\t\theight: auto;\n\t\t\twill-change: transform;\n\t\t\t/* #endif */\n\t\t}\n\n\t\t&__label {\n\t\t\t/* #ifndef APP-NVUE */\n\t\t\tline-height: $u-icon-label-line-height;\n\t\t\t/* #endif */\n\t\t}\n\t}\n</style>\n","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-icon.vue?vue&type=style&index=0&id=2ee87dc9&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-icon.vue?vue&type=style&index=0&id=2ee87dc9&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657703507187\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | |
\ No newline at end of file |
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-image/u-image.js.map
已删除
100644 → 0
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-image/u-image.vue?7948","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-image/u-image.vue?2ab5","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-image/u-image.vue?d33c","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-image/u-image.vue?6d22","uni-app:///uni_modules/uview-ui/components/u-image/u-image.vue","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-image/u-image.vue?3fba","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-image/u-image.vue?e1c0"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,qUAEN;AACP,KAAK;AACL;AACA,aAAa,iSAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/EA;AAAA;AAAA;AAAA;AAAm2B,CAAgB,qyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkEv3B,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;kBA0BA,EACA,eADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA;AACA,oBAFA,EAGA;AACA,mBAJA,EAKA;AACA,gBANA,EAOA;AACA,iCARA,EASA;AACA,yBAVA,EAWA;AACA,iBAZA,GAcA,CAlBA,EAmBA,SACA,OACA,eADA,EAEA,OAFA,mBAEA,CAFA,EAEA,CACA,SACA;AACA,8BAEA,CAJA,MAIA,CACA,qBACA,oBACA,CACA,CAXA,EADA,EAnBA,EAkCA,YACA,SADA,uBACA,CACA,eADA,CAEA;AACA,gDACA,4CAJA,CAKA;AACA,4FANA,CAOA;AACA,oEARA,CASA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wEAEA,CAnBA,EAlCA,EAuDA,OAvDA,qBAuDA,CACA,iBACA,CAzDA,EA0DA,WACA;AACA,WAFA,qBAEA,CACA,oBACA,CAJA,EAKA;AACA,kBANA,0BAMA,GANA,EAMA,CACA,qBACA,oBACA,yBACA,CAVA,EAWA;AACA,iBAZA,yBAYA,KAZA,EAYA,CACA,qBACA,qBACA,0BACA,qBAJA,CAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAjCA,EAkCA;AACA,iBAnCA,2BAmCA,CACA;AACA,+BACA,8BADA,GAGA,CAxCA,EA1DA,E;;;;;;;;;;;;;AC7FA;AAAA;AAAA;AAAA;AAAknD,CAAgB,47CAAG,EAAC,C;;;;;;;;;;;ACAtoD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uni_modules/uview-ui/components/u-image/u-image.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-image.vue?vue&type=template&id=042b391e&scoped=true&\"\nvar renderjs\nimport script from \"./u-image.vue?vue&type=script&lang=js&\"\nexport * from \"./u-image.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-image.vue?vue&type=style&index=0&id=042b391e&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"042b391e\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uni_modules/uview-ui/components/u-image/u-image.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-image.vue?vue&type=template&id=042b391e&scoped=true&\"","var components\ntry {\n components = {\n uTransition: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-transition/u-transition\" */ \"@/uni_modules/uview-ui/components/u-transition/u-transition.vue\"\n )\n },\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-icon/u-icon\" */ \"@/uni_modules/uview-ui/components/u-icon/u-icon.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.__get_style([_vm.wrapStyle, _vm.backgroundStyle])\n\n var g0 =\n !_vm.isError && !(_vm.shape == \"circle\") ? _vm.$u.addUnit(_vm.radius) : null\n var g1 = !_vm.isError ? _vm.$u.addUnit(_vm.width) : null\n var g2 = !_vm.isError ? _vm.$u.addUnit(_vm.height) : null\n var g3 =\n _vm.showLoading && _vm.loading && !(_vm.shape == \"circle\")\n ? _vm.$u.addUnit(_vm.radius)\n : null\n var g4 = _vm.showLoading && _vm.loading ? _vm.$u.addUnit(_vm.width) : null\n var g5 = _vm.showLoading && _vm.loading ? _vm.$u.addUnit(_vm.height) : null\n var g6 =\n _vm.showError && _vm.isError && !_vm.loading && !(_vm.shape == \"circle\")\n ? _vm.$u.addUnit(_vm.radius)\n : null\n var g7 =\n _vm.showError && _vm.isError && !_vm.loading\n ? _vm.$u.addUnit(_vm.width)\n : null\n var g8 =\n _vm.showError && _vm.isError && !_vm.loading\n ? _vm.$u.addUnit(_vm.height)\n : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n g0: g0,\n g1: g1,\n g2: g2,\n g3: g3,\n g4: g4,\n g5: g5,\n g6: g6,\n g7: g7,\n g8: g8\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-image.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-image.vue?vue&type=script&lang=js&\"","<template>\n\t<u-transition\n\t\tmode=\"fade\"\n\t\t:show=\"show\"\n\t\t:duration=\"fade ? 1000 : 0\"\n\t>\n\t\t<view\n\t\t\tclass=\"u-image\"\n\t\t\t@tap=\"onClick\"\n\t\t\t:style=\"[wrapStyle, backgroundStyle]\"\n\t\t>\n\t\t\t<image\n\t\t\t\tv-if=\"!isError\"\n\t\t\t\t:src=\"src\"\n\t\t\t\t:mode=\"mode\"\n\t\t\t\t@error=\"onErrorHandler\"\n\t\t\t\t@load=\"onLoadHandler\"\n\t\t\t\t:show-menu-by-longpress=\"showMenuByLongpress\"\n\t\t\t\t:lazy-load=\"lazyLoad\"\n\t\t\t\tclass=\"u-image__image\"\n\t\t\t\t:style=\"{\n\t\t\t\t\tborderRadius: shape == 'circle' ? '10000px' : $u.addUnit(radius),\n\t\t\t\t\twidth: $u.addUnit(width),\n\t\t\t\t\theight: $u.addUnit(height)\n\t\t\t\t}\"\n\t\t\t></image>\n\t\t\t<view\n\t\t\t\tv-if=\"showLoading && loading\"\n\t\t\t\tclass=\"u-image__loading\"\n\t\t\t\t:style=\"{\n\t\t\t\t\tborderRadius: shape == 'circle' ? '50%' : $u.addUnit(radius),\n\t\t\t\t\tbackgroundColor: this.bgColor,\n\t\t\t\t\twidth: $u.addUnit(width),\n\t\t\t\t\theight: $u.addUnit(height)\n\t\t\t\t}\"\n\t\t\t>\n\t\t\t\t<slot name=\"loading\">\n\t\t\t\t\t<u-icon\n\t\t\t\t\t\t:name=\"loadingIcon\"\n\t\t\t\t\t\t:width=\"width\"\n\t\t\t\t\t\t:height=\"height\"\n\t\t\t\t\t></u-icon>\n\t\t\t\t</slot>\n\t\t\t</view>\n\t\t\t<view\n\t\t\t\tv-if=\"showError && isError && !loading\"\n\t\t\t\tclass=\"u-image__error\"\n\t\t\t\t:style=\"{\n\t\t\t\t\tborderRadius: shape == 'circle' ? '50%' : $u.addUnit(radius),\n\t\t\t\t\twidth: $u.addUnit(width),\n\t\t\t\t\theight: $u.addUnit(height)\n\t\t\t\t}\"\n\t\t\t>\n\t\t\t\t<slot name=\"error\">\n\t\t\t\t\t<u-icon\n\t\t\t\t\t\t:name=\"errorIcon\"\n\t\t\t\t\t\t:width=\"width\"\n\t\t\t\t\t\t:height=\"height\"\n\t\t\t\t\t></u-icon>\n\t\t\t\t</slot>\n\t\t\t</view>\n\t\t</view>\n\t</u-transition>\n</template>\n\n<script>\n\timport props from './props.js';\n\t/**\n\t * Image 图片\n\t * @description 此组件为uni-app的image组件的加强版,在继承了原有功能外,还支持淡入动画、加载中、加载失败提示、圆角值和形状等。\n\t * @tutorial https://uviewui.com/components/image.html\n\t * @property {String}\t\t\tsrc \t\t\t\t图片地址\n\t * @property {String}\t\t\tmode \t\t\t\t裁剪模式,见官网说明 (默认 'aspectFill' )\n\t * @property {String | Number}\twidth \t\t\t\t宽度,单位任意,如果为数值,则为px单位 (默认 '300' )\n\t * @property {String | Number}\theight \t\t\t\t高度,单位任意,如果为数值,则为px单位 (默认 '225' )\n\t * @property {String}\t\t\tshape \t\t\t\t图片形状,circle-圆形,square-方形 (默认 'square' )\n\t * @property {String | Number}\tradius\t\t \t\t圆角值,单位任意,如果为数值,则为px单位 (默认 0 )\n\t * @property {Boolean}\t\t\tlazyLoad\t\t\t是否懒加载,仅微信小程序、App、百度小程序、字节跳动小程序有效 (默认 true )\n\t * @property {Boolean}\t\t\tshowMenuByLongpress\t是否开启长按图片显示识别小程序码菜单,仅微信小程序有效 (默认 true )\n\t * @property {String}\t\t\tloadingIcon \t\t加载中的图标,或者小图片 (默认 'photo' )\n\t * @property {String}\t\t\terrorIcon \t\t\t加载失败的图标,或者小图片 (默认 'error-circle' )\n\t * @property {Boolean}\t\t\tshowLoading \t\t是否显示加载中的图标或者自定义的slot (默认 true )\n\t * @property {Boolean}\t\t\tshowError \t\t\t是否显示加载错误的图标或者自定义的slot (默认 true )\n\t * @property {Boolean}\t\t\tfade \t\t\t\t是否需要淡入效果 (默认 true )\n\t * @property {Boolean}\t\t\twebp \t\t\t\t只支持网络资源,只对微信小程序有效 (默认 false )\n\t * @property {String | Number}\tduration \t\t\t搭配fade参数的过渡时间,单位ms (默认 500 )\n\t * @property {String}\t\t\tbgColor \t\t\t背景颜色,用于深色页面加载图片时,为了和背景色融合 (默认 '#f3f4f6' )\n\t * @property {Object}\t\t\tcustomStyle \t\t定义需要用到的外部样式\n\t * @event {Function}\tclick\t点击图片时触发\n\t * @event {Function}\terror\t图片加载失败时触发\n\t * @event {Function} load 图片加载成功时触发\n\t * @example <u-image width=\"100%\" height=\"300px\" :src=\"src\"></u-image>\n\t */\n\texport default {\n\t\tname: 'u-image',\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin, props],\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\t// 图片是否加载错误,如果是,则显示错误占位图\n\t\t\t\tisError: false,\n\t\t\t\t// 初始化组件时,默认为加载中状态\n\t\t\t\tloading: true,\n\t\t\t\t// 不透明度,为了实现淡入淡出的效果\n\t\t\t\topacity: 1,\n\t\t\t\t// 过渡时间,因为props的值无法修改,故需要一个中间值\n\t\t\t\tdurationTime: this.duration,\n\t\t\t\t// 图片加载完成时,去掉背景颜色,因为如果是png图片,就会显示灰色的背景\n\t\t\t\tbackgroundStyle: {},\n\t\t\t\t// 用于fade模式的控制组件显示与否\n\t\t\t\tshow: false\n\t\t\t};\n\t\t},\n\t\twatch: {\n\t\t\tsrc: {\n\t\t\t\timmediate: true,\n\t\t\t\thandler(n) {\n\t\t\t\t\tif (!n) {\n\t\t\t\t\t\t// 如果传入null或者'',或者false,或者undefined,标记为错误状态\n\t\t\t\t\t\tthis.isError = true\n\t\t\t\t\t\t\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.isError = false;\n\t\t\t\t\t\tthis.loading = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tcomputed: {\n\t\t\twrapStyle() {\n\t\t\t\tlet style = {};\n\t\t\t\t// 通过调用addUnit()方法,如果有单位,如百分比,px单位等,直接返回,如果是纯粹的数值,则加上rpx单位\n\t\t\t\tstyle.width = this.$u.addUnit(this.width);\n\t\t\t\tstyle.height = this.$u.addUnit(this.height);\n\t\t\t\t// 如果是显示圆形,设置一个很多的半径值即可\n\t\t\t\tstyle.borderRadius = this.shape == 'circle' ? '10000px' : uni.$u.addUnit(this.radius)\n\t\t\t\t// 如果设置圆角,必须要有hidden,否则可能圆角无效\n\t\t\t\tstyle.overflow = this.borderRadius > 0 ? 'hidden' : 'visible'\n\t\t\t\t// if (this.fade) {\n\t\t\t\t// \tstyle.opacity = this.opacity\n\t\t\t\t// \t// nvue下,这几个属性必须要分开写\n\t\t\t\t// \tstyle.transitionDuration = `${this.durationTime}ms`\n\t\t\t\t// \tstyle.transitionTimingFunction = 'ease-in-out'\n\t\t\t\t// \tstyle.transitionProperty = 'opacity'\n\t\t\t\t// }\n\t\t\t\treturn uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle));\n\n\t\t\t}\n\t\t},\n\t\tmounted() {\n\t\t\tthis.show = true\n\t\t},\n\t\tmethods: {\n\t\t\t// 点击图片\n\t\t\tonClick() {\n\t\t\t\tthis.$emit('click')\n\t\t\t},\n\t\t\t// 图片加载失败\n\t\t\tonErrorHandler(err) {\n\t\t\t\tthis.loading = false\n\t\t\t\tthis.isError = true\n\t\t\t\tthis.$emit('error', err)\n\t\t\t},\n\t\t\t// 图片加载完成,标记loading结束\n\t\t\tonLoadHandler(event) {\n\t\t\t\tthis.loading = false\n\t\t\t\tthis.isError = false\n\t\t\t\tthis.$emit('load', event)\n\t\t\t\tthis.removeBgColor()\n\t\t\t\t// 如果不需要动画效果,就不执行下方代码,同时移除加载时的背景颜色\n\t\t\t\t// 否则无需fade效果时,png图片依然能看到下方的背景色\n\t\t\t\t// if (!this.fade) return this.removeBgColor();\n\t\t\t\t// // 原来opacity为1(不透明,是为了显示占位图),改成0(透明,意味着该元素显示的是背景颜色,默认的灰色),再改成1,是为了获得过渡效果\n\t\t\t\t// this.opacity = 0;\n\t\t\t\t// // 这里设置为0,是为了图片展示到背景全透明这个过程时间为0,延时之后延时之后重新设置为duration,是为了获得背景透明(灰色)\n\t\t\t\t// // 到图片展示的过程中的淡入效果\n\t\t\t\t// this.durationTime = 0;\n\t\t\t\t// // 延时50ms,否则在浏览器H5,过渡效果无效\n\t\t\t\t// setTimeout(() => {\n\t\t\t\t// \tthis.durationTime = this.duration;\n\t\t\t\t// \tthis.opacity = 1;\n\t\t\t\t// \tsetTimeout(() => {\n\t\t\t\t// \t\tthis.removeBgColor();\n\t\t\t\t// \t}, this.durationTime);\n\t\t\t\t// }, 50);\n\t\t\t},\n\t\t\t// 移除图片的背景色\n\t\t\tremoveBgColor() {\n\t\t\t\t// 淡入动画过渡完成后,将背景设置为透明色,否则png图片会看到灰色的背景\n\t\t\t\tthis.backgroundStyle = {\n\t\t\t\t\tbackgroundColor: 'transparent'\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\t};\n</script>\n\n<style lang=\"scss\" scoped>\n\t@import '../../libs/css/components.scss';\n\n\t$u-image-error-top:0px !default;\n\t$u-image-error-left:0px !default;\n\t$u-image-error-width:100% !default;\n\t$u-image-error-hight:100% !default;\n\t$u-image-error-background-color:$u-bg-color !default;\n\t$u-image-error-color:$u-tips-color !default;\n\t$u-image-error-font-size: 46rpx !default;\n\n\t.u-image {\n\t\tposition: relative;\n\t\ttransition: opacity 0.5s ease-in-out;\n\n\t\t&__image {\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t}\n\n\t\t&__loading,\n\t\t&__error {\n\t\t\tposition: absolute;\n\t\t\ttop: $u-image-error-top;\n\t\t\tleft: $u-image-error-left;\n\t\t\twidth: $u-image-error-width;\n\t\t\theight: $u-image-error-hight;\n\t\t\t@include flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\tbackground-color: $u-image-error-background-color;\n\t\t\tcolor: $u-image-error-color;\n\t\t\tfont-size: $u-image-error-font-size;\n\t\t}\n\t}\n</style>\n","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-image.vue?vue&type=style&index=0&id=042b391e&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-image.vue?vue&type=style&index=0&id=042b391e&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657703507089\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | |
\ No newline at end of file |
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-input/u-input.js.map
已删除
100644 → 0
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-input/u-input.vue?7196","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-input/u-input.vue?28b7","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-input/u-input.vue?75c6","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-input/u-input.vue?c99f","uni-app:///uni_modules/uview-ui/components/u-input/u-input.vue","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-input/u-input.vue?9330","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-input/u-input.vue?824a"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,iSAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9CA;AAAA;AAAA;AAAA;AAAm2B,CAAgB,qyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC4Ev3B,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA0CA,EACA,eADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA;AACA,oBAFA,EAGA;AACA,oBAJA,EAKA;AACA,uBANA,EAOA;AACA,4BARA,EASA;AACA,oEAVA,GAYA,CAhBA,EAiBA,SACA,SACA,eADA,EAEA,OAFA,mBAEA,MAFA,EAEA,MAFA,EAEA,CACA,yBAUA,yBAXA,CAYA;AACA,qCACA,CAhBA,EADA,EAjBA,EAqCA,YACA;AACA,eAFA,yBAEA,KACA,SADA,GACA,IADA,CACA,SADA,CACA,QADA,GACA,IADA,CACA,QADA,CACA,OADA,GACA,IADA,CACA,OADA,CACA,UADA,GACA,IADA,CACA,UADA,CAEA,kEACA,CALA,EAMA;AACA,cAPA,wBAOA,CACA,iBACA,MADA,GACA,IADA,CACA,MADA,CACA,QADA,GACA,IADA,CACA,QADA,CACA,KADA,GACA,IADA,CACA,KADA,CAEA,0BACA,yDADA,EAEA,wCACA,wBACA,0BACA,iBADA,EAEA,oBAFA,EADA,EAKA,yBACA,CAnBA,EAoBA;AACA,gBArBA,0BAqBA,CACA,eADA,CAEA;AACA,0BACA,2CACA,CALA,CAMA;AACA,mCACA,oBACA,CAFA,MAEA,CACA;AACA,iCACA,4BACA,0BACA,2BACA,CACA,kEACA,CAtCA,EAuCA;AACA,cAxCA,wBAwCA,CACA,cACA,iBADA,EAEA,uCAFA,EAGA,0BAHA,GAKA,aACA,CA/CA,EArCA,EAsFA;AACA;AACA,gBAFA,wBAEA,CAFA,EAEA;AACA;AACA,KAJA;AAKA;AACA,WANA,mBAMA,CANA,EAMA;AACA,oBADA,mBACA,KADA,CACA,KADA,2BACA,EADA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAHA;AAIA,KAjBA;AAkBA;AACA,UAnBA,kBAmBA,KAnBA,EAmBA;AACA;AACA;AACA;AACA;AACA;AACA,OAFA;AAGA;AACA;AACA,KA5BA;AA6BA;AACA,WA9BA,mBA8BA,KA9BA,EA8BA;AACA;AACA;AACA,KAjCA;AAkCA;AACA,aAnCA,qBAmCA,KAnCA,EAmCA;AACA;AACA,KArCA;AAsCA;AACA;AACA,0BAxCA,oCAwCA;AACA;AACA,KA1CA;AA2CA;AACA,eA5CA,yBA4CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAPA;AAQA,KAtDA;AAuDA;AACA,WAxDA,qBAwDA;AACA;AACA;AACA;AACA;AACA,OAHA;AAIA,KA9DA;AA+DA;;;;;AAKA,gBApEA,0BAoEA;;;;;;;;;AASA,KA7EA,EAtFA,E;;;;;;;;;;;;;ACvHA;AAAA;AAAA;AAAA;AAAknD,CAAgB,47CAAG,EAAC,C;;;;;;;;;;;ACAtoD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uni_modules/uview-ui/components/u-input/u-input.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-input.vue?vue&type=template&id=113bc24f&scoped=true&\"\nvar renderjs\nimport script from \"./u-input.vue?vue&type=script&lang=js&\"\nexport * from \"./u-input.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-input.vue?vue&type=style&index=0&id=113bc24f&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"113bc24f\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uni_modules/uview-ui/components/u-input/u-input.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-input.vue?vue&type=template&id=113bc24f&scoped=true&\"","var components\ntry {\n components = {\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-icon/u-icon\" */ \"@/uni_modules/uview-ui/components/u-icon/u-icon.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.__get_style([_vm.wrapperStyle])\n\n var s1 = _vm.__get_style([_vm.inputStyle])\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n s1: s1\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-input.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-input.vue?vue&type=script&lang=js&\"","<template>\n <view class=\"u-input\" :class=\"inputClass\" :style=\"[wrapperStyle]\">\n <view class=\"u-input__content\">\n <view\n class=\"u-input__content__prefix-icon\"\n v-if=\"prefixIcon || $slots.prefix\"\n >\n <slot name=\"prefix\">\n <u-icon\n :name=\"prefixIcon\"\n size=\"18\"\n :customStyle=\"prefixIconStyle\"\n ></u-icon>\n </slot>\n </view>\n <view class=\"u-input__content__field-wrapper\" @tap=\"clickHandler\">\n\t\t\t\t<!-- 根据uni-app的input组件文档,H5和APP中只要声明了password参数(无论true还是false),type均失效,此时\n\t\t\t\t\t为了防止type=number时,又存在password属性,type无效,此时需要设置password为undefined\n\t\t\t\t -->\n \t<input\n \t class=\"u-input__content__field-wrapper__field\"\n \t :style=\"[inputStyle]\"\n \t :type=\"type\"\n \t :focus=\"focus\"\n \t :cursor=\"cursor\"\n \t :value=\"innerValue\"\n \t :auto-blur=\"autoBlur\"\n \t :disabled=\"disabled || readonly\"\n \t :maxlength=\"maxlength\"\n \t :placeholder=\"placeholder\"\n \t :placeholder-style=\"placeholderStyle\"\n \t :placeholder-class=\"placeholderClass\"\n \t :confirm-type=\"confirmType\"\n \t :confirm-hold=\"confirmHold\"\n \t :hold-keyboard=\"holdKeyboard\"\n \t :cursor-spacing=\"cursorSpacing\"\n \t :adjust-position=\"adjustPosition\"\n \t :selection-end=\"selectionEnd\"\n \t :selection-start=\"selectionStart\"\n \t :password=\"password || type === 'password' || undefined\"\n \t @input=\"onInput\"\n \t @blur=\"onBlur\"\n \t @focus=\"onFocus\"\n \t @confirm=\"onConfirm\"\n \t @keyboardheightchange=\"onkeyboardheightchange\"\n \t/>\n </view>\n <view\n class=\"u-input__content__clear\"\n v-if=\"isShowClear\"\n @tap=\"onClear\"\n >\n <u-icon\n name=\"close\"\n size=\"11\"\n color=\"#ffffff\"\n customStyle=\"line-height: 12px\"\n ></u-icon>\n </view>\n <view\n class=\"u-input__content__subfix-icon\"\n v-if=\"suffixIcon || $slots.suffix\"\n >\n <slot name=\"suffix\">\n <u-icon\n :name=\"suffixIcon\"\n size=\"18\"\n :customStyle=\"suffixIconStyle\"\n ></u-icon>\n </slot>\n </view>\n </view>\n </view>\n</template>\n\n<script>\nimport props from \"./props.js\";\n/**\n * Input 输入框\n * @description 此组件为一个输入框,默认没有边框和样式,是专门为配合表单组件u-form而设计的,利用它可以快速实现表单验证,输入内容,下拉选择等功能。\n * @tutorial https://uviewui.com/components/input.html\n * @property {String | Number}\tvalue\t\t\t\t\t输入的值\n * @property {String}\t\t\ttype\t\t\t\t\t输入框类型,见上方说明 ( 默认 'text' )\n * @property {Boolean}\t\t\tfixed\t\t\t\t\t如果 textarea 是在一个 position:fixed 的区域,需要显示指定属性 fixed 为 true,兼容性:微信小程序、百度小程序、字节跳动小程序、QQ小程序 ( 默认 false )\n * @property {Boolean}\t\t\tdisabled\t\t\t\t是否禁用输入框 ( 默认 false )\n * @property {String}\t\t\tdisabledColor\t\t\t禁用状态时的背景色( 默认 '#f5f7fa' )\n * @property {Boolean}\t\t\tclearable\t\t\t\t是否显示清除控件 ( 默认 false )\n * @property {Boolean}\t\t\tpassword\t\t\t\t是否密码类型 ( 默认 false )\n * @property {String | Number}\tmaxlength\t\t\t\t最大输入长度,设置为 -1 的时候不限制最大长度 ( 默认 -1 )\n * @property {String}\t\t\tplaceholder\t\t\t\t输入框为空时的占位符\n * @property {String}\t\t\tplaceholderClass\t\t指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写/deep/ ( 默认 'input-placeholder' )\n * @property {String | Object}\tplaceholderStyle\t\t指定placeholder的样式,字符串/对象形式,如\"color: red;\"\n * @property {Boolean}\t\t\tshowWordLimit\t\t\t是否显示输入字数统计,只在 type =\"text\"或type =\"textarea\"时有效 ( 默认 false )\n * @property {String}\t\t\tconfirmType\t\t\t\t设置右下角按钮的文字,兼容性详见uni-app文档 ( 默认 'done' )\n * @property {Boolean}\t\t\tconfirmHold\t\t\t\t点击键盘右下角按钮时是否保持键盘不收起,H5无效 ( 默认 false )\n * @property {Boolean}\t\t\tholdKeyboard\t\t\tfocus时,点击页面的时候不收起键盘,微信小程序有效 ( 默认 false )\n * @property {Boolean}\t\t\tfocus\t\t\t\t\t自动获取焦点,在 H5 平台能否聚焦以及软键盘是否跟随弹出,取决于当前浏览器本身的实现。nvue 页面不支持,需使用组件的 focus()、blur() 方法控制焦点 ( 默认 false )\n * @property {Boolean}\t\t\tautoBlur\t\t\t\t键盘收起时,是否自动失去焦点,目前仅App3.0.0+有效 ( 默认 false )\n * @property {Boolean}\t\t\tdisableDefaultPadding\t是否去掉 iOS 下的默认内边距,仅微信小程序,且type=textarea时有效 ( 默认 false )\n * @property {String | Number}\tcursor\t\t\t\t\t指定focus时光标的位置( 默认 -1 )\n * @property {String | Number}\tcursorSpacing\t\t\t输入框聚焦时底部与键盘的距离 ( 默认 30 )\n * @property {String | Number}\tselectionStart\t\t\t光标起始位置,自动聚集时有效,需与selection-end搭配使用 ( 默认 -1 )\n * @property {String | Number}\tselectionEnd\t\t\t光标结束位置,自动聚集时有效,需与selection-start搭配使用 ( 默认 -1 )\n * @property {Boolean}\t\t\tadjustPosition\t\t\t键盘弹起时,是否自动上推页面 ( 默认 true )\n * @property {String}\t\t\tinputAlign\t\t\t\t输入框内容对齐方式( 默认 'left' )\n * @property {String | Number}\tfontSize\t\t\t\t输入框字体的大小 ( 默认 '15px' )\n * @property {String}\t\t\tcolor\t\t\t\t\t输入框字体颜色\t( 默认 '#303133' )\n * @property {Function}\t\t\tformatter\t\t\t 内容式化函数\n * @property {String}\t\t\tprefixIcon\t\t\t\t输入框前置图标\n * @property {String | Object}\tprefixIconStyle\t\t\t前置图标样式,对象或字符串\n * @property {String}\t\t\tsuffixIcon\t\t\t\t输入框后置图标\n * @property {String | Object}\tsuffixIconStyle\t\t\t后置图标样式,对象或字符串\n * @property {String}\t\t\tborder\t\t\t\t\t边框类型,surround-四周边框,bottom-底部边框,none-无边框 ( 默认 'surround' )\n * @property {Boolean}\t\t\treadonly\t\t\t\t是否只读,与disabled不同之处在于disabled会置灰组件,而readonly则不会 ( 默认 false )\n * @property {String}\t\t\tshape\t\t\t\t\t输入框形状,circle-圆形,square-方形 ( 默认 'square' )\n * @property {Object}\t\t\tcustomStyle\t\t\t\t定义需要用到的外部样式\n *\n * @example <u-input v-model=\"value\" :password=\"true\" suffix-icon=\"lock-fill\" />\n */\nexport default {\n name: \"u-input\",\n mixins: [uni.$u.mpMixin, uni.$u.mixin, props],\n data() {\n return {\n // 输入框的值\n innerValue: \"\",\n // 是否处于获得焦点状态\n focused: false,\n // value是否第一次变化,在watch中,由于加入immediate属性,会在第一次触发,此时不应该认为value发生了变化\n firstChange: true,\n // value绑定值的变化是由内部还是外部引起的\n changeFromInner: false,\n\t\t\t// 过滤处理方法\n\t\t\tinnerFormatter: value => value\n };\n },\n watch: {\n value: {\n immediate: true,\n handler(newVal, oldVal) {\n this.innerValue = newVal;\n /* #ifdef H5 */\n // 在H5中,外部value变化后,修改input中的值,不会触发@input事件,此时手动调用值变化方法\n if (\n this.firstChange === false &&\n this.changeFromInner === false\n ) {\n this.valueChange();\n }\n /* #endif */\n this.firstChange = false;\n // 重置changeFromInner的值为false,标识下一次引起默认为外部引起的\n this.changeFromInner = false;\n },\n },\n },\n computed: {\n // 是否显示清除控件\n isShowClear() {\n const { clearable, readonly, focused, innerValue } = this;\n return !!clearable && !readonly && !!focused && innerValue !== \"\";\n },\n // 组件的类名\n inputClass() {\n let classes = [],\n { border, disabled, shape } = this;\n border === \"surround\" &&\n (classes = classes.concat([\"u-border\", \"u-input--radius\"]));\n classes.push(`u-input--${shape}`);\n border === \"bottom\" &&\n (classes = classes.concat([\n \"u-border-bottom\",\n \"u-input--no-radius\",\n ]));\n return classes.join(\" \");\n },\n // 组件的样式\n wrapperStyle() {\n const style = {};\n // 禁用状态下,被背景色加上对应的样式\n if (this.disabled) {\n style.backgroundColor = this.disabledColor;\n }\n // 无边框时,去除内边距\n if (this.border === \"none\") {\n style.padding = \"0\";\n } else {\n // 由于uni-app的iOS开发者能力有限,导致需要分开写才有效\n style.paddingTop = \"6px\";\n style.paddingBottom = \"6px\";\n style.paddingLeft = \"9px\";\n style.paddingRight = \"9px\";\n }\n return uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle));\n },\n // 输入框的样式\n inputStyle() {\n const style = {\n color: this.color,\n fontSize: uni.$u.addUnit(this.fontSize),\n\t\t\t\ttextAlign: this.inputAlign\n };\n return style;\n },\n },\n methods: {\n\t\t// 在微信小程序中,不支持将函数当做props参数,故只能通过ref形式调用\n\t\tsetFormatter(e) {\n\t\t\tthis.innerFormatter = e\n\t\t},\n // 当键盘输入时,触发input事件\n onInput(e) {\n let { value = \"\" } = e.detail || {};\n // 格式化过滤方法\n const formatter = this.formatter || this.innerFormatter\n const formatValue = formatter(value)\n // 为了避免props的单向数据流特性,需要先将innerValue值设置为当前值,再在$nextTick中重新赋予设置后的值才有效\n this.innerValue = value\n this.$nextTick(() => {\n \tthis.innerValue = formatValue;\n \tthis.valueChange();\n })\n },\n // 输入框失去焦点时触发\n onBlur(event) {\n this.$emit(\"blur\", event.detail.value);\n // H5端的blur会先于点击清除控件的点击click事件触发,导致focused\n // 瞬间为false,从而隐藏了清除控件而无法被点击到\n uni.$u.sleep(50).then(() => {\n this.focused = false;\n });\n // 尝试调用u-form的验证方法\n uni.$u.formValidate(this, \"blur\");\n },\n // 输入框聚焦时触发\n onFocus(event) {\n this.focused = true;\n this.$emit(\"focus\");\n },\n // 点击完成按钮时触发\n onConfirm(event) {\n this.$emit(\"confirm\", this.innerValue);\n },\n // 键盘高度发生变化的时候触发此事件\n // 兼容性:微信小程序2.7.0+、App 3.1.0+\n\t\tonkeyboardheightchange() {\n this.$emit(\"keyboardheightchange\");\n },\n // 内容发生变化,进行处理\n valueChange() {\n const value = this.innerValue;\n this.$nextTick(() => {\n this.$emit(\"input\", value);\n // 标识value值的变化是由内部引起的\n this.changeFromInner = true;\n this.$emit(\"change\", value);\n // 尝试调用u-form的验证方法\n uni.$u.formValidate(this, \"change\");\n });\n },\n // 点击清除控件\n onClear() {\n this.innerValue = \"\";\n this.$nextTick(() => {\n this.valueChange();\n this.$emit(\"clear\");\n });\n },\n /**\n * 在安卓nvue上,事件无法冒泡\n * 在某些时间,我们希望监听u-from-item的点击事件,此时会导致点击u-form-item内的u-input后\n * 无法触发u-form-item的点击事件,这里通过手动调用u-form-item的方法进行触发\n */\n clickHandler() {\n // #ifdef APP-NVUE\n if (uni.$u.os() === \"android\") {\n const formItem = uni.$u.$parent.call(this, \"u-form-item\");\n if (formItem) {\n formItem.clickHandler();\n }\n }\n // #endif\n },\n },\n};\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"../../libs/css/components.scss\";\n\n.u-input {\n @include flex(row);\n align-items: center;\n justify-content: space-between;\n flex: 1;\n\n &--radius,\n &--square {\n border-radius: 4px;\n }\n\n &--no-radius {\n border-radius: 0;\n }\n\n &--circle {\n border-radius: 100px;\n }\n\n &__content {\n flex: 1;\n @include flex(row);\n align-items: center;\n justify-content: space-between;\n\n &__field-wrapper {\n position: relative;\n @include flex(row);\n margin: 0;\n flex: 1;\n\t\t\t\n\t\t\t&__field {\n\t\t\t\tline-height: 26px;\n\t\t\t\ttext-align: left;\n\t\t\t\tcolor: $u-main-color;\n\t\t\t\theight: 24px;\n\t\t\t\tfont-size: 15px;\n\t\t\t\tflex: 1;\n\t\t\t}\n }\n\n &__clear {\n width: 20px;\n height: 20px;\n border-radius: 100px;\n background-color: #c6c7cb;\n @include flex(row);\n align-items: center;\n justify-content: center;\n transform: scale(0.82);\n margin-left: 4px;\n }\n\n &__subfix-icon {\n margin-left: 4px;\n }\n\n &__prefix-icon {\n margin-right: 4px;\n }\n }\n}\n</style>\n","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-input.vue?vue&type=style&index=0&id=113bc24f&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-input.vue?vue&type=style&index=0&id=113bc24f&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657703507120\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | |
\ No newline at end of file |
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-line/u-line.js.map
已删除
100644 → 0
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-line/u-line.vue?c9f5","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-line/u-line.vue?4de7","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-line/u-line.vue?bac6","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-line/u-line.vue?18e2","uni-app:///uni_modules/uview-ui/components/u-line/u-line.vue","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-line/u-line.vue?c6bd","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-line/u-line.vue?0d5f"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,6FAAM;AACR,EAAE,sGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,iGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA;AAAA;AAAA;AAAA;AAAk2B,CAAgB,oyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACUt3B,gF;;;;;;;;;AACA;;;;;;;;;;;;kBAaA,EACA,cADA,EAEA,sDAFA,EAGA,YACA,SADA,uBACA,CACA,eACA,2BAFA,CAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OANA,MAMA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KArBA,EAHA,E;;;;;;;;;;;;;ACxBA;AAAA;AAAA;AAAA;AAAinD,CAAgB,27CAAG,EAAC,C;;;;;;;;;;;ACAroD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uni_modules/uview-ui/components/u-line/u-line.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-line.vue?vue&type=template&id=727e452e&scoped=true&\"\nvar renderjs\nimport script from \"./u-line.vue?vue&type=script&lang=js&\"\nexport * from \"./u-line.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-line.vue?vue&type=style&index=0&id=727e452e&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"727e452e\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uni_modules/uview-ui/components/u-line/u-line.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-line.vue?vue&type=template&id=727e452e&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.__get_style([_vm.lineStyle])\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-line.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-line.vue?vue&type=script&lang=js&\"","<template>\n\t<view\n\t class=\"u-line\"\n\t :style=\"[lineStyle]\"\n\t>\n\n\t</view>\n</template>\n\n<script>\n\timport props from './props.js';\n\t/**\n\t * line 线条\n\t * @description 此组件一般用于显示一根线条,用于分隔内容块,有横向和竖向两种模式,且能设置0.5px线条,使用也很简单\n\t * @tutorial https://www.uviewui.com/components/line.html\n\t * @property {String}\t\t\tcolor\t\t线条的颜色 ( 默认 '#d6d7d9' )\n\t * @property {String | Number}\tlength\t\t长度,竖向时表现为高度,横向时表现为长度,可以为百分比,带px单位的值等 ( 默认 '100%' )\n\t * @property {String}\t\t\tdirection\t线条的方向,row-横向,col-竖向 (默认 'row' )\n\t * @property {Boolean}\t\t\thairline\t是否显示细线条 (默认 true )\n\t * @property {String | Number}\tmargin\t\t线条与上下左右元素的间距,字符串形式,如\"30px\" (默认 0 )\n\t * @property {Boolean}\t\t\tdashed\t\t是否虚线,true-虚线,false-实线 (默认 false )\n\t * @property {Object}\t\t\tcustomStyle\t定义需要用到的外部样式\n\t * @example <u-line color=\"red\"></u-line>\n\t */\n\texport default {\n\t\tname: 'u-line',\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin,props],\n\t\tcomputed: {\n\t\t\tlineStyle() {\n\t\t\t\tconst style = {}\n\t\t\t\tstyle.margin = this.margin\n\t\t\t\t// 如果是水平线条,边框高度为1px,再通过transform缩小一半,就是0.5px了\n\t\t\t\tif (this.direction === 'row') {\n\t\t\t\t\t// 此处采用兼容分开写,兼容nvue的写法\n\t\t\t\t\tstyle.borderBottomWidth = '1px'\n\t\t\t\t\tstyle.borderBottomStyle = this.dashed ? 'dashed' : 'solid'\n\t\t\t\t\tstyle.width = uni.$u.addUnit(this.length)\n\t\t\t\t\tif (this.hairline) style.transform = 'scaleY(0.5)'\n\t\t\t\t} else {\n\t\t\t\t\t// 如果是竖向线条,边框宽度为1px,再通过transform缩小一半,就是0.5px了\n\t\t\t\t\tstyle.borderLeftWidth = '1px'\n\t\t\t\t\tstyle.borderLeftStyle = this.dashed ? 'dashed' : 'solid'\n\t\t\t\t\tstyle.height = uni.$u.addUnit(this.length)\n\t\t\t\t\tif (this.hairline) style.transform = 'scaleX(0.5)'\n\t\t\t\t}\n\n\t\t\t\tstyle.borderColor = this.color\n\t\t\t\treturn uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle))\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t@import \"../../libs/css/components.scss\";\n\n\t.u-line {\n\t\t/* #ifndef APP-NVUE */\n\t\tvertical-align: middle;\n\t\t/* #endif */\n\t}\n</style>\n","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-line.vue?vue&type=style&index=0&id=727e452e&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-line.vue?vue&type=style&index=0&id=727e452e&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657703507270\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | |
\ No newline at end of file |
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?bb69","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?c823","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?f204","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?604d","uni-app:///uni_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?a751","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue?33bc"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAuI;AACvI;AACkE;AACL;AACsC;;;AAGnG;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,oFAAM;AACR,EAAE,qGAAM;AACR,EAAE,8GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,yGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvBA;AAAA;AAAA;AAAA;AAA02B,CAAgB,4yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC4D93B,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA;;;;;;;;;;;;;;;;;kBAkBA,EACA,sBADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA;AACA;AACA,4BACA,UADA,GAHA,EAMA;AACA;AACA,mBARA,EAQA;AACA,wBATA,EASA;AACA,oBAVA,CAUA;AAVA,MAYA,CAhBA,EAiBA,YACA;AACA;AACA;AACA,oBAJA,8BAIA,CACA,sEACA,6BACA,4DACA,CAFA,MAEA,CACA,qBACA,CANA,CAOA;AACA,KAZA,EAjBA,EA+BA,SACA,IADA,gBACA,CADA,EACA,CACA;AAQA,KAVA,EA/BA,EA2CA,OA3CA,qBA2CA,CACA,YACA,CA7CA,EA8CA,WACA,IADA,kBACA,CACA,wBAOA,CAPA,EAOA,EAPA,EAQA,CAVA,EAWA;AACA,6BAZA,uCAYA,mBACA;AACA,oCAFA,CAGA;AACA,yCAJA,CAKA;AACA,iDANA,CAOA;AACA,2DACA,yBACA,CAFA,EAGA,qDACA,0BACA,CAFA;AAGA,KA1BA,EA9CA,E;;;;;;;;;;;;;AClFA;AAAA;AAAA;AAAA;AAAynD,CAAgB,m8CAAG,EAAC,C;;;;;;;;;;;ACA7oD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uni_modules/uview-ui/components/u-loading-icon/u-loading-icon.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-loading-icon.vue?vue&type=template&id=0fe228ae&scoped=true&\"\nvar renderjs\nimport script from \"./u-loading-icon.vue?vue&type=script&lang=js&\"\nexport * from \"./u-loading-icon.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-loading-icon.vue?vue&type=style&index=0&id=0fe228ae&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0fe228ae\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uni_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-loading-icon.vue?vue&type=template&id=0fe228ae&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.show ? _vm.__get_style([_vm.$u.addStyle(_vm.customStyle)]) : null\n var g0 = _vm.show && !_vm.webviewHide ? _vm.$u.addUnit(_vm.size) : null\n var g1 = _vm.show && !_vm.webviewHide ? _vm.$u.addUnit(_vm.size) : null\n var g2 = _vm.show && _vm.text ? _vm.$u.addUnit(_vm.textSize) : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n g0: g0,\n g1: g1,\n g2: g2\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-loading-icon.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-loading-icon.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view\r\n\t\tclass=\"u-loading-icon\"\r\n\t\t:style=\"[$u.addStyle(customStyle)]\"\r\n\t\t:class=\"[vertical && 'u-loading-icon--vertical']\"\r\n\t\tv-if=\"show\"\r\n\t>\r\n\t\t<view\r\n\t\t\tv-if=\"!webviewHide\"\r\n\t\t\tclass=\"u-loading-icon__spinner\"\r\n\t\t\t:class=\"[`u-loading-icon__spinner--${mode}`]\"\r\n\t\t\tref=\"ani\"\r\n\t\t\t:style=\"{\r\n\t\t\t\tcolor: color,\r\n\t\t\t\twidth: $u.addUnit(size),\r\n\t\t\t\theight: $u.addUnit(size),\r\n\t\t\t\tborderTopColor: color,\r\n\t\t\t\tborderBottomColor: otherBorderColor,\r\n\t\t\t\tborderLeftColor: otherBorderColor,\r\n\t\t\t\tborderRightColor: otherBorderColor,\r\n\t\t\t\t'animation-duration': `${duration}ms`,\r\n\t\t\t\t'animation-timing-function': mode === 'semicircle' || mode === 'circle' ? timingFunction : ''\r\n\t\t\t}\"\r\n\t\t>\r\n\t\t\t<block v-if=\"mode === 'spinner'\">\r\n\t\t\t\t<!-- #ifndef APP-NVUE -->\r\n\t\t\t\t<view\r\n\t\t\t\t\tv-for=\"(item, index) in array12\"\r\n\t\t\t\t\t:key=\"index\"\r\n\t\t\t\t\tclass=\"u-loading-icon__dot\"\r\n\t\t\t\t>\r\n\t\t\t\t</view>\r\n\t\t\t\t<!-- #endif -->\r\n\t\t\t\t<!-- #ifdef APP-NVUE -->\r\n\t\t\t\t<!-- 此组件内部图标部分无法设置宽高,即使通过width和height配置了也无效 -->\r\n\t\t\t\t<loading-indicator\r\n\t\t\t\t\tv-if=\"!webviewHide\"\r\n\t\t\t\t\tclass=\"u-loading-indicator\"\r\n\t\t\t\t\t:animating=\"true\"\r\n\t\t\t\t\t:style=\"{\r\n\t\t\t\t\t\tcolor: color,\r\n\t\t\t\t\t\twidth: $u.addUnit(size),\r\n\t\t\t\t\t\theight: $u.addUnit(size)\r\n\t\t\t\t\t}\"\r\n\t\t\t\t/>\r\n\t\t\t\t<!-- #endif -->\r\n\t\t\t</block>\r\n\t\t</view>\r\n\t\t<text\r\n\t\t\tv-if=\"text\"\r\n\t\t\tclass=\"u-loading-icon__text\"\r\n\t\t\t:style=\"{\r\n\t\t\t\tfontSize: $u.addUnit(textSize),\r\n\t\t\t\tcolor: textColor,\r\n\t\t\t}\"\r\n\t\t>{{text}}</text>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport props from './props.js';\r\n\t// #ifdef APP-NVUE\r\n\tconst animation = weex.requireModule('animation');\r\n\t// #endif\r\n\t/**\r\n\t * loading 加载动画\r\n\t * @description 警此组件为一个小动画,目前用在uView的loadmore加载更多和switch开关等组件的正在加载状态场景。\r\n\t * @tutorial https://www.uviewui.com/components/loading.html\r\n\t * @property {Boolean}\t\t\tshow\t\t\t是否显示组件 (默认 true)\r\n\t * @property {String}\t\t\tcolor\t\t\t动画活动区域的颜色,只对 mode = flower 模式有效(默认color['u-tips-color'])\r\n\t * @property {String}\t\t\ttextColor\t\t提示文本的颜色(默认color['u-tips-color'])\r\n\t * @property {Boolean}\t\t\tvertical\t\t文字和图标是否垂直排列 (默认 false )\r\n\t * @property {String}\t\t\tmode\t\t\t模式选择,见官网说明(默认 'circle' )\r\n\t * @property {String | Number}\tsize\t\t\t加载图标的大小,单位px (默认 24 )\r\n\t * @property {String | Number}\ttextSize\t\t文字大小(默认 15 )\r\n\t * @property {String | Number}\ttext\t\t\t文字内容 \r\n\t * @property {String}\t\t\ttimingFunction\t动画模式 (默认 'ease-in-out' )\r\n\t * @property {String | Number}\tduration\t\t动画执行周期时间(默认 1200)\r\n\t * @property {String}\t\t\tinactiveColor\tmode=circle时的暗边颜色 \r\n\t * @property {Object}\t\t\tcustomStyle\t\t定义需要用到的外部样式\r\n\t * @example <u-loading mode=\"circle\"></u-loading>\r\n\t */\r\n\texport default {\r\n\t\tname: 'u-loading-icon',\r\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin, props],\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\t// Array.form可以通过一个伪数组对象创建指定长度的数组\r\n\t\t\t\t// https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array/from\r\n\t\t\t\tarray12: Array.from({\r\n\t\t\t\t\tlength: 12\r\n\t\t\t\t}),\r\n\t\t\t\t// 这里需要设置默认值为360,否则在安卓nvue上,会延迟一个duration周期后才执行\r\n\t\t\t\t// 在iOS nvue上,则会一开始默认执行两个周期的动画\r\n\t\t\t\taniAngel: 360, // 动画旋转角度\r\n\t\t\t\twebviewHide: false, // 监听webview的状态,如果隐藏了页面,则停止动画,以免性能消耗\r\n\t\t\t\tloading: false, // 是否运行中,针对nvue使用\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\t// 当为circle类型时,给其另外三边设置一个更轻一些的颜色\r\n\t\t\t// 之所以需要这么做的原因是,比如父组件传了color为红色,那么需要另外的三个边为浅红色\r\n\t\t\t// 而不能是固定的某一个其他颜色(因为这个固定的颜色可能浅蓝,导致效果没有那么细腻良好)\r\n\t\t\totherBorderColor() {\r\n\t\t\t\tconst lightColor = uni.$u.colorGradient(this.color, '#ffffff', 100)[80]\r\n\t\t\t\tif (this.mode === 'circle') {\r\n\t\t\t\t\treturn this.inactiveColor ? this.inactiveColor : lightColor\r\n\t\t\t\t} else {\r\n\t\t\t\t\treturn 'transparent'\r\n\t\t\t\t}\r\n\t\t\t\t// return this.mode === 'circle' ? this.inactiveColor ? this.inactiveColor : lightColor : 'transparent'\r\n\t\t\t}\r\n\t\t},\r\n\t\twatch: {\r\n\t\t\tshow(n) {\r\n\t\t\t\t// nvue中,show为true,且为非loading状态,就重新执行动画模块\r\n\t\t\t\t// #ifdef APP-NVUE\r\n\t\t\t\tif (n && !this.loading) {\r\n\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\tthis.startAnimate()\r\n\t\t\t\t\t}, 30)\r\n\t\t\t\t}\r\n\t\t\t\t// #endif\r\n\t\t\t}\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\tthis.init()\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tinit() {\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t// #ifdef APP-NVUE\r\n\t\t\t\t\tthis.show && this.nvueAnimate()\r\n\t\t\t\t\t// #endif\r\n\t\t\t\t\t// #ifdef APP-PLUS \r\n\t\t\t\t\tthis.show && this.addEventListenerToWebview()\r\n\t\t\t\t\t// #endif\r\n\t\t\t\t}, 20)\r\n\t\t\t},\r\n\t\t\t// 监听webview的显示与隐藏\r\n\t\t\taddEventListenerToWebview() {\r\n\t\t\t\t// webview的堆栈\r\n\t\t\t\tconst pages = getCurrentPages()\r\n\t\t\t\t// 当前页面\r\n\t\t\t\tconst page = pages[pages.length - 1]\r\n\t\t\t\t// 当前页面的webview实例\r\n\t\t\t\tconst currentWebview = page.$getAppWebview()\r\n\t\t\t\t// 监听webview的显示与隐藏,从而停止或者开始动画(为了性能)\r\n\t\t\t\tcurrentWebview.addEventListener('hide', () => {\r\n\t\t\t\t\tthis.webviewHide = true\r\n\t\t\t\t})\r\n\t\t\t\tcurrentWebview.addEventListener('show', () => {\r\n\t\t\t\t\tthis.webviewHide = false\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t// #ifdef APP-NVUE\r\n\t\t\tnvueAnimate() {\r\n\t\t\t\t// nvue下,非spinner类型时才需要旋转,因为nvue的spinner类型,使用了weex的\r\n\t\t\t\t// loading-indicator组件,自带旋转功能\r\n\t\t\t\tthis.mode !== 'spinner' && this.startAnimate()\r\n\t\t\t},\r\n\t\t\t// 执行nvue的animate模块动画\r\n\t\t\tstartAnimate() {\r\n\t\t\t\tthis.loading = true\r\n\t\t\t\tconst ani = this.$refs.ani\r\n\t\t\t\tif (!ani) return\r\n\t\t\t\tanimation.transition(ani, {\r\n\t\t\t\t\t// 进行角度旋转\r\n\t\t\t\t\tstyles: {\r\n\t\t\t\t\t\ttransform: `rotate(${this.aniAngel}deg)`,\r\n\t\t\t\t\t\ttransformOrigin: 'center center'\r\n\t\t\t\t\t},\r\n\t\t\t\t\tduration: this.duration,\r\n\t\t\t\t\ttimingFunction: this.timingFunction,\r\n\t\t\t\t\t// delay: 10\r\n\t\t\t\t}, () => {\r\n\t\t\t\t\t// 每次增加360deg,为了让其重新旋转一周\r\n\t\t\t\t\tthis.aniAngel += 360\r\n\t\t\t\t\t// 动画结束后,继续循环执行动画,需要同时判断webviewHide变量\r\n\t\t\t\t\t// nvue安卓,页面隐藏后依然会继续执行startAnimate方法\r\n\t\t\t\t\tthis.show && !this.webviewHide ? this.startAnimate() : this.loading = false\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t\t// #endif\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t@import \"../../libs/css/components.scss\";\r\n\t$u-loading-icon-color: #c8c9cc !default;\r\n\t$u-loading-icon-text-margin-left:4px !default;\r\n\t$u-loading-icon-text-color:$u-content-color !default;\r\n\t$u-loading-icon-text-font-size:14px !default;\r\n\t$u-loading-icon-text-line-height:20px !default;\r\n\t$u-loading-width:30px !default;\r\n\t$u-loading-height:30px !default;\r\n\t$u-loading-max-width:100% !default;\r\n\t$u-loading-max-height:100% !default;\r\n\t$u-loading-semicircle-border-width: 2px !default;\r\n\t$u-loading-semicircle-border-color:transparent !default;\r\n\t$u-loading-semicircle-border-top-right-radius: 100px !default;\r\n\t$u-loading-semicircle-border-top-left-radius: 100px !default;\r\n\t$u-loading-semicircle-border-bottom-left-radius: 100px !default;\r\n\t$u-loading-semicircle-border-bottom-right-radiu: 100px !default;\r\n\t$u-loading-semicircle-border-style: solid !default;\r\n\t$u-loading-circle-border-top-right-radius: 100px !default;\r\n\t$u-loading-circle-border-top-left-radius: 100px !default;\r\n\t$u-loading-circle-border-bottom-left-radius: 100px !default;\r\n\t$u-loading-circle-border-bottom-right-radiu: 100px !default;\r\n\t$u-loading-circle-border-width:2px !default;\r\n\t$u-loading-circle-border-top-color:#e5e5e5 !default;\r\n\t$u-loading-circle-border-right-color:$u-loading-circle-border-top-color !default;\r\n\t$u-loading-circle-border-bottom-color:$u-loading-circle-border-top-color !default;\r\n\t$u-loading-circle-border-left-color:$u-loading-circle-border-top-color !default;\r\n\t$u-loading-circle-border-style:solid !default;\r\n\t$u-loading-icon-host-font-size:0px !default;\r\n\t$u-loading-icon-host-line-height:1 !default;\r\n\t$u-loading-icon-vertical-margin:6px 0 0 !default;\r\n\t$u-loading-icon-dot-top:0 !default;\r\n\t$u-loading-icon-dot-left:0 !default;\r\n\t$u-loading-icon-dot-width:100% !default;\r\n\t$u-loading-icon-dot-height:100% !default;\r\n\t$u-loading-icon-dot-before-width:2px !default;\r\n\t$u-loading-icon-dot-before-height:25% !default;\r\n\t$u-loading-icon-dot-before-margin:0 auto !default;\r\n\t$u-loading-icon-dot-before-background-color:currentColor !default;\r\n\t$u-loading-icon-dot-before-border-radius:40% !default;\r\n\r\n\t.u-loading-icon {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\t// display: inline-flex;\r\n\t\t/* #endif */\r\n\t\tflex-direction: row;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t\tcolor: $u-loading-icon-color;\r\n\r\n\t\t&__text {\r\n\t\t\tmargin-left: $u-loading-icon-text-margin-left;\r\n\t\t\tcolor: $u-loading-icon-text-color;\r\n\t\t\tfont-size: $u-loading-icon-text-font-size;\r\n\t\t\tline-height: $u-loading-icon-text-line-height;\r\n\t\t}\r\n\r\n\t\t&__spinner {\r\n\t\t\twidth: $u-loading-width;\r\n\t\t\theight: $u-loading-height;\r\n\t\t\tposition: relative;\r\n\t\t\t/* #ifndef APP-NVUE */\r\n\t\t\tbox-sizing: border-box;\r\n\t\t\tmax-width: $u-loading-max-width;\r\n\t\t\tmax-height: $u-loading-max-height;\r\n\t\t\tanimation: u-rotate 1s linear infinite;\r\n\t\t\t/* #endif */\r\n\t\t}\r\n\r\n\t\t&__spinner--semicircle {\r\n\t\t\tborder-width: $u-loading-semicircle-border-width;\r\n\t\t\tborder-color: $u-loading-semicircle-border-color;\r\n\t\t\tborder-top-right-radius: $u-loading-semicircle-border-top-right-radius;\r\n\t\t\tborder-top-left-radius: $u-loading-semicircle-border-top-left-radius;\r\n\t\t\tborder-bottom-left-radius: $u-loading-semicircle-border-bottom-left-radius;\r\n\t\t\tborder-bottom-right-radius: $u-loading-semicircle-border-bottom-right-radiu;\r\n\t\t\tborder-style: $u-loading-semicircle-border-style;\r\n\t\t}\r\n\r\n\t\t&__spinner--circle {\r\n\t\t\tborder-top-right-radius: $u-loading-circle-border-top-right-radius;\r\n\t\t\tborder-top-left-radius: $u-loading-circle-border-top-left-radius;\r\n\t\t\tborder-bottom-left-radius: $u-loading-circle-border-bottom-left-radius;\r\n\t\t\tborder-bottom-right-radius: $u-loading-circle-border-bottom-right-radiu;\r\n\t\t\tborder-width: $u-loading-circle-border-width;\r\n\t\t\tborder-top-color: $u-loading-circle-border-top-color;\r\n\t\t\tborder-right-color: $u-loading-circle-border-right-color;\r\n\t\t\tborder-bottom-color: $u-loading-circle-border-bottom-color;\r\n\t\t\tborder-left-color: $u-loading-circle-border-left-color;\r\n\t\t\tborder-style: $u-loading-circle-border-style;\r\n\t\t}\r\n\r\n\t\t&--vertical {\r\n\t\t\tflex-direction: column\r\n\t\t}\r\n\t}\r\n\r\n\t/* #ifndef APP-NVUE */\r\n\t:host {\r\n\t\tfont-size: $u-loading-icon-host-font-size;\r\n\t\tline-height: $u-loading-icon-host-line-height;\r\n\t}\r\n\r\n\t.u-loading-icon {\r\n\t\t&__spinner--spinner {\r\n\t\t\tanimation-timing-function: steps(12)\r\n\t\t}\r\n\r\n\t\t&__text:empty {\r\n\t\t\tdisplay: none\r\n\t\t}\r\n\r\n\t\t&--vertical &__text {\r\n\t\t\tmargin: $u-loading-icon-vertical-margin;\r\n\t\t\tcolor: $u-content-color;\r\n\t\t}\r\n\r\n\t\t&__dot {\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: $u-loading-icon-dot-top;\r\n\t\t\tleft: $u-loading-icon-dot-left;\r\n\t\t\twidth: $u-loading-icon-dot-width;\r\n\t\t\theight: $u-loading-icon-dot-height;\r\n\r\n\t\t\t&:before {\r\n\t\t\t\tdisplay: block;\r\n\t\t\t\twidth: $u-loading-icon-dot-before-width;\r\n\t\t\t\theight: $u-loading-icon-dot-before-height;\r\n\t\t\t\tmargin: $u-loading-icon-dot-before-margin;\r\n\t\t\t\tbackground-color: $u-loading-icon-dot-before-background-color;\r\n\t\t\t\tborder-radius: $u-loading-icon-dot-before-border-radius;\r\n\t\t\t\tcontent: \" \"\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t@for $i from 1 through 12 {\r\n\t\t.u-loading-icon__dot:nth-of-type(#{$i}) {\r\n\t\t\ttransform: rotate($i * 30deg);\r\n\t\t\topacity: 1 - 0.0625 * ($i - 1);\r\n\t\t}\r\n\t}\r\n\r\n\t@keyframes u-rotate {\r\n\t\t0% {\r\n\t\t\ttransform: rotate(0deg)\r\n\t\t}\r\n\r\n\t\tto {\r\n\t\t\ttransform: rotate(1turn)\r\n\t\t}\r\n\t}\r\n\r\n\t/* #endif */\r\n</style>\r\n","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-loading-icon.vue?vue&type=style&index=0&id=0fe228ae&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-loading-icon.vue?vue&type=style&index=0&id=0fe228ae&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657703507224\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | |
\ No newline at end of file |
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-overlay/u-overlay.vue?927b","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-overlay/u-overlay.vue?85f5","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-overlay/u-overlay.vue?b281","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-overlay/u-overlay.vue?7508","uni-app:///uni_modules/uview-ui/components/u-overlay/u-overlay.vue","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-overlay/u-overlay.vue?679f","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-overlay/u-overlay.vue?b762"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkI;AAClI;AAC6D;AACL;AACsC;;;AAG9F;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,+EAAM;AACR,EAAE,gGAAM;AACR,EAAE,yGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,qUAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAAq2B,CAAgB,uyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;ACaz3B,gF;;;;;;;;;;;;AAEA;;;;;;;;;;;kBAYA,EACA,iBADA,EAEA,sDAFA,EAGA,YACA,YADA,0BACA,CACA,cACA,iBADA,EAEA,MAFA,EAGA,OAHA,EAIA,QAJA;AAKA,2BALA;AAMA,iBANA;AAOA,sEAPA;;AASA;AACA,KAZA,EAHA;;AAiBA;AACA,gBADA,0BACA;AACA;AACA,KAHA,EAjBA,E;;;;;;;;;;;;;AC3BA;AAAA;AAAA;AAAA;AAAonD,CAAgB,87CAAG,EAAC,C;;;;;;;;;;;ACAxoD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uni_modules/uview-ui/components/u-overlay/u-overlay.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-overlay.vue?vue&type=template&id=1625041b&scoped=true&\"\nvar renderjs\nimport script from \"./u-overlay.vue?vue&type=script&lang=js&\"\nexport * from \"./u-overlay.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-overlay.vue?vue&type=style&index=0&id=1625041b&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1625041b\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uni_modules/uview-ui/components/u-overlay/u-overlay.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-overlay.vue?vue&type=template&id=1625041b&scoped=true&\"","var components\ntry {\n components = {\n uTransition: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-transition/u-transition\" */ \"@/uni_modules/uview-ui/components/u-transition/u-transition.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-overlay.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-overlay.vue?vue&type=script&lang=js&\"","<template>\n\t<u-transition\n\t :show=\"show\"\n\t custom-class=\"u-overlay\"\n\t :duration=\"duration\"\n\t :custom-style=\"overlayStyle\"\n\t @click=\"clickHandler\"\n\t>\n\t\t<slot />\n\t</u-transition>\n</template>\n\n<script>\n\timport props from './props.js';\n\n\t/**\n\t * overlay 遮罩\n\t * @description 创建一个遮罩层,用于强调特定的页面元素,并阻止用户对遮罩下层的内容进行操作,一般用于弹窗场景\n\t * @tutorial https://www.uviewui.com/components/overlay.html\n\t * @property {Boolean}\t\t\tshow\t\t是否显示遮罩(默认 false )\n\t * @property {String | Number}\tzIndex\t\tzIndex 层级(默认 10070 )\n\t * @property {String | Number}\tduration\t动画时长,单位毫秒(默认 300 )\n\t * @property {String | Number}\topacity\t\t不透明度值,当做rgba的第四个参数 (默认 0.5 )\n\t * @property {Object}\t\t\tcustomStyle\t定义需要用到的外部样式\n\t * @event {Function} click 点击遮罩发送事件\n\t * @example <u-overlay :show=\"show\" @click=\"show = false\"></u-overlay>\n\t */\n\texport default {\n\t\tname: \"u-overlay\",\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin,props],\n\t\tcomputed: {\n\t\t\toverlayStyle() {\n\t\t\t\tconst style = {\n\t\t\t\t\tposition: 'fixed',\n\t\t\t\t\ttop: 0,\n\t\t\t\t\tleft: 0,\n\t\t\t\t\tright: 0,\n\t\t\t\t\tzIndex: this.zIndex,\n\t\t\t\t\tbottom: 0,\n\t\t\t\t\t'background-color': `rgba(0, 0, 0, ${this.opacity})`\n\t\t\t\t}\n\t\t\t\treturn uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle))\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\tclickHandler() {\n\t\t\t\tthis.$emit('click')\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t@import \"../../libs/css/components.scss\";\n $u-overlay-top:0 !default;\n $u-overlay-left:0 !default;\n $u-overlay-width:100% !default;\n $u-overlay-height:100% !default;\n $u-overlay-background-color:rgba(0, 0, 0, .7) !default;\n\t.u-overlay {\n\t\tposition: fixed;\n\t\ttop:$u-overlay-top;\n\t\tleft:$u-overlay-left;\n\t\twidth: $u-overlay-width;\n\t\theight:$u-overlay-height;\n\t\tbackground-color:$u-overlay-background-color;\n\t}\n</style>\n","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-overlay.vue?vue&type=style&index=0&id=1625041b&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-overlay.vue?vue&type=style&index=0&id=1625041b&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657703507168\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | |
\ No newline at end of file |
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-toast/u-toast.js.map
已删除
100644 → 0
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-toast/u-toast.vue?49fa","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-toast/u-toast.vue?6640","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-toast/u-toast.vue?92b6","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-toast/u-toast.vue?7e4d","uni-app:///uni_modules/uview-ui/components/u-toast/u-toast.vue","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-toast/u-toast.vue?c7c3","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-toast/u-toast.vue?c4c1"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,mTAEN;AACP,KAAK;AACL;AACA,aAAa,iVAEN;AACP,KAAK;AACL;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,2RAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1DA;AAAA;AAAA;AAAA;AAAm2B,CAAgB,qyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACyCv3B;;;;;;;;;;;;;;;;;;;;;;AAsBA;AACA,iBADA;AAEA,wCAFA;AAGA,MAHA,kBAGA;AACA;AACA,mBADA;AAEA,iBAFA,EAEA;AACA;AACA,mBADA,EACA;AACA,gBAFA,EAEA;AACA,sBAHA,EAGA;AACA,kBAJA,EAIA;AACA,0BALA,EAKA;AACA,sBANA,EAMA;AACA,sBAPA,EAOA;AACA,sBARA,CAQA;AARA,OAHA;AAaA,mBAbA,CAaA;AAbA;AAeA,GAnBA;AAoBA;AACA,YADA,sBACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA,KAXA;AAYA,gBAZA,0BAYA;AACA;AACA,gCADA;AAEA,4BAFA;AAGA,uBAHA;;AAKA;AACA;AACA;AACA,KArBA;AAsBA,aAtBA,uBAsBA;AACA;AACA;AACA;;;;;;;AAOA;AACA,KAjCA;AAkCA,oBAlCA,8BAkCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KA1CA;AA2CA;AACA,gBA5CA,0BA4CA;AACA;AACA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA;AACA,KAvDA,EApBA;;AA6EA,SA7EA,qBA6EA;AACA;AACA;AACA;AACA,oBADA;AAEA,0BAFA;;AAIA,KALA;AAMA,GArFA;AAsFA;AACA;AACA,QAFA,gBAEA,OAFA,EAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OALA,EAKA,uBALA;AAMA,KAdA;AAeA;AACA,QAhBA,kBAgBA;AACA;AACA,KAlBA;AAmBA,cAnBA,wBAmBA;AACA;AACA;AACA;AACA;AACA,KAxBA,EAtFA;;AAgHA,eAhHA,2BAgHA;AACA;AACA,GAlHA,E;;;;;;;;;;;;;AC/DA;AAAA;AAAA;AAAA;AAAknD,CAAgB,47CAAG,EAAC,C;;;;;;;;;;;ACAtoD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uni_modules/uview-ui/components/u-toast/u-toast.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-toast.vue?vue&type=template&id=0c6e2509&scoped=true&\"\nvar renderjs\nimport script from \"./u-toast.vue?vue&type=script&lang=js&\"\nexport * from \"./u-toast.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-toast.vue?vue&type=style&index=0&id=0c6e2509&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0c6e2509\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uni_modules/uview-ui/components/u-toast/u-toast.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-toast.vue?vue&type=template&id=0c6e2509&scoped=true&\"","var components\ntry {\n components = {\n uOverlay: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-overlay/u-overlay\" */ \"@/uni_modules/uview-ui/components/u-overlay/u-overlay.vue\"\n )\n },\n uLoadingIcon: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-loading-icon/u-loading-icon\" */ \"@/uni_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue\"\n )\n },\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-icon/u-icon\" */ \"@/uni_modules/uview-ui/components/u-icon/u-icon.vue\"\n )\n },\n uGap: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-gap/u-gap\" */ \"@/uni_modules/uview-ui/components/u-gap/u-gap.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.__get_style([_vm.contentStyle])\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-toast.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-toast.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"u-toast\">\n\t\t<u-overlay\n\t\t\t:show=\"isShow\"\n\t\t\t:custom-style=\"overlayStyle\"\n\t\t>\n\t\t\t<view\n\t\t\t\tclass=\"u-toast__content\"\n\t\t\t\t:style=\"[contentStyle]\"\n\t\t\t\t:class=\"['u-type-' + tmpConfig.type, (tmpConfig.type === 'loading' || tmpConfig.loading) ? 'u-toast__content--loading' : '']\"\n\t\t\t>\n\t\t\t\t<u-loading-icon\n\t\t\t\t\tv-if=\"tmpConfig.type === 'loading'\"\n\t\t\t\t\tmode=\"circle\"\n\t\t\t\t\tcolor=\"rgb(255, 255, 255)\"\n\t\t\t\t\tinactiveColor=\"rgb(120, 120, 120)\"\n\t\t\t\t\tsize=\"25\"\n\t\t\t\t></u-loading-icon>\n\t\t\t\t<u-icon\n\t\t\t\t\tv-else-if=\"tmpConfig.type !== 'defalut' && iconName\"\n\t\t\t\t\t:name=\"iconName\"\n\t\t\t\t\tsize=\"17\"\n\t\t\t\t\t:color=\"tmpConfig.type\"\n\t\t\t\t\t:customStyle=\"iconStyle\"\n\t\t\t\t></u-icon>\n\t\t\t\t<u-gap\n\t\t\t\t\tv-if=\"tmpConfig.type === 'loading' || tmpConfig.loading\"\n\t\t\t\t\theight=\"12\"\n\t\t\t\t\tbgColor=\"transparent\"\n\t\t\t\t></u-gap>\n\t\t\t\t<text\n\t\t\t\t\tclass=\"u-toast__content__text\"\n\t\t\t\t\t:class=\"['u-toast__content__text--' + tmpConfig.type]\"\n\t\t\t\t\tstyle=\"max-width: 400rpx;\"\n\t\t\t\t>{{ tmpConfig.message }}</text>\n\t\t\t</view>\n\t\t</u-overlay>\n\t</view>\n</template>\n\n<script>\n\t/**\n\t * toast 消息提示\n\t * @description 此组件表现形式类似uni的uni.showToastAPI,但也有不同的地方。\n\t * @tutorial https://www.uviewui.com/components/toast.html\n\t * @property {String | Number}\tzIndex\t\ttoast展示时的zIndex值 (默认 10090 )\n\t * @property {Boolean}\t\t\tloading\t\t是否加载中 (默认 false )\n\t * @property {String | Number}\tmessage\t\t显示的文字内容\n\t * @property {String}\t\t\ticon\t\t图标,或者绝对路径的图片\n\t * @property {String}\t\t\ttype\t\t主题类型 (默认 default)\n\t * @property {Boolean}\t\t\tshow\t\t是否显示该组件 (默认 false)\n\t * @property {Boolean}\t\t\toverlay\t\t是否显示透明遮罩,防止点击穿透 (默认 false )\n\t * @property {String}\t\t\tposition\t位置 (默认 'center' )\n\t * @property {Object}\t\t\tparams\t\t跳转的参数 \n\t * @property {String | Number} duration\t展示时间,单位ms (默认 2000 )\n\t * @property {Boolean}\t\t\tisTab\t\t是否返回的为tab页面 (默认 false )\n\t * @property {String}\t\t\turl\t\t\ttoast消失后是否跳转页面,有则跳转,优先级高于back参数 \n\t * @property {Function}\t\t\tcomplete\t执行完后的回调函数 \n\t * @property {Boolean}\t\t\tback\t\t结束toast是否自动返回上一页 (默认 false )\n\t * @property {Object}\t\t\tcustomStyle\t组件的样式,对象形式\n\t * @event {Function} show 显示toast,如需一进入页面就显示toast,请在onReady生命周期调用\n\t * @example <u-toast ref=\"uToast\" />\n\t */\n\texport default {\n\t\tname: 'u-toast',\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin],\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tisShow: false,\n\t\t\t\ttimer: null, // 定时器\n\t\t\t\tconfig: {\n\t\t\t\t\tmessage: '', // 显示文本\n\t\t\t\t\ttype: '', // 主题类型,primary,success,error,warning,black\n\t\t\t\t\tduration: 2000, // 显示的时间,毫秒\n\t\t\t\t\ticon: true, // 显示的图标\n\t\t\t\t\tposition: 'center', // toast出现的位置\n\t\t\t\t\tcomplete: null, // 执行完后的回调函数\n\t\t\t\t\toverlay: false, // 是否防止触摸穿透\n\t\t\t\t\tloading: false, // 是否加载中状态\n\t\t\t\t},\n\t\t\t\ttmpConfig: {}, // 将用户配置和内置配置合并后的临时配置变量\n\t\t\t}\n\t\t},\n\t\tcomputed: {\n\t\t\ticonName() {\n\t\t\t\t// 只有不为none,并且type为error|warning|succes|info时候,才显示图标\n\t\t\t\tif(!this.tmpConfig.icon || this.tmpConfig.icon == 'none') {\n\t\t\t\t\treturn '';\n\t\t\t\t}\n\t\t\t\tif (['error', 'warning', 'success', 'primary'].includes(this.tmpConfig.type)) {\n\t\t\t\t\treturn uni.$u.type2icon(this.tmpConfig.type)\n\t\t\t\t} else {\n\t\t\t\t\treturn ''\n\t\t\t\t}\n\t\t\t},\n\t\t\toverlayStyle() {\n\t\t\t\tconst style = {\n\t\t\t\t\tjustifyContent: 'center',\n\t\t\t\t\talignItems: 'center',\n\t\t\t\t\tdisplay: 'flex'\n\t\t\t\t}\n\t\t\t\t// 将遮罩设置为100%透明度,避免出现灰色背景\n\t\t\t\tstyle.backgroundColor = 'rgba(0, 0, 0, 0)'\n\t\t\t\treturn style\n\t\t\t},\n\t\t\ticonStyle() {\n\t\t\t\tconst style = {}\n\t\t\t\t// 图标需要一个右边距,以跟右边的文字有隔开的距离\n\t\t\t\tstyle.marginRight = '4px'\n\t\t\t\t// #ifdef APP-NVUE\n\t\t\t\t// iOSAPP下,图标有1px的向下偏移,这里进行修正\n\t\t\t\tif (uni.$u.os() === 'ios') {\n\t\t\t\t\tstyle.marginTop = '-1px'\n\t\t\t\t}\n\t\t\t\t// #endif\n\t\t\t\treturn style\n\t\t\t},\n\t\t\tloadingIconColor() {\n\t\t\t\tlet color = 'rgb(255, 255, 255)'\n\t\t\t\tif (['error', 'warning', 'success', 'primary'].includes(this.tmpConfig.type)) {\n\t\t\t\t\t// loading-icon组件内部会对color参数进行一个透明度处理,该方法要求传入的颜色值\n\t\t\t\t\t// 必须为rgb格式的,所以这里做一个处理\n\t\t\t\t\tcolor = uni.$u.hexToRgb(uni.$u.color[this.tmpConfig.type])\n\t\t\t\t}\n\t\t\t\treturn color\n\t\t\t},\n\t\t\t// 内容盒子的样式\n\t\t\tcontentStyle() {\n\t\t\t\tconst windowHeight = uni.$u.sys().windowHeight, style = {}\n\t\t\t\tlet value = 0\n\t\t\t\t// 根据top和bottom,对Y轴进行窗体高度的百分比偏移\n\t\t\t\tif(this.tmpConfig.position === 'top') {\n\t\t\t\t\tvalue = - windowHeight * 0.25\n\t\t\t\t} else if(this.tmpConfig.position === 'bottom') {\n\t\t\t\t\tvalue = windowHeight * 0.25\n\t\t\t\t}\n\t\t\t\tstyle.transform = `translateY(${value}px)`\n\t\t\t\treturn style\n\t\t\t}\n\t\t},\n\t\tcreated() {\n\t\t\t// 通过主题的形式调用toast,批量生成方法函数\n\t\t\t['primary', 'success', 'error', 'warning', 'default', 'loading'].map(item => {\n\t\t\t\tthis[item] = message => this.show({\n\t\t\t\t\ttype: item,\n\t\t\t\t\tmessage\n\t\t\t\t})\n\t\t\t})\n\t\t},\n\t\tmethods: {\n\t\t\t// 显示toast组件,由父组件通过this.$refs.xxx.show(options)形式调用\n\t\t\tshow(options) {\n\t\t\t\t// 不将结果合并到this.config变量,避免多次调用u-toast,前后的配置造成混乱\n\t\t\t\tthis.tmpConfig = uni.$u.deepMerge(this.config, options)\n\t\t\t\t// 清除定时器\n\t\t\t\tthis.clearTimer()\n\t\t\t\tthis.isShow = true\n\t\t\t\tthis.timer = setTimeout(() => {\n\t\t\t\t\t// 倒计时结束,清除定时器,隐藏toast组件\n\t\t\t\t\tthis.clearTimer()\n\t\t\t\t\t// 判断是否存在callback方法,如果存在就执行\n\t\t\t\t\ttypeof(this.tmpConfig.complete) === 'function' && this.tmpConfig.complete()\n\t\t\t\t}, this.tmpConfig.duration)\n\t\t\t},\n\t\t\t// 隐藏toast组件,由父组件通过this.$refs.xxx.hide()形式调用\n\t\t\thide() {\n\t\t\t\tthis.clearTimer()\n\t\t\t},\n\t\t\tclearTimer() {\n\t\t\t\tthis.isShow = false\n\t\t\t\t// 清除定时器\n\t\t\t\tclearTimeout(this.timer)\n\t\t\t\tthis.timer = null\n\t\t\t}\n\t\t},\n\t\tbeforeDestroy() {\n\t\t\tthis.clearTimer()\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t@import \"../../libs/css/components.scss\";\n\n\t$u-toast-color:#fff !default;\n\t$u-toast-border-radius:4px !default;\n\t$u-toast-border-background-color:#585858 !default;\n\t$u-toast-border-font-size:14px !default;\n\t$u-toast-border-padding:12px 20px !default;\n\t$u-toast-loading-border-padding: 20px 20px !default;\n\t$u-toast-content-text-color:#fff !default;\n\t$u-toast-content-text-font-size:15px !default;\n\t$u-toast-u-icon:10rpx !default;\n\t$u-toast-u-type-primary-color:$u-primary !default;\n\t$u-toast-u-type-primary-background-color:#ecf5ff !default;\n\t$u-toast-u-type-primary-border-color:rgb(215, 234, 254) !default;\n\t$u-toast-u-type-primary-border-width:1px !default;\n\t$u-toast-u-type-success-color: $u-success !default;\n\t$u-toast-u-type-success-background-color: #dbf1e1 !default;\n\t$u-toast-u-type-success-border-color: #BEF5C8 !default;\n\t$u-toast-u-type-success-border-width: 1px !default;\n\t$u-toast-u-type-error-color:$u-error !default;\n\t$u-toast-u-type-error-background-color:#fef0f0 !default;\n\t$u-toast-u-type-error-border-color:#fde2e2 !default;\n\t$u-toast-u-type-error-border-width: 1px !default;\n\t$u-toast-u-type-warning-color:$u-warning !default;\n\t$u-toast-u-type-warning-background-color:#fdf6ec !default;\n\t$u-toast-u-type-warning-border-color:#faecd8 !default;\n\t$u-toast-u-type-warning-border-width: 1px !default;\n\t$u-toast-u-type-default-color:#fff !default;\n\t$u-toast-u-type-default-background-color:#585858 !default;\n\n\t.u-toast {\n\t\t&__content {\n\t\t\t@include flex;\n\t\t\tpadding: $u-toast-border-padding;\n\t\t\tborder-radius: $u-toast-border-radius;\n\t\t\tbackground-color: $u-toast-border-background-color;\n\t\t\tcolor: $u-toast-color;\n\t\t\talign-items: center;\n\t\t\t/* #ifndef APP-NVUE */\n\t\t\tmax-width: 600rpx;\n\t\t\t/* #endif */\n\t\t\tposition: relative;\n\n\t\t\t&--loading {\n\t\t\t\tflex-direction: column;\n\t\t\t\tpadding: $u-toast-loading-border-padding;\n\t\t\t}\n\n\t\t\t&__text {\n\t\t\t\tcolor: $u-toast-content-text-color;\n\t\t\t\tfont-size: $u-toast-content-text-font-size;\n\t\t\t\tline-height: $u-toast-content-text-font-size;\n\n\t\t\t\t&--default {\n\t\t\t\t\tcolor: $u-toast-content-text-color;\n\t\t\t\t}\n\n\t\t\t\t&--error {\n\t\t\t\t\tcolor: $u-error;\n\t\t\t\t}\n\n\t\t\t\t&--primary {\n\t\t\t\t\tcolor: $u-primary;\n\t\t\t\t}\n\n\t\t\t\t&--success {\n\t\t\t\t\tcolor: $u-success;\n\t\t\t\t}\n\n\t\t\t\t&--warning {\n\t\t\t\t\tcolor: $u-warning;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t.u-type-primary {\n\t\tcolor: $u-toast-u-type-primary-color;\n\t\tbackground-color: $u-toast-u-type-primary-background-color;\n\t\tborder-color: $u-toast-u-type-primary-border-color;\n\t\tborder-width: $u-toast-u-type-primary-border-width;\n\t}\n\n\t.u-type-success {\n\t\tcolor: $u-toast-u-type-success-color;\n\t\tbackground-color: $u-toast-u-type-success-background-color;\n\t\tborder-color: $u-toast-u-type-success-border-color;\n\t\tborder-width: 1px;\n\t}\n\n\t.u-type-error {\n\t\tcolor: $u-toast-u-type-error-color;\n\t\tbackground-color: $u-toast-u-type-error-background-color;\n\t\tborder-color: $u-toast-u-type-error-border-color;\n\t\tborder-width: $u-toast-u-type-error-border-width;\n\t}\n\n\t.u-type-warning {\n\t\tcolor: $u-toast-u-type-warning-color;\n\t\tbackground-color: $u-toast-u-type-warning-background-color;\n\t\tborder-color: $u-toast-u-type-warning-border-color;\n\t\tborder-width: 1px;\n\t}\n\n\t.u-type-default {\n\t\tcolor: $u-toast-u-type-default-color;\n\t\tbackground-color: $u-toast-u-type-default-background-color;\n\t}\n</style>\n","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-toast.vue?vue&type=style&index=0&id=0c6e2509&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-toast.vue?vue&type=style&index=0&id=0c6e2509&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657703507101\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | |
\ No newline at end of file |
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-transition/u-transition.vue?e7b1","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-transition/u-transition.vue?a99a","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-transition/u-transition.vue?e62b","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-transition/u-transition.vue?32c8","uni-app:///uni_modules/uview-ui/components/u-transition/u-transition.vue","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-transition/u-transition.vue?0064","webpack:////Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-transition/u-transition.vue?e917"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqI;AACrI;AACgE;AACL;AACsC;;;AAGjG;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,kFAAM;AACR,EAAE,mGAAM;AACR,EAAE,4GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,uGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA;AAAA;AAAA;AAAA;AAAw2B,CAAgB,0yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;ACe53B;;AAEA,0F;AACA;;;;;;;;;;;;;;;;;AAiBA;AACA,sBADA;AAEA,MAFA,kBAEA;AACA;AACA,mBADA,EACA;AACA,mBAFA,EAEA;AACA,gBAHA,EAGA;AACA,4BAJA,EAIA;AACA,oBALA,EAKA;AACA,iBANA,CAMA;AANA;AAQA,GAXA;AAYA;AACA,cADA,wBACA;AACA,eADA,GACA,IADA,CACA,SADA,CACA,WADA,GACA,IADA,CACA,WADA;AAEA;;AAEA,0DAFA;AAGA;AACA,qDAJA;;;AAOA,kCAPA;AAQA,eARA;;AAUA,KAbA,EAZA;;AA2BA;AACA,6EA5BA;AA6BA;AACA;AACA,aADA,mBACA,MADA,EACA;AACA;;;;;AAKA;;AAEA,OATA;AAUA;AACA,qBAXA,EADA,EA7BA,E;;;;;;;;;;;;;ACnCA;AAAA;AAAA;AAAA;AAAunD,CAAgB,i8CAAG,EAAC,C;;;;;;;;;;;ACA3oD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uni_modules/uview-ui/components/u-transition/u-transition.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-transition.vue?vue&type=template&id=8e60ec6e&scoped=true&\"\nvar renderjs\nimport script from \"./u-transition.vue?vue&type=script&lang=js&\"\nexport * from \"./u-transition.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-transition.vue?vue&type=style&index=0&id=8e60ec6e&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8e60ec6e\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uni_modules/uview-ui/components/u-transition/u-transition.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-transition.vue?vue&type=template&id=8e60ec6e&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.inited ? _vm.__get_style([_vm.mergeStyle]) : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-transition.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-transition.vue?vue&type=script&lang=js&\"","<template>\n\t<view\n\t\tv-if=\"inited\"\n\t\tclass=\"u-transition\"\n\t\tref=\"u-transition\"\n\t\t@tap=\"clickHandler\"\n\t\t:class=\"classes\"\n\t\t:style=\"[mergeStyle]\"\n\t\t@touchmove=\"noop\"\n\t>\n\t\t<slot />\n\t</view>\n</template>\n\n<script>\nimport props from './props.js';\n// 组件的methods方法,由于内容较长,写在外部文件中通过mixin引入\nimport transition from \"./transition.js\";\n/**\n * transition 动画组件\n * @description\n * @tutorial\n * @property {String}\t\t\tshow\t\t\t是否展示组件 (默认 false )\n * @property {String}\t\t\tmode\t\t\t使用的动画模式 (默认 'fade' )\n * @property {String | Number}\tduration\t\t动画的执行时间,单位ms (默认 '300' )\n * @property {String}\t\t\ttimingFunction\t使用的动画过渡函数 (默认 'ease-out' )\n * @property {Object}\t\t\tcustomStyle\t\t自定义样式\n * @event {Function} before-enter\t进入前触发\n * @event {Function} enter\t\t\t进入中触发\n * @event {Function} after-enter\t进入后触发\n * @event {Function} before-leave\t离开前触发\n * @event {Function} leave\t\t\t离开中触发\n * @event {Function} after-leave\t离开后触发\n * @example\n */\nexport default {\n\tname: 'u-transition',\n\tdata() {\n\t\treturn {\n\t\t\tinited: false, // 是否显示/隐藏组件\n\t\t\tviewStyle: {}, // 组件内部的样式\n\t\t\tstatus: '', // 记录组件动画的状态\n\t\t\ttransitionEnded: false, // 组件是否结束的标记\n\t\t\tdisplay: false, // 组件是否展示\n\t\t\tclasses: '', // 应用的类名\n\t\t}\n\t},\n\tcomputed: {\n\t mergeStyle() {\n\t const { viewStyle, customStyle } = this\n\t return {\n\t // #ifndef APP-NVUE\n\t transitionDuration: `${this.duration}ms`,\n\t // display: `${this.display ? '' : 'none'}`,\n\t\t\t\ttransitionTimingFunction: this.timingFunction,\n\t // #endif\n\t\t\t\t// 避免自定义样式影响到动画属性,所以写在viewStyle前面\n\t ...uni.$u.addStyle(customStyle),\n\t ...viewStyle\n\t }\n\t }\n\t},\n\t// 将mixin挂在到组件中,uni.$u.mixin实际上为一个vue格式对象\n\tmixins: [uni.$u.mpMixin, uni.$u.mixin, transition, props],\n\twatch: {\n\t\tshow: {\n\t\t\thandler(newVal) {\n\t\t\t\t// vue和nvue分别执行不同的方法\n\t\t\t\t// #ifdef APP-NVUE\n\t\t\t\tnewVal ? this.nvueEnter() : this.nvueLeave()\n\t\t\t\t// #endif\n\t\t\t\t// #ifndef APP-NVUE\n\t\t\t\tnewVal ? this.vueEnter() : this.vueLeave()\n\t\t\t\t// #endif\n\t\t\t},\n\t\t\t// 表示同时监听初始化时的props的show的意思\n\t\t\timmediate: true\n\t\t}\n\t}\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import '../../libs/css/components.scss';\n\n/* #ifndef APP-NVUE */\n// vue版本动画相关的样式抽离在外部文件\n@import './vue.ani-style.scss';\n/* #endif */\n\n.u-transition {}\n</style>\n","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-transition.vue?vue&type=style&index=0&id=8e60ec6e&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-transition.vue?vue&type=style&index=0&id=8e60ec6e&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657703507239\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} | |
\ No newline at end of file |
1 | -(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["components/c-button/c-button"],{ | |
2 | - | |
3 | -/***/ 202: | |
4 | -/*!******************************************************************************!*\ | |
5 | - !*** /Users/linon/work/workai/yxly-teacher/components/c-button/c-button.vue ***! | |
6 | - \******************************************************************************/ | |
7 | -/*! no static exports found */ | |
8 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
9 | - | |
10 | -"use strict"; | |
11 | -__webpack_require__.r(__webpack_exports__); | |
12 | -/* harmony import */ var _c_button_vue_vue_type_template_id_ea46bcf8___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./c-button.vue?vue&type=template&id=ea46bcf8& */ 203); | |
13 | -/* harmony import */ var _c_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./c-button.vue?vue&type=script&lang=js& */ 205); | |
14 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _c_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _c_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |
15 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 15); | |
16 | - | |
17 | -var renderjs | |
18 | - | |
19 | - | |
20 | - | |
21 | - | |
22 | -/* normalize component */ | |
23 | - | |
24 | -var component = Object(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])( | |
25 | - _c_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | |
26 | - _c_button_vue_vue_type_template_id_ea46bcf8___WEBPACK_IMPORTED_MODULE_0__["render"], | |
27 | - _c_button_vue_vue_type_template_id_ea46bcf8___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | |
28 | - false, | |
29 | - null, | |
30 | - null, | |
31 | - null, | |
32 | - false, | |
33 | - _c_button_vue_vue_type_template_id_ea46bcf8___WEBPACK_IMPORTED_MODULE_0__["components"], | |
34 | - renderjs | |
35 | -) | |
36 | - | |
37 | -component.options.__file = "components/c-button/c-button.vue" | |
38 | -/* harmony default export */ __webpack_exports__["default"] = (component.exports); | |
39 | - | |
40 | -/***/ }), | |
41 | - | |
42 | -/***/ 203: | |
43 | -/*!*************************************************************************************************************!*\ | |
44 | - !*** /Users/linon/work/workai/yxly-teacher/components/c-button/c-button.vue?vue&type=template&id=ea46bcf8& ***! | |
45 | - \*************************************************************************************************************/ | |
46 | -/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |
47 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
48 | - | |
49 | -"use strict"; | |
50 | -__webpack_require__.r(__webpack_exports__); | |
51 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_c_button_vue_vue_type_template_id_ea46bcf8___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./c-button.vue?vue&type=template&id=ea46bcf8& */ 204); | |
52 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_c_button_vue_vue_type_template_id_ea46bcf8___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | |
53 | - | |
54 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_c_button_vue_vue_type_template_id_ea46bcf8___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | |
55 | - | |
56 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_c_button_vue_vue_type_template_id_ea46bcf8___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); | |
57 | - | |
58 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_c_button_vue_vue_type_template_id_ea46bcf8___WEBPACK_IMPORTED_MODULE_0__["components"]; }); | |
59 | - | |
60 | - | |
61 | - | |
62 | -/***/ }), | |
63 | - | |
64 | -/***/ 204: | |
65 | -/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |
66 | - !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/linon/work/workai/yxly-teacher/components/c-button/c-button.vue?vue&type=template&id=ea46bcf8& ***! | |
67 | - \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |
68 | -/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |
69 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
70 | - | |
71 | -"use strict"; | |
72 | -__webpack_require__.r(__webpack_exports__); | |
73 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | |
74 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | |
75 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); | |
76 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); | |
77 | -var components | |
78 | -try { | |
79 | - components = { | |
80 | - uButton: function() { | |
81 | - return Promise.all(/*! import() | uni_modules/uview-ui/components/u-button/u-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-button/u-button")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-button/u-button.vue */ 248)) | |
82 | - } | |
83 | - } | |
84 | -} catch (e) { | |
85 | - if ( | |
86 | - e.message.indexOf("Cannot find module") !== -1 && | |
87 | - e.message.indexOf(".vue") !== -1 | |
88 | - ) { | |
89 | - console.error(e.message) | |
90 | - console.error("1. 排查组件名称拼写是否正确") | |
91 | - console.error( | |
92 | - "2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom" | |
93 | - ) | |
94 | - console.error( | |
95 | - "3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件" | |
96 | - ) | |
97 | - } else { | |
98 | - throw e | |
99 | - } | |
100 | -} | |
101 | -var render = function() { | |
102 | - var _vm = this | |
103 | - var _h = _vm.$createElement | |
104 | - var _c = _vm._self._c || _h | |
105 | -} | |
106 | -var recyclableRender = false | |
107 | -var staticRenderFns = [] | |
108 | -render._withStripped = true | |
109 | - | |
110 | - | |
111 | - | |
112 | -/***/ }), | |
113 | - | |
114 | -/***/ 205: | |
115 | -/*!*******************************************************************************************************!*\ | |
116 | - !*** /Users/linon/work/workai/yxly-teacher/components/c-button/c-button.vue?vue&type=script&lang=js& ***! | |
117 | - \*******************************************************************************************************/ | |
118 | -/*! no static exports found */ | |
119 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
120 | - | |
121 | -"use strict"; | |
122 | -__webpack_require__.r(__webpack_exports__); | |
123 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_c_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./c-button.vue?vue&type=script&lang=js& */ 206); | |
124 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_c_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_c_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | |
125 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_c_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_c_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |
126 | - /* harmony default export */ __webpack_exports__["default"] = (_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_c_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | |
127 | - | |
128 | -/***/ }), | |
129 | - | |
130 | -/***/ 206: | |
131 | -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |
132 | - !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/linon/work/workai/yxly-teacher/components/c-button/c-button.vue?vue&type=script&lang=js& ***! | |
133 | - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |
134 | -/*! no static exports found */ | |
135 | -/***/ (function(module, exports, __webpack_require__) { | |
136 | - | |
137 | -"use strict"; | |
138 | -Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; // | |
139 | -// | |
140 | -// | |
141 | -// | |
142 | -// | |
143 | -// | |
144 | -// | |
145 | -// | |
146 | -// | |
147 | -var _default2 = | |
148 | -{ | |
149 | - name: 'u-button', | |
150 | - props: { | |
151 | - text: { | |
152 | - type: String, | |
153 | - default: '' }, | |
154 | - | |
155 | - type: { | |
156 | - type: String, | |
157 | - default: 'confirm' }, | |
158 | - | |
159 | - openType: { | |
160 | - type: String, | |
161 | - default: '' }, | |
162 | - | |
163 | - disabled: { | |
164 | - type: Boolean, | |
165 | - default: false }, | |
166 | - | |
167 | - customStyle: { | |
168 | - type: Object, | |
169 | - default: function _default() { | |
170 | - return {}; | |
171 | - } }, | |
172 | - | |
173 | - color: { | |
174 | - type: String, | |
175 | - default: '' } }, | |
176 | - | |
177 | - | |
178 | - | |
179 | - data: function data() { | |
180 | - return {}; | |
181 | - }, | |
182 | - | |
183 | - watch: { | |
184 | - buttonType: function buttonType(newVal, oldVal) { | |
185 | - switch (this.type) { | |
186 | - case 'confirm': | |
187 | - this.color = "#0CB17A"; | |
188 | - break;} | |
189 | - | |
190 | - } }, | |
191 | - | |
192 | - | |
193 | - computed: { | |
194 | - // getCustomStyle() { | |
195 | - | |
196 | - // const { | |
197 | - // type = '' | |
198 | - // } = this; | |
199 | - | |
200 | - // let style = {}; | |
201 | - | |
202 | - // switch (type) { | |
203 | - // case 'confirm': | |
204 | - // return Object.assign({}, { | |
205 | - // backgroundColor: '#FF001A', | |
206 | - // borderRadius: '8rpx', | |
207 | - // }, this.customStyle); | |
208 | - // break; | |
209 | - | |
210 | - // case 'cancel': | |
211 | - // return Object.assign({}, { | |
212 | - // backgroundColor: "rgba(0,0,0,0.15)", | |
213 | - // borderRadius: '8rpx', | |
214 | - // }, this.customStyle); | |
215 | - // break; | |
216 | - | |
217 | - // case 'custom': | |
218 | - // return Object.assign({}, this.customStyle); | |
219 | - // break; | |
220 | - // } | |
221 | - // } | |
222 | - }, | |
223 | - methods: { | |
224 | - // 按钮点击 | |
225 | - click: function click(e) { | |
226 | - this.$emit('click', e); | |
227 | - }, | |
228 | - | |
229 | - getPhoneNumber: function getPhoneNumber(e) { | |
230 | - this.$emit("getPhoneNumber", e); | |
231 | - } } };exports.default = _default2; | |
232 | - | |
233 | -/***/ }) | |
234 | - | |
235 | -}]); | |
236 | -//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/c-button/c-button.js.map | |
237 | -;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | |
238 | - 'components/c-button/c-button-create-component', | |
239 | - { | |
240 | - 'components/c-button/c-button-create-component':(function(module, exports, __webpack_require__){ | |
241 | - __webpack_require__('1')['createComponent'](__webpack_require__(202)) | |
242 | - }) | |
243 | - }, | |
244 | - [['components/c-button/c-button-create-component']] | |
245 | -]); |
1 | -<view class="u-button"><u-button vue-id="5e8fdffc-1" text="{{text}}" color="#0CB17A" plain="{{false}}" hairline="{{false}}" disabled="{{disabled}}" throttleTime="{{1500}}" type="info" shape="circle" open-type="{{openType}}" custom-style="{{getCustomStyle}}" data-event-opts="{{[['^getphonenumber',[['getPhoneNumber']]],['^click',[['click']]]]}}" bind:getphonenumber="__e" bind:click="__e" bind:__l="__l"></u-button></view> | |
\ No newline at end of file |
1 | -(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/main/my/common/vendor"],{ | |
2 | - | |
3 | -/***/ 184: | |
4 | -/*!***********************************************************!*\ | |
5 | - !*** /Users/linon/work/workai/yxly-teacher/common/md5.js ***! | |
6 | - \***********************************************************/ | |
7 | -/*! no static exports found */ | |
8 | -/***/ (function(module, exports) { | |
9 | - | |
10 | -/* | |
11 | - * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message | |
12 | - * Digest Algorithm, as defined in RFC 1321. | |
13 | - * Version 2.1 Copyright (C) Paul Johnston 1999 - 2002. | |
14 | - * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet | |
15 | - * Distributed under the BSD License | |
16 | - * See http://pajhome.org.uk/crypt/md5 for more info. | |
17 | - */ | |
18 | - | |
19 | -/* | |
20 | - * Configurable variables. You may need to tweak these to be compatible with | |
21 | - * the server-side, but the defaults work in most cases. | |
22 | - */ | |
23 | -var hexcase = 0; /* hex output format. 0 - lowercase; 1 - uppercase */ | |
24 | -var b64pad = ""; /* base-64 pad character. "=" for strict RFC compliance */ | |
25 | -var chrsz = 8; /* bits per input character. 8 - ASCII; 16 - Unicode */ | |
26 | - | |
27 | -/* | |
28 | - * These are the functions you'll usually want to call | |
29 | - * They take string arguments and return either hex or base-64 encoded strings | |
30 | - */ | |
31 | -function hex_md5(s) {return binl2hex(core_md5(str2binl(s), s.length * chrsz));} | |
32 | -function b64_md5(s) {return binl2b64(core_md5(str2binl(s), s.length * chrsz));} | |
33 | -function str_md5(s) {return binl2str(core_md5(str2binl(s), s.length * chrsz));} | |
34 | -function hex_hmac_md5(key, data) {return binl2hex(core_hmac_md5(key, data));} | |
35 | -function b64_hmac_md5(key, data) {return binl2b64(core_hmac_md5(key, data));} | |
36 | -function str_hmac_md5(key, data) {return binl2str(core_hmac_md5(key, data));} | |
37 | - | |
38 | -/* | |
39 | - * Perform a simple self-test to see if the VM is working | |
40 | - */ | |
41 | -function md5_vm_test() | |
42 | -{ | |
43 | - return hex_md5("abc") == "900150983cd24fb0d6963f7d28e17f72"; | |
44 | -} | |
45 | - | |
46 | -/* | |
47 | - * Calculate the MD5 of an array of little-endian words, and a bit length | |
48 | - */ | |
49 | -function core_md5(x, len) | |
50 | -{ | |
51 | - /* append padding */ | |
52 | - x[len >> 5] |= 0x80 << len % 32; | |
53 | - x[(len + 64 >>> 9 << 4) + 14] = len; | |
54 | - | |
55 | - var a = 1732584193; | |
56 | - var b = -271733879; | |
57 | - var c = -1732584194; | |
58 | - var d = 271733878; | |
59 | - | |
60 | - for (var i = 0; i < x.length; i += 16) | |
61 | - { | |
62 | - var olda = a; | |
63 | - var oldb = b; | |
64 | - var oldc = c; | |
65 | - var oldd = d; | |
66 | - | |
67 | - a = md5_ff(a, b, c, d, x[i + 0], 7, -680876936); | |
68 | - d = md5_ff(d, a, b, c, x[i + 1], 12, -389564586); | |
69 | - c = md5_ff(c, d, a, b, x[i + 2], 17, 606105819); | |
70 | - b = md5_ff(b, c, d, a, x[i + 3], 22, -1044525330); | |
71 | - a = md5_ff(a, b, c, d, x[i + 4], 7, -176418897); | |
72 | - d = md5_ff(d, a, b, c, x[i + 5], 12, 1200080426); | |
73 | - c = md5_ff(c, d, a, b, x[i + 6], 17, -1473231341); | |
74 | - b = md5_ff(b, c, d, a, x[i + 7], 22, -45705983); | |
75 | - a = md5_ff(a, b, c, d, x[i + 8], 7, 1770035416); | |
76 | - d = md5_ff(d, a, b, c, x[i + 9], 12, -1958414417); | |
77 | - c = md5_ff(c, d, a, b, x[i + 10], 17, -42063); | |
78 | - b = md5_ff(b, c, d, a, x[i + 11], 22, -1990404162); | |
79 | - a = md5_ff(a, b, c, d, x[i + 12], 7, 1804603682); | |
80 | - d = md5_ff(d, a, b, c, x[i + 13], 12, -40341101); | |
81 | - c = md5_ff(c, d, a, b, x[i + 14], 17, -1502002290); | |
82 | - b = md5_ff(b, c, d, a, x[i + 15], 22, 1236535329); | |
83 | - | |
84 | - a = md5_gg(a, b, c, d, x[i + 1], 5, -165796510); | |
85 | - d = md5_gg(d, a, b, c, x[i + 6], 9, -1069501632); | |
86 | - c = md5_gg(c, d, a, b, x[i + 11], 14, 643717713); | |
87 | - b = md5_gg(b, c, d, a, x[i + 0], 20, -373897302); | |
88 | - a = md5_gg(a, b, c, d, x[i + 5], 5, -701558691); | |
89 | - d = md5_gg(d, a, b, c, x[i + 10], 9, 38016083); | |
90 | - c = md5_gg(c, d, a, b, x[i + 15], 14, -660478335); | |
91 | - b = md5_gg(b, c, d, a, x[i + 4], 20, -405537848); | |
92 | - a = md5_gg(a, b, c, d, x[i + 9], 5, 568446438); | |
93 | - d = md5_gg(d, a, b, c, x[i + 14], 9, -1019803690); | |
94 | - c = md5_gg(c, d, a, b, x[i + 3], 14, -187363961); | |
95 | - b = md5_gg(b, c, d, a, x[i + 8], 20, 1163531501); | |
96 | - a = md5_gg(a, b, c, d, x[i + 13], 5, -1444681467); | |
97 | - d = md5_gg(d, a, b, c, x[i + 2], 9, -51403784); | |
98 | - c = md5_gg(c, d, a, b, x[i + 7], 14, 1735328473); | |
99 | - b = md5_gg(b, c, d, a, x[i + 12], 20, -1926607734); | |
100 | - | |
101 | - a = md5_hh(a, b, c, d, x[i + 5], 4, -378558); | |
102 | - d = md5_hh(d, a, b, c, x[i + 8], 11, -2022574463); | |
103 | - c = md5_hh(c, d, a, b, x[i + 11], 16, 1839030562); | |
104 | - b = md5_hh(b, c, d, a, x[i + 14], 23, -35309556); | |
105 | - a = md5_hh(a, b, c, d, x[i + 1], 4, -1530992060); | |
106 | - d = md5_hh(d, a, b, c, x[i + 4], 11, 1272893353); | |
107 | - c = md5_hh(c, d, a, b, x[i + 7], 16, -155497632); | |
108 | - b = md5_hh(b, c, d, a, x[i + 10], 23, -1094730640); | |
109 | - a = md5_hh(a, b, c, d, x[i + 13], 4, 681279174); | |
110 | - d = md5_hh(d, a, b, c, x[i + 0], 11, -358537222); | |
111 | - c = md5_hh(c, d, a, b, x[i + 3], 16, -722521979); | |
112 | - b = md5_hh(b, c, d, a, x[i + 6], 23, 76029189); | |
113 | - a = md5_hh(a, b, c, d, x[i + 9], 4, -640364487); | |
114 | - d = md5_hh(d, a, b, c, x[i + 12], 11, -421815835); | |
115 | - c = md5_hh(c, d, a, b, x[i + 15], 16, 530742520); | |
116 | - b = md5_hh(b, c, d, a, x[i + 2], 23, -995338651); | |
117 | - | |
118 | - a = md5_ii(a, b, c, d, x[i + 0], 6, -198630844); | |
119 | - d = md5_ii(d, a, b, c, x[i + 7], 10, 1126891415); | |
120 | - c = md5_ii(c, d, a, b, x[i + 14], 15, -1416354905); | |
121 | - b = md5_ii(b, c, d, a, x[i + 5], 21, -57434055); | |
122 | - a = md5_ii(a, b, c, d, x[i + 12], 6, 1700485571); | |
123 | - d = md5_ii(d, a, b, c, x[i + 3], 10, -1894986606); | |
124 | - c = md5_ii(c, d, a, b, x[i + 10], 15, -1051523); | |
125 | - b = md5_ii(b, c, d, a, x[i + 1], 21, -2054922799); | |
126 | - a = md5_ii(a, b, c, d, x[i + 8], 6, 1873313359); | |
127 | - d = md5_ii(d, a, b, c, x[i + 15], 10, -30611744); | |
128 | - c = md5_ii(c, d, a, b, x[i + 6], 15, -1560198380); | |
129 | - b = md5_ii(b, c, d, a, x[i + 13], 21, 1309151649); | |
130 | - a = md5_ii(a, b, c, d, x[i + 4], 6, -145523070); | |
131 | - d = md5_ii(d, a, b, c, x[i + 11], 10, -1120210379); | |
132 | - c = md5_ii(c, d, a, b, x[i + 2], 15, 718787259); | |
133 | - b = md5_ii(b, c, d, a, x[i + 9], 21, -343485551); | |
134 | - | |
135 | - a = safe_add(a, olda); | |
136 | - b = safe_add(b, oldb); | |
137 | - c = safe_add(c, oldc); | |
138 | - d = safe_add(d, oldd); | |
139 | - } | |
140 | - return Array(a, b, c, d); | |
141 | - | |
142 | -} | |
143 | - | |
144 | -/* | |
145 | - * These functions implement the four basic operations the algorithm uses. | |
146 | - */ | |
147 | -function md5_cmn(q, a, b, x, s, t) | |
148 | -{ | |
149 | - return safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s), b); | |
150 | -} | |
151 | -function md5_ff(a, b, c, d, x, s, t) | |
152 | -{ | |
153 | - return md5_cmn(b & c | ~b & d, a, b, x, s, t); | |
154 | -} | |
155 | -function md5_gg(a, b, c, d, x, s, t) | |
156 | -{ | |
157 | - return md5_cmn(b & d | c & ~d, a, b, x, s, t); | |
158 | -} | |
159 | -function md5_hh(a, b, c, d, x, s, t) | |
160 | -{ | |
161 | - return md5_cmn(b ^ c ^ d, a, b, x, s, t); | |
162 | -} | |
163 | -function md5_ii(a, b, c, d, x, s, t) | |
164 | -{ | |
165 | - return md5_cmn(c ^ (b | ~d), a, b, x, s, t); | |
166 | -} | |
167 | - | |
168 | -/* | |
169 | - * Calculate the HMAC-MD5, of a key and some data | |
170 | - */ | |
171 | -function core_hmac_md5(key, data) | |
172 | -{ | |
173 | - var bkey = str2binl(key); | |
174 | - if (bkey.length > 16) bkey = core_md5(bkey, key.length * chrsz); | |
175 | - | |
176 | - var ipad = Array(16),opad = Array(16); | |
177 | - for (var i = 0; i < 16; i++) | |
178 | - { | |
179 | - ipad[i] = bkey[i] ^ 0x36363636; | |
180 | - opad[i] = bkey[i] ^ 0x5C5C5C5C; | |
181 | - } | |
182 | - | |
183 | - var hash = core_md5(ipad.concat(str2binl(data)), 512 + data.length * chrsz); | |
184 | - return core_md5(opad.concat(hash), 512 + 128); | |
185 | -} | |
186 | - | |
187 | -/* | |
188 | - * Add integers, wrapping at 2^32. This uses 16-bit operations internally | |
189 | - * to work around bugs in some JS interpreters. | |
190 | - */ | |
191 | -function safe_add(x, y) | |
192 | -{ | |
193 | - var lsw = (x & 0xFFFF) + (y & 0xFFFF); | |
194 | - var msw = (x >> 16) + (y >> 16) + (lsw >> 16); | |
195 | - return msw << 16 | lsw & 0xFFFF; | |
196 | -} | |
197 | - | |
198 | -/* | |
199 | - * Bitwise rotate a 32-bit number to the left. | |
200 | - */ | |
201 | -function bit_rol(num, cnt) | |
202 | -{ | |
203 | - return num << cnt | num >>> 32 - cnt; | |
204 | -} | |
205 | - | |
206 | -/* | |
207 | - * Convert a string to an array of little-endian words | |
208 | - * If chrsz is ASCII, characters >255 have their hi-byte silently ignored. | |
209 | - */ | |
210 | -function str2binl(str) | |
211 | -{ | |
212 | - var bin = Array(); | |
213 | - var mask = (1 << chrsz) - 1; | |
214 | - for (var i = 0; i < str.length * chrsz; i += chrsz) { | |
215 | - bin[i >> 5] |= (str.charCodeAt(i / chrsz) & mask) << i % 32;} | |
216 | - return bin; | |
217 | -} | |
218 | - | |
219 | -/* | |
220 | - * Convert an array of little-endian words to a string | |
221 | - */ | |
222 | -function binl2str(bin) | |
223 | -{ | |
224 | - var str = ""; | |
225 | - var mask = (1 << chrsz) - 1; | |
226 | - for (var i = 0; i < bin.length * 32; i += chrsz) { | |
227 | - str += String.fromCharCode(bin[i >> 5] >>> i % 32 & mask);} | |
228 | - return str; | |
229 | -} | |
230 | - | |
231 | -/* | |
232 | - * Convert an array of little-endian words to a hex string. | |
233 | - */ | |
234 | -function binl2hex(binarray) | |
235 | -{ | |
236 | - var hex_tab = hexcase ? "0123456789ABCDEF" : "0123456789abcdef"; | |
237 | - var str = ""; | |
238 | - for (var i = 0; i < binarray.length * 4; i++) | |
239 | - { | |
240 | - str += hex_tab.charAt(binarray[i >> 2] >> i % 4 * 8 + 4 & 0xF) + | |
241 | - hex_tab.charAt(binarray[i >> 2] >> i % 4 * 8 & 0xF); | |
242 | - } | |
243 | - return str; | |
244 | -} | |
245 | - | |
246 | -/* | |
247 | - * Convert an array of little-endian words to a base-64 string | |
248 | - */ | |
249 | -function binl2b64(binarray) | |
250 | -{ | |
251 | - var tab = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; | |
252 | - var str = ""; | |
253 | - for (var i = 0; i < binarray.length * 4; i += 3) | |
254 | - { | |
255 | - var triplet = (binarray[i >> 2] >> 8 * (i % 4) & 0xFF) << 16 | | |
256 | - (binarray[i + 1 >> 2] >> 8 * ((i + 1) % 4) & 0xFF) << 8 | | |
257 | - binarray[i + 2 >> 2] >> 8 * ((i + 2) % 4) & 0xFF; | |
258 | - for (var j = 0; j < 4; j++) | |
259 | - { | |
260 | - if (i * 8 + j * 6 > binarray.length * 32) str += b64pad;else | |
261 | - str += tab.charAt(triplet >> 6 * (3 - j) & 0x3F); | |
262 | - } | |
263 | - } | |
264 | - return str; | |
265 | -} | |
266 | - | |
267 | -module.exports = { | |
268 | - hex_md5: hex_md5 }; | |
269 | - | |
270 | -/***/ }) | |
271 | - | |
272 | -}]); | |
273 | -//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/main/my/common/vendor.js.map | |
\ No newline at end of file |
1 | -require('../common/vendor.js');(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/main/my/login/login"],{ | |
2 | - | |
3 | -/***/ 170: | |
4 | -/*!**************************************************************************************************!*\ | |
5 | - !*** /Users/linon/work/workai/yxly-teacher/main.js?{"page":"pages%2Fmain%2Fmy%2Flogin%2Flogin"} ***! | |
6 | - \**************************************************************************************************/ | |
7 | -/*! no static exports found */ | |
8 | -/***/ (function(module, exports, __webpack_require__) { | |
9 | - | |
10 | -"use strict"; | |
11 | -/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5); | |
12 | - | |
13 | -__webpack_require__(/*! @dcloudio/uni-stat/dist/uni-stat.es.js */ 6); | |
14 | -var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4)); | |
15 | -var _login = _interopRequireDefault(__webpack_require__(/*! ./pages/main/my/login/login.vue */ 171));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore | |
16 | -wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_login.default); | |
17 | -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"])) | |
18 | - | |
19 | -/***/ }), | |
20 | - | |
21 | -/***/ 171: | |
22 | -/*!***************************************************************************!*\ | |
23 | - !*** /Users/linon/work/workai/yxly-teacher/pages/main/my/login/login.vue ***! | |
24 | - \***************************************************************************/ | |
25 | -/*! no static exports found */ | |
26 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
27 | - | |
28 | -"use strict"; | |
29 | -__webpack_require__.r(__webpack_exports__); | |
30 | -/* harmony import */ var _login_vue_vue_type_template_id_3bc2128d_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./login.vue?vue&type=template&id=3bc2128d&scoped=true& */ 172); | |
31 | -/* harmony import */ var _login_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./login.vue?vue&type=script&lang=js& */ 174); | |
32 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _login_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _login_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |
33 | -/* harmony import */ var _login_vue_vue_type_style_index_0_id_3bc2128d_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./login.vue?vue&type=style&index=0&id=3bc2128d&lang=scss&scoped=true& */ 176); | |
34 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 15); | |
35 | - | |
36 | -var renderjs | |
37 | - | |
38 | - | |
39 | - | |
40 | - | |
41 | - | |
42 | -/* normalize component */ | |
43 | - | |
44 | -var component = Object(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( | |
45 | - _login_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | |
46 | - _login_vue_vue_type_template_id_3bc2128d_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], | |
47 | - _login_vue_vue_type_template_id_3bc2128d_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | |
48 | - false, | |
49 | - null, | |
50 | - "3bc2128d", | |
51 | - null, | |
52 | - false, | |
53 | - _login_vue_vue_type_template_id_3bc2128d_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], | |
54 | - renderjs | |
55 | -) | |
56 | - | |
57 | -component.options.__file = "pages/main/my/login/login.vue" | |
58 | -/* harmony default export */ __webpack_exports__["default"] = (component.exports); | |
59 | - | |
60 | -/***/ }), | |
61 | - | |
62 | -/***/ 172: | |
63 | -/*!**********************************************************************************************************************!*\ | |
64 | - !*** /Users/linon/work/workai/yxly-teacher/pages/main/my/login/login.vue?vue&type=template&id=3bc2128d&scoped=true& ***! | |
65 | - \**********************************************************************************************************************/ | |
66 | -/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |
67 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
68 | - | |
69 | -"use strict"; | |
70 | -__webpack_require__.r(__webpack_exports__); | |
71 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_login_vue_vue_type_template_id_3bc2128d_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./login.vue?vue&type=template&id=3bc2128d&scoped=true& */ 173); | |
72 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_login_vue_vue_type_template_id_3bc2128d_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | |
73 | - | |
74 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_login_vue_vue_type_template_id_3bc2128d_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | |
75 | - | |
76 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_login_vue_vue_type_template_id_3bc2128d_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); | |
77 | - | |
78 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_login_vue_vue_type_template_id_3bc2128d_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); | |
79 | - | |
80 | - | |
81 | - | |
82 | -/***/ }), | |
83 | - | |
84 | -/***/ 173: | |
85 | -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |
86 | - !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/linon/work/workai/yxly-teacher/pages/main/my/login/login.vue?vue&type=template&id=3bc2128d&scoped=true& ***! | |
87 | - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |
88 | -/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |
89 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
90 | - | |
91 | -"use strict"; | |
92 | -__webpack_require__.r(__webpack_exports__); | |
93 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | |
94 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | |
95 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); | |
96 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); | |
97 | -var components | |
98 | -try { | |
99 | - components = { | |
100 | - uImage: function() { | |
101 | - return Promise.all(/*! import() | uni_modules/uview-ui/components/u-image/u-image */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-image/u-image")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-image/u-image.vue */ 194)) | |
102 | - }, | |
103 | - cButton: function() { | |
104 | - return __webpack_require__.e(/*! import() | components/c-button/c-button */ "components/c-button/c-button").then(__webpack_require__.bind(null, /*! @/components/c-button/c-button.vue */ 202)) | |
105 | - }, | |
106 | - uCheckboxGroup: function() { | |
107 | - return Promise.all(/*! import() | uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue */ 207)) | |
108 | - }, | |
109 | - uCheckbox: function() { | |
110 | - return Promise.all(/*! import() | uni_modules/uview-ui/components/u-checkbox/u-checkbox */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-checkbox/u-checkbox")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-checkbox/u-checkbox.vue */ 215)) | |
111 | - } | |
112 | - } | |
113 | -} catch (e) { | |
114 | - if ( | |
115 | - e.message.indexOf("Cannot find module") !== -1 && | |
116 | - e.message.indexOf(".vue") !== -1 | |
117 | - ) { | |
118 | - console.error(e.message) | |
119 | - console.error("1. 排查组件名称拼写是否正确") | |
120 | - console.error( | |
121 | - "2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom" | |
122 | - ) | |
123 | - console.error( | |
124 | - "3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件" | |
125 | - ) | |
126 | - } else { | |
127 | - throw e | |
128 | - } | |
129 | -} | |
130 | -var render = function() { | |
131 | - var _vm = this | |
132 | - var _h = _vm.$createElement | |
133 | - var _c = _vm._self._c || _h | |
134 | -} | |
135 | -var recyclableRender = false | |
136 | -var staticRenderFns = [] | |
137 | -render._withStripped = true | |
138 | - | |
139 | - | |
140 | - | |
141 | -/***/ }), | |
142 | - | |
143 | -/***/ 174: | |
144 | -/*!****************************************************************************************************!*\ | |
145 | - !*** /Users/linon/work/workai/yxly-teacher/pages/main/my/login/login.vue?vue&type=script&lang=js& ***! | |
146 | - \****************************************************************************************************/ | |
147 | -/*! no static exports found */ | |
148 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
149 | - | |
150 | -"use strict"; | |
151 | -__webpack_require__.r(__webpack_exports__); | |
152 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_login_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./login.vue?vue&type=script&lang=js& */ 175); | |
153 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_login_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_login_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | |
154 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_login_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_login_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |
155 | - /* harmony default export */ __webpack_exports__["default"] = (_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_login_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | |
156 | - | |
157 | -/***/ }), | |
158 | - | |
159 | -/***/ 175: | |
160 | -/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |
161 | - !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/linon/work/workai/yxly-teacher/pages/main/my/login/login.vue?vue&type=script&lang=js& ***! | |
162 | - \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |
163 | -/*! no static exports found */ | |
164 | -/***/ (function(module, exports, __webpack_require__) { | |
165 | - | |
166 | -"use strict"; | |
167 | -Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; | |
168 | - | |
169 | - | |
170 | - | |
171 | - | |
172 | - | |
173 | - | |
174 | - | |
175 | - | |
176 | - | |
177 | - | |
178 | - | |
179 | - | |
180 | - | |
181 | - | |
182 | - | |
183 | - | |
184 | - | |
185 | - | |
186 | - | |
187 | - | |
188 | - | |
189 | - | |
190 | - | |
191 | - | |
192 | - | |
193 | - | |
194 | - | |
195 | - | |
196 | - | |
197 | - | |
198 | - | |
199 | - | |
200 | - | |
201 | - | |
202 | - | |
203 | - | |
204 | - | |
205 | - | |
206 | - | |
207 | -var _vuex = __webpack_require__(/*! vuex */ 141);function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}var _default = | |
208 | - | |
209 | - | |
210 | - | |
211 | - | |
212 | -{ | |
213 | - data: function data() { | |
214 | - return { | |
215 | - isDisable: true, | |
216 | - checked: [], | |
217 | - service: "https://yxlypublic.oss-cn-beijing.aliyuncs.com/WeChat/agreement/%E3%80%8A%E4%BC%98%E5%AD%A6%E4%B9%90%E4%B8%9A%E7%94%A8%E6%88%B7%E6%9C%8D%E5%8A%A1%E5%8D%8F%E8%AE%AE%E3%80%8B.htm", | |
218 | - policy: "https://yxlypublic.oss-cn-beijing.aliyuncs.com/WeChat/agreement/%E3%80%8A%E4%BC%98%E5%AD%A6%E4%B9%90%E4%B8%9A%E9%9A%90%E7%A7%81%E5%8D%8F%E8%AE%AE%E3%80%8B.htm", | |
219 | - form: { | |
220 | - mobile: '', | |
221 | - password: '' } }; | |
222 | - | |
223 | - | |
224 | - }, | |
225 | - | |
226 | - onLoad: function onLoad() {var | |
227 | - | |
228 | - dispatch = | |
229 | - this.$store.dispatch; | |
230 | - | |
231 | - }, | |
232 | - | |
233 | - onShow: function onShow() { | |
234 | - | |
235 | - }, | |
236 | - | |
237 | - watch: { | |
238 | - checked: function checked(newVal, oldVal) { | |
239 | - this.isDisable = newVal.length != 0 ? false : true; | |
240 | - | |
241 | - } }, | |
242 | - | |
243 | - | |
244 | - computed: _objectSpread({}, | |
245 | - (0, _vuex.mapState)('user', { | |
246 | - // 箭头函数可使代码更简练 | |
247 | - isReg: 'isReg' })), | |
248 | - | |
249 | - | |
250 | - | |
251 | - | |
252 | - methods: { | |
253 | - | |
254 | - linkService: function linkService() { | |
255 | - console.log(this); | |
256 | - this.$u.route({ | |
257 | - url: "/pages/common/webview/webview?navtitle=\u670D\u52A1\u534F\u8BAE&url=".concat(this.service) }); | |
258 | - | |
259 | - }, | |
260 | - | |
261 | - linkPolicy: function linkPolicy() { | |
262 | - this.$u.route({ | |
263 | - url: "/pages/common/webview/webview?navtitle=\u9690\u79C1\u653F\u7B56&url=".concat(this.policy) }); | |
264 | - | |
265 | - }, | |
266 | - | |
267 | - checkboxChange: function checkboxChange(n) { | |
268 | - console.log(n); | |
269 | - | |
270 | - }, | |
271 | - | |
272 | - getUserProfile: function getUserProfile() {var _this = this; | |
273 | - // 推荐使用wx.getUserProfile获取用户信息,开发者每次通过该接口获取用户个人信息均需用户确认 | |
274 | - // 开发者妥善保管用户快速填写的头像昵称,避免重复弹窗 | |
275 | - wx.getUserProfile({ | |
276 | - desc: '用于完善会员资料', // 声明获取用户个人信息后的用途,后续会展示在弹窗中,请谨慎填写 | |
277 | - success: function success(res) { | |
278 | - console.log('getUserProfile...', res); | |
279 | - // this.$store.commit('setWenxinUserInfo', res); | |
280 | - _this.$u.vuex('vuex_weixinUserInfo', res.userInfo); | |
281 | - } }); | |
282 | - | |
283 | - }, | |
284 | - | |
285 | - getPhoneNumber: function getPhoneNumber(e) {var _this2 = this; | |
286 | - console.log(e); | |
287 | - | |
288 | - wx.login({ | |
289 | - success: function success(res) { | |
290 | - console.log(res); | |
291 | - | |
292 | - // this.getUserProfile(); | |
293 | - | |
294 | - _this2.$store.dispatch("user/login", { | |
295 | - way: 'wechat_code', | |
296 | - type: 'student', | |
297 | - jsCode: res.code, | |
298 | - code: e.detail.code }); | |
299 | - | |
300 | - } }); | |
301 | - | |
302 | - }, | |
303 | - | |
304 | - phoneLogin: function phoneLogin() { | |
305 | - this.$store.dispatch("user/login", { | |
306 | - way: 'name', | |
307 | - type: 'student', | |
308 | - username: this.form.mobile, | |
309 | - password: this.form.password }); | |
310 | - | |
311 | - }, | |
312 | - | |
313 | - handelMobileLogin: function handelMobileLogin() { | |
314 | - this.$u.route({ | |
315 | - url: "/pages/main/my/mobileLogin/mobileLogin", | |
316 | - params: {} }); | |
317 | - | |
318 | - } } };exports.default = _default; | |
319 | - | |
320 | -/***/ }), | |
321 | - | |
322 | -/***/ 176: | |
323 | -/*!*************************************************************************************************************************************!*\ | |
324 | - !*** /Users/linon/work/workai/yxly-teacher/pages/main/my/login/login.vue?vue&type=style&index=0&id=3bc2128d&lang=scss&scoped=true& ***! | |
325 | - \*************************************************************************************************************************************/ | |
326 | -/*! no static exports found */ | |
327 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
328 | - | |
329 | -"use strict"; | |
330 | -__webpack_require__.r(__webpack_exports__); | |
331 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_login_vue_vue_type_style_index_0_id_3bc2128d_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./login.vue?vue&type=style&index=0&id=3bc2128d&lang=scss&scoped=true& */ 177); | |
332 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_login_vue_vue_type_style_index_0_id_3bc2128d_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_login_vue_vue_type_style_index_0_id_3bc2128d_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); | |
333 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_login_vue_vue_type_style_index_0_id_3bc2128d_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_login_vue_vue_type_style_index_0_id_3bc2128d_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |
334 | - /* harmony default export */ __webpack_exports__["default"] = (_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_login_vue_vue_type_style_index_0_id_3bc2128d_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); | |
335 | - | |
336 | -/***/ }), | |
337 | - | |
338 | -/***/ 177: | |
339 | -/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |
340 | - !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/linon/work/workai/yxly-teacher/pages/main/my/login/login.vue?vue&type=style&index=0&id=3bc2128d&lang=scss&scoped=true& ***! | |
341 | - \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |
342 | -/*! no static exports found */ | |
343 | -/***/ (function(module, exports, __webpack_require__) { | |
344 | - | |
345 | -// extracted by mini-css-extract-plugin | |
346 | - if(false) { var cssReload; } | |
347 | - | |
348 | - | |
349 | -/***/ }) | |
350 | - | |
351 | -},[[170,"common/runtime","common/vendor"]]]); | |
352 | -//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/main/my/login/login.js.map | |
\ No newline at end of file |
1 | -{ | |
2 | - "navigationBarTitleText": "登录", | |
3 | - "enablePullDownRefresh": false, | |
4 | - "usingComponents": { | |
5 | - "u-image": "/uni_modules/uview-ui/components/u-image/u-image", | |
6 | - "c-button": "/components/c-button/c-button", | |
7 | - "u-checkbox-group": "/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group", | |
8 | - "u-checkbox": "/uni_modules/uview-ui/components/u-checkbox/u-checkbox" | |
9 | - } | |
10 | -} | |
\ No newline at end of file |
1 | -<view class="login data-v-3bc2128d"><u-image vue-id="3c80c019-1" width="100%" height="100%" src="{{vuex_baseImgUrl+'/logo_bg.png'}}" class="data-v-3bc2128d" bind:__l="__l"></u-image><view class="box data-v-3bc2128d"><view class="logo data-v-3bc2128d"><u-image vue-id="3c80c019-2" width="260rpx" height="140rpx" src="{{vuex_baseImgUrl+'/logo.png'}}" class="data-v-3bc2128d" bind:__l="__l"></u-image></view><view class="btn button_warp data-v-3bc2128d"><c-button vue-id="3c80c019-3" type="confirm" shape="circle" customStyle="{{({borderRadius:'48rpx',fontSize:'34rpx',color:'#fff',fontWeight:'400'})}}" text="微信一键登录" disabled="{{isDisable}}" openType="getPhoneNumber" data-event-opts="{{[['^getPhoneNumber',[['getPhoneNumber']]],['^click',[['getUserProfile']]]]}}" bind:getPhoneNumber="__e" bind:click="__e" class="data-v-3bc2128d" bind:__l="__l"></c-button></view><view data-event-opts="{{[['tap',[['handelMobileLogin',['$event']]]]]}}" class="changeLogin data-v-3bc2128d" bindtap="__e">手机号码登录/注册</view><view class="agreement data-v-3bc2128d"><view class="check data-v-3bc2128d"><u-checkbox-group bind:change="__e" bind:input="__e" vue-id="3c80c019-4" value="{{checked}}" data-event-opts="{{[['^change',[['checkboxChange']]],['^input',[['__set_model',['','checked','$event',[]]]]]]}}" class="data-v-3bc2128d" bind:__l="__l" vue-slots="{{['default']}}"><u-checkbox vue-id="{{('3c80c019-5')+','+('3c80c019-4')}}" size="30" activeColor="#0CB17A" shape="circle" class="data-v-3bc2128d" bind:__l="__l"></u-checkbox></u-checkbox-group></view><view class="text data-v-3bc2128d"><text class="data-v-3bc2128d">您已阅读理解并同意</text><text data-event-opts="{{[['tap',[['linkService',['$event']]]]]}}" class="span data-v-3bc2128d" bindtap="__e">《优学乐业服务协议》、</text><text data-event-opts="{{[['tap',[['linkPolicy',['$event']]]]]}}" class="span data-v-3bc2128d" bindtap="__e">《优学乐业隐私政策》</text></view></view></view></view> | |
\ No newline at end of file |
1 | -page.data-v-3bc2128d { | |
2 | - width: 100%; | |
3 | - height: 100%; | |
4 | -} | |
5 | -.divid_line_horizen.data-v-3bc2128d { | |
6 | - width: 100%; | |
7 | - height: 2rpx; | |
8 | - background-color: #f2f2f2; | |
9 | - align-self: center; | |
10 | - margin-top: 1rpx; | |
11 | -} | |
12 | -.input_warp .u-input__input.data-v-3bc2128d { | |
13 | - font-size: 34rpx; | |
14 | -} | |
15 | -.button_warp .u-button .u-size-default.data-v-3bc2128d { | |
16 | - font-size: 30rpx; | |
17 | - height: 96rpx; | |
18 | - line-height: 80rpx; | |
19 | -} | |
20 | -.button_warp .u-button .u-btn--primary--disabled.data-v-3bc2128d { | |
21 | - color: rgba(0, 0, 0, 0.45) !important; | |
22 | - border-color: rgba(0, 0, 0, 0.06) !important; | |
23 | - background-color: rgba(0, 0, 0, 0.06) !important; | |
24 | -} | |
25 | -.login.data-v-3bc2128d { | |
26 | - width: 100%; | |
27 | - height: 100%; | |
28 | - position: relative; | |
29 | -} | |
30 | -.login .box.data-v-3bc2128d { | |
31 | - width: 100%; | |
32 | - height: 100%; | |
33 | - position: absolute; | |
34 | - top: 0; | |
35 | - left: 0; | |
36 | -} | |
37 | -.login .box .logo.data-v-3bc2128d { | |
38 | - padding: 156rpx 0 0 0; | |
39 | - width: 260rpx; | |
40 | - margin: 0 auto; | |
41 | -} | |
42 | -.login .box .changeLogin.data-v-3bc2128d { | |
43 | - width: 100%; | |
44 | - text-align: center; | |
45 | - margin: 48rpx 0 0 0; | |
46 | - font-size: 15px; | |
47 | - font-weight: 400; | |
48 | - color: rgba(0, 0, 0, 0.65); | |
49 | -} | |
50 | -.login .box .agreement.data-v-3bc2128d { | |
51 | - position: fixed; | |
52 | - left: 0; | |
53 | - bottom: 34rpx; | |
54 | - display: flex; | |
55 | - flex-direction: row; | |
56 | - justify-content: flex-start; | |
57 | - font-size: 24rpx; | |
58 | - margin: 30rpx 0 32rpx 0; | |
59 | - padding: 0 50rpx; | |
60 | -} | |
61 | -.login .box .agreement .check.data-v-3bc2128d { | |
62 | - width: 40rpx; | |
63 | - padding: 3rpx 0 0 0; | |
64 | -} | |
65 | -.login .box .agreement .text.data-v-3bc2128d { | |
66 | - color: rgba(0, 0, 0, 0.45); | |
67 | -} | |
68 | -.login .box .agreement .text .span.data-v-3bc2128d { | |
69 | - color: #0CB17A; | |
70 | -} | |
71 | -.login .box .form.data-v-3bc2128d { | |
72 | - margin: 30rpx 60rpx 0px; | |
73 | -} | |
74 | -.login .box .btn.data-v-3bc2128d { | |
75 | - margin-top: 200rpx; | |
76 | - padding: 0 48rpx; | |
77 | -} | |
78 | -.login .box .wxLogin.data-v-3bc2128d { | |
79 | - display: flex; | |
80 | - align-items: center; | |
81 | - flex-direction: column; | |
82 | - margin-top: 180rpx; | |
83 | -} | |
84 | -.login .box .wxLogin button.data-v-3bc2128d { | |
85 | - background-color: transparent; | |
86 | -} | |
87 | -.login .box .wxLogin button.data-v-3bc2128d::after { | |
88 | - border: initial; | |
89 | -} | |
90 | -.login .box .wxLogin image.data-v-3bc2128d { | |
91 | - width: 96rpx; | |
92 | - height: 96rpx; | |
93 | -} | |
94 | -.login .box .wxLogin text.data-v-3bc2128d { | |
95 | - margin-top: 0rpx; | |
96 | -} | |
97 | - |
1 | -require('../common/vendor.js');(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/main/my/mobileLogin/mobileLogin"],{ | |
2 | - | |
3 | -/***/ 178: | |
4 | -/*!**************************************************************************************************************!*\ | |
5 | - !*** /Users/linon/work/workai/yxly-teacher/main.js?{"page":"pages%2Fmain%2Fmy%2FmobileLogin%2FmobileLogin"} ***! | |
6 | - \**************************************************************************************************************/ | |
7 | -/*! no static exports found */ | |
8 | -/***/ (function(module, exports, __webpack_require__) { | |
9 | - | |
10 | -"use strict"; | |
11 | -/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5); | |
12 | - | |
13 | -__webpack_require__(/*! @dcloudio/uni-stat/dist/uni-stat.es.js */ 6); | |
14 | -var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4)); | |
15 | -var _mobileLogin = _interopRequireDefault(__webpack_require__(/*! ./pages/main/my/mobileLogin/mobileLogin.vue */ 179));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore | |
16 | -wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_mobileLogin.default); | |
17 | -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"])) | |
18 | - | |
19 | -/***/ }), | |
20 | - | |
21 | -/***/ 179: | |
22 | -/*!***************************************************************************************!*\ | |
23 | - !*** /Users/linon/work/workai/yxly-teacher/pages/main/my/mobileLogin/mobileLogin.vue ***! | |
24 | - \***************************************************************************************/ | |
25 | -/*! no static exports found */ | |
26 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
27 | - | |
28 | -"use strict"; | |
29 | -__webpack_require__.r(__webpack_exports__); | |
30 | -/* harmony import */ var _mobileLogin_vue_vue_type_template_id_26ccca09_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mobileLogin.vue?vue&type=template&id=26ccca09&scoped=true& */ 180); | |
31 | -/* harmony import */ var _mobileLogin_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./mobileLogin.vue?vue&type=script&lang=js& */ 182); | |
32 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _mobileLogin_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _mobileLogin_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |
33 | -/* harmony import */ var _mobileLogin_vue_vue_type_style_index_0_id_26ccca09_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./mobileLogin.vue?vue&type=style&index=0&id=26ccca09&lang=scss&scoped=true& */ 185); | |
34 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 15); | |
35 | - | |
36 | -var renderjs | |
37 | - | |
38 | - | |
39 | - | |
40 | - | |
41 | - | |
42 | -/* normalize component */ | |
43 | - | |
44 | -var component = Object(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( | |
45 | - _mobileLogin_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | |
46 | - _mobileLogin_vue_vue_type_template_id_26ccca09_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], | |
47 | - _mobileLogin_vue_vue_type_template_id_26ccca09_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | |
48 | - false, | |
49 | - null, | |
50 | - "26ccca09", | |
51 | - null, | |
52 | - false, | |
53 | - _mobileLogin_vue_vue_type_template_id_26ccca09_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], | |
54 | - renderjs | |
55 | -) | |
56 | - | |
57 | -component.options.__file = "pages/main/my/mobileLogin/mobileLogin.vue" | |
58 | -/* harmony default export */ __webpack_exports__["default"] = (component.exports); | |
59 | - | |
60 | -/***/ }), | |
61 | - | |
62 | -/***/ 180: | |
63 | -/*!**********************************************************************************************************************************!*\ | |
64 | - !*** /Users/linon/work/workai/yxly-teacher/pages/main/my/mobileLogin/mobileLogin.vue?vue&type=template&id=26ccca09&scoped=true& ***! | |
65 | - \**********************************************************************************************************************************/ | |
66 | -/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |
67 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
68 | - | |
69 | -"use strict"; | |
70 | -__webpack_require__.r(__webpack_exports__); | |
71 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mobileLogin_vue_vue_type_template_id_26ccca09_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./mobileLogin.vue?vue&type=template&id=26ccca09&scoped=true& */ 181); | |
72 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mobileLogin_vue_vue_type_template_id_26ccca09_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | |
73 | - | |
74 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mobileLogin_vue_vue_type_template_id_26ccca09_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | |
75 | - | |
76 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mobileLogin_vue_vue_type_template_id_26ccca09_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); | |
77 | - | |
78 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mobileLogin_vue_vue_type_template_id_26ccca09_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); | |
79 | - | |
80 | - | |
81 | - | |
82 | -/***/ }), | |
83 | - | |
84 | -/***/ 181: | |
85 | -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |
86 | - !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/linon/work/workai/yxly-teacher/pages/main/my/mobileLogin/mobileLogin.vue?vue&type=template&id=26ccca09&scoped=true& ***! | |
87 | - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |
88 | -/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |
89 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
90 | - | |
91 | -"use strict"; | |
92 | -__webpack_require__.r(__webpack_exports__); | |
93 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | |
94 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | |
95 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); | |
96 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); | |
97 | -var components | |
98 | -try { | |
99 | - components = { | |
100 | - uForm: function() { | |
101 | - return Promise.all(/*! import() | uni_modules/uview-ui/components/u-form/u-form */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-form/u-form")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-form/u-form.vue */ 223)) | |
102 | - }, | |
103 | - uFormItem: function() { | |
104 | - return Promise.all(/*! import() | uni_modules/uview-ui/components/u-form-item/u-form-item */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-form-item/u-form-item")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-form-item/u-form-item.vue */ 232)) | |
105 | - }, | |
106 | - uInput: function() { | |
107 | - return Promise.all(/*! import() | uni_modules/uview-ui/components/u-input/u-input */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-input/u-input")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-input/u-input.vue */ 240)) | |
108 | - }, | |
109 | - uButton: function() { | |
110 | - return Promise.all(/*! import() | uni_modules/uview-ui/components/u-button/u-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-button/u-button")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-button/u-button.vue */ 248)) | |
111 | - }, | |
112 | - uCode: function() { | |
113 | - return Promise.all(/*! import() | uni_modules/uview-ui/components/u-code/u-code */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-code/u-code")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-code/u-code.vue */ 258)) | |
114 | - }, | |
115 | - cButton: function() { | |
116 | - return __webpack_require__.e(/*! import() | components/c-button/c-button */ "components/c-button/c-button").then(__webpack_require__.bind(null, /*! @/components/c-button/c-button.vue */ 202)) | |
117 | - }, | |
118 | - uCheckboxGroup: function() { | |
119 | - return Promise.all(/*! import() | uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue */ 207)) | |
120 | - }, | |
121 | - uCheckbox: function() { | |
122 | - return Promise.all(/*! import() | uni_modules/uview-ui/components/u-checkbox/u-checkbox */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-checkbox/u-checkbox")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-checkbox/u-checkbox.vue */ 215)) | |
123 | - }, | |
124 | - uToast: function() { | |
125 | - return __webpack_require__.e(/*! import() | uni_modules/uview-ui/components/u-toast/u-toast */ "uni_modules/uview-ui/components/u-toast/u-toast").then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-toast/u-toast.vue */ 187)) | |
126 | - } | |
127 | - } | |
128 | -} catch (e) { | |
129 | - if ( | |
130 | - e.message.indexOf("Cannot find module") !== -1 && | |
131 | - e.message.indexOf(".vue") !== -1 | |
132 | - ) { | |
133 | - console.error(e.message) | |
134 | - console.error("1. 排查组件名称拼写是否正确") | |
135 | - console.error( | |
136 | - "2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom" | |
137 | - ) | |
138 | - console.error( | |
139 | - "3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件" | |
140 | - ) | |
141 | - } else { | |
142 | - throw e | |
143 | - } | |
144 | -} | |
145 | -var render = function() { | |
146 | - var _vm = this | |
147 | - var _h = _vm.$createElement | |
148 | - var _c = _vm._self._c || _h | |
149 | -} | |
150 | -var recyclableRender = false | |
151 | -var staticRenderFns = [] | |
152 | -render._withStripped = true | |
153 | - | |
154 | - | |
155 | - | |
156 | -/***/ }), | |
157 | - | |
158 | -/***/ 182: | |
159 | -/*!****************************************************************************************************************!*\ | |
160 | - !*** /Users/linon/work/workai/yxly-teacher/pages/main/my/mobileLogin/mobileLogin.vue?vue&type=script&lang=js& ***! | |
161 | - \****************************************************************************************************************/ | |
162 | -/*! no static exports found */ | |
163 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
164 | - | |
165 | -"use strict"; | |
166 | -__webpack_require__.r(__webpack_exports__); | |
167 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mobileLogin_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./mobileLogin.vue?vue&type=script&lang=js& */ 183); | |
168 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mobileLogin_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mobileLogin_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | |
169 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mobileLogin_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mobileLogin_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |
170 | - /* harmony default export */ __webpack_exports__["default"] = (_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mobileLogin_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | |
171 | - | |
172 | -/***/ }), | |
173 | - | |
174 | -/***/ 183: | |
175 | -/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |
176 | - !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/linon/work/workai/yxly-teacher/pages/main/my/mobileLogin/mobileLogin.vue?vue&type=script&lang=js& ***! | |
177 | - \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |
178 | -/*! no static exports found */ | |
179 | -/***/ (function(module, exports, __webpack_require__) { | |
180 | - | |
181 | -"use strict"; | |
182 | -/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; | |
183 | - | |
184 | - | |
185 | - | |
186 | - | |
187 | - | |
188 | - | |
189 | - | |
190 | - | |
191 | - | |
192 | - | |
193 | - | |
194 | - | |
195 | - | |
196 | - | |
197 | - | |
198 | - | |
199 | - | |
200 | - | |
201 | - | |
202 | - | |
203 | - | |
204 | - | |
205 | - | |
206 | - | |
207 | - | |
208 | - | |
209 | - | |
210 | - | |
211 | - | |
212 | - | |
213 | - | |
214 | - | |
215 | - | |
216 | - | |
217 | - | |
218 | - | |
219 | - | |
220 | - | |
221 | - | |
222 | - | |
223 | - | |
224 | - | |
225 | - | |
226 | - | |
227 | - | |
228 | - | |
229 | - | |
230 | - | |
231 | - | |
232 | - | |
233 | - | |
234 | - | |
235 | - | |
236 | - | |
237 | - | |
238 | - | |
239 | - | |
240 | - | |
241 | - | |
242 | - | |
243 | - | |
244 | - | |
245 | - | |
246 | - | |
247 | - | |
248 | - | |
249 | - | |
250 | - | |
251 | - | |
252 | - | |
253 | - | |
254 | -var _vuex = __webpack_require__(/*! vuex */ 141); | |
255 | - | |
256 | - | |
257 | - | |
258 | -var _api = __webpack_require__(/*! @/config/api.js */ 143); | |
259 | - | |
260 | - | |
261 | -var _md = _interopRequireDefault(__webpack_require__(/*! @/common/md5 */ 184));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}var _default = | |
262 | - | |
263 | -{ | |
264 | - data: function data() { | |
265 | - return { | |
266 | - errorType: ['toast'], | |
267 | - isDisable: true, | |
268 | - checked: [], | |
269 | - service: "https://yxlypublic.oss-cn-beijing.aliyuncs.com/WeChat/agreement/%E3%80%8A%E4%BC%98%E5%AD%A6%E4%B9%90%E4%B8%9A%E7%94%A8%E6%88%B7%E6%9C%8D%E5%8A%A1%E5%8D%8F%E8%AE%AE%E3%80%8B.htm", | |
270 | - policy: "https://yxlypublic.oss-cn-beijing.aliyuncs.com/WeChat/agreement/%E3%80%8A%E4%BC%98%E5%AD%A6%E4%B9%90%E4%B8%9A%E9%9A%90%E7%A7%81%E5%8D%8F%E8%AE%AE%E3%80%8B.htm", | |
271 | - form: { | |
272 | - mobile: '', | |
273 | - password: '' }, | |
274 | - | |
275 | - changeLogin: '账号密码登录', | |
276 | - codeText: '发送验证码' }; | |
277 | - | |
278 | - }, | |
279 | - | |
280 | - onLoad: function onLoad() {var | |
281 | - | |
282 | - dispatch = | |
283 | - this.$store.dispatch; | |
284 | - | |
285 | - }, | |
286 | - | |
287 | - onShow: function onShow() { | |
288 | - | |
289 | - }, | |
290 | - | |
291 | - watch: { | |
292 | - checked: function checked(newVal, oldVal) { | |
293 | - this.isDisable = newVal.length != 0 ? false : true; | |
294 | - | |
295 | - } }, | |
296 | - | |
297 | - | |
298 | - | |
299 | - computed: _objectSpread({}, | |
300 | - (0, _vuex.mapState)('user', { | |
301 | - // 箭头函数可使代码更简练 | |
302 | - isReg: 'isReg' })), | |
303 | - | |
304 | - | |
305 | - | |
306 | - | |
307 | - methods: { | |
308 | - | |
309 | - onchangeLogin: function onchangeLogin() { | |
310 | - if (this.changeLogin == '验证码登录') { | |
311 | - this.changeLogin = '账号密码登录'; | |
312 | - } else { | |
313 | - this.changeLogin = '验证码登录'; | |
314 | - } | |
315 | - }, | |
316 | - | |
317 | - linkService: function linkService() { | |
318 | - console.log(this); | |
319 | - this.$u.route({ | |
320 | - url: "/pages/common/webview/webview?navtitle=\u670D\u52A1\u534F\u8BAE&url=".concat(this.service) }); | |
321 | - | |
322 | - }, | |
323 | - | |
324 | - linkPolicy: function linkPolicy() { | |
325 | - this.$u.route({ | |
326 | - url: "/pages/common/webview/webview?navtitle=\u9690\u79C1\u653F\u7B56&url=".concat(this.policy) }); | |
327 | - | |
328 | - }, | |
329 | - | |
330 | - checkboxChange: function checkboxChange(n) { | |
331 | - // console.log(n) | |
332 | - }, | |
333 | - | |
334 | - getUserProfile: function getUserProfile() {var _this = this; | |
335 | - // 推荐使用wx.getUserProfile获取用户信息,开发者每次通过该接口获取用户个人信息均需用户确认 | |
336 | - // 开发者妥善保管用户快速填写的头像昵称,避免重复弹窗 | |
337 | - wx.getUserProfile({ | |
338 | - desc: '用于完善会员资料', // 声明获取用户个人信息后的用途,后续会展示在弹窗中,请谨慎填写 | |
339 | - success: function success(res) { | |
340 | - console.log('getUserProfile...', res); | |
341 | - // this.$store.commit('setWenxinUserInfo', res); | |
342 | - _this.$u.vuex('vuex_weixinUserInfo', res.userInfo); | |
343 | - } }); | |
344 | - | |
345 | - }, | |
346 | - | |
347 | - codeChange: function codeChange(text) { | |
348 | - this.codeText = text; | |
349 | - }, | |
350 | - | |
351 | - getCode: function getCode() {var _this2 = this;var _this$form$mobile = | |
352 | - | |
353 | - | |
354 | - this.form.mobile,mobile = _this$form$mobile === void 0 ? '' : _this$form$mobile; | |
355 | - | |
356 | - if (!(mobile && /^1[0-9]{10}$/.test(mobile))) { | |
357 | - this.$refs.uToast.show({ | |
358 | - message: '请填写正确手机号', | |
359 | - type: 'error', | |
360 | - duration: 1500 }); | |
361 | - | |
362 | - | |
363 | - } else { | |
364 | - if (this.$refs.uCode.canGetCode) { | |
365 | - // 模拟向后端请求验证码 | |
366 | - uni.showLoading({ | |
367 | - title: '正在获取验证码' }); | |
368 | - | |
369 | - setTimeout(function () { | |
370 | - uni.hideLoading(); | |
371 | - // 通知验证码组件内部开始倒计时 | |
372 | - _this2.$refs.uCode.start(); | |
373 | - | |
374 | - console.log(mobile); | |
375 | - | |
376 | - (0, _api.getSmsCodeApi)({ | |
377 | - phone: mobile }); | |
378 | - | |
379 | - | |
380 | - }, 1000); | |
381 | - } else { | |
382 | - this.$u.toast('倒计时结束后再发送'); | |
383 | - } | |
384 | - } | |
385 | - }, | |
386 | - | |
387 | - phoneLogin: function phoneLogin() { | |
388 | - // this.getUserProfile(); | |
389 | - if (this.changeLogin == '账号密码登录') { | |
390 | - this.$store.dispatch("user/login", { | |
391 | - way: 'code', | |
392 | - type: 'student', | |
393 | - phone: this.form.mobile, | |
394 | - code: this.form.password }); | |
395 | - | |
396 | - } else { | |
397 | - console.log(_md.default.hex_md5(this.form.password)); | |
398 | - this.$store.dispatch("user/login", { | |
399 | - way: 'name', | |
400 | - type: 'student', | |
401 | - username: this.form.mobile, | |
402 | - password: _md.default.hex_md5(this.form.password) }); | |
403 | - | |
404 | - } | |
405 | - } } };exports.default = _default; | |
406 | -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"])) | |
407 | - | |
408 | -/***/ }), | |
409 | - | |
410 | -/***/ 185: | |
411 | -/*!*************************************************************************************************************************************************!*\ | |
412 | - !*** /Users/linon/work/workai/yxly-teacher/pages/main/my/mobileLogin/mobileLogin.vue?vue&type=style&index=0&id=26ccca09&lang=scss&scoped=true& ***! | |
413 | - \*************************************************************************************************************************************************/ | |
414 | -/*! no static exports found */ | |
415 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
416 | - | |
417 | -"use strict"; | |
418 | -__webpack_require__.r(__webpack_exports__); | |
419 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mobileLogin_vue_vue_type_style_index_0_id_26ccca09_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./mobileLogin.vue?vue&type=style&index=0&id=26ccca09&lang=scss&scoped=true& */ 186); | |
420 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mobileLogin_vue_vue_type_style_index_0_id_26ccca09_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mobileLogin_vue_vue_type_style_index_0_id_26ccca09_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); | |
421 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mobileLogin_vue_vue_type_style_index_0_id_26ccca09_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mobileLogin_vue_vue_type_style_index_0_id_26ccca09_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |
422 | - /* harmony default export */ __webpack_exports__["default"] = (_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mobileLogin_vue_vue_type_style_index_0_id_26ccca09_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); | |
423 | - | |
424 | -/***/ }), | |
425 | - | |
426 | -/***/ 186: | |
427 | -/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |
428 | - !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/linon/work/workai/yxly-teacher/pages/main/my/mobileLogin/mobileLogin.vue?vue&type=style&index=0&id=26ccca09&lang=scss&scoped=true& ***! | |
429 | - \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |
430 | -/*! no static exports found */ | |
431 | -/***/ (function(module, exports, __webpack_require__) { | |
432 | - | |
433 | -// extracted by mini-css-extract-plugin | |
434 | - if(false) { var cssReload; } | |
435 | - | |
436 | - | |
437 | -/***/ }) | |
438 | - | |
439 | -},[[178,"common/runtime","common/vendor","pages/main/my/common/vendor"]]]); | |
440 | -//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/main/my/mobileLogin/mobileLogin.js.map | |
\ No newline at end of file |
1 | -{ | |
2 | - "navigationBarTitleText": "手机登录", | |
3 | - "enablePullDownRefresh": false, | |
4 | - "usingComponents": { | |
5 | - "u-form": "/uni_modules/uview-ui/components/u-form/u-form", | |
6 | - "u-form-item": "/uni_modules/uview-ui/components/u-form-item/u-form-item", | |
7 | - "u-input": "/uni_modules/uview-ui/components/u-input/u-input", | |
8 | - "u-button": "/uni_modules/uview-ui/components/u-button/u-button", | |
9 | - "u-code": "/uni_modules/uview-ui/components/u-code/u-code", | |
10 | - "c-button": "/components/c-button/c-button", | |
11 | - "u-checkbox-group": "/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group", | |
12 | - "u-checkbox": "/uni_modules/uview-ui/components/u-checkbox/u-checkbox", | |
13 | - "u-toast": "/uni_modules/uview-ui/components/u-toast/u-toast" | |
14 | - } | |
15 | -} | |
\ No newline at end of file |
1 | -<view class="login data-v-26ccca09"><view class="box data-v-26ccca09"><block wx:if="{{changeLogin=='账号密码登录'}}"><view class="form data-v-26ccca09"><u-form vue-id="9a660fc6-1" model="{{form}}" data-ref="uForm" class="data-v-26ccca09 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item vue-id="{{('9a660fc6-2')+','+('9a660fc6-1')}}" prop="mobile" leftIconStyle="{{({width:'40rpx',height:'40rpx',position:'relative',right:'8rpx'})}}" left-icon="/static/img/my/login_mobile.png" borderBottom="{{true}}" class="data-v-26ccca09" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('9a660fc6-3')+','+('9a660fc6-2')}}" border="none" maxlength="11" placeholder="请输入手机号" customStyle="{{({fontSize:'17px'})}}" value="{{form.mobile}}" data-event-opts="{{[['^input',[['__set_model',['$0','mobile','$event',[]],['form']]]]]}}" class="data-v-26ccca09" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('9a660fc6-4')+','+('9a660fc6-1')}}" prop="verifyCode" leftIconStyle="{{({width:'40rpx',height:'40rpx',position:'relative',right:'8rpx'})}}" left-icon="/static/img/my/login_code1.png" borderBottom="{{true}}" class="data-v-26ccca09" bind:__l="__l" vue-slots="{{['default','right']}}"><u-input bind:input="__e" vue-id="{{('9a660fc6-5')+','+('9a660fc6-4')}}" border="none" placeholder="请输入验证码" customStyle="{{({fontSize:'17px'})}}" value="{{form.password}}" data-event-opts="{{[['^input',[['__set_model',['$0','password','$event',[]],['form']]]]]}}" class="data-v-26ccca09" bind:__l="__l"></u-input><u-button vue-id="{{('9a660fc6-6')+','+('9a660fc6-4')}}" slot="right" type="default" size="mini" hair-line="{{false}}" custom-style="{{({color:'#0CB17A',border:'none',fontSize:'30rpx'})}}" data-event-opts="{{[['^click',[['getCode']]]]}}" bind:click="__e" class="data-v-26ccca09" bind:__l="__l" vue-slots="{{['default']}}">{{''+codeText+''}}</u-button><u-code bind:change="__e" vue-id="{{('9a660fc6-7')+','+('9a660fc6-4')}}" data-ref="uCode" data-event-opts="{{[['^change',[['codeChange']]]]}}" class="data-v-26ccca09 vue-ref" bind:__l="__l"></u-code></u-form-item></u-form></view></block><block wx:else><view class="form data-v-26ccca09"><u-form vue-id="9a660fc6-8" model="{{form}}" data-ref="uForm" class="data-v-26ccca09 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item vue-id="{{('9a660fc6-9')+','+('9a660fc6-8')}}" prop="mobile" left-icon-style="{{({width:'40rpx',height:'40rpx',position:'relative',right:'8rpx'})}}" left-icon="/static/img/my/login_mobile.png" borderBottom="{{true}}" class="data-v-26ccca09" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('9a660fc6-10')+','+('9a660fc6-9')}}" border="none" placeholder="请输入账号" customStyle="{{({fontSize:'17px'})}}" value="{{form.mobile}}" data-event-opts="{{[['^input',[['__set_model',['$0','mobile','$event',[]],['form']]]]]}}" class="data-v-26ccca09" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('9a660fc6-11')+','+('9a660fc6-8')}}" prop="verifyCode" left-icon-style="{{({width:'40rpx',height:'40rpx',position:'relative',right:'8rpx'})}}" left-icon="/static/img/my/login_code2.png" borderBottom="{{true}}" class="data-v-26ccca09" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('9a660fc6-12')+','+('9a660fc6-11')}}" border="none" type="password" placeholder="请输入密码" customStyle="{{({fontSize:'17px'})}}" value="{{form.password}}" data-event-opts="{{[['^input',[['__set_model',['$0','password','$event',[]],['form']]]]]}}" class="data-v-26ccca09" bind:__l="__l"></u-input></u-form-item></u-form></view></block><view class="btn button_warp data-v-26ccca09"><c-button vue-id="9a660fc6-13" type="confirm" shape="circle" customStyle="{{({borderRadius:'48rpx',fontSize:'34rpx',color:'#fff',fontWeight:'400'})}}" text="登录" disabled="{{isDisable}}" data-event-opts="{{[['^click',[['phoneLogin']]]]}}" bind:click="__e" class="data-v-26ccca09" bind:__l="__l"></c-button></view><view data-event-opts="{{[['tap',[['onchangeLogin',['$event']]]]]}}" class="changeLogin data-v-26ccca09" bindtap="__e">{{''+changeLogin+''}}</view><view class="agreement data-v-26ccca09"><view class="check data-v-26ccca09"><u-checkbox-group bind:change="__e" bind:input="__e" vue-id="9a660fc6-14" value="{{checked}}" data-event-opts="{{[['^change',[['checkboxChange']]],['^input',[['__set_model',['','checked','$event',[]]]]]]}}" class="data-v-26ccca09" bind:__l="__l" vue-slots="{{['default']}}"><u-checkbox vue-id="{{('9a660fc6-15')+','+('9a660fc6-14')}}" size="28" activeColor="#0CB17A" shape="circle" class="data-v-26ccca09" bind:__l="__l"></u-checkbox></u-checkbox-group></view><view class="text data-v-26ccca09"><text class="data-v-26ccca09">您已阅读理解并同意</text><text data-event-opts="{{[['tap',[['linkService',['$event']]]]]}}" class="span data-v-26ccca09" bindtap="__e">《优学乐业服务协议》、</text><text data-event-opts="{{[['tap',[['linkPolicy',['$event']]]]]}}" class="span data-v-26ccca09" bindtap="__e">《优学乐业隐私政策》</text></view></view></view><view class="data-v-26ccca09"><u-toast vue-id="9a660fc6-16" data-ref="uToast" class="data-v-26ccca09 vue-ref" bind:__l="__l"></u-toast></view></view> | |
\ No newline at end of file |
1 | -page.data-v-26ccca09 { | |
2 | - width: 100%; | |
3 | - height: 100%; | |
4 | -} | |
5 | -.divid_line_horizen.data-v-26ccca09 { | |
6 | - width: 100%; | |
7 | - height: 2rpx; | |
8 | - background-color: #f2f2f2; | |
9 | - align-self: center; | |
10 | - margin-top: 1rpx; | |
11 | -} | |
12 | -.input_warp .u-input__input.data-v-26ccca09 { | |
13 | - font-size: 34rpx; | |
14 | -} | |
15 | -.button_warp .u-button .u-size-default.data-v-26ccca09 { | |
16 | - font-size: 30rpx; | |
17 | - height: 96rpx; | |
18 | - line-height: 80rpx; | |
19 | -} | |
20 | -.button_warp .u-button .u-btn--primary--disabled.data-v-26ccca09 { | |
21 | - color: rgba(0, 0, 0, 0.45) !important; | |
22 | - border-color: rgba(0, 0, 0, 0.06) !important; | |
23 | - background-color: rgba(0, 0, 0, 0.06) !important; | |
24 | -} | |
25 | -.login.data-v-26ccca09 { | |
26 | - width: 100%; | |
27 | - height: 100%; | |
28 | - position: relative; | |
29 | -} | |
30 | -.login .box.data-v-26ccca09 { | |
31 | - width: 100%; | |
32 | - height: 100%; | |
33 | - position: absolute; | |
34 | - top: 0; | |
35 | - left: 0; | |
36 | -} | |
37 | -.login .box .logo.data-v-26ccca09 { | |
38 | - padding: 156rpx 0 0 0; | |
39 | - width: 120rpx; | |
40 | - margin: 0 auto; | |
41 | -} | |
42 | -.login .box .name.data-v-26ccca09 { | |
43 | - margin: 32rpx 0 0 0; | |
44 | - text-align: center; | |
45 | - font-size: 48rpx; | |
46 | - line-height: 66rpx; | |
47 | - color: #000000; | |
48 | - font-weight: 600; | |
49 | -} | |
50 | -.login .box .changeLogin.data-v-26ccca09 { | |
51 | - width: 100%; | |
52 | - text-align: center; | |
53 | - margin: 48rpx 0 0 0; | |
54 | - font-size: 15px; | |
55 | - font-weight: 400; | |
56 | - color: #0CB17A; | |
57 | -} | |
58 | -.login .box .agreement.data-v-26ccca09 { | |
59 | - position: fixed; | |
60 | - left: 0; | |
61 | - bottom: 34rpx; | |
62 | - display: flex; | |
63 | - flex-direction: row; | |
64 | - justify-content: flex-start; | |
65 | - font-size: 24rpx; | |
66 | - margin: 30rpx 0 32rpx 0; | |
67 | - padding: 0 50rpx; | |
68 | -} | |
69 | -.login .box .agreement .check.data-v-26ccca09 { | |
70 | - width: 40rpx; | |
71 | - padding: 5rpx 0 0 0; | |
72 | -} | |
73 | -.login .box .agreement .text.data-v-26ccca09 { | |
74 | - color: rgba(0, 0, 0, 0.45); | |
75 | -} | |
76 | -.login .box .agreement .text .span.data-v-26ccca09 { | |
77 | - color: #0CB17A; | |
78 | -} | |
79 | -.login .box .form.data-v-26ccca09 { | |
80 | - margin: 128rpx 60rpx 0px; | |
81 | -} | |
82 | -.login .box .btn.data-v-26ccca09 { | |
83 | - margin-top: 128rpx; | |
84 | - padding: 0 48rpx; | |
85 | -} | |
86 | -.login .box .wxLogin.data-v-26ccca09 { | |
87 | - display: flex; | |
88 | - align-items: center; | |
89 | - flex-direction: column; | |
90 | - margin-top: 180rpx; | |
91 | -} | |
92 | -.login .box .wxLogin button.data-v-26ccca09 { | |
93 | - background-color: transparent; | |
94 | -} | |
95 | -.login .box .wxLogin button.data-v-26ccca09::after { | |
96 | - border: initial; | |
97 | -} | |
98 | -.login .box .wxLogin image.data-v-26ccca09 { | |
99 | - width: 96rpx; | |
100 | - height: 96rpx; | |
101 | -} | |
102 | -.login .box .wxLogin text.data-v-26ccca09 { | |
103 | - margin-top: 0rpx; | |
104 | -} | |
105 | - |
1 | -(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/tabBar/internship/internship"],{ | |
2 | - | |
3 | -/***/ 158: | |
4 | -/*!*********************************************************************************************************!*\ | |
5 | - !*** /Users/linon/work/workai/yxly-teacher/main.js?{"page":"pages%2FtabBar%2Finternship%2Finternship"} ***! | |
6 | - \*********************************************************************************************************/ | |
7 | -/*! no static exports found */ | |
8 | -/***/ (function(module, exports, __webpack_require__) { | |
9 | - | |
10 | -"use strict"; | |
11 | -/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5); | |
12 | - | |
13 | -__webpack_require__(/*! @dcloudio/uni-stat/dist/uni-stat.es.js */ 6); | |
14 | -var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4)); | |
15 | -var _internship = _interopRequireDefault(__webpack_require__(/*! ./pages/tabBar/internship/internship.vue */ 159));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // @ts-ignore | |
16 | -wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;createPage(_internship.default); | |
17 | -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"])) | |
18 | - | |
19 | -/***/ }), | |
20 | - | |
21 | -/***/ 159: | |
22 | -/*!************************************************************************************!*\ | |
23 | - !*** /Users/linon/work/workai/yxly-teacher/pages/tabBar/internship/internship.vue ***! | |
24 | - \************************************************************************************/ | |
25 | -/*! no static exports found */ | |
26 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
27 | - | |
28 | -"use strict"; | |
29 | -__webpack_require__.r(__webpack_exports__); | |
30 | -/* harmony import */ var _internship_vue_vue_type_template_id_b3f92cd2_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./internship.vue?vue&type=template&id=b3f92cd2&scoped=true& */ 160); | |
31 | -/* harmony import */ var _internship_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internship.vue?vue&type=script&lang=js& */ 162); | |
32 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _internship_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _internship_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |
33 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 15); | |
34 | - | |
35 | -var renderjs | |
36 | - | |
37 | - | |
38 | - | |
39 | - | |
40 | -/* normalize component */ | |
41 | - | |
42 | -var component = Object(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])( | |
43 | - _internship_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | |
44 | - _internship_vue_vue_type_template_id_b3f92cd2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], | |
45 | - _internship_vue_vue_type_template_id_b3f92cd2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | |
46 | - false, | |
47 | - null, | |
48 | - "b3f92cd2", | |
49 | - null, | |
50 | - false, | |
51 | - _internship_vue_vue_type_template_id_b3f92cd2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], | |
52 | - renderjs | |
53 | -) | |
54 | - | |
55 | -component.options.__file = "pages/tabBar/internship/internship.vue" | |
56 | -/* harmony default export */ __webpack_exports__["default"] = (component.exports); | |
57 | - | |
58 | -/***/ }), | |
59 | - | |
60 | -/***/ 160: | |
61 | -/*!*******************************************************************************************************************************!*\ | |
62 | - !*** /Users/linon/work/workai/yxly-teacher/pages/tabBar/internship/internship.vue?vue&type=template&id=b3f92cd2&scoped=true& ***! | |
63 | - \*******************************************************************************************************************************/ | |
64 | -/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |
65 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
66 | - | |
67 | -"use strict"; | |
68 | -__webpack_require__.r(__webpack_exports__); | |
69 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_internship_vue_vue_type_template_id_b3f92cd2_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./internship.vue?vue&type=template&id=b3f92cd2&scoped=true& */ 161); | |
70 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_internship_vue_vue_type_template_id_b3f92cd2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | |
71 | - | |
72 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_internship_vue_vue_type_template_id_b3f92cd2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | |
73 | - | |
74 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_internship_vue_vue_type_template_id_b3f92cd2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); | |
75 | - | |
76 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_internship_vue_vue_type_template_id_b3f92cd2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); | |
77 | - | |
78 | - | |
79 | - | |
80 | -/***/ }), | |
81 | - | |
82 | -/***/ 161: | |
83 | -/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |
84 | - !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/linon/work/workai/yxly-teacher/pages/tabBar/internship/internship.vue?vue&type=template&id=b3f92cd2&scoped=true& ***! | |
85 | - \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |
86 | -/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |
87 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
88 | - | |
89 | -"use strict"; | |
90 | -__webpack_require__.r(__webpack_exports__); | |
91 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | |
92 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | |
93 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); | |
94 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); | |
95 | -var components | |
96 | -var render = function() { | |
97 | - var _vm = this | |
98 | - var _h = _vm.$createElement | |
99 | - var _c = _vm._self._c || _h | |
100 | -} | |
101 | -var recyclableRender = false | |
102 | -var staticRenderFns = [] | |
103 | -render._withStripped = true | |
104 | - | |
105 | - | |
106 | - | |
107 | -/***/ }), | |
108 | - | |
109 | -/***/ 162: | |
110 | -/*!*************************************************************************************************************!*\ | |
111 | - !*** /Users/linon/work/workai/yxly-teacher/pages/tabBar/internship/internship.vue?vue&type=script&lang=js& ***! | |
112 | - \*************************************************************************************************************/ | |
113 | -/*! no static exports found */ | |
114 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
115 | - | |
116 | -"use strict"; | |
117 | -__webpack_require__.r(__webpack_exports__); | |
118 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_internship_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./internship.vue?vue&type=script&lang=js& */ 163); | |
119 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_internship_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_internship_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | |
120 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_internship_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_internship_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |
121 | - /* harmony default export */ __webpack_exports__["default"] = (_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_internship_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | |
122 | - | |
123 | -/***/ }), | |
124 | - | |
125 | -/***/ 163: | |
126 | -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |
127 | - !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/linon/work/workai/yxly-teacher/pages/tabBar/internship/internship.vue?vue&type=script&lang=js& ***! | |
128 | - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |
129 | -/*! no static exports found */ | |
130 | -/***/ (function(module, exports, __webpack_require__) { | |
131 | - | |
132 | -"use strict"; | |
133 | -Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _regenerator = _interopRequireDefault(__webpack_require__(/*! ./node_modules/@babel/runtime/regenerator */ 38));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {try {var info = gen[key](arg);var value = info.value;} catch (error) {reject(error);return;}if (info.done) {resolve(value);} else {Promise.resolve(value).then(_next, _throw);}}function _asyncToGenerator(fn) {return function () {var self = this,args = arguments;return new Promise(function (resolve, reject) {var gen = fn.apply(self, args);function _next(value) {asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);}function _throw(err) {asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);}_next(undefined);});};} // | |
134 | -// | |
135 | -// | |
136 | -// | |
137 | -// | |
138 | -// | |
139 | -var _default = | |
140 | - | |
141 | -{ | |
142 | - data: function data() { | |
143 | - return {}; | |
144 | - | |
145 | - | |
146 | - }, | |
147 | - | |
148 | - onLoad: function onLoad() {}, | |
149 | - | |
150 | - onShow: function onShow() {return _asyncToGenerator( /*#__PURE__*/_regenerator.default.mark(function _callee() {return _regenerator.default.wrap(function _callee$(_context) {while (1) {switch (_context.prev = _context.next) {case 0:case "end":return _context.stop();}}}, _callee);}))(); | |
151 | - | |
152 | - }, | |
153 | - | |
154 | - methods: {} };exports.default = _default; | |
155 | - | |
156 | -/***/ }) | |
157 | - | |
158 | -},[[158,"common/runtime","common/vendor"]]]); | |
159 | -//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/tabBar/internship/internship.js.map | |
\ No newline at end of file |
1 | -<view class="internship data-v-b3f92cd2"></view> | |
\ No newline at end of file |
1 | -@keyframes cuIcon-spin { | |
2 | - 0% { | |
3 | - -webkit-transform: rotate(0); | |
4 | - transform: rotate(0); | |
5 | - } | |
6 | - | |
7 | - 100% { | |
8 | - -webkit-transform: rotate(359deg); | |
9 | - transform: rotate(359deg); | |
10 | - } | |
11 | -} | |
12 | - | |
13 | -.cuIconfont-spin { | |
14 | - -webkit-animation: cuIcon-spin 2s infinite linear; | |
15 | - animation: cuIcon-spin 2s infinite linear; | |
16 | - display: inline-block; | |
17 | -} | |
18 | - | |
19 | -.cuIconfont-pulse { | |
20 | - -webkit-animation: cuIcon-spin 1s infinite steps(8); | |
21 | - animation: cuIcon-spin 1s infinite steps(8); | |
22 | - display: inline-block; | |
23 | -} | |
24 | - | |
25 | -[class*="cuIcon-"] { | |
26 | - font-family: "cuIcon"; | |
27 | - font-size: inherit; | |
28 | - font-style: normal; | |
29 | -} | |
30 | - | |
31 | -@font-face { | |
32 | - font-family: "cuIcon"; | |
33 | - src: url('//at.alicdn.com/t/font_533566_yfq2d9wdij.eot?t=1545239985831'); | |
34 | - /* IE9*/ | |
35 | - src: url('//at.alicdn.com/t/font_533566_yfq2d9wdij.eot?t=1545239985831#iefix') format('embedded-opentype'), | |
36 | - /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/ | |
37 | - url('//at.alicdn.com/t/font_533566_yfq2d9wdij.svg?t=1545239985831#cuIconfont') format('svg'); | |
38 | - /* iOS 4.1- */ | |
39 | -} |
819 Bytes
1.5 KB
876 Bytes
1.8 KB
1.1 KB
1.6 KB
1.3 KB
931 Bytes
1.4 KB
1 | -(function(window, document, exportName, undefined) { | |
2 | - "use strict"; | |
3 | - | |
4 | - var isMultiTouch = false; | |
5 | - var multiTouchStartPos; | |
6 | - var eventTarget; | |
7 | - var touchElements = {}; | |
8 | - | |
9 | - // polyfills | |
10 | - if(!document.createTouch) { | |
11 | - document.createTouch = function(view, target, identifier, pageX, pageY, screenX, screenY, clientX, clientY) { | |
12 | - // auto set | |
13 | - if(clientX == undefined || clientY == undefined) { | |
14 | - clientX = pageX - window.pageXOffset; | |
15 | - clientY = pageY - window.pageYOffset; | |
16 | - } | |
17 | - | |
18 | - return new Touch(target, identifier, { | |
19 | - pageX: pageX, | |
20 | - pageY: pageY, | |
21 | - screenX: screenX, | |
22 | - screenY: screenY, | |
23 | - clientX: clientX, | |
24 | - clientY: clientY | |
25 | - }); | |
26 | - }; | |
27 | - } | |
28 | - | |
29 | - if(!document.createTouchList) { | |
30 | - document.createTouchList = function() { | |
31 | - var touchList = new TouchList(); | |
32 | - for (var i = 0; i < arguments.length; i++) { | |
33 | - touchList[i] = arguments[i]; | |
34 | - } | |
35 | - touchList.length = arguments.length; | |
36 | - return touchList; | |
37 | - }; | |
38 | - } | |
39 | - | |
40 | - /** | |
41 | - * create an touch point | |
42 | - * @constructor | |
43 | - * @param target | |
44 | - * @param identifier | |
45 | - * @param pos | |
46 | - * @param deltaX | |
47 | - * @param deltaY | |
48 | - * @returns {Object} touchPoint | |
49 | - */ | |
50 | - function Touch(target, identifier, pos, deltaX, deltaY) { | |
51 | - deltaX = deltaX || 0; | |
52 | - deltaY = deltaY || 0; | |
53 | - | |
54 | - this.identifier = identifier; | |
55 | - this.target = target; | |
56 | - this.clientX = pos.clientX + deltaX; | |
57 | - this.clientY = pos.clientY + deltaY; | |
58 | - this.screenX = pos.screenX + deltaX; | |
59 | - this.screenY = pos.screenY + deltaY; | |
60 | - this.pageX = pos.pageX + deltaX; | |
61 | - this.pageY = pos.pageY + deltaY; | |
62 | - } | |
63 | - | |
64 | - /** | |
65 | - * create empty touchlist with the methods | |
66 | - * @constructor | |
67 | - * @returns touchList | |
68 | - */ | |
69 | - function TouchList() { | |
70 | - var touchList = []; | |
71 | - | |
72 | - touchList.item = function(index) { | |
73 | - return this[index] || null; | |
74 | - }; | |
75 | - | |
76 | - // specified by Mozilla | |
77 | - touchList.identifiedTouch = function(id) { | |
78 | - return this[id + 1] || null; | |
79 | - }; | |
80 | - | |
81 | - return touchList; | |
82 | - } | |
83 | - | |
84 | - | |
85 | - /** | |
86 | - * Simple trick to fake touch event support | |
87 | - * this is enough for most libraries like Modernizr and Hammer | |
88 | - */ | |
89 | - function fakeTouchSupport() { | |
90 | - var objs = [window, document.documentElement]; | |
91 | - var props = ['ontouchstart', 'ontouchmove', 'ontouchcancel', 'ontouchend']; | |
92 | - | |
93 | - for(var o=0; o<objs.length; o++) { | |
94 | - for(var p=0; p<props.length; p++) { | |
95 | - if(objs[o] && objs[o][props[p]] == undefined) { | |
96 | - objs[o][props[p]] = null; | |
97 | - } | |
98 | - } | |
99 | - } | |
100 | - } | |
101 | - | |
102 | - /** | |
103 | - * we don't have to emulate on a touch device | |
104 | - * @returns {boolean} | |
105 | - */ | |
106 | - function hasTouchSupport() { | |
107 | - return ("ontouchstart" in window) || // touch events | |
108 | - (window.Modernizr && window.Modernizr.touch) || // modernizr | |
109 | - (navigator.msMaxTouchPoints || navigator.maxTouchPoints) > 2; // pointer events | |
110 | - } | |
111 | - | |
112 | - /** | |
113 | - * disable mouseevents on the page | |
114 | - * @param ev | |
115 | - */ | |
116 | - function preventMouseEvents(ev) { | |
117 | - // 注释启用默认事件 | |
118 | - // ev.preventDefault(); | |
119 | - // ev.stopPropagation(); | |
120 | - } | |
121 | - | |
122 | - /** | |
123 | - * only trigger touches when the left mousebutton has been pressed | |
124 | - * @param touchType | |
125 | - * @returns {Function} | |
126 | - */ | |
127 | - function onMouse(touchType) { | |
128 | - return function(ev) { | |
129 | - // prevent mouse events | |
130 | - preventMouseEvents(ev); | |
131 | - | |
132 | - if (ev.which !== 1) { | |
133 | - return; | |
134 | - } | |
135 | - | |
136 | - // The EventTarget on which the touch point started when it was first placed on the surface, | |
137 | - // even if the touch point has since moved outside the interactive area of that element. | |
138 | - // also, when the target doesnt exist anymore, we update it | |
139 | - if (ev.type == 'mousedown' || !eventTarget || (eventTarget && !eventTarget.dispatchEvent)) { | |
140 | - eventTarget = ev.target; | |
141 | - } | |
142 | - | |
143 | - // shiftKey has been lost, so trigger a touchend | |
144 | - if (isMultiTouch && !ev.shiftKey) { | |
145 | - triggerTouch('touchend', ev); | |
146 | - isMultiTouch = false; | |
147 | - } | |
148 | - | |
149 | - triggerTouch(touchType, ev); | |
150 | - | |
151 | - // we're entering the multi-touch mode! | |
152 | - if (!isMultiTouch && ev.shiftKey) { | |
153 | - isMultiTouch = true; | |
154 | - multiTouchStartPos = { | |
155 | - pageX: ev.pageX, | |
156 | - pageY: ev.pageY, | |
157 | - clientX: ev.clientX, | |
158 | - clientY: ev.clientY, | |
159 | - screenX: ev.screenX, | |
160 | - screenY: ev.screenY | |
161 | - }; | |
162 | - triggerTouch('touchstart', ev); | |
163 | - } | |
164 | - | |
165 | - // reset | |
166 | - if (ev.type == 'mouseup') { | |
167 | - multiTouchStartPos = null; | |
168 | - isMultiTouch = false; | |
169 | - eventTarget = null; | |
170 | - } | |
171 | - } | |
172 | - } | |
173 | - | |
174 | - /** | |
175 | - * trigger a touch event | |
176 | - * @param eventName | |
177 | - * @param mouseEv | |
178 | - */ | |
179 | - function triggerTouch(eventName, mouseEv) { | |
180 | - var touchEvent = document.createEvent('Event'); | |
181 | - touchEvent.initEvent(eventName, true, true); | |
182 | - | |
183 | - touchEvent.altKey = mouseEv.altKey; | |
184 | - touchEvent.ctrlKey = mouseEv.ctrlKey; | |
185 | - touchEvent.metaKey = mouseEv.metaKey; | |
186 | - touchEvent.shiftKey = mouseEv.shiftKey; | |
187 | - | |
188 | - touchEvent.touches = getActiveTouches(mouseEv, eventName); | |
189 | - touchEvent.targetTouches = getActiveTouches(mouseEv, eventName); | |
190 | - touchEvent.changedTouches = getChangedTouches(mouseEv, eventName); | |
191 | - | |
192 | - eventTarget.dispatchEvent(touchEvent); | |
193 | - } | |
194 | - | |
195 | - /** | |
196 | - * create a touchList based on the mouse event | |
197 | - * @param mouseEv | |
198 | - * @returns {TouchList} | |
199 | - */ | |
200 | - function createTouchList(mouseEv) { | |
201 | - var touchList = new TouchList(); | |
202 | - | |
203 | - if (isMultiTouch) { | |
204 | - var f = TouchEmulator.multiTouchOffset; | |
205 | - var deltaX = multiTouchStartPos.pageX - mouseEv.pageX; | |
206 | - var deltaY = multiTouchStartPos.pageY - mouseEv.pageY; | |
207 | - | |
208 | - touchList.push(new Touch(eventTarget, 1, multiTouchStartPos, (deltaX*-1) - f, (deltaY*-1) + f)); | |
209 | - touchList.push(new Touch(eventTarget, 2, multiTouchStartPos, deltaX+f, deltaY-f)); | |
210 | - } else { | |
211 | - touchList.push(new Touch(eventTarget, 1, mouseEv, 0, 0)); | |
212 | - } | |
213 | - | |
214 | - return touchList; | |
215 | - } | |
216 | - | |
217 | - /** | |
218 | - * receive all active touches | |
219 | - * @param mouseEv | |
220 | - * @returns {TouchList} | |
221 | - */ | |
222 | - function getActiveTouches(mouseEv, eventName) { | |
223 | - // empty list | |
224 | - if (mouseEv.type == 'mouseup') { | |
225 | - return new TouchList(); | |
226 | - } | |
227 | - | |
228 | - var touchList = createTouchList(mouseEv); | |
229 | - if(isMultiTouch && mouseEv.type != 'mouseup' && eventName == 'touchend') { | |
230 | - touchList.splice(1, 1); | |
231 | - } | |
232 | - return touchList; | |
233 | - } | |
234 | - | |
235 | - /** | |
236 | - * receive a filtered set of touches with only the changed pointers | |
237 | - * @param mouseEv | |
238 | - * @param eventName | |
239 | - * @returns {TouchList} | |
240 | - */ | |
241 | - function getChangedTouches(mouseEv, eventName) { | |
242 | - var touchList = createTouchList(mouseEv); | |
243 | - | |
244 | - // we only want to return the added/removed item on multitouch | |
245 | - // which is the second pointer, so remove the first pointer from the touchList | |
246 | - // | |
247 | - // but when the mouseEv.type is mouseup, we want to send all touches because then | |
248 | - // no new input will be possible | |
249 | - if(isMultiTouch && mouseEv.type != 'mouseup' && | |
250 | - (eventName == 'touchstart' || eventName == 'touchend')) { | |
251 | - touchList.splice(0, 1); | |
252 | - } | |
253 | - | |
254 | - return touchList; | |
255 | - } | |
256 | - | |
257 | - /** | |
258 | - * show the touchpoints on the screen | |
259 | - */ | |
260 | - function showTouches(ev) { | |
261 | - var touch, i, el, styles; | |
262 | - | |
263 | - // first all visible touches | |
264 | - for(i = 0; i < ev.touches.length; i++) { | |
265 | - touch = ev.touches[i]; | |
266 | - el = touchElements[touch.identifier]; | |
267 | - if(!el) { | |
268 | - el = touchElements[touch.identifier] = document.createElement("div"); | |
269 | - document.body.appendChild(el); | |
270 | - } | |
271 | - | |
272 | - styles = TouchEmulator.template(touch); | |
273 | - for(var prop in styles) { | |
274 | - el.style[prop] = styles[prop]; | |
275 | - } | |
276 | - } | |
277 | - | |
278 | - // remove all ended touches | |
279 | - if(ev.type == 'touchend' || ev.type == 'touchcancel') { | |
280 | - for(i = 0; i < ev.changedTouches.length; i++) { | |
281 | - touch = ev.changedTouches[i]; | |
282 | - el = touchElements[touch.identifier]; | |
283 | - if(el) { | |
284 | - el.parentNode.removeChild(el); | |
285 | - delete touchElements[touch.identifier]; | |
286 | - } | |
287 | - } | |
288 | - } | |
289 | - } | |
290 | - | |
291 | - /** | |
292 | - * TouchEmulator initializer | |
293 | - */ | |
294 | - function TouchEmulator() { | |
295 | - if (hasTouchSupport()) { | |
296 | - return; | |
297 | - } | |
298 | - | |
299 | - fakeTouchSupport(); | |
300 | - | |
301 | - window.addEventListener("mousedown", onMouse('touchstart'), true); | |
302 | - window.addEventListener("mousemove", onMouse('touchmove'), true); | |
303 | - window.addEventListener("mouseup", onMouse('touchend'), true); | |
304 | - | |
305 | - window.addEventListener("mouseenter", preventMouseEvents, true); | |
306 | - window.addEventListener("mouseleave", preventMouseEvents, true); | |
307 | - window.addEventListener("mouseout", preventMouseEvents, true); | |
308 | - window.addEventListener("mouseover", preventMouseEvents, true); | |
309 | - | |
310 | - // it uses itself! | |
311 | - window.addEventListener("touchstart", showTouches, true); | |
312 | - window.addEventListener("touchmove", showTouches, true); | |
313 | - window.addEventListener("touchend", showTouches, true); | |
314 | - window.addEventListener("touchcancel", showTouches, true); | |
315 | - } | |
316 | - | |
317 | - // start distance when entering the multitouch mode | |
318 | - TouchEmulator.multiTouchOffset = 75; | |
319 | - | |
320 | - /** | |
321 | - * css template for the touch rendering | |
322 | - * @param touch | |
323 | - * @returns object | |
324 | - */ | |
325 | - TouchEmulator.template = function(touch) { | |
326 | - var size = 0; | |
327 | - var transform = 'translate('+ (touch.clientX-(size/2)) +'px, '+ (touch.clientY-(size/2)) +'px)'; | |
328 | - return { | |
329 | - position: 'fixed', | |
330 | - left: 0, | |
331 | - top: 0, | |
332 | - background: '#fff', | |
333 | - border: 'solid 1px #999', | |
334 | - opacity: .6, | |
335 | - borderRadius: '100%', | |
336 | - height: size + 'px', | |
337 | - width: size + 'px', | |
338 | - padding: 0, | |
339 | - margin: 0, | |
340 | - display: 'block', | |
341 | - overflow: 'hidden', | |
342 | - pointerEvents: 'none', | |
343 | - webkitUserSelect: 'none', | |
344 | - mozUserSelect: 'none', | |
345 | - userSelect: 'none', | |
346 | - webkitTransform: transform, | |
347 | - mozTransform: transform, | |
348 | - transform: transform, | |
349 | - zIndex: 100 | |
350 | - } | |
351 | - }; | |
352 | - | |
353 | - // export | |
354 | - if (typeof define == "function" && define.amd) { | |
355 | - define(function() { | |
356 | - return TouchEmulator; | |
357 | - }); | |
358 | - } else if (typeof module != "undefined" && module.exports) { | |
359 | - module.exports = TouchEmulator; | |
360 | - } else { | |
361 | - window[exportName] = TouchEmulator; | |
362 | - } | |
363 | -})(window, document, "TouchEmulator"); | |
\ No newline at end of file |
1 | -(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["uni_modules/uview-ui/components/u-button/u-button"],{ | |
2 | - | |
3 | -/***/ 248: | |
4 | -/*!***************************************************************************************************!*\ | |
5 | - !*** /Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-button/u-button.vue ***! | |
6 | - \***************************************************************************************************/ | |
7 | -/*! no static exports found */ | |
8 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
9 | - | |
10 | -"use strict"; | |
11 | -__webpack_require__.r(__webpack_exports__); | |
12 | -/* harmony import */ var _u_button_vue_vue_type_template_id_2bf0e569_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./u-button.vue?vue&type=template&id=2bf0e569&scoped=true& */ 249); | |
13 | -/* harmony import */ var _u_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./u-button.vue?vue&type=script&lang=js& */ 251); | |
14 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _u_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _u_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |
15 | -/* harmony import */ var _u_button_vue_vue_type_style_index_0_id_2bf0e569_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./u-button.vue?vue&type=style&index=0&id=2bf0e569&lang=scss&scoped=true& */ 256); | |
16 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 15); | |
17 | - | |
18 | -var renderjs | |
19 | - | |
20 | - | |
21 | - | |
22 | - | |
23 | - | |
24 | -/* normalize component */ | |
25 | - | |
26 | -var component = Object(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( | |
27 | - _u_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | |
28 | - _u_button_vue_vue_type_template_id_2bf0e569_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], | |
29 | - _u_button_vue_vue_type_template_id_2bf0e569_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | |
30 | - false, | |
31 | - null, | |
32 | - "2bf0e569", | |
33 | - null, | |
34 | - false, | |
35 | - _u_button_vue_vue_type_template_id_2bf0e569_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], | |
36 | - renderjs | |
37 | -) | |
38 | - | |
39 | -component.options.__file = "uni_modules/uview-ui/components/u-button/u-button.vue" | |
40 | -/* harmony default export */ __webpack_exports__["default"] = (component.exports); | |
41 | - | |
42 | -/***/ }), | |
43 | - | |
44 | -/***/ 249: | |
45 | -/*!**********************************************************************************************************************************************!*\ | |
46 | - !*** /Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-button/u-button.vue?vue&type=template&id=2bf0e569&scoped=true& ***! | |
47 | - \**********************************************************************************************************************************************/ | |
48 | -/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |
49 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
50 | - | |
51 | -"use strict"; | |
52 | -__webpack_require__.r(__webpack_exports__); | |
53 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_template_id_2bf0e569_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-button.vue?vue&type=template&id=2bf0e569&scoped=true& */ 250); | |
54 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_template_id_2bf0e569_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | |
55 | - | |
56 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_template_id_2bf0e569_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | |
57 | - | |
58 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_template_id_2bf0e569_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); | |
59 | - | |
60 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_template_id_2bf0e569_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); | |
61 | - | |
62 | - | |
63 | - | |
64 | -/***/ }), | |
65 | - | |
66 | -/***/ 250: | |
67 | -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |
68 | - !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-button/u-button.vue?vue&type=template&id=2bf0e569&scoped=true& ***! | |
69 | - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |
70 | -/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |
71 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
72 | - | |
73 | -"use strict"; | |
74 | -__webpack_require__.r(__webpack_exports__); | |
75 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | |
76 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | |
77 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); | |
78 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); | |
79 | -var components | |
80 | -try { | |
81 | - components = { | |
82 | - uLoadingIcon: function() { | |
83 | - return Promise.all(/*! import() | uni_modules/uview-ui/components/u-loading-icon/u-loading-icon */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-loading-icon/u-loading-icon")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-loading-icon/u-loading-icon.vue */ 274)) | |
84 | - }, | |
85 | - uIcon: function() { | |
86 | - return Promise.all(/*! import() | uni_modules/uview-ui/components/u-icon/u-icon */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-icon/u-icon")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-icon/u-icon.vue */ 282)) | |
87 | - } | |
88 | - } | |
89 | -} catch (e) { | |
90 | - if ( | |
91 | - e.message.indexOf("Cannot find module") !== -1 && | |
92 | - e.message.indexOf(".vue") !== -1 | |
93 | - ) { | |
94 | - console.error(e.message) | |
95 | - console.error("1. 排查组件名称拼写是否正确") | |
96 | - console.error( | |
97 | - "2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom" | |
98 | - ) | |
99 | - console.error( | |
100 | - "3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件" | |
101 | - ) | |
102 | - } else { | |
103 | - throw e | |
104 | - } | |
105 | -} | |
106 | -var render = function() { | |
107 | - var _vm = this | |
108 | - var _h = _vm.$createElement | |
109 | - var _c = _vm._self._c || _h | |
110 | - var s0 = _vm.__get_style([_vm.baseColor, _vm.$u.addStyle(_vm.customStyle)]) | |
111 | - | |
112 | - var m0 = Number(_vm.hoverStartTime) | |
113 | - var m1 = Number(_vm.hoverStayTime) | |
114 | - _vm.$mp.data = Object.assign( | |
115 | - {}, | |
116 | - { | |
117 | - $root: { | |
118 | - s0: s0, | |
119 | - m0: m0, | |
120 | - m1: m1 | |
121 | - } | |
122 | - } | |
123 | - ) | |
124 | -} | |
125 | -var recyclableRender = false | |
126 | -var staticRenderFns = [] | |
127 | -render._withStripped = true | |
128 | - | |
129 | - | |
130 | - | |
131 | -/***/ }), | |
132 | - | |
133 | -/***/ 251: | |
134 | -/*!****************************************************************************************************************************!*\ | |
135 | - !*** /Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-button/u-button.vue?vue&type=script&lang=js& ***! | |
136 | - \****************************************************************************************************************************/ | |
137 | -/*! no static exports found */ | |
138 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
139 | - | |
140 | -"use strict"; | |
141 | -__webpack_require__.r(__webpack_exports__); | |
142 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-button.vue?vue&type=script&lang=js& */ 252); | |
143 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | |
144 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |
145 | - /* harmony default export */ __webpack_exports__["default"] = (_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | |
146 | - | |
147 | -/***/ }), | |
148 | - | |
149 | -/***/ 252: | |
150 | -/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |
151 | - !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-button/u-button.vue?vue&type=script&lang=js& ***! | |
152 | - \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |
153 | -/*! no static exports found */ | |
154 | -/***/ (function(module, exports, __webpack_require__) { | |
155 | - | |
156 | -"use strict"; | |
157 | -/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; | |
158 | - | |
159 | - | |
160 | - | |
161 | - | |
162 | - | |
163 | - | |
164 | - | |
165 | - | |
166 | - | |
167 | - | |
168 | - | |
169 | - | |
170 | - | |
171 | - | |
172 | - | |
173 | - | |
174 | - | |
175 | - | |
176 | - | |
177 | - | |
178 | - | |
179 | - | |
180 | - | |
181 | - | |
182 | - | |
183 | - | |
184 | - | |
185 | - | |
186 | - | |
187 | - | |
188 | - | |
189 | - | |
190 | - | |
191 | - | |
192 | - | |
193 | - | |
194 | - | |
195 | - | |
196 | - | |
197 | - | |
198 | - | |
199 | - | |
200 | - | |
201 | - | |
202 | - | |
203 | - | |
204 | - | |
205 | - | |
206 | - | |
207 | - | |
208 | - | |
209 | - | |
210 | - | |
211 | - | |
212 | - | |
213 | - | |
214 | - | |
215 | - | |
216 | - | |
217 | - | |
218 | - | |
219 | - | |
220 | - | |
221 | - | |
222 | - | |
223 | - | |
224 | - | |
225 | - | |
226 | - | |
227 | - | |
228 | - | |
229 | - | |
230 | - | |
231 | - | |
232 | - | |
233 | - | |
234 | - | |
235 | - | |
236 | - | |
237 | - | |
238 | - | |
239 | - | |
240 | - | |
241 | - | |
242 | - | |
243 | - | |
244 | - | |
245 | - | |
246 | - | |
247 | - | |
248 | - | |
249 | - | |
250 | - | |
251 | - | |
252 | - | |
253 | - | |
254 | - | |
255 | - | |
256 | - | |
257 | - | |
258 | - | |
259 | - | |
260 | - | |
261 | - | |
262 | - | |
263 | - | |
264 | - | |
265 | - | |
266 | - | |
267 | - | |
268 | -var _button = _interopRequireDefault(__webpack_require__(/*! ../../libs/mixin/button.js */ 253)); | |
269 | -var _openType = _interopRequireDefault(__webpack_require__(/*! ../../libs/mixin/openType.js */ 254)); | |
270 | -var _props = _interopRequireDefault(__webpack_require__(/*! ./props.js */ 255));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // | |
271 | -// | |
272 | -// | |
273 | -// | |
274 | -// | |
275 | -// | |
276 | -// | |
277 | -// | |
278 | -// | |
279 | -// | |
280 | -// | |
281 | -// | |
282 | -// | |
283 | -// | |
284 | -// | |
285 | -// | |
286 | -// | |
287 | -// | |
288 | -// | |
289 | -// | |
290 | -// | |
291 | -// | |
292 | -// | |
293 | -// | |
294 | -// | |
295 | -// | |
296 | -// | |
297 | -// | |
298 | -// | |
299 | -// | |
300 | -// | |
301 | -// | |
302 | -// | |
303 | -// | |
304 | -// | |
305 | -// | |
306 | -// | |
307 | -// | |
308 | -// | |
309 | -// | |
310 | -// | |
311 | -// | |
312 | -// | |
313 | -// | |
314 | -// | |
315 | -// | |
316 | -// | |
317 | -// | |
318 | -// | |
319 | -// | |
320 | -// | |
321 | -// | |
322 | -// | |
323 | -// | |
324 | -// | |
325 | -// | |
326 | -// | |
327 | -// | |
328 | -// | |
329 | -// | |
330 | -// | |
331 | -// | |
332 | -// | |
333 | -// | |
334 | -// | |
335 | -// | |
336 | -// | |
337 | -// | |
338 | -// | |
339 | -// | |
340 | -// | |
341 | -// | |
342 | -// | |
343 | -// | |
344 | -// | |
345 | -// | |
346 | -// | |
347 | -// | |
348 | -// | |
349 | -// | |
350 | -// | |
351 | -// | |
352 | -// | |
353 | -// | |
354 | -// | |
355 | -// | |
356 | -// | |
357 | -// | |
358 | -// | |
359 | -// | |
360 | -// | |
361 | -// | |
362 | -// | |
363 | -// | |
364 | -// | |
365 | -// | |
366 | -// | |
367 | -// | |
368 | -// | |
369 | -// | |
370 | -// | |
371 | -// | |
372 | -// | |
373 | -// | |
374 | -// | |
375 | -// | |
376 | -// | |
377 | -// | |
378 | -// | |
379 | -// | |
380 | -/** | |
381 | - * button 按钮 | |
382 | - * @description Button 按钮 | |
383 | - * @tutorial https://www.uviewui.com/components/button.html | |
384 | - * | |
385 | - * @property {Boolean} hairline 是否显示按钮的细边框 (默认 true ) | |
386 | - * @property {String} type 按钮的预置样式,info,primary,error,warning,success (默认 'info' ) | |
387 | - * @property {String} size 按钮尺寸,large,normal,mini (默认 normal) | |
388 | - * @property {String} shape 按钮形状,circle(两边为半圆),square(带圆角) (默认 'square' ) | |
389 | - * @property {Boolean} plain 按钮是否镂空,背景色透明 (默认 false) | |
390 | - * @property {Boolean} disabled 是否禁用 (默认 false) | |
391 | - * @property {Boolean} loading 按钮名称前是否带 loading 图标(App-nvue 平台,在 ios 上为雪花,Android上为圆圈) (默认 false) | |
392 | - * @property {String | Number} loadingText 加载中提示文字 | |
393 | - * @property {String} loadingMode 加载状态图标类型 (默认 'spinner' ) | |
394 | - * @property {String | Number} loadingSize 加载图标大小 (默认 15 ) | |
395 | - * @property {String} openType 开放能力,具体请看uniapp稳定关于button组件部分说明 | |
396 | - * @property {String} formType 用于 <form> 组件,点击分别会触发 <form> 组件的 submit/reset 事件 | |
397 | - * @property {String} appParameter 打开 APP 时,向 APP 传递的参数,open-type=launchApp时有效 (注:只微信小程序、QQ小程序有效) | |
398 | - * @property {Boolean} hoverStopPropagation 指定是否阻止本节点的祖先节点出现点击态,微信小程序有效(默认 true ) | |
399 | - * @property {String} lang 指定返回用户信息的语言,zh_CN 简体中文,zh_TW 繁体中文,en 英文(默认 en ) | |
400 | - * @property {String} sessionFrom 会话来源,openType="contact"时有效 | |
401 | - * @property {String} sendMessageTitle 会话内消息卡片标题,openType="contact"时有效 | |
402 | - * @property {String} sendMessagePath 会话内消息卡片点击跳转小程序路径,openType="contact"时有效 | |
403 | - * @property {String} sendMessageImg 会话内消息卡片图片,openType="contact"时有效 | |
404 | - * @property {Boolean} showMessageCard 是否显示会话内消息卡片,设置此参数为 true,用户进入客服会话会在右下角显示"可能要发送的小程序"提示,用户点击后可以快速发送小程序消息,openType="contact"时有效(默认false) | |
405 | - * @property {String} dataName 额外传参参数,用于小程序的data-xxx属性,通过target.dataset.name获取 | |
406 | - * @property {String | Number} throttleTime 节流,一定时间内只能触发一次 (默认 0 ) | |
407 | - * @property {String | Number} hoverStartTime 按住后多久出现点击态,单位毫秒 (默认 0 ) | |
408 | - * @property {String | Number} hoverStayTime 手指松开后点击态保留时间,单位毫秒 (默认 200 ) | |
409 | - * @property {String | Number} text 按钮文字,之所以通过props传入,是因为slot传入的话(注:nvue中无法控制文字的样式) | |
410 | - * @property {String} icon 按钮图标 | |
411 | - * @property {String} iconColor 按钮图标颜色 | |
412 | - * @property {String} color 按钮颜色,支持传入linear-gradient渐变色 | |
413 | - * @property {Object} customStyle 定义需要用到的外部样式 | |
414 | - * | |
415 | - * @event {Function} click 非禁止并且非加载中,才能点击 | |
416 | - * @event {Function} getphonenumber open-type="getPhoneNumber"时有效 | |
417 | - * @event {Function} getuserinfo 用户点击该按钮时,会返回获取到的用户信息,从返回参数的detail中获取到的值同uni.getUserInfo | |
418 | - * @event {Function} error 当使用开放能力时,发生错误的回调 | |
419 | - * @event {Function} opensetting 在打开授权设置页并关闭后回调 | |
420 | - * @event {Function} launchapp 打开 APP 成功的回调 | |
421 | - * @example <u-button>月落</u-button> | |
422 | - */var _default = { name: "u-button", mixins: [uni.$u.mpMixin, uni.$u.mixin, _button.default, _openType.default, _props.default], data: function data() {return {};}, computed: { // 生成bem风格的类名 | |
423 | - bemClass: function bemClass() {// this.bem为一个computed变量,在mixin中 | |
424 | - if (!this.color) {return this.bem("button", ["type", "shape", "size"], ["disabled", "plain", "hairline"]);} else {// 由于nvue的原因,在有color参数时,不需要传入type,否则会生成type相关的类型,影响最终的样式 | |
425 | - return this.bem("button", ["shape", "size"], ["disabled", "plain", "hairline"]);}}, loadingColor: function loadingColor() {if (this.plain) {// 如果有设置color值,则用color值,否则使用type主题颜色 | |
426 | - return this.color ? this.color : uni.$u.config.color["u-".concat(this.type)];}if (this.type === "info") {return "#c9c9c9";}return "rgb(200, 200, 200)";}, iconColorCom: function iconColorCom() {// 如果是镂空状态,设置了color就用color值,否则使用主题颜色, | |
427 | - // u-icon的color能接受一个主题颜色的值 | |
428 | - if (this.iconColor) return this.iconColor;if (this.plain) {return this.color ? this.color : this.type;} else {return this.type === "info" ? "#000000" : "#ffffff";}}, baseColor: function baseColor() {var style = {};if (this.color) {// 针对自定义了color颜色的情况,镂空状态下,就是用自定义的颜色 | |
429 | - style.color = this.plain ? this.color : "white";if (!this.plain) {// 非镂空,背景色使用自定义的颜色 | |
430 | - style["background-color"] = this.color;}if (this.color.indexOf("gradient") !== -1) {// 如果自定义的颜色为渐变色,不显示边框,以及通过backgroundImage设置渐变色 | |
431 | - // weex文档说明可以写borderWidth的形式,为什么这里需要分开写? | |
432 | - // 因为weex是阿里巴巴为了部门业绩考核而做的你懂的东西,所以需要这么写才有效 | |
433 | - style.borderTopWidth = 0;style.borderRightWidth = 0;style.borderBottomWidth = 0;style.borderLeftWidth = 0;if (!this.plain) {style.backgroundImage = this.color;}} else {// 非渐变色,则设置边框相关的属性 | |
434 | - style.borderColor = this.color;style.borderWidth = "1px";style.borderStyle = "solid";}}return style;}, // nvue版本按钮的字体不会继承父组件的颜色,需要对每一个text组件进行单独的设置 | |
435 | - nvueTextStyle: function nvueTextStyle() {var style = {}; // 针对自定义了color颜色的情况,镂空状态下,就是用自定义的颜色 | |
436 | - if (this.type === "info") {style.color = "#323233";}if (this.color) {style.color = this.plain ? this.color : "white";}style.fontSize = this.textSize + "px";return style;}, // 字体大小 | |
437 | - textSize: function textSize() {var fontSize = 14,size = this.size;if (size === "large") fontSize = 16;if (size === "normal") fontSize = 14;if (size === "small") fontSize = 12;if (size === "mini") fontSize = 10;return fontSize;} }, methods: { clickHandler: function clickHandler() {var _this = this; // 非禁止并且非加载中,才能点击 | |
438 | - if (!this.disabled && !this.loading) {// 进行节流控制,每this.throttle毫秒内,只在开始处执行 | |
439 | - uni.$u.throttle(function () {_this.$emit("click");}, this.throttleTime);}}, // 下面为对接uniapp官方按钮开放能力事件回调的对接 | |
440 | - getphonenumber: function getphonenumber(res) {this.$emit("getphonenumber", res);}, getuserinfo: function getuserinfo(res) {this.$emit("getuserinfo", res);}, error: function error(res) {this.$emit("error", res);}, opensetting: function opensetting(res) {this.$emit("opensetting", res); | |
441 | - }, | |
442 | - launchapp: function launchapp(res) { | |
443 | - this.$emit("launchapp", res); | |
444 | - } } };exports.default = _default; | |
445 | -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"])) | |
446 | - | |
447 | -/***/ }), | |
448 | - | |
449 | -/***/ 256: | |
450 | -/*!*************************************************************************************************************************************************************!*\ | |
451 | - !*** /Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-button/u-button.vue?vue&type=style&index=0&id=2bf0e569&lang=scss&scoped=true& ***! | |
452 | - \*************************************************************************************************************************************************************/ | |
453 | -/*! no static exports found */ | |
454 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
455 | - | |
456 | -"use strict"; | |
457 | -__webpack_require__.r(__webpack_exports__); | |
458 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_style_index_0_id_2bf0e569_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-button.vue?vue&type=style&index=0&id=2bf0e569&lang=scss&scoped=true& */ 257); | |
459 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_style_index_0_id_2bf0e569_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_style_index_0_id_2bf0e569_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); | |
460 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_style_index_0_id_2bf0e569_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_style_index_0_id_2bf0e569_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |
461 | - /* harmony default export */ __webpack_exports__["default"] = (_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_button_vue_vue_type_style_index_0_id_2bf0e569_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); | |
462 | - | |
463 | -/***/ }), | |
464 | - | |
465 | -/***/ 257: | |
466 | -/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |
467 | - !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-button/u-button.vue?vue&type=style&index=0&id=2bf0e569&lang=scss&scoped=true& ***! | |
468 | - \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |
469 | -/*! no static exports found */ | |
470 | -/***/ (function(module, exports, __webpack_require__) { | |
471 | - | |
472 | -// extracted by mini-css-extract-plugin | |
473 | - if(false) { var cssReload; } | |
474 | - | |
475 | - | |
476 | -/***/ }) | |
477 | - | |
478 | -}]); | |
479 | -//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-button/u-button.js.map | |
480 | -;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | |
481 | - 'uni_modules/uview-ui/components/u-button/u-button-create-component', | |
482 | - { | |
483 | - 'uni_modules/uview-ui/components/u-button/u-button-create-component':(function(module, exports, __webpack_require__){ | |
484 | - __webpack_require__('1')['createComponent'](__webpack_require__(248)) | |
485 | - }) | |
486 | - }, | |
487 | - [['uni_modules/uview-ui/components/u-button/u-button-create-component']] | |
488 | -]); |
1 | -<button class="{{['u-button','u-reset-button','data-v-2bf0e569',bemClass]}}" style="{{$root.s0}}" hover-start-time="{{$root.m0}}" hover-stay-time="{{$root.m1}}" form-type="{{formType}}" open-type="{{openType}}" app-parameter="{{appParameter}}" hover-stop-propagation="{{hoverStopPropagation}}" send-message-title="{{sendMessageTitle}}" send-message-path="{{sendMessagePath}}" lang="{{lang}}" data-name="{{dataName}}" session-from="{{sessionFrom}}" send-message-img="{{sendMessageImg}}" show-message-card="{{showMessageCard}}" hover-class="{{!disabled&&!loading?'u-button--active':''}}" data-event-opts="{{[['getphonenumber',[['getphonenumber',['$event']]]],['getuserinfo',[['getuserinfo',['$event']]]],['error',[['error',['$event']]]],['opensetting',[['opensetting',['$event']]]],['launchapp',[['launchapp',['$event']]]],['tap',[['clickHandler',['$event']]]]]}}" bindgetphonenumber="__e" bindgetuserinfo="__e" binderror="__e" bindopensetting="__e" bindlaunchapp="__e" bindtap="__e"><block wx:if="{{loading}}"><u-loading-icon vue-id="522c48bd-1" mode="{{loadingMode}}" size="{{loadingSize*1.15}}" color="{{loadingColor}}" class="data-v-2bf0e569" bind:__l="__l"></u-loading-icon><text class="u-button__loading-text data-v-2bf0e569" style="{{'font-size:'+(textSize+'px')+';'}}">{{loadingText||text}}</text></block><block wx:else><block wx:if="{{icon}}"><u-icon vue-id="522c48bd-2" name="{{icon}}" color="{{iconColorCom}}" size="{{textSize*1.35}}" customStyle="{{({marginRight:'2px'})}}" class="data-v-2bf0e569" bind:__l="__l"></u-icon></block><block wx:if="{{$slots.default}}"><slot></slot></block><block wx:else><text class="u-button__text data-v-2bf0e569" style="{{'font-size:'+(textSize+'px')+';'}}">{{text}}</text></block></block></button> | |
\ No newline at end of file |
1 | -page.data-v-2bf0e569 { | |
2 | - width: 100%; | |
3 | - height: 100%; | |
4 | -} | |
5 | -.divid_line_horizen.data-v-2bf0e569 { | |
6 | - width: 100%; | |
7 | - height: 2rpx; | |
8 | - background-color: #f2f2f2; | |
9 | - align-self: center; | |
10 | - margin-top: 1rpx; | |
11 | -} | |
12 | -.input_warp .u-input__input.data-v-2bf0e569 { | |
13 | - font-size: 34rpx; | |
14 | -} | |
15 | -.button_warp .u-button .u-size-default.data-v-2bf0e569 { | |
16 | - font-size: 30rpx; | |
17 | - height: 96rpx; | |
18 | - line-height: 80rpx; | |
19 | -} | |
20 | -.button_warp .u-button .u-btn--primary--disabled.data-v-2bf0e569 { | |
21 | - color: rgba(0, 0, 0, 0.45) !important; | |
22 | - border-color: rgba(0, 0, 0, 0.06) !important; | |
23 | - background-color: rgba(0, 0, 0, 0.06) !important; | |
24 | -} | |
25 | -view.data-v-2bf0e569, scroll-view.data-v-2bf0e569, swiper-item.data-v-2bf0e569 { | |
26 | - display: flex; | |
27 | - flex-direction: column; | |
28 | - flex-shrink: 0; | |
29 | - flex-grow: 0; | |
30 | - flex-basis: auto; | |
31 | - align-items: stretch; | |
32 | - align-content: flex-start; | |
33 | -} | |
34 | -.u-button.data-v-2bf0e569 { | |
35 | - width: 100%; | |
36 | -} | |
37 | -.u-button__text.data-v-2bf0e569 { | |
38 | - white-space: nowrap; | |
39 | - line-height: 1; | |
40 | -} | |
41 | -.u-button.data-v-2bf0e569:before { | |
42 | - position: absolute; | |
43 | - top: 50%; | |
44 | - left: 50%; | |
45 | - width: 100%; | |
46 | - height: 100%; | |
47 | - border: inherit; | |
48 | - border-radius: inherit; | |
49 | - -webkit-transform: translate(-50%, -50%); | |
50 | - transform: translate(-50%, -50%); | |
51 | - opacity: 0; | |
52 | - content: " "; | |
53 | - background-color: #000; | |
54 | - border-color: #000; | |
55 | -} | |
56 | -.u-button--active.data-v-2bf0e569:before { | |
57 | - opacity: .15; | |
58 | -} | |
59 | -.u-button__icon + .u-button__text.data-v-2bf0e569:not(:empty), .u-button__loading-text.data-v-2bf0e569 { | |
60 | - margin-left: 4px; | |
61 | -} | |
62 | -.u-button--plain.u-button--primary.data-v-2bf0e569 { | |
63 | - color: #3c9cff; | |
64 | -} | |
65 | -.u-button--plain.u-button--info.data-v-2bf0e569 { | |
66 | - color: #909399; | |
67 | -} | |
68 | -.u-button--plain.u-button--success.data-v-2bf0e569 { | |
69 | - color: #5ac725; | |
70 | -} | |
71 | -.u-button--plain.u-button--error.data-v-2bf0e569 { | |
72 | - color: #f56c6c; | |
73 | -} | |
74 | -.u-button--plain.u-button--warning.data-v-2bf0e569 { | |
75 | - color: #f56c6c; | |
76 | -} | |
77 | -.u-button.data-v-2bf0e569 { | |
78 | - height: 40px; | |
79 | - position: relative; | |
80 | - align-items: center; | |
81 | - justify-content: center; | |
82 | - display: flex; | |
83 | - flex-direction: row; | |
84 | - box-sizing: border-box; | |
85 | - flex-direction: row; | |
86 | -} | |
87 | -.u-button__text.data-v-2bf0e569 { | |
88 | - font-size: 15px; | |
89 | -} | |
90 | -.u-button__loading-text.data-v-2bf0e569 { | |
91 | - font-size: 15px; | |
92 | - margin-left: 4px; | |
93 | -} | |
94 | -.u-button--large.data-v-2bf0e569 { | |
95 | - width: 100%; | |
96 | - height: 50px; | |
97 | - padding: 0 15px; | |
98 | -} | |
99 | -.u-button--normal.data-v-2bf0e569 { | |
100 | - padding: 0 12px; | |
101 | - font-size: 14px; | |
102 | -} | |
103 | -.u-button--small.data-v-2bf0e569 { | |
104 | - min-width: 60px; | |
105 | - height: 30px; | |
106 | - padding: 0px 8px; | |
107 | - font-size: 12px; | |
108 | -} | |
109 | -.u-button--mini.data-v-2bf0e569 { | |
110 | - height: 22px; | |
111 | - font-size: 10px; | |
112 | - min-width: 50px; | |
113 | - padding: 0px 8px; | |
114 | -} | |
115 | -.u-button--disabled.data-v-2bf0e569 { | |
116 | - opacity: 0.5; | |
117 | -} | |
118 | -.u-button--info.data-v-2bf0e569 { | |
119 | - color: #323233; | |
120 | - background-color: #fff; | |
121 | - border-color: #ebedf0; | |
122 | - border-width: 1px; | |
123 | - border-style: solid; | |
124 | -} | |
125 | -.u-button--success.data-v-2bf0e569 { | |
126 | - color: #fff; | |
127 | - background-color: #5ac725; | |
128 | - border-color: #5ac725; | |
129 | - border-width: 1px; | |
130 | - border-style: solid; | |
131 | -} | |
132 | -.u-button--primary.data-v-2bf0e569 { | |
133 | - color: #fff; | |
134 | - background-color: #3c9cff; | |
135 | - border-color: #3c9cff; | |
136 | - border-width: 1px; | |
137 | - border-style: solid; | |
138 | -} | |
139 | -.u-button--error.data-v-2bf0e569 { | |
140 | - color: #fff; | |
141 | - background-color: #f56c6c; | |
142 | - border-color: #f56c6c; | |
143 | - border-width: 1px; | |
144 | - border-style: solid; | |
145 | -} | |
146 | -.u-button--warning.data-v-2bf0e569 { | |
147 | - color: #fff; | |
148 | - background-color: #f9ae3d; | |
149 | - border-color: #f9ae3d; | |
150 | - border-width: 1px; | |
151 | - border-style: solid; | |
152 | -} | |
153 | -.u-button--block.data-v-2bf0e569 { | |
154 | - display: flex; | |
155 | - flex-direction: row; | |
156 | - width: 100%; | |
157 | -} | |
158 | -.u-button--circle.data-v-2bf0e569 { | |
159 | - border-top-right-radius: 100px; | |
160 | - border-top-left-radius: 100px; | |
161 | - border-bottom-left-radius: 100px; | |
162 | - border-bottom-right-radius: 100px; | |
163 | -} | |
164 | -.u-button--square.data-v-2bf0e569 { | |
165 | - border-bottom-left-radius: 3px; | |
166 | - border-bottom-right-radius: 3px; | |
167 | - border-top-left-radius: 3px; | |
168 | - border-top-right-radius: 3px; | |
169 | -} | |
170 | -.u-button__icon.data-v-2bf0e569 { | |
171 | - min-width: 1em; | |
172 | - line-height: inherit !important; | |
173 | - vertical-align: top; | |
174 | -} | |
175 | -.u-button--plain.data-v-2bf0e569 { | |
176 | - background-color: #fff; | |
177 | -} | |
178 | -.u-button--hairline.data-v-2bf0e569 { | |
179 | - border-width: 0.5px !important; | |
180 | -} | |
181 | - |
1 | -(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group"],{ | |
2 | - | |
3 | -/***/ 207: | |
4 | -/*!*******************************************************************************************************************!*\ | |
5 | - !*** /Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue ***! | |
6 | - \*******************************************************************************************************************/ | |
7 | -/*! no static exports found */ | |
8 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
9 | - | |
10 | -"use strict"; | |
11 | -__webpack_require__.r(__webpack_exports__); | |
12 | -/* harmony import */ var _u_checkbox_group_vue_vue_type_template_id_2ef8bac9_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./u-checkbox-group.vue?vue&type=template&id=2ef8bac9&scoped=true& */ 208); | |
13 | -/* harmony import */ var _u_checkbox_group_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./u-checkbox-group.vue?vue&type=script&lang=js& */ 210); | |
14 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _u_checkbox_group_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _u_checkbox_group_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |
15 | -/* harmony import */ var _u_checkbox_group_vue_vue_type_style_index_0_id_2ef8bac9_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./u-checkbox-group.vue?vue&type=style&index=0&id=2ef8bac9&lang=scss&scoped=true& */ 213); | |
16 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 15); | |
17 | - | |
18 | -var renderjs | |
19 | - | |
20 | - | |
21 | - | |
22 | - | |
23 | - | |
24 | -/* normalize component */ | |
25 | - | |
26 | -var component = Object(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( | |
27 | - _u_checkbox_group_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | |
28 | - _u_checkbox_group_vue_vue_type_template_id_2ef8bac9_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], | |
29 | - _u_checkbox_group_vue_vue_type_template_id_2ef8bac9_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | |
30 | - false, | |
31 | - null, | |
32 | - "2ef8bac9", | |
33 | - null, | |
34 | - false, | |
35 | - _u_checkbox_group_vue_vue_type_template_id_2ef8bac9_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], | |
36 | - renderjs | |
37 | -) | |
38 | - | |
39 | -component.options.__file = "uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue" | |
40 | -/* harmony default export */ __webpack_exports__["default"] = (component.exports); | |
41 | - | |
42 | -/***/ }), | |
43 | - | |
44 | -/***/ 208: | |
45 | -/*!**************************************************************************************************************************************************************!*\ | |
46 | - !*** /Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue?vue&type=template&id=2ef8bac9&scoped=true& ***! | |
47 | - \**************************************************************************************************************************************************************/ | |
48 | -/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |
49 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
50 | - | |
51 | -"use strict"; | |
52 | -__webpack_require__.r(__webpack_exports__); | |
53 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_group_vue_vue_type_template_id_2ef8bac9_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-checkbox-group.vue?vue&type=template&id=2ef8bac9&scoped=true& */ 209); | |
54 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_group_vue_vue_type_template_id_2ef8bac9_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | |
55 | - | |
56 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_group_vue_vue_type_template_id_2ef8bac9_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | |
57 | - | |
58 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_group_vue_vue_type_template_id_2ef8bac9_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); | |
59 | - | |
60 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_group_vue_vue_type_template_id_2ef8bac9_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); | |
61 | - | |
62 | - | |
63 | - | |
64 | -/***/ }), | |
65 | - | |
66 | -/***/ 209: | |
67 | -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |
68 | - !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue?vue&type=template&id=2ef8bac9&scoped=true& ***! | |
69 | - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |
70 | -/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |
71 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
72 | - | |
73 | -"use strict"; | |
74 | -__webpack_require__.r(__webpack_exports__); | |
75 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | |
76 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | |
77 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); | |
78 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); | |
79 | -var components | |
80 | -var render = function() { | |
81 | - var _vm = this | |
82 | - var _h = _vm.$createElement | |
83 | - var _c = _vm._self._c || _h | |
84 | -} | |
85 | -var recyclableRender = false | |
86 | -var staticRenderFns = [] | |
87 | -render._withStripped = true | |
88 | - | |
89 | - | |
90 | - | |
91 | -/***/ }), | |
92 | - | |
93 | -/***/ 210: | |
94 | -/*!********************************************************************************************************************************************!*\ | |
95 | - !*** /Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue?vue&type=script&lang=js& ***! | |
96 | - \********************************************************************************************************************************************/ | |
97 | -/*! no static exports found */ | |
98 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
99 | - | |
100 | -"use strict"; | |
101 | -__webpack_require__.r(__webpack_exports__); | |
102 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_group_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-checkbox-group.vue?vue&type=script&lang=js& */ 211); | |
103 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_group_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_group_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | |
104 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_group_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_group_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |
105 | - /* harmony default export */ __webpack_exports__["default"] = (_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_group_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | |
106 | - | |
107 | -/***/ }), | |
108 | - | |
109 | -/***/ 211: | |
110 | -/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |
111 | - !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue?vue&type=script&lang=js& ***! | |
112 | - \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |
113 | -/*! no static exports found */ | |
114 | -/***/ (function(module, exports, __webpack_require__) { | |
115 | - | |
116 | -"use strict"; | |
117 | -/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; | |
118 | - | |
119 | - | |
120 | - | |
121 | - | |
122 | - | |
123 | - | |
124 | - | |
125 | - | |
126 | - | |
127 | -var _props = _interopRequireDefault(__webpack_require__(/*! ./props.js */ 212));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // | |
128 | -// | |
129 | -// | |
130 | -// | |
131 | -// | |
132 | -// | |
133 | -// | |
134 | -// | |
135 | -// | |
136 | -/** | |
137 | - * checkboxGroup 复选框组 | |
138 | - * @description 复选框组件一般用于需要多个选择的场景,该组件功能完整,使用方便 | |
139 | - * @tutorial https://www.uviewui.com/components/checkbox.html | |
140 | - * @property {String} name 标识符 | |
141 | - * @property {Array} value 绑定的值 | |
142 | - * @property {String} shape 形状,circle-圆形,square-方形 (默认 'square' ) | |
143 | - * @property {Boolean} disabled 是否禁用全部checkbox (默认 false ) | |
144 | - * @property {String} activeColor 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值 (默认 '#2979ff' ) | |
145 | - * @property {String} inactiveColor 未选中的颜色 (默认 '#c8c9cc' ) | |
146 | - * @property {String | Number} size 整个组件的尺寸 单位px (默认 18 ) | |
147 | - * @property {String} placement 布局方式,row-横向,column-纵向 (默认 'row' ) | |
148 | - * @property {String | Number} labelSize label的字体大小,px单位 (默认 14 ) | |
149 | - * @property {String} labelColor label的字体颜色 (默认 '#303133' ) | |
150 | - * @property {Boolean} labelDisabled 是否禁止点击文本操作 (默认 false ) | |
151 | - * @property {String} iconColor 图标颜色 (默认 '#ffffff' ) | |
152 | - * @property {String | Number} iconSize 图标的大小,单位px (默认 12 ) | |
153 | - * @property {String} iconPlacement 勾选图标的对齐方式,left-左边,right-右边 (默认 'left' ) | |
154 | - * @property {Boolean} borderBottom placement为row时,是否显示下边框 (默认 false ) | |
155 | - * @event {Function} change 任一个checkbox状态发生变化时触发,回调为一个对象 | |
156 | - * @event {Function} input 修改通过v-model绑定的值时触发,回调为一个对象 | |
157 | - * @example <u-checkbox-group></u-checkbox-group> | |
158 | - */var _default = { name: 'u-checkbox-group', mixins: [uni.$u.mpMixin, uni.$u.mixin, _props.default], computed: { // 这里computed的变量,都是子组件u-checkbox需要用到的,由于头条小程序的兼容性差异,子组件无法实时监听父组件参数的变化 | |
159 | - // 所以需要手动通知子组件,这里返回一个parentData变量,供watch监听,在其中去通知每一个子组件重新从父组件(u-checkbox-group) | |
160 | - // 拉取父组件新的变化后的参数 | |
161 | - parentData: function parentData() {return [this.value, this.disabled, this.inactiveColor, this.activeColor, this.size, this.labelDisabled, this.shape, this.iconSize, this.borderBottom, this.placement]; | |
162 | - }, | |
163 | - bemClass: function bemClass() { | |
164 | - // this.bem为一个computed变量,在mixin中 | |
165 | - return this.bem('checkbox-group', ['placement']); | |
166 | - } }, | |
167 | - | |
168 | - watch: { | |
169 | - // 当父组件需要子组件需要共享的参数发生了变化,手动通知子组件 | |
170 | - parentData: function parentData() { | |
171 | - if (this.children.length) { | |
172 | - this.children.map(function (child) { | |
173 | - // 判断子组件(u-checkbox)如果有init方法的话,就就执行(执行的结果是子组件重新从父组件拉取了最新的值) | |
174 | - typeof child.init === 'function' && child.init(); | |
175 | - }); | |
176 | - } | |
177 | - } }, | |
178 | - | |
179 | - data: function data() { | |
180 | - return {}; | |
181 | - | |
182 | - | |
183 | - }, | |
184 | - created: function created() { | |
185 | - this.children = []; | |
186 | - }, | |
187 | - methods: { | |
188 | - // 将其他的checkbox设置为未选中的状态 | |
189 | - unCheckedOther: function unCheckedOther(childInstance) { | |
190 | - var values = []; | |
191 | - this.children.map(function (child) { | |
192 | - // 将被选中的checkbox,放到数组中返回 | |
193 | - if (child.isChecked) { | |
194 | - values.push(child.name); | |
195 | - } | |
196 | - }); | |
197 | - // 发出事件 | |
198 | - this.$emit('change', values); | |
199 | - // 修改通过v-model绑定的值 | |
200 | - this.$emit('input', values); | |
201 | - } } };exports.default = _default; | |
202 | -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"])) | |
203 | - | |
204 | -/***/ }), | |
205 | - | |
206 | -/***/ 213: | |
207 | -/*!*****************************************************************************************************************************************************************************!*\ | |
208 | - !*** /Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue?vue&type=style&index=0&id=2ef8bac9&lang=scss&scoped=true& ***! | |
209 | - \*****************************************************************************************************************************************************************************/ | |
210 | -/*! no static exports found */ | |
211 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
212 | - | |
213 | -"use strict"; | |
214 | -__webpack_require__.r(__webpack_exports__); | |
215 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_group_vue_vue_type_style_index_0_id_2ef8bac9_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-checkbox-group.vue?vue&type=style&index=0&id=2ef8bac9&lang=scss&scoped=true& */ 214); | |
216 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_group_vue_vue_type_style_index_0_id_2ef8bac9_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_group_vue_vue_type_style_index_0_id_2ef8bac9_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); | |
217 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_group_vue_vue_type_style_index_0_id_2ef8bac9_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_group_vue_vue_type_style_index_0_id_2ef8bac9_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |
218 | - /* harmony default export */ __webpack_exports__["default"] = (_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_group_vue_vue_type_style_index_0_id_2ef8bac9_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); | |
219 | - | |
220 | -/***/ }), | |
221 | - | |
222 | -/***/ 214: | |
223 | -/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |
224 | - !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.vue?vue&type=style&index=0&id=2ef8bac9&lang=scss&scoped=true& ***! | |
225 | - \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |
226 | -/*! no static exports found */ | |
227 | -/***/ (function(module, exports, __webpack_require__) { | |
228 | - | |
229 | -// extracted by mini-css-extract-plugin | |
230 | - if(false) { var cssReload; } | |
231 | - | |
232 | - | |
233 | -/***/ }) | |
234 | - | |
235 | -}]); | |
236 | -//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group.js.map | |
237 | -;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | |
238 | - 'uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group-create-component', | |
239 | - { | |
240 | - 'uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group-create-component':(function(module, exports, __webpack_require__){ | |
241 | - __webpack_require__('1')['createComponent'](__webpack_require__(207)) | |
242 | - }) | |
243 | - }, | |
244 | - [['uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group-create-component']] | |
245 | -]); |
1 | -<view class="{{['u-checkbox-group','data-v-2ef8bac9',bemClass]}}"><slot></slot></view> | |
\ No newline at end of file |
1 | -page.data-v-2ef8bac9 { | |
2 | - width: 100%; | |
3 | - height: 100%; | |
4 | -} | |
5 | -.divid_line_horizen.data-v-2ef8bac9 { | |
6 | - width: 100%; | |
7 | - height: 2rpx; | |
8 | - background-color: #f2f2f2; | |
9 | - align-self: center; | |
10 | - margin-top: 1rpx; | |
11 | -} | |
12 | -.input_warp .u-input__input.data-v-2ef8bac9 { | |
13 | - font-size: 34rpx; | |
14 | -} | |
15 | -.button_warp .u-button .u-size-default.data-v-2ef8bac9 { | |
16 | - font-size: 30rpx; | |
17 | - height: 96rpx; | |
18 | - line-height: 80rpx; | |
19 | -} | |
20 | -.button_warp .u-button .u-btn--primary--disabled.data-v-2ef8bac9 { | |
21 | - color: rgba(0, 0, 0, 0.45) !important; | |
22 | - border-color: rgba(0, 0, 0, 0.06) !important; | |
23 | - background-color: rgba(0, 0, 0, 0.06) !important; | |
24 | -} | |
25 | -view.data-v-2ef8bac9, scroll-view.data-v-2ef8bac9, swiper-item.data-v-2ef8bac9 { | |
26 | - display: flex; | |
27 | - flex-direction: column; | |
28 | - flex-shrink: 0; | |
29 | - flex-grow: 0; | |
30 | - flex-basis: auto; | |
31 | - align-items: stretch; | |
32 | - align-content: flex-start; | |
33 | -} | |
34 | -.u-checkbox-group--row.data-v-2ef8bac9 { | |
35 | - display: flex; | |
36 | - flex-direction: row; | |
37 | -} | |
38 | -.u-checkbox-group--column.data-v-2ef8bac9 { | |
39 | - display: flex; | |
40 | - flex-direction: column; | |
41 | -} | |
42 | - |
unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-checkbox/u-checkbox.js
已删除
100644 → 0
1 | -(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["uni_modules/uview-ui/components/u-checkbox/u-checkbox"],{ | |
2 | - | |
3 | -/***/ 215: | |
4 | -/*!*******************************************************************************************************!*\ | |
5 | - !*** /Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox/u-checkbox.vue ***! | |
6 | - \*******************************************************************************************************/ | |
7 | -/*! no static exports found */ | |
8 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
9 | - | |
10 | -"use strict"; | |
11 | -__webpack_require__.r(__webpack_exports__); | |
12 | -/* harmony import */ var _u_checkbox_vue_vue_type_template_id_c4a74aee_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./u-checkbox.vue?vue&type=template&id=c4a74aee&scoped=true& */ 216); | |
13 | -/* harmony import */ var _u_checkbox_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./u-checkbox.vue?vue&type=script&lang=js& */ 218); | |
14 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _u_checkbox_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _u_checkbox_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |
15 | -/* harmony import */ var _u_checkbox_vue_vue_type_style_index_0_id_c4a74aee_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./u-checkbox.vue?vue&type=style&index=0&id=c4a74aee&lang=scss&scoped=true& */ 221); | |
16 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 15); | |
17 | - | |
18 | -var renderjs | |
19 | - | |
20 | - | |
21 | - | |
22 | - | |
23 | - | |
24 | -/* normalize component */ | |
25 | - | |
26 | -var component = Object(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( | |
27 | - _u_checkbox_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | |
28 | - _u_checkbox_vue_vue_type_template_id_c4a74aee_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], | |
29 | - _u_checkbox_vue_vue_type_template_id_c4a74aee_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | |
30 | - false, | |
31 | - null, | |
32 | - "c4a74aee", | |
33 | - null, | |
34 | - false, | |
35 | - _u_checkbox_vue_vue_type_template_id_c4a74aee_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], | |
36 | - renderjs | |
37 | -) | |
38 | - | |
39 | -component.options.__file = "uni_modules/uview-ui/components/u-checkbox/u-checkbox.vue" | |
40 | -/* harmony default export */ __webpack_exports__["default"] = (component.exports); | |
41 | - | |
42 | -/***/ }), | |
43 | - | |
44 | -/***/ 216: | |
45 | -/*!**************************************************************************************************************************************************!*\ | |
46 | - !*** /Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox/u-checkbox.vue?vue&type=template&id=c4a74aee&scoped=true& ***! | |
47 | - \**************************************************************************************************************************************************/ | |
48 | -/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |
49 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
50 | - | |
51 | -"use strict"; | |
52 | -__webpack_require__.r(__webpack_exports__); | |
53 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_vue_vue_type_template_id_c4a74aee_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-checkbox.vue?vue&type=template&id=c4a74aee&scoped=true& */ 217); | |
54 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_vue_vue_type_template_id_c4a74aee_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | |
55 | - | |
56 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_vue_vue_type_template_id_c4a74aee_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | |
57 | - | |
58 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_vue_vue_type_template_id_c4a74aee_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); | |
59 | - | |
60 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_vue_vue_type_template_id_c4a74aee_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); | |
61 | - | |
62 | - | |
63 | - | |
64 | -/***/ }), | |
65 | - | |
66 | -/***/ 217: | |
67 | -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |
68 | - !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox/u-checkbox.vue?vue&type=template&id=c4a74aee&scoped=true& ***! | |
69 | - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |
70 | -/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |
71 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
72 | - | |
73 | -"use strict"; | |
74 | -__webpack_require__.r(__webpack_exports__); | |
75 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | |
76 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | |
77 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); | |
78 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); | |
79 | -var components | |
80 | -try { | |
81 | - components = { | |
82 | - uIcon: function() { | |
83 | - return Promise.all(/*! import() | uni_modules/uview-ui/components/u-icon/u-icon */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-icon/u-icon")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-icon/u-icon.vue */ 282)) | |
84 | - } | |
85 | - } | |
86 | -} catch (e) { | |
87 | - if ( | |
88 | - e.message.indexOf("Cannot find module") !== -1 && | |
89 | - e.message.indexOf(".vue") !== -1 | |
90 | - ) { | |
91 | - console.error(e.message) | |
92 | - console.error("1. 排查组件名称拼写是否正确") | |
93 | - console.error( | |
94 | - "2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom" | |
95 | - ) | |
96 | - console.error( | |
97 | - "3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件" | |
98 | - ) | |
99 | - } else { | |
100 | - throw e | |
101 | - } | |
102 | -} | |
103 | -var render = function() { | |
104 | - var _vm = this | |
105 | - var _h = _vm.$createElement | |
106 | - var _c = _vm._self._c || _h | |
107 | - var s0 = _vm.__get_style([_vm.checkboxStyle]) | |
108 | - | |
109 | - var s1 = _vm.__get_style([_vm.iconWrapStyle]) | |
110 | - | |
111 | - _vm.$mp.data = Object.assign( | |
112 | - {}, | |
113 | - { | |
114 | - $root: { | |
115 | - s0: s0, | |
116 | - s1: s1 | |
117 | - } | |
118 | - } | |
119 | - ) | |
120 | -} | |
121 | -var recyclableRender = false | |
122 | -var staticRenderFns = [] | |
123 | -render._withStripped = true | |
124 | - | |
125 | - | |
126 | - | |
127 | -/***/ }), | |
128 | - | |
129 | -/***/ 218: | |
130 | -/*!********************************************************************************************************************************!*\ | |
131 | - !*** /Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox/u-checkbox.vue?vue&type=script&lang=js& ***! | |
132 | - \********************************************************************************************************************************/ | |
133 | -/*! no static exports found */ | |
134 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
135 | - | |
136 | -"use strict"; | |
137 | -__webpack_require__.r(__webpack_exports__); | |
138 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-checkbox.vue?vue&type=script&lang=js& */ 219); | |
139 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | |
140 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |
141 | - /* harmony default export */ __webpack_exports__["default"] = (_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | |
142 | - | |
143 | -/***/ }), | |
144 | - | |
145 | -/***/ 219: | |
146 | -/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |
147 | - !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox/u-checkbox.vue?vue&type=script&lang=js& ***! | |
148 | - \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |
149 | -/*! no static exports found */ | |
150 | -/***/ (function(module, exports, __webpack_require__) { | |
151 | - | |
152 | -"use strict"; | |
153 | -/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; | |
154 | - | |
155 | - | |
156 | - | |
157 | - | |
158 | - | |
159 | - | |
160 | - | |
161 | - | |
162 | - | |
163 | - | |
164 | - | |
165 | - | |
166 | - | |
167 | - | |
168 | - | |
169 | - | |
170 | - | |
171 | - | |
172 | - | |
173 | - | |
174 | - | |
175 | - | |
176 | - | |
177 | - | |
178 | - | |
179 | - | |
180 | - | |
181 | - | |
182 | - | |
183 | - | |
184 | - | |
185 | - | |
186 | - | |
187 | -var _props = _interopRequireDefault(__webpack_require__(/*! ./props.js */ 220));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // | |
188 | -// | |
189 | -// | |
190 | -// | |
191 | -// | |
192 | -// | |
193 | -// | |
194 | -// | |
195 | -// | |
196 | -// | |
197 | -// | |
198 | -// | |
199 | -// | |
200 | -// | |
201 | -// | |
202 | -// | |
203 | -// | |
204 | -// | |
205 | -// | |
206 | -// | |
207 | -// | |
208 | -// | |
209 | -// | |
210 | -// | |
211 | -// | |
212 | -// | |
213 | -// | |
214 | -// | |
215 | -// | |
216 | -// | |
217 | -// | |
218 | -// | |
219 | -// | |
220 | -/** | |
221 | - * checkbox 复选框 | |
222 | - * @description 复选框组件一般用于需要多个选择的场景,该组件功能完整,使用方便 | |
223 | - * @tutorial https://uviewui.com/components/checkbox.html | |
224 | - * @property {String | Number | Boolean} name checkbox组件的标示符 | |
225 | - * @property {String} shape 形状,square为方形,circle为圆型 | |
226 | - * @property {String | Number} size 整体的大小 | |
227 | - * @property {Boolean} checked 是否默认选中 | |
228 | - * @property {String | Boolean} disabled 是否禁用 | |
229 | - * @property {String} activeColor 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值 | |
230 | - * @property {String} inactiveColor 未选中的颜色 | |
231 | - * @property {String | Number} iconSize 图标的大小,单位px | |
232 | - * @property {String} iconColor 图标颜色 | |
233 | - * @property {String | Number} label label提示文字,因为nvue下,直接slot进来的文字,由于特殊的结构,无法修改样式 | |
234 | - * @property {String} labelColor label的颜色 | |
235 | - * @property {String | Number} labelSize label的字体大小,px单位 | |
236 | - * @property {String | Boolean} labelDisabled 是否禁止点击提示语选中复选框 | |
237 | - * @property {Object} customStyle 定义需要用到的外部样式 | |
238 | - * | |
239 | - * @event {Function} change 任一个checkbox状态发生变化时触发,回调为一个对象 | |
240 | - * @example <u-checkbox v-model="checked" :disabled="false">天涯</u-checkbox> | |
241 | - */var _default = { name: "u-checkbox", mixins: [uni.$u.mpMixin, uni.$u.mixin, _props.default], data: function data() {return { isChecked: false, // 父组件的默认值,因为头条小程序不支持在computed中使用this.parent.shape的形式 | |
242 | - // 故只能使用如此方法 | |
243 | - parentData: { iconSize: 12, labelDisabled: null, disabled: null, shape: 'square', activeColor: null, inactiveColor: null, size: 18, value: null, iconColor: null, placement: 'row', borderBottom: false, iconPlacement: 'left' } };}, computed: { // 是否禁用,如果父组件u-raios-group禁用的话,将会忽略子组件的配置 | |
244 | - elDisabled: function elDisabled() {return this.disabled !== '' ? this.disabled : this.parentData.disabled !== null ? this.parentData.disabled : false;}, // 是否禁用label点击 | |
245 | - elLabelDisabled: function elLabelDisabled() {return this.labelDisabled !== '' ? this.labelDisabled : this.parentData.labelDisabled !== null ? this.parentData.labelDisabled : false;}, // 组件尺寸,对应size的值,默认值为21px | |
246 | - elSize: function elSize() {return this.size ? this.size : this.parentData.size ? this.parentData.size : 21; | |
247 | - }, | |
248 | - // 组件的勾选图标的尺寸,默认12px | |
249 | - elIconSize: function elIconSize() { | |
250 | - return this.iconSize ? this.iconSize : this.parentData.iconSize ? this.parentData.iconSize : 12; | |
251 | - }, | |
252 | - // 组件选中激活时的颜色 | |
253 | - elActiveColor: function elActiveColor() { | |
254 | - return this.activeColor ? this.activeColor : this.parentData.activeColor ? this.parentData.activeColor : '#2979ff'; | |
255 | - }, | |
256 | - // 组件选未中激活时的颜色 | |
257 | - elInactiveColor: function elInactiveColor() { | |
258 | - return this.inactiveColor ? this.inactiveColor : this.parentData.inactiveColor ? this.parentData.inactiveColor : | |
259 | - '#c8c9cc'; | |
260 | - }, | |
261 | - // label的颜色 | |
262 | - elLabelColor: function elLabelColor() { | |
263 | - return this.labelColor ? this.labelColor : this.parentData.labelColor ? this.parentData.labelColor : '#606266'; | |
264 | - }, | |
265 | - // 组件的形状 | |
266 | - elShape: function elShape() { | |
267 | - return this.shape ? this.shape : this.parentData.shape ? this.parentData.shape : 'circle'; | |
268 | - }, | |
269 | - // label大小 | |
270 | - elLabelSize: function elLabelSize() { | |
271 | - return uni.$u.addUnit(this.labelSize ? this.labelSize : this.parentData.labelSize ? this.parentData.labelSize : | |
272 | - '15'); | |
273 | - }, | |
274 | - elIconColor: function elIconColor() { | |
275 | - var iconColor = this.iconColor ? this.iconColor : this.parentData.iconColor ? this.parentData.iconColor : | |
276 | - '#ffffff'; | |
277 | - // 图标的颜色 | |
278 | - if (this.elDisabled) { | |
279 | - // disabled状态下,已勾选的checkbox图标改为elInactiveColor | |
280 | - return this.isChecked ? this.elInactiveColor : 'transparent'; | |
281 | - } else { | |
282 | - return this.isChecked ? iconColor : 'transparent'; | |
283 | - } | |
284 | - }, | |
285 | - iconClasses: function iconClasses() { | |
286 | - var classes = []; | |
287 | - // 组件的形状 | |
288 | - classes.push('u-checkbox__icon-wrap--' + this.elShape); | |
289 | - if (this.elDisabled) { | |
290 | - classes.push('u-checkbox__icon-wrap--disabled'); | |
291 | - } | |
292 | - if (this.isChecked && this.elDisabled) { | |
293 | - classes.push('u-checkbox__icon-wrap--disabled--checked'); | |
294 | - } | |
295 | - // 支付宝,头条小程序无法动态绑定一个数组类名,否则解析出来的结果会带有",",而导致失效 | |
296 | - | |
297 | - | |
298 | - | |
299 | - return classes; | |
300 | - }, | |
301 | - iconWrapStyle: function iconWrapStyle() { | |
302 | - // checkbox的整体样式 | |
303 | - var style = {}; | |
304 | - style.backgroundColor = this.isChecked && !this.elDisabled ? this.elActiveColor : '#ffffff'; | |
305 | - style.borderColor = this.isChecked && !this.elDisabled ? this.elActiveColor : this.elInactiveColor; | |
306 | - style.width = uni.$u.addUnit(this.elSize); | |
307 | - style.height = uni.$u.addUnit(this.elSize); | |
308 | - // 如果是图标在右边的话,移除它的右边距 | |
309 | - if (this.parentData.iconPlacement === 'right') { | |
310 | - style.marginRight = 0; | |
311 | - } | |
312 | - return style; | |
313 | - }, | |
314 | - checkboxStyle: function checkboxStyle() { | |
315 | - var style = {}; | |
316 | - if (this.parentData.borderBottom && this.parentData.placement === 'row') { | |
317 | - uni.$u.error('检测到您将borderBottom设置为true,需要同时将u-checkbox-group的placement设置为column才有效'); | |
318 | - } | |
319 | - // 当父组件设置了显示下边框并且排列形式为纵向时,给内容和边框之间加上一定间隔 | |
320 | - if (this.parentData.borderBottom && this.parentData.placement === 'column') { | |
321 | - style.paddingBottom = '8px'; | |
322 | - } | |
323 | - return uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle)); | |
324 | - } }, | |
325 | - | |
326 | - mounted: function mounted() { | |
327 | - this.init(); | |
328 | - }, | |
329 | - methods: { | |
330 | - init: function init() {var _this = this; | |
331 | - // 支付宝小程序不支持provide/inject,所以使用这个方法获取整个父组件,在created定义,避免循环引用 | |
332 | - this.updateParentData(); | |
333 | - if (!this.parent) { | |
334 | - uni.$u.error('u-checkbox必须搭配u-checkbox-group组件使用'); | |
335 | - } | |
336 | - // 设置初始化时,是否默认选中的状态,父组件u-checkbox-group的value可能是array,所以额外判断 | |
337 | - if (this.checked) { | |
338 | - this.isChecked = true; | |
339 | - } else if (uni.$u.test.array(this.parentData.value)) { | |
340 | - // 查找数组是是否存在this.name元素值 | |
341 | - this.isChecked = this.parentData.value.some(function (item) { | |
342 | - return item === _this.name; | |
343 | - }); | |
344 | - } | |
345 | - }, | |
346 | - updateParentData: function updateParentData() { | |
347 | - this.getParentData('u-checkbox-group'); | |
348 | - }, | |
349 | - // 横向两端排列时,点击组件即可触发选中事件 | |
350 | - wrapperClickHandler: function wrapperClickHandler(e) { | |
351 | - this.parentData.iconPlacement === 'right' && this.iconClickHandler(e); | |
352 | - }, | |
353 | - // 点击图标 | |
354 | - iconClickHandler: function iconClickHandler(e) { | |
355 | - this.preventEvent(e); | |
356 | - // 如果整体被禁用,不允许被点击 | |
357 | - if (!this.elDisabled) { | |
358 | - this.setRadioCheckedStatus(); | |
359 | - } | |
360 | - }, | |
361 | - // 点击label | |
362 | - labelClickHandler: function labelClickHandler(e) { | |
363 | - this.preventEvent(e); | |
364 | - // 如果按钮整体被禁用或者label被禁用,则不允许点击文字修改状态 | |
365 | - if (!this.elLabelDisabled && !this.elDisabled) { | |
366 | - this.setRadioCheckedStatus(); | |
367 | - } | |
368 | - }, | |
369 | - emitEvent: function emitEvent() {var _this2 = this; | |
370 | - this.$emit('change', this.isChecked); | |
371 | - // 尝试调用u-form的验证方法,进行一定延迟,否则微信小程序更新可能会不及时 | |
372 | - this.$nextTick(function () { | |
373 | - uni.$u.formValidate(_this2, 'change'); | |
374 | - }); | |
375 | - }, | |
376 | - // 改变组件选中状态 | |
377 | - // 这里的改变的依据是,更改本组件的checked值为true,同时通过父组件遍历所有u-checkbox实例 | |
378 | - // 将本组件外的其他u-checkbox的checked都设置为false(都被取消选中状态),因而只剩下一个为选中状态 | |
379 | - setRadioCheckedStatus: function setRadioCheckedStatus() { | |
380 | - // 将本组件标记为与原来相反的状态 | |
381 | - this.isChecked = !this.isChecked; | |
382 | - this.emitEvent(); | |
383 | - typeof this.parent.unCheckedOther === 'function' && this.parent.unCheckedOther(this); | |
384 | - } }, | |
385 | - | |
386 | - watch: { | |
387 | - checked: function checked() { | |
388 | - this.isChecked = this.checked; | |
389 | - } } };exports.default = _default; | |
390 | -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"])) | |
391 | - | |
392 | -/***/ }), | |
393 | - | |
394 | -/***/ 221: | |
395 | -/*!*****************************************************************************************************************************************************************!*\ | |
396 | - !*** /Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox/u-checkbox.vue?vue&type=style&index=0&id=c4a74aee&lang=scss&scoped=true& ***! | |
397 | - \*****************************************************************************************************************************************************************/ | |
398 | -/*! no static exports found */ | |
399 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
400 | - | |
401 | -"use strict"; | |
402 | -__webpack_require__.r(__webpack_exports__); | |
403 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_vue_vue_type_style_index_0_id_c4a74aee_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-checkbox.vue?vue&type=style&index=0&id=c4a74aee&lang=scss&scoped=true& */ 222); | |
404 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_vue_vue_type_style_index_0_id_c4a74aee_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_vue_vue_type_style_index_0_id_c4a74aee_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); | |
405 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_vue_vue_type_style_index_0_id_c4a74aee_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_vue_vue_type_style_index_0_id_c4a74aee_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |
406 | - /* harmony default export */ __webpack_exports__["default"] = (_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_checkbox_vue_vue_type_style_index_0_id_c4a74aee_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); | |
407 | - | |
408 | -/***/ }), | |
409 | - | |
410 | -/***/ 222: | |
411 | -/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |
412 | - !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-checkbox/u-checkbox.vue?vue&type=style&index=0&id=c4a74aee&lang=scss&scoped=true& ***! | |
413 | - \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |
414 | -/*! no static exports found */ | |
415 | -/***/ (function(module, exports, __webpack_require__) { | |
416 | - | |
417 | -// extracted by mini-css-extract-plugin | |
418 | - if(false) { var cssReload; } | |
419 | - | |
420 | - | |
421 | -/***/ }) | |
422 | - | |
423 | -}]); | |
424 | -//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-checkbox/u-checkbox.js.map | |
425 | -;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | |
426 | - 'uni_modules/uview-ui/components/u-checkbox/u-checkbox-create-component', | |
427 | - { | |
428 | - 'uni_modules/uview-ui/components/u-checkbox/u-checkbox-create-component':(function(module, exports, __webpack_require__){ | |
429 | - __webpack_require__('1')['createComponent'](__webpack_require__(215)) | |
430 | - }) | |
431 | - }, | |
432 | - [['uni_modules/uview-ui/components/u-checkbox/u-checkbox-create-component']] | |
433 | -]); |
unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-checkbox/u-checkbox.wxml
已删除
100644 → 0
1 | -<view data-event-opts="{{[['tap',[['wrapperClickHandler',['$event']]]]]}}" class="{{['u-checkbox','data-v-c4a74aee','u-checkbox-label--'+parentData.iconPlacement,parentData.borderBottom&&parentData.placement==='column'&&'u-border-bottom']}}" style="{{$root.s0}}" catchtap="__e"><view data-event-opts="{{[['tap',[['iconClickHandler',['$event']]]]]}}" class="{{['u-checkbox__icon-wrap','data-v-c4a74aee',iconClasses]}}" style="{{$root.s1}}" catchtap="__e"><block wx:if="{{$slots.icon}}"><slot name="icon"></slot></block><block wx:else><u-icon class="u-checkbox__icon-wrap__icon data-v-c4a74aee" vue-id="17df779d-1" name="checkbox-mark" size="{{elIconSize}}" color="{{elIconColor}}" bind:__l="__l"></u-icon></block></view><text data-event-opts="{{[['tap',[['labelClickHandler',['$event']]]]]}}" style="{{'color:'+(elDisabled?elInactiveColor:elLabelColor)+';'+('font-size:'+(elLabelSize)+';')+('line-height:'+(elLabelSize)+';')}}" catchtap="__e" class="data-v-c4a74aee">{{label}}</text></view> | |
\ No newline at end of file |
unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-checkbox/u-checkbox.wxss
已删除
100644 → 0
1 | -page.data-v-c4a74aee { | |
2 | - width: 100%; | |
3 | - height: 100%; | |
4 | -} | |
5 | -.divid_line_horizen.data-v-c4a74aee { | |
6 | - width: 100%; | |
7 | - height: 2rpx; | |
8 | - background-color: #f2f2f2; | |
9 | - align-self: center; | |
10 | - margin-top: 1rpx; | |
11 | -} | |
12 | -.input_warp .u-input__input.data-v-c4a74aee { | |
13 | - font-size: 34rpx; | |
14 | -} | |
15 | -.button_warp .u-button .u-size-default.data-v-c4a74aee { | |
16 | - font-size: 30rpx; | |
17 | - height: 96rpx; | |
18 | - line-height: 80rpx; | |
19 | -} | |
20 | -.button_warp .u-button .u-btn--primary--disabled.data-v-c4a74aee { | |
21 | - color: rgba(0, 0, 0, 0.45) !important; | |
22 | - border-color: rgba(0, 0, 0, 0.06) !important; | |
23 | - background-color: rgba(0, 0, 0, 0.06) !important; | |
24 | -} | |
25 | -view.data-v-c4a74aee, scroll-view.data-v-c4a74aee, swiper-item.data-v-c4a74aee { | |
26 | - display: flex; | |
27 | - flex-direction: column; | |
28 | - flex-shrink: 0; | |
29 | - flex-grow: 0; | |
30 | - flex-basis: auto; | |
31 | - align-items: stretch; | |
32 | - align-content: flex-start; | |
33 | -} | |
34 | -.u-checkbox.data-v-c4a74aee { | |
35 | - display: flex; | |
36 | - flex-direction: row; | |
37 | - overflow: hidden; | |
38 | - flex-direction: row; | |
39 | - align-items: center; | |
40 | -} | |
41 | -.u-checkbox-label--left.data-v-c4a74aee { | |
42 | - flex-direction: row; | |
43 | -} | |
44 | -.u-checkbox-label--right.data-v-c4a74aee { | |
45 | - flex-direction: row-reverse; | |
46 | - justify-content: space-between; | |
47 | -} | |
48 | -.u-checkbox__icon-wrap.data-v-c4a74aee { | |
49 | - box-sizing: border-box; | |
50 | - transition-property: border-color, background-color, color; | |
51 | - transition-duration: 0.2s; | |
52 | - color: #606266; | |
53 | - display: flex; | |
54 | - flex-direction: row; | |
55 | - align-items: center; | |
56 | - justify-content: center; | |
57 | - color: transparent; | |
58 | - text-align: center; | |
59 | - margin-right: 6px; | |
60 | - font-size: 6px; | |
61 | - border-width: 1px; | |
62 | - border-color: #c8c9cc; | |
63 | - border-style: solid; | |
64 | -} | |
65 | -.u-checkbox__icon-wrap--circle.data-v-c4a74aee { | |
66 | - border-radius: 100%; | |
67 | -} | |
68 | -.u-checkbox__icon-wrap--square.data-v-c4a74aee { | |
69 | - border-radius: 3px; | |
70 | -} | |
71 | -.u-checkbox__icon-wrap--checked.data-v-c4a74aee { | |
72 | - color: #fff; | |
73 | - background-color: red; | |
74 | - border-color: #2979ff; | |
75 | -} | |
76 | -.u-checkbox__icon-wrap--disabled.data-v-c4a74aee { | |
77 | - background-color: #ebedf0 !important; | |
78 | -} | |
79 | -.u-checkbox__icon-wrap--disabled--checked.data-v-c4a74aee { | |
80 | - color: #c8c9cc !important; | |
81 | -} | |
82 | -.u-checkbox__label.data-v-c4a74aee { | |
83 | - word-wrap: break-word; | |
84 | - margin-left: 5px; | |
85 | - margin-right: 12px; | |
86 | - color: #606266; | |
87 | - font-size: 15px; | |
88 | -} | |
89 | -.u-checkbox__label--disabled.data-v-c4a74aee { | |
90 | - color: #c8c9cc; | |
91 | -} | |
92 | - |
1 | -(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["uni_modules/uview-ui/components/u-code/u-code"],{ | |
2 | - | |
3 | -/***/ 258: | |
4 | -/*!***********************************************************************************************!*\ | |
5 | - !*** /Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-code/u-code.vue ***! | |
6 | - \***********************************************************************************************/ | |
7 | -/*! no static exports found */ | |
8 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
9 | - | |
10 | -"use strict"; | |
11 | -__webpack_require__.r(__webpack_exports__); | |
12 | -/* harmony import */ var _u_code_vue_vue_type_template_id_1d88f349_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./u-code.vue?vue&type=template&id=1d88f349&scoped=true& */ 259); | |
13 | -/* harmony import */ var _u_code_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./u-code.vue?vue&type=script&lang=js& */ 261); | |
14 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _u_code_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _u_code_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |
15 | -/* harmony import */ var _u_code_vue_vue_type_style_index_0_id_1d88f349_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./u-code.vue?vue&type=style&index=0&id=1d88f349&lang=scss&scoped=true& */ 264); | |
16 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 15); | |
17 | - | |
18 | -var renderjs | |
19 | - | |
20 | - | |
21 | - | |
22 | - | |
23 | - | |
24 | -/* normalize component */ | |
25 | - | |
26 | -var component = Object(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( | |
27 | - _u_code_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | |
28 | - _u_code_vue_vue_type_template_id_1d88f349_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], | |
29 | - _u_code_vue_vue_type_template_id_1d88f349_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | |
30 | - false, | |
31 | - null, | |
32 | - "1d88f349", | |
33 | - null, | |
34 | - false, | |
35 | - _u_code_vue_vue_type_template_id_1d88f349_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], | |
36 | - renderjs | |
37 | -) | |
38 | - | |
39 | -component.options.__file = "uni_modules/uview-ui/components/u-code/u-code.vue" | |
40 | -/* harmony default export */ __webpack_exports__["default"] = (component.exports); | |
41 | - | |
42 | -/***/ }), | |
43 | - | |
44 | -/***/ 259: | |
45 | -/*!******************************************************************************************************************************************!*\ | |
46 | - !*** /Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-code/u-code.vue?vue&type=template&id=1d88f349&scoped=true& ***! | |
47 | - \******************************************************************************************************************************************/ | |
48 | -/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |
49 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
50 | - | |
51 | -"use strict"; | |
52 | -__webpack_require__.r(__webpack_exports__); | |
53 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_code_vue_vue_type_template_id_1d88f349_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-code.vue?vue&type=template&id=1d88f349&scoped=true& */ 260); | |
54 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_code_vue_vue_type_template_id_1d88f349_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | |
55 | - | |
56 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_code_vue_vue_type_template_id_1d88f349_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | |
57 | - | |
58 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_code_vue_vue_type_template_id_1d88f349_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); | |
59 | - | |
60 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_code_vue_vue_type_template_id_1d88f349_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); | |
61 | - | |
62 | - | |
63 | - | |
64 | -/***/ }), | |
65 | - | |
66 | -/***/ 260: | |
67 | -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |
68 | - !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-code/u-code.vue?vue&type=template&id=1d88f349&scoped=true& ***! | |
69 | - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |
70 | -/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |
71 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
72 | - | |
73 | -"use strict"; | |
74 | -__webpack_require__.r(__webpack_exports__); | |
75 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | |
76 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | |
77 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); | |
78 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); | |
79 | -var components | |
80 | -var render = function() { | |
81 | - var _vm = this | |
82 | - var _h = _vm.$createElement | |
83 | - var _c = _vm._self._c || _h | |
84 | -} | |
85 | -var recyclableRender = false | |
86 | -var staticRenderFns = [] | |
87 | -render._withStripped = true | |
88 | - | |
89 | - | |
90 | - | |
91 | -/***/ }), | |
92 | - | |
93 | -/***/ 261: | |
94 | -/*!************************************************************************************************************************!*\ | |
95 | - !*** /Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-code/u-code.vue?vue&type=script&lang=js& ***! | |
96 | - \************************************************************************************************************************/ | |
97 | -/*! no static exports found */ | |
98 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
99 | - | |
100 | -"use strict"; | |
101 | -__webpack_require__.r(__webpack_exports__); | |
102 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_code_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-code.vue?vue&type=script&lang=js& */ 262); | |
103 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_code_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_code_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | |
104 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_code_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_code_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |
105 | - /* harmony default export */ __webpack_exports__["default"] = (_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_code_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | |
106 | - | |
107 | -/***/ }), | |
108 | - | |
109 | -/***/ 262: | |
110 | -/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |
111 | - !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-code/u-code.vue?vue&type=script&lang=js& ***! | |
112 | - \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |
113 | -/*! no static exports found */ | |
114 | -/***/ (function(module, exports, __webpack_require__) { | |
115 | - | |
116 | -"use strict"; | |
117 | -/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; | |
118 | - | |
119 | - | |
120 | - | |
121 | - | |
122 | - | |
123 | - | |
124 | -var _props = _interopRequireDefault(__webpack_require__(/*! ./props.js */ 263));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // | |
125 | -// | |
126 | -// | |
127 | -// | |
128 | -// | |
129 | -// | |
130 | -/** | |
131 | - * Code 验证码输入框 | |
132 | - * @description 考虑到用户实际发送验证码的场景,可能是一个按钮,也可能是一段文字,提示语各有不同,所以本组件 不提供界面显示,只提供提示语,由用户将提示语嵌入到具体的场景 | |
133 | - * @tutorial https://www.uviewui.com/components/code.html | |
134 | - * @property {String | Number} seconds 倒计时所需的秒数(默认 60 ) | |
135 | - * @property {String} startText 开始前的提示语,见官网说明(默认 '获取验证码' ) | |
136 | - * @property {String} changeText 倒计时期间的提示语,必须带有字母"x",见官网说明(默认 'X秒重新获取' ) | |
137 | - * @property {String} endText 倒计结束的提示语,见官网说明(默认 '重新获取' ) | |
138 | - * @property {Boolean} keepRunning 是否在H5刷新或各端返回再进入时继续倒计时( 默认false ) | |
139 | - * @property {String} uniqueKey 为了区分多个页面,或者一个页面多个倒计时组件本地存储的继续倒计时变了 | |
140 | - * | |
141 | - * @event {Function} change 倒计时期间,每秒触发一次 | |
142 | - * @event {Function} start 开始倒计时触发 | |
143 | - * @event {Function} end 结束倒计时触发 | |
144 | - * @example <u-code ref="uCode" @change="codeChange" seconds="20"></u-code> | |
145 | - */var _default = { name: "u-code", mixins: [uni.$u.mpMixin, uni.$u.mixin, _props.default], data: function data() {return { | |
146 | - secNum: this.seconds, | |
147 | - timer: null, | |
148 | - canGetCode: true // 是否可以执行验证码操作 | |
149 | - }; | |
150 | - }, | |
151 | - mounted: function mounted() { | |
152 | - this.checkKeepRunning(); | |
153 | - }, | |
154 | - watch: { | |
155 | - seconds: { | |
156 | - immediate: true, | |
157 | - handler: function handler(n) { | |
158 | - this.secNum = n; | |
159 | - } } }, | |
160 | - | |
161 | - | |
162 | - methods: { | |
163 | - checkKeepRunning: function checkKeepRunning() { | |
164 | - // 获取上一次退出页面(H5还包括刷新)时的时间戳,如果没有上次的保存,此值可能为空 | |
165 | - var lastTimestamp = Number(uni.getStorageSync(this.uniqueKey + '_$uCountDownTimestamp')); | |
166 | - if (!lastTimestamp) return this.changeEvent(this.startText); | |
167 | - // 当前秒的时间戳 | |
168 | - var nowTimestamp = Math.floor(+new Date() / 1000); | |
169 | - // 判断当前的时间戳,是否小于上一次的本该按设定结束,却提前结束的时间戳 | |
170 | - if (this.keepRunning && lastTimestamp && lastTimestamp > nowTimestamp) { | |
171 | - // 剩余尚未执行完的倒计秒数 | |
172 | - this.secNum = lastTimestamp - nowTimestamp; | |
173 | - // 清除本地保存的变量 | |
174 | - uni.removeStorageSync(this.uniqueKey + '_$uCountDownTimestamp'); | |
175 | - // 开始倒计时 | |
176 | - this.start(); | |
177 | - } else { | |
178 | - // 如果不存在需要继续上一次的倒计时,执行正常的逻辑 | |
179 | - this.changeEvent(this.startText); | |
180 | - } | |
181 | - }, | |
182 | - // 开始倒计时 | |
183 | - start: function start() {var _this = this; | |
184 | - // 防止快速点击获取验证码的按钮而导致内部产生多个定时器导致混乱 | |
185 | - if (this.timer) { | |
186 | - clearInterval(this.timer); | |
187 | - this.timer = null; | |
188 | - } | |
189 | - this.$emit('start'); | |
190 | - this.canGetCode = false; | |
191 | - // 这里放这句,是为了一开始时就提示,否则要等setInterval的1秒后才会有提示 | |
192 | - this.changeEvent(this.changeText.replace(/x|X/, this.secNum)); | |
193 | - this.setTimeToStorage(); | |
194 | - this.timer = setInterval(function () { | |
195 | - if (--_this.secNum) { | |
196 | - // 用当前倒计时的秒数替换提示字符串中的"x"字母 | |
197 | - _this.changeEvent(_this.changeText.replace(/x|X/, _this.secNum)); | |
198 | - } else { | |
199 | - clearInterval(_this.timer); | |
200 | - _this.timer = null; | |
201 | - _this.changeEvent(_this.endText); | |
202 | - _this.secNum = _this.seconds; | |
203 | - _this.$emit('end'); | |
204 | - _this.canGetCode = true; | |
205 | - } | |
206 | - }, 1000); | |
207 | - }, | |
208 | - // 重置,可以让用户再次获取验证码 | |
209 | - reset: function reset() { | |
210 | - this.canGetCode = true; | |
211 | - clearInterval(this.timer); | |
212 | - this.secNum = this.seconds; | |
213 | - this.changeEvent(this.endText); | |
214 | - }, | |
215 | - changeEvent: function changeEvent(text) { | |
216 | - this.$emit('change', text); | |
217 | - }, | |
218 | - // 保存时间戳,为了防止倒计时尚未结束,H5刷新或者各端的右上角返回上一页再进来 | |
219 | - setTimeToStorage: function setTimeToStorage() { | |
220 | - if (!this.keepRunning || !this.timer) return; | |
221 | - // 记录当前的时间戳,为了下次进入页面,如果还在倒计时内的话,继续倒计时 | |
222 | - // 倒计时尚未结束,结果大于0;倒计时已经开始,就会小于初始值,如果等于初始值,说明没有开始倒计时,无需处理 | |
223 | - if (this.secNum > 0 && this.secNum <= this.seconds) { | |
224 | - // 获取当前时间戳(+ new Date()为特殊写法),除以1000变成秒,再去除小数部分 | |
225 | - var nowTimestamp = Math.floor(+new Date() / 1000); | |
226 | - // 将本该结束时候的时间戳保存起来 => 当前时间戳 + 剩余的秒数 | |
227 | - uni.setStorage({ | |
228 | - key: this.uniqueKey + '_$uCountDownTimestamp', | |
229 | - data: nowTimestamp + Number(this.secNum) }); | |
230 | - | |
231 | - } | |
232 | - } }, | |
233 | - | |
234 | - // 组件销毁的时候,清除定时器,否则定时器会继续存在,系统不会自动清除 | |
235 | - beforeDestroy: function beforeDestroy() { | |
236 | - this.setTimeToStorage(); | |
237 | - clearTimeout(this.timer); | |
238 | - this.timer = null; | |
239 | - } };exports.default = _default; | |
240 | -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"])) | |
241 | - | |
242 | -/***/ }), | |
243 | - | |
244 | -/***/ 264: | |
245 | -/*!*********************************************************************************************************************************************************!*\ | |
246 | - !*** /Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-code/u-code.vue?vue&type=style&index=0&id=1d88f349&lang=scss&scoped=true& ***! | |
247 | - \*********************************************************************************************************************************************************/ | |
248 | -/*! no static exports found */ | |
249 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
250 | - | |
251 | -"use strict"; | |
252 | -__webpack_require__.r(__webpack_exports__); | |
253 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_code_vue_vue_type_style_index_0_id_1d88f349_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-code.vue?vue&type=style&index=0&id=1d88f349&lang=scss&scoped=true& */ 265); | |
254 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_code_vue_vue_type_style_index_0_id_1d88f349_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_code_vue_vue_type_style_index_0_id_1d88f349_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); | |
255 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_code_vue_vue_type_style_index_0_id_1d88f349_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_code_vue_vue_type_style_index_0_id_1d88f349_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |
256 | - /* harmony default export */ __webpack_exports__["default"] = (_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_code_vue_vue_type_style_index_0_id_1d88f349_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); | |
257 | - | |
258 | -/***/ }), | |
259 | - | |
260 | -/***/ 265: | |
261 | -/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |
262 | - !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-code/u-code.vue?vue&type=style&index=0&id=1d88f349&lang=scss&scoped=true& ***! | |
263 | - \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |
264 | -/*! no static exports found */ | |
265 | -/***/ (function(module, exports, __webpack_require__) { | |
266 | - | |
267 | -// extracted by mini-css-extract-plugin | |
268 | - if(false) { var cssReload; } | |
269 | - | |
270 | - | |
271 | -/***/ }) | |
272 | - | |
273 | -}]); | |
274 | -//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-code/u-code.js.map | |
275 | -;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | |
276 | - 'uni_modules/uview-ui/components/u-code/u-code-create-component', | |
277 | - { | |
278 | - 'uni_modules/uview-ui/components/u-code/u-code-create-component':(function(module, exports, __webpack_require__){ | |
279 | - __webpack_require__('1')['createComponent'](__webpack_require__(258)) | |
280 | - }) | |
281 | - }, | |
282 | - [['uni_modules/uview-ui/components/u-code/u-code-create-component']] | |
283 | -]); |
1 | -<view class="u-code data-v-1d88f349"></view> | |
\ No newline at end of file |
1 | -page.data-v-1d88f349 { | |
2 | - width: 100%; | |
3 | - height: 100%; | |
4 | -} | |
5 | -.divid_line_horizen.data-v-1d88f349 { | |
6 | - width: 100%; | |
7 | - height: 2rpx; | |
8 | - background-color: #f2f2f2; | |
9 | - align-self: center; | |
10 | - margin-top: 1rpx; | |
11 | -} | |
12 | -.input_warp .u-input__input.data-v-1d88f349 { | |
13 | - font-size: 34rpx; | |
14 | -} | |
15 | -.button_warp .u-button .u-size-default.data-v-1d88f349 { | |
16 | - font-size: 30rpx; | |
17 | - height: 96rpx; | |
18 | - line-height: 80rpx; | |
19 | -} | |
20 | -.button_warp .u-button .u-btn--primary--disabled.data-v-1d88f349 { | |
21 | - color: rgba(0, 0, 0, 0.45) !important; | |
22 | - border-color: rgba(0, 0, 0, 0.06) !important; | |
23 | - background-color: rgba(0, 0, 0, 0.06) !important; | |
24 | -} | |
25 | -view.data-v-1d88f349, scroll-view.data-v-1d88f349, swiper-item.data-v-1d88f349 { | |
26 | - display: flex; | |
27 | - flex-direction: column; | |
28 | - flex-shrink: 0; | |
29 | - flex-grow: 0; | |
30 | - flex-basis: auto; | |
31 | - align-items: stretch; | |
32 | - align-content: flex-start; | |
33 | -} | |
34 | - |
unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-form-item/u-form-item.js
已删除
100644 → 0
1 | -(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["uni_modules/uview-ui/components/u-form-item/u-form-item"],{ | |
2 | - | |
3 | -/***/ 232: | |
4 | -/*!*********************************************************************************************************!*\ | |
5 | - !*** /Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-form-item/u-form-item.vue ***! | |
6 | - \*********************************************************************************************************/ | |
7 | -/*! no static exports found */ | |
8 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
9 | - | |
10 | -"use strict"; | |
11 | -__webpack_require__.r(__webpack_exports__); | |
12 | -/* harmony import */ var _u_form_item_vue_vue_type_template_id_067e4733_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./u-form-item.vue?vue&type=template&id=067e4733&scoped=true& */ 233); | |
13 | -/* harmony import */ var _u_form_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./u-form-item.vue?vue&type=script&lang=js& */ 235); | |
14 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _u_form_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _u_form_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |
15 | -/* harmony import */ var _u_form_item_vue_vue_type_style_index_0_id_067e4733_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./u-form-item.vue?vue&type=style&index=0&id=067e4733&lang=scss&scoped=true& */ 238); | |
16 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 15); | |
17 | - | |
18 | -var renderjs | |
19 | - | |
20 | - | |
21 | - | |
22 | - | |
23 | - | |
24 | -/* normalize component */ | |
25 | - | |
26 | -var component = Object(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( | |
27 | - _u_form_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], | |
28 | - _u_form_item_vue_vue_type_template_id_067e4733_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], | |
29 | - _u_form_item_vue_vue_type_template_id_067e4733_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], | |
30 | - false, | |
31 | - null, | |
32 | - "067e4733", | |
33 | - null, | |
34 | - false, | |
35 | - _u_form_item_vue_vue_type_template_id_067e4733_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], | |
36 | - renderjs | |
37 | -) | |
38 | - | |
39 | -component.options.__file = "uni_modules/uview-ui/components/u-form-item/u-form-item.vue" | |
40 | -/* harmony default export */ __webpack_exports__["default"] = (component.exports); | |
41 | - | |
42 | -/***/ }), | |
43 | - | |
44 | -/***/ 233: | |
45 | -/*!****************************************************************************************************************************************************!*\ | |
46 | - !*** /Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-form-item/u-form-item.vue?vue&type=template&id=067e4733&scoped=true& ***! | |
47 | - \****************************************************************************************************************************************************/ | |
48 | -/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |
49 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
50 | - | |
51 | -"use strict"; | |
52 | -__webpack_require__.r(__webpack_exports__); | |
53 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_form_item_vue_vue_type_template_id_067e4733_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-form-item.vue?vue&type=template&id=067e4733&scoped=true& */ 234); | |
54 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_form_item_vue_vue_type_template_id_067e4733_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); | |
55 | - | |
56 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_form_item_vue_vue_type_template_id_067e4733_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); | |
57 | - | |
58 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_form_item_vue_vue_type_template_id_067e4733_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); | |
59 | - | |
60 | -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_form_item_vue_vue_type_template_id_067e4733_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); | |
61 | - | |
62 | - | |
63 | - | |
64 | -/***/ }), | |
65 | - | |
66 | -/***/ 234: | |
67 | -/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |
68 | - !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-form-item/u-form-item.vue?vue&type=template&id=067e4733&scoped=true& ***! | |
69 | - \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |
70 | -/*! exports provided: render, staticRenderFns, recyclableRender, components */ | |
71 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
72 | - | |
73 | -"use strict"; | |
74 | -__webpack_require__.r(__webpack_exports__); | |
75 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; }); | |
76 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; }); | |
77 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); | |
78 | -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); | |
79 | -var components | |
80 | -try { | |
81 | - components = { | |
82 | - uIcon: function() { | |
83 | - return Promise.all(/*! import() | uni_modules/uview-ui/components/u-icon/u-icon */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-icon/u-icon")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-icon/u-icon.vue */ 282)) | |
84 | - }, | |
85 | - uLine: function() { | |
86 | - return Promise.all(/*! import() | uni_modules/uview-ui/components/u-line/u-line */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-line/u-line")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-line/u-line.vue */ 309)) | |
87 | - } | |
88 | - } | |
89 | -} catch (e) { | |
90 | - if ( | |
91 | - e.message.indexOf("Cannot find module") !== -1 && | |
92 | - e.message.indexOf(".vue") !== -1 | |
93 | - ) { | |
94 | - console.error(e.message) | |
95 | - console.error("1. 排查组件名称拼写是否正确") | |
96 | - console.error( | |
97 | - "2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom" | |
98 | - ) | |
99 | - console.error( | |
100 | - "3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件" | |
101 | - ) | |
102 | - } else { | |
103 | - throw e | |
104 | - } | |
105 | -} | |
106 | -var render = function() { | |
107 | - var _vm = this | |
108 | - var _h = _vm.$createElement | |
109 | - var _c = _vm._self._c || _h | |
110 | - var s0 = _vm.__get_style([ | |
111 | - _vm.$u.addStyle(_vm.customStyle), | |
112 | - { | |
113 | - flexDirection: _vm.parentData.labelPosition === "left" ? "row" : "column" | |
114 | - } | |
115 | - ]) | |
116 | - | |
117 | - var g0 = | |
118 | - _vm.required || _vm.leftIcon || _vm.label | |
119 | - ? _vm.$u.addUnit(_vm.labelWidth || _vm.parentData.labelWidth) | |
120 | - : null | |
121 | - var s1 = | |
122 | - _vm.required || _vm.leftIcon || _vm.label | |
123 | - ? _vm.__get_style([ | |
124 | - _vm.parentData.labelStyle, | |
125 | - { | |
126 | - justifyContent: | |
127 | - _vm.parentData.labelAlign === "left" | |
128 | - ? "flex-start" | |
129 | - : _vm.parentData.labelAlign === "center" | |
130 | - ? "center" | |
131 | - : "flex-end" | |
132 | - } | |
133 | - ]) | |
134 | - : null | |
135 | - var g1 = | |
136 | - !!_vm.message && _vm.parentData.errorType === "message" | |
137 | - ? _vm.$u.addUnit( | |
138 | - _vm.parentData.labelPosition === "top" | |
139 | - ? 0 | |
140 | - : _vm.labelWidth || _vm.parentData.labelWidth | |
141 | - ) | |
142 | - : null | |
143 | - _vm.$mp.data = Object.assign( | |
144 | - {}, | |
145 | - { | |
146 | - $root: { | |
147 | - s0: s0, | |
148 | - g0: g0, | |
149 | - s1: s1, | |
150 | - g1: g1 | |
151 | - } | |
152 | - } | |
153 | - ) | |
154 | -} | |
155 | -var recyclableRender = false | |
156 | -var staticRenderFns = [] | |
157 | -render._withStripped = true | |
158 | - | |
159 | - | |
160 | - | |
161 | -/***/ }), | |
162 | - | |
163 | -/***/ 235: | |
164 | -/*!**********************************************************************************************************************************!*\ | |
165 | - !*** /Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-form-item/u-form-item.vue?vue&type=script&lang=js& ***! | |
166 | - \**********************************************************************************************************************************/ | |
167 | -/*! no static exports found */ | |
168 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
169 | - | |
170 | -"use strict"; | |
171 | -__webpack_require__.r(__webpack_exports__); | |
172 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_form_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-form-item.vue?vue&type=script&lang=js& */ 236); | |
173 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_form_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_form_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); | |
174 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_form_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_form_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |
175 | - /* harmony default export */ __webpack_exports__["default"] = (_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_form_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); | |
176 | - | |
177 | -/***/ }), | |
178 | - | |
179 | -/***/ 236: | |
180 | -/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |
181 | - !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-form-item/u-form-item.vue?vue&type=script&lang=js& ***! | |
182 | - \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |
183 | -/*! no static exports found */ | |
184 | -/***/ (function(module, exports, __webpack_require__) { | |
185 | - | |
186 | -"use strict"; | |
187 | -/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; | |
188 | - | |
189 | - | |
190 | - | |
191 | - | |
192 | - | |
193 | - | |
194 | - | |
195 | - | |
196 | - | |
197 | - | |
198 | - | |
199 | - | |
200 | - | |
201 | - | |
202 | - | |
203 | - | |
204 | - | |
205 | - | |
206 | - | |
207 | - | |
208 | - | |
209 | - | |
210 | - | |
211 | - | |
212 | - | |
213 | - | |
214 | - | |
215 | - | |
216 | - | |
217 | - | |
218 | - | |
219 | - | |
220 | - | |
221 | - | |
222 | - | |
223 | - | |
224 | - | |
225 | - | |
226 | - | |
227 | - | |
228 | - | |
229 | - | |
230 | - | |
231 | - | |
232 | - | |
233 | - | |
234 | - | |
235 | - | |
236 | - | |
237 | - | |
238 | - | |
239 | - | |
240 | - | |
241 | - | |
242 | - | |
243 | - | |
244 | - | |
245 | - | |
246 | - | |
247 | - | |
248 | - | |
249 | - | |
250 | - | |
251 | - | |
252 | - | |
253 | - | |
254 | - | |
255 | - | |
256 | - | |
257 | - | |
258 | - | |
259 | - | |
260 | - | |
261 | - | |
262 | - | |
263 | - | |
264 | -var _props = _interopRequireDefault(__webpack_require__(/*! ./props.js */ 237));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // | |
265 | -// | |
266 | -// | |
267 | -// | |
268 | -// | |
269 | -// | |
270 | -// | |
271 | -// | |
272 | -// | |
273 | -// | |
274 | -// | |
275 | -// | |
276 | -// | |
277 | -// | |
278 | -// | |
279 | -// | |
280 | -// | |
281 | -// | |
282 | -// | |
283 | -// | |
284 | -// | |
285 | -// | |
286 | -// | |
287 | -// | |
288 | -// | |
289 | -// | |
290 | -// | |
291 | -// | |
292 | -// | |
293 | -// | |
294 | -// | |
295 | -// | |
296 | -// | |
297 | -// | |
298 | -// | |
299 | -// | |
300 | -// | |
301 | -// | |
302 | -// | |
303 | -// | |
304 | -// | |
305 | -// | |
306 | -// | |
307 | -// | |
308 | -// | |
309 | -// | |
310 | -// | |
311 | -// | |
312 | -// | |
313 | -// | |
314 | -// | |
315 | -// | |
316 | -// | |
317 | -// | |
318 | -// | |
319 | -// | |
320 | -// | |
321 | -// | |
322 | -// | |
323 | -// | |
324 | -// | |
325 | -// | |
326 | -// | |
327 | -// | |
328 | -// | |
329 | -// | |
330 | -// | |
331 | -// | |
332 | -// | |
333 | -// | |
334 | -// | |
335 | -// | |
336 | -// | |
337 | -// | |
338 | -// | |
339 | -// | |
340 | -/** | |
341 | - * Form 表单 | |
342 | - * @description 此组件一般用于表单场景,可以配置Input输入框,Select弹出框,进行表单验证等。 | |
343 | - * @tutorial https://www.uviewui.com/components/form.html | |
344 | - * @property {String} label input的label提示语 | |
345 | - * @property {String} prop 绑定的值 | |
346 | - * @property {String | Boolean} borderBottom 是否显示表单域的下划线边框 | |
347 | - * @property {String | Number} labelWidth label的宽度,单位px | |
348 | - * @property {String} rightIcon 右侧图标 | |
349 | - * @property {String} leftIcon 左侧图标 | |
350 | - * @property {String | Object} leftIconStyle 左侧图标的样式 | |
351 | - * @property {Boolean} required 是否显示左边的必填星号,只作显示用,具体校验必填的逻辑,请在rules中配置 (默认 false ) | |
352 | - * | |
353 | - * @example <u-form-item label="姓名" prop="userInfo.name" borderBottom ref="item1"></u-form-item> | |
354 | - */var _default = { name: 'u-form-item', mixins: [uni.$u.mpMixin, uni.$u.mixin, _props.default], data: function data() {return { // 错误提示语 | |
355 | - message: '', parentData: { // 提示文本的位置 | |
356 | - labelPosition: 'left', // 提示文本对齐方式 | |
357 | - labelAlign: 'left', // 提示文本的样式 | |
358 | - labelStyle: {}, // 提示文本的宽度 | |
359 | - labelWidth: 45, // 错误提示方式 | |
360 | - errorType: 'message' } };}, // 组件创建完成时,将当前实例保存到u-form中 | |
361 | - computed: { propsLine: function propsLine() {return uni.$u.props.line;} }, mounted: function mounted() {this.init();}, methods: { init: function init() {// 父组件的实例 | |
362 | - this.updateParentData();if (!this.parent) {uni.$u.error('u-form-item需要结合u-form组件使用');}}, // 获取父组件的参数 | |
363 | - updateParentData: function updateParentData() {// 此方法写在mixin中 | |
364 | - this.getParentData('u-form');}, // 移除u-form-item的校验结果 | |
365 | - clearValidate: function clearValidate() {this.message = null;}, // 清空当前的组件的校验结果,并重置为初始值 | |
366 | - resetField: function resetField() {// 找到原始值 | |
367 | - var value = uni.$u.getProperty(this.parent.originalModel, this.prop); // 将u-form的model的prop属性链还原原始值 | |
368 | - uni.$u.setProperty(this.parent.model, this.prop, value); // 移除校验结果 | |
369 | - this.message = null;}, // 点击组件 | |
370 | - clickHandler: function clickHandler() {this.$emit('click');} } };exports.default = _default; | |
371 | -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"])) | |
372 | - | |
373 | -/***/ }), | |
374 | - | |
375 | -/***/ 238: | |
376 | -/*!*******************************************************************************************************************************************************************!*\ | |
377 | - !*** /Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-form-item/u-form-item.vue?vue&type=style&index=0&id=067e4733&lang=scss&scoped=true& ***! | |
378 | - \*******************************************************************************************************************************************************************/ | |
379 | -/*! no static exports found */ | |
380 | -/***/ (function(module, __webpack_exports__, __webpack_require__) { | |
381 | - | |
382 | -"use strict"; | |
383 | -__webpack_require__.r(__webpack_exports__); | |
384 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_form_item_vue_vue_type_style_index_0_id_067e4733_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-form-item.vue?vue&type=style&index=0&id=067e4733&lang=scss&scoped=true& */ 239); | |
385 | -/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_form_item_vue_vue_type_style_index_0_id_067e4733_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_form_item_vue_vue_type_style_index_0_id_067e4733_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); | |
386 | -/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_form_item_vue_vue_type_style_index_0_id_067e4733_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_form_item_vue_vue_type_style_index_0_id_067e4733_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); | |
387 | - /* harmony default export */ __webpack_exports__["default"] = (_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_form_item_vue_vue_type_style_index_0_id_067e4733_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); | |
388 | - | |
389 | -/***/ }), | |
390 | - | |
391 | -/***/ 239: | |
392 | -/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ | |
393 | - !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/linon/work/workai/yxly-teacher/uni_modules/uview-ui/components/u-form-item/u-form-item.vue?vue&type=style&index=0&id=067e4733&lang=scss&scoped=true& ***! | |
394 | - \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ | |
395 | -/*! no static exports found */ | |
396 | -/***/ (function(module, exports, __webpack_require__) { | |
397 | - | |
398 | -// extracted by mini-css-extract-plugin | |
399 | - if(false) { var cssReload; } | |
400 | - | |
401 | - | |
402 | -/***/ }) | |
403 | - | |
404 | -}]); | |
405 | -//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-form-item/u-form-item.js.map | |
406 | -;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ | |
407 | - 'uni_modules/uview-ui/components/u-form-item/u-form-item-create-component', | |
408 | - { | |
409 | - 'uni_modules/uview-ui/components/u-form-item/u-form-item-create-component':(function(module, exports, __webpack_require__){ | |
410 | - __webpack_require__('1')['createComponent'](__webpack_require__(232)) | |
411 | - }) | |
412 | - }, | |
413 | - [['uni_modules/uview-ui/components/u-form-item/u-form-item-create-component']] | |
414 | -]); |
unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-form-item/u-form-item.wxml
已删除
100644 → 0
1 | -<view class="u-form-item data-v-067e4733"><view data-event-opts="{{[['tap',[['clickHandler',['$event']]]]]}}" class="u-form-item__body data-v-067e4733" style="{{$root.s0}}" bindtap="__e"><block wx:if="{{$slots.label}}"><slot name="label"></slot></block><block wx:else><block wx:if="{{required||leftIcon||label}}"><view class="u-form-item__body__left data-v-067e4733" style="{{'width:'+($root.g0)+';'+('margin-bottom:'+(parentData.labelPosition==='left'?0:'5px')+';')}}"><view class="u-form-item__body__left__content data-v-067e4733"><block wx:if="{{required}}"><text class="u-form-item__body__left__content__required data-v-067e4733">*</text></block><block wx:if="{{leftIcon}}"><view class="u-form-item__body__left__content__icon data-v-067e4733"><u-icon vue-id="6d69bf9a-1" name="{{leftIcon}}" custom-style="{{leftIconStyle}}" class="data-v-067e4733" bind:__l="__l"></u-icon></view></block><text class="u-form-item__body__left__content__label data-v-067e4733" style="{{$root.s1}}">{{label}}</text></view></view></block></block><view class="u-form-item__body__right data-v-067e4733"><view class="u-form-item__body__right__content data-v-067e4733"><view class="u-form-item__body__right__content__slot data-v-067e4733"><slot></slot></view><block wx:if="{{$slots.right}}"><view class="item__body__right__content__icon data-v-067e4733"><slot name="right"></slot></view></block></view></view></view><block wx:if="{{$slots.error}}"><slot name="error"></slot></block><block wx:else><block wx:if="{{!!message&&parentData.errorType==='message'}}"><text class="u-form-item__body__right__message data-v-067e4733" style="{{'margin-left:'+($root.g1)+';'}}">{{message}}</text></block></block><block wx:if="{{borderBottom}}"><u-line vue-id="6d69bf9a-2" color="{{message&&parentData.errorType==='border-bottom'?$u.color.error:propsLine.color}}" customStyle="{{'margin-top: '+(message&&parentData.errorType==='message'?'5px':0)}}" class="data-v-067e4733" bind:__l="__l"></u-line></block></view> | |
\ No newline at end of file |
unpackage/dist/dev/mp-weixin/uni_modules/uview-ui/components/u-form-item/u-form-item.wxss
已删除
100644 → 0
1 | -page.data-v-067e4733 { | |
2 | - width: 100%; | |
3 | - height: 100%; | |
4 | -} | |
5 | -.divid_line_horizen.data-v-067e4733 { | |
6 | - width: 100%; | |
7 | - height: 2rpx; | |
8 | - background-color: #f2f2f2; | |
9 | - align-self: center; | |
10 | - margin-top: 1rpx; | |
11 | -} | |
12 | -.input_warp .u-input__input.data-v-067e4733 { | |
13 | - font-size: 34rpx; | |
14 | -} | |
15 | -.button_warp .u-button .u-size-default.data-v-067e4733 { | |
16 | - font-size: 30rpx; | |
17 | - height: 96rpx; | |
18 | - line-height: 80rpx; | |
19 | -} | |
20 | -.button_warp .u-button .u-btn--primary--disabled.data-v-067e4733 { | |
21 | - color: rgba(0, 0, 0, 0.45) !important; | |
22 | - border-color: rgba(0, 0, 0, 0.06) !important; | |
23 | - background-color: rgba(0, 0, 0, 0.06) !important; | |
24 | -} | |
25 | -view.data-v-067e4733, scroll-view.data-v-067e4733, swiper-item.data-v-067e4733 { | |
26 | - display: flex; | |
27 | - flex-direction: column; | |
28 | - flex-shrink: 0; | |
29 | - flex-grow: 0; | |
30 | - flex-basis: auto; | |
31 | - align-items: stretch; | |
32 | - align-content: flex-start; | |
33 | -} | |
34 | -.u-form-item.data-v-067e4733 { | |
35 | - display: flex; | |
36 | - flex-direction: column; | |
37 | - font-size: 14px; | |
38 | - color: #303133; | |
39 | -} | |
40 | -.u-form-item__body.data-v-067e4733 { | |
41 | - display: flex; | |
42 | - flex-direction: row; | |
43 | - padding: 10px 0; | |
44 | -} | |
45 | -.u-form-item__body__left.data-v-067e4733 { | |
46 | - display: flex; | |
47 | - flex-direction: row; | |
48 | - align-items: center; | |
49 | -} | |
50 | -.u-form-item__body__left__content.data-v-067e4733 { | |
51 | - position: relative; | |
52 | - display: flex; | |
53 | - flex-direction: row; | |
54 | - align-items: center; | |
55 | - padding-right: 10rpx; | |
56 | - flex: 1; | |
57 | -} | |
58 | -.u-form-item__body__left__content__icon.data-v-067e4733 { | |
59 | - margin-right: 8rpx; | |
60 | -} | |
61 | -.u-form-item__body__left__content__required.data-v-067e4733 { | |
62 | - position: absolute; | |
63 | - left: -9px; | |
64 | - color: #f56c6c; | |
65 | - line-height: 20px; | |
66 | - font-size: 20px; | |
67 | - top: 3px; | |
68 | -} | |
69 | -.u-form-item__body__left__content__label.data-v-067e4733 { | |
70 | - display: flex; | |
71 | - flex-direction: row; | |
72 | - align-items: center; | |
73 | - flex: 1; | |
74 | - color: #303133; | |
75 | - font-size: 15px; | |
76 | -} | |
77 | -.u-form-item__body__right.data-v-067e4733 { | |
78 | - flex: 1; | |
79 | -} | |
80 | -.u-form-item__body__right__content.data-v-067e4733 { | |
81 | - display: flex; | |
82 | - flex-direction: row; | |
83 | - align-items: center; | |
84 | - flex: 1; | |
85 | -} | |
86 | -.u-form-item__body__right__content__slot.data-v-067e4733 { | |
87 | - flex: 1; | |
88 | -} | |
89 | -.u-form-item__body__right__content__icon.data-v-067e4733 { | |
90 | - margin-left: 10rpx; | |
91 | - color: #c0c4cc; | |
92 | - font-size: 30rpx; | |
93 | -} | |
94 | -.u-form-item__body__right__message.data-v-067e4733 { | |
95 | - font-size: 12px; | |
96 | - line-height: 12px; | |
97 | - color: #f56c6c; | |
98 | -} | |
99 | - |
请
注册
或
登录
后发表评论