正在显示
100 个修改的文件
包含
0 行增加
和
98 行删除
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/App.vue?b305","webpack:////Users/linon/work/workai/yxly-teacher/App.vue?1193","webpack:////Users/linon/work/workai/yxly-teacher/App.vue?5605","webpack:////Users/linon/work/workai/yxly-teacher/App.vue?3956","uni-app:///App.vue","webpack:////Users/linon/work/workai/yxly-teacher/App.vue?f66f","webpack:////Users/linon/work/workai/yxly-teacher/App.vue?60da"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","Vue","config","productionTip","App","mpType","prototype","vuePrototype","use","uView","uni","$u","unit","vuexStore","require","mixin","mpShare","VueI18n","i18n","locale","messages","Chinese","English","_i18n","app","store","validate","$mount"],"mappings":";;;;;;;;;sDAAA;;AAE2D,qEAAgD;AAC3G;;;;;;;;;;AAUA;;;;;;AAMA;;;;;;;;;;;;AAYA;AACA;;;AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCA,6F,ynCAnEA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,aAAIC,MAAJ,CAAWC,aAAX,GAA2B,KAA3B,CAEAC,aAAIC,MAAJ,GAAa,KAAb,C,CAEA;AACAJ,aAAIK,SAAJ,CAAcC,YAAd,GAA6B,IAA7B,C,CAEA;AAEAN,aAAIO,GAAJ,CAAQC,gBAAR,E,CACA;AACAC,GAAG,CAACC,EAAJ,CAAOT,MAAP,CAAcU,IAAd,GAAqB,KAArB,C,CAEA;AAGA;AACA,IAAIC,SAAS,GAAGC,mBAAO,CAAC,8BAAD,CAAvB,CACAb,aAAIc,KAAJ,CAAUF,SAAV,E,CAEA;AACA,IAAIG,OAAO,GAAGF,mBAAO,CAAC,uDAAD,CAArB,CACAb,aAAIc,KAAJ,CAAUC,OAAV,E,CAEA;AACA;AAOA;AACAf,aAAIO,GAAJ,CAAQS,mBAAR,EAEA,IAAMC,IAAI,GAAG,IAAID,mBAAJ,CAAY,EACxB;AACAE,QAAM,EAAE,IAFgB,EAGxB;AACAC,UAAQ,EAAE,EACT,MAAMC,WADG,EAET,MAAMC,WAFG,EAJc,EAAZ,CAAb,C,CAUA;AACArB,aAAIK,SAAJ,CAAciB,KAAd,GAAsBL,IAAtB,CAEA,IAAMM,GAAG,GAAG,IAAIvB,YAAJ,iBACXiB,IAAI,EAAJA,IADW,EAEXO,KAAK,EAALA,cAFW,IAGRrB,YAHQ,EAAZ,C,CAMA;AACA;AACA;AAEA;AACA;AACA;AAEA;AAEAH,aAAIO,GAAJ,CAAQkB,iBAAR,EAAkBF,GAAlB,E,CAEA;AACAV,mBAAO,CAAC,8BAAD,CAAP,CAA+BU,GAA/B,EAEA,UAAAA,GAAG,EAACG,MAAJ,G;;;;;;;;;;;;;;;;;;;AC1EA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgH;AAChH;AACuD;AACL;AACc;;;AAGhE;AAC0M;AAC1M,gBAAgB,iNAAU;AAC1B,EAAE,yEAAM;AACR,EAAE,8EAAM;AACR,EAAE,uFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kFAAU;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,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;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAAmyB,CAAgB,iyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;ACevzB;AACA;AACA;AACA,gBADA,EAFA;;;AAMA,UANA,sBAMA;;AAEA,GARA;;AAUA,QAVA,oBAUA;AACA;AACA,GAZA;;AAcA,aAdA,E;;;;;;;;;;;ACfA;AAAA;AAAA;AAAA;AAA0+C,CAAgB,g6CAAG,EAAC,C;;;;;;;;;;ACA9/C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"common/main.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';import Vue from 'vue';\nimport App from './App';\n\nVue.config.productionTip = false;\n\nApp.mpType = 'app';\n\n// 此处为演示Vue.prototype使用,非uView的功能部分\nVue.prototype.vuePrototype = '枣红';\n\n// 引入全局uView\nimport uView from '@/uni_modules/uview-ui'\nVue.use(uView)\n// 如此配置即可\nuni.$u.config.unit = 'rpx'\n\n// 此处为演示vuex使用,非uView的功能部分\nimport store from '@/store';\n\n// 引入uView提供的对vuex的简写法文件\nlet vuexStore = require('@/store/$u.mixin.js');\nVue.mixin(vuexStore);\n\n// 引入uView对小程序分享的mixin封装\nlet mpShare = require('@/uni_modules/uview-ui/libs/mixin/mpShare.js');\nVue.mixin(mpShare);\n\n// i18n部分的配置\n// 引入语言包,注意路径\nimport Chinese from '@/common/locales/zh.js';\nimport English from '@/common/locales/en.js';\n\n// VueI18n\nimport VueI18n from '@/common/vue-i18n.min.js';\n\n// VueI18n\nVue.use(VueI18n);\n\nconst i18n = new VueI18n({\n\t// 默认语言\n\tlocale: 'zh',\n\t// 引入语言文件\n\tmessages: {\n\t\t'zh': Chinese,\n\t\t'en': English,\n\t}\n});\n\n// 由于微信小程序的运行机制问题,需声明如下一行,H5和APP非必填\nVue.prototype._i18n = i18n;\n\nconst app = new Vue({\n\ti18n,\n\tstore,\n\t...App\n});\n\n// // http拦截器,将此部分放在new Vue()和app.$mount()之间,才能App.vue中正常使用\n// import httpInterceptor from '@/common/http.interceptor.js';\n// Vue.use(httpInterceptor, app);\n\n// // http接口API抽离,免于写url或者一些固定的参数\n// import httpApi from '@/common/http.api.js';\n// Vue.use(httpApi, app);\n\n// 自定义验证规则\nimport validate from '@/common/validate.js';\nVue.use(validate, app);\n\n// 引入请求封装,将app参数传递到配置中\nrequire('@/config/request.js')(app);\n\napp.$mount();","import { render, staticRenderFns, recyclableRender, components } from \"./App.vue?vue&type=template&id=472cff63&\"\nvar renderjs\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\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 null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"App.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!./App.vue?vue&type=template&id=472cff63&\"","var components\ntry {\n components = {\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!./App.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!./App.vue?vue&type=script&lang=js&\"","<!--\r\n * @Descripttion: \r\n * @version: 0.0.0\r\n * @Author: genglw\r\n * @Date: 2022-01-29 16:40:40\r\n * @LastEditors: genglw\r\n * @LastEditTime: 2022-02-18 14:06:28\r\n-->\r\n<template>\r\n\t<view>\n\t\t<u-toast ref=\"uToast\" />\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\t// 此处globalData为了演示其作用,不是uView框架的一部分\r\n\t\tglobalData: {\r\n\t\t\tusername: ''\r\n\t\t},\r\n\r\n\t\tonLaunch() {\r\n\r\n\t\t},\r\n\r\n\t\tonShow() {\r\n\t\t\tconsole.log(\"App onshow\")\r\n\t\t},\r\n\r\n\t\tmethods: {\r\n\r\n\t\t},\r\n\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t/* 注意要写在第一行,同时给style标签加入lang=\"scss\"属性 */\r\n\t@import \"@/uni_modules/uview-ui/index.scss\";\r\n\t@import '@/static/css/icon.css';\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!./App.vue?vue&type=style&index=0&lang=scss&\"; 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!./App.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657699073852\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":""} |
1 | -{"version":3,"sources":[null],"names":[],"mappings":";QAAA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA;QACA,QAAQ,oBAAoB;QAC5B;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA,iBAAiB,4BAA4B;QAC7C;QACA;QACA,kBAAkB,2BAA2B;QAC7C;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;;QAEA;;QAEA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;QAEA;QACA;QACA;QACA;;;QAGA;QACA,oBAAoB;QACpB;QACA;QACA;QACA,uBAAuB,8nDAA8nD;QACrpD;QACA;QACA,mBAAmB,6BAA6B;QAChD;QACA;QACA;QACA;QACA;QACA,mBAAmB,8BAA8B;QACjD;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA,KAAK;QACL;QACA,KAAK;QACL;;QAEA;;QAEA;QACA,iCAAiC;;QAEjC;QACA;QACA;QACA,KAAK;QACL;QACA;QACA;QACA,MAAM;QACN;;QAEA;QACA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,wBAAwB,kCAAkC;QAC1D,MAAM;QACN;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;QAEA;QACA,0CAA0C,oBAAoB,WAAW;;QAEzE;QACA;QACA;QACA;QACA,gBAAgB,uBAAuB;QACvC;;;QAGA;QACA","file":"common/runtime.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"common/runtime\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"common/runtime\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"\" + chunkId + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"uni_modules/uview-ui/components/u-toast/u-toast\":1,\"uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group\":1,\"uni_modules/uview-ui/components/u-checkbox/u-checkbox\":1,\"uni_modules/uview-ui/components/u-image/u-image\":1,\"uni_modules/uview-ui/components/u-button/u-button\":1,\"uni_modules/uview-ui/components/u-code/u-code\":1,\"uni_modules/uview-ui/components/u-form-item/u-form-item\":1,\"uni_modules/uview-ui/components/u-input/u-input\":1,\"uni_modules/uview-ui/components/u-gap/u-gap\":1,\"uni_modules/uview-ui/components/u-icon/u-icon\":1,\"uni_modules/uview-ui/components/u-loading-icon/u-loading-icon\":1,\"uni_modules/uview-ui/components/u-overlay/u-overlay\":1,\"uni_modules/uview-ui/components/u-transition/u-transition\":1,\"uni_modules/uview-ui/components/u-line/u-line\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"\" + ({\"uni_modules/uview-ui/components/u-toast/u-toast\":\"uni_modules/uview-ui/components/u-toast/u-toast\",\"uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group\":\"uni_modules/uview-ui/components/u-checkbox-group/u-checkbox-group\",\"uni_modules/uview-ui/components/u-checkbox/u-checkbox\":\"uni_modules/uview-ui/components/u-checkbox/u-checkbox\",\"uni_modules/uview-ui/components/u-image/u-image\":\"uni_modules/uview-ui/components/u-image/u-image\",\"components/c-button/c-button\":\"components/c-button/c-button\",\"uni_modules/uview-ui/components/u-button/u-button\":\"uni_modules/uview-ui/components/u-button/u-button\",\"uni_modules/uview-ui/components/u-code/u-code\":\"uni_modules/uview-ui/components/u-code/u-code\",\"uni_modules/uview-ui/components/u-form-item/u-form-item\":\"uni_modules/uview-ui/components/u-form-item/u-form-item\",\"uni_modules/uview-ui/components/u-form/u-form\":\"uni_modules/uview-ui/components/u-form/u-form\",\"uni_modules/uview-ui/components/u-input/u-input\":\"uni_modules/uview-ui/components/u-input/u-input\",\"uni_modules/uview-ui/components/u-gap/u-gap\":\"uni_modules/uview-ui/components/u-gap/u-gap\",\"uni_modules/uview-ui/components/u-icon/u-icon\":\"uni_modules/uview-ui/components/u-icon/u-icon\",\"uni_modules/uview-ui/components/u-loading-icon/u-loading-icon\":\"uni_modules/uview-ui/components/u-loading-icon/u-loading-icon\",\"uni_modules/uview-ui/components/u-overlay/u-overlay\":\"uni_modules/uview-ui/components/u-overlay/u-overlay\",\"uni_modules/uview-ui/components/u-transition/u-transition\":\"uni_modules/uview-ui/components/u-transition/u-transition\",\"uni_modules/uview-ui/components/u-line/u-line\":\"uni_modules/uview-ui/components/u-line/u-line\"}[chunkId]||chunkId) + \".wxss\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = global[\"webpackJsonp\"] = global[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""} |
此 diff 太大无法显示。
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/yxly-teacher/components/c-button/c-button.vue?c75a","webpack:////Users/linon/work/workai/yxly-teacher/components/c-button/c-button.vue?0367","webpack:////Users/linon/work/workai/yxly-teacher/components/c-button/c-button.vue?638e","webpack:////Users/linon/work/workai/yxly-teacher/components/c-button/c-button.vue?f074","uni-app:///components/c-button/c-button.vue"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqH;AACrH;AAC4D;AACL;;;AAGvD;AACgN;AAChN,gBAAgB,iNAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,mFAAM;AACR,EAAE,4FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,uFAAU;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,aAAa,6SAEN;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;AAAs0B,CAAgB,syBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACU11B;AACA,kBADA;AAEA;AACA;AACA,kBADA;AAEA,iBAFA,EADA;;AAKA;AACA,kBADA;AAEA,wBAFA,EALA;;AASA;AACA,kBADA;AAEA,iBAFA,EATA;;AAaA;AACA,mBADA;AAEA,oBAFA,EAbA;;AAiBA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAjBA;;AAuBA;AACA,kBADA;AAEA,iBAFA,EAvBA,EAFA;;;;AA+BA,MA/BA,kBA+BA;AACA;AACA,GAjCA;;AAmCA;AACA;AACA;AACA;AACA;AACA,gBAHA;;AAKA,KAPA,EAnCA;;;AA6CA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AA5BA,GA7CA;AA2EA;AACA;AACA,SAFA,iBAEA,CAFA,EAEA;AACA;AACA,KAJA;;AAMA,kBANA,0BAMA,CANA,EAMA;AACA;AACA,KARA,EA3EA,E","file":"components/c-button/c-button.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./c-button.vue?vue&type=template&id=ea46bcf8&\"\nvar renderjs\nimport script from \"./c-button.vue?vue&type=script&lang=js&\"\nexport * from \"./c-button.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 null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/c-button/c-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!./c-button.vue?vue&type=template&id=ea46bcf8&\"","var components\ntry {\n components = {\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 }\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!./c-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!./c-button.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"u-button\">\r\n\t\t<u-button :text=\"text\" color=\"#0CB17A\" :plain=\"false\" :hairline=\"false\" :disabled=\"disabled\" :throttleTime=\"1500\"\r\n\t\t\ttype=\"info\" shape=\"circle\" :open-type=\"openType\" @getphonenumber=\"getPhoneNumber\"\r\n\t\t\t:custom-style=\"getCustomStyle\" @click=\"click\">\r\n\t\t</u-button>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tname: 'u-button',\r\n\t\tprops: {\r\n\t\t\ttext: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\ttype: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'confirm'\r\n\t\t\t},\r\n\t\t\topenType: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\tdisabled: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\n\t\t\t},\r\n\t\t\tcustomStyle: {\r\n\t\t\t\ttype: Object,\r\n\t\t\t\tdefault () {\r\n\t\t\t\t\treturn {}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tcolor: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {}\r\n\t\t},\r\n\r\n\t\twatch: {\r\n\t\t\tbuttonType: function(newVal, oldVal) {\r\n\t\t\t\tswitch (this.type) {\r\n\t\t\t\t\tcase 'confirm':\r\n\t\t\t\t\t\tthis.color = \"#0CB17A\";\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tcomputed: {\r\n\t\t\t// getCustomStyle() {\r\n\r\n\t\t\t// \tconst {\r\n\t\t\t// \t\ttype = ''\r\n\t\t\t// \t} = this;\r\n\r\n\t\t\t// \tlet style = {};\r\n\r\n\t\t\t// \tswitch (type) {\r\n\t\t\t// \t\tcase 'confirm':\r\n\t\t\t// \t\t\treturn Object.assign({}, {\r\n\t\t\t// \t\t\t\tbackgroundColor: '#FF001A',\r\n\t\t\t// \t\t\t\tborderRadius: '8rpx',\r\n\t\t\t// \t\t\t}, this.customStyle);\r\n\t\t\t// \t\t\tbreak;\r\n\r\n\t\t\t// \t\tcase 'cancel':\r\n\t\t\t// \t\t\treturn Object.assign({}, {\r\n\t\t\t// \t\t\t\tbackgroundColor: \"rgba(0,0,0,0.15)\",\r\n\t\t\t// \t\t\t\tborderRadius: '8rpx',\r\n\t\t\t// \t\t\t}, this.customStyle);\r\n\t\t\t// \t\t\tbreak;\r\n\r\n\t\t\t// \t\tcase 'custom':\r\n\t\t\t// \t\t\treturn Object.assign({}, this.customStyle);\r\n\t\t\t// \t\t\tbreak;\r\n\t\t\t// \t}\r\n\t\t\t// }\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// 按钮点击\r\n\t\t\tclick(e) {\r\n\t\t\t\tthis.$emit('click', e);\r\n\t\t\t},\r\n\r\n\t\t\tgetPhoneNumber(e) {\r\n\t\t\t\tthis.$emit(\"getPhoneNumber\", e)\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\r\n</style>\n"],"sourceRoot":""} |
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/yxly-teacher/components/c-input-item/c-input-item.vue?0f6d","webpack:////Users/linon/work/workai/yxly-teacher/components/c-input-item/c-input-item.vue?57e1","webpack:////Users/linon/work/workai/yxly-teacher/components/c-input-item/c-input-item.vue?7423","webpack:////Users/linon/work/workai/yxly-teacher/components/c-input-item/c-input-item.vue?a742","uni-app:///components/c-input-item/c-input-item.vue","webpack:////Users/linon/work/workai/yxly-teacher/components/c-input-item/c-input-item.vue?d391"],"names":[],"mappings":"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","file":"components/c-input-item/c-input-item.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./c-input-item.vue?vue&type=template&id=47f60cf8&scoped=true&\"\nvar renderjs\nimport script from \"./c-input-item.vue?vue&type=script&lang=js&\"\nexport * from \"./c-input-item.vue?vue&type=script&lang=js&\"\nimport style0 from \"./c-input-item.vue?vue&type=style&index=0&id=47f60cf8&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 \"47f60cf8\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/c-input-item/c-input-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!./c-input-item.vue?vue&type=template&id=47f60cf8&scoped=true&\"","var components\ntry {\n components = {\n uFormItem: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-form-item/u-form-item\" */ \"@/uview-ui/components/u-form-item/u-form-item.vue\"\n )\n },\n uInput: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-input/u-input\" */ \"@/uview-ui/components/u-input/u-input.vue\"\n )\n },\n uRadioGroup: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-radio-group/u-radio-group\" */ \"@/uview-ui/components/u-radio-group/u-radio-group.vue\"\n )\n },\n uRadio: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-radio/u-radio\" */ \"@/uview-ui/components/u-radio/u-radio.vue\"\n )\n },\n uPicker: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-picker/u-picker\" */ \"@/uview-ui/components/u-picker/u-picker.vue\"\n )\n },\n uSelect: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-select/u-select\" */ \"@/uview-ui/components/u-select/u-select.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 if (!_vm._isMounted) {\n _vm.e0 = function($event) {\n _vm.time_visible = true\n }\n\n _vm.e1 = function($event) {\n _vm.select_visible = true\n }\n\n _vm.e2 = function($event) {\n _vm.select_visible = true\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!./c-input-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!./c-input-item.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"c-input-item\">\r\n\t\t<!-- 文本、数字框 -->\r\n\t\t<u-form-item v-if=\"type == 'text'\" :label=\"label\" :labelWidth=\"200\" :label-position='\"top\"'\r\n\t\t\t:label-style=\"{whiteSpace:'nowrap',fontSize:'26rpx', color:'#121212'}\" :required=\"required\"\r\n\t\t\t:right-icon=\"rightIcon ? 'arrow-right' : ''\" :prop=\"name\">\r\n\t\t\t<u-input v-model=\"getValues\" :maxlength=\"maxlenth\" input-align=\"left\" :disabled=\"disabled\" :border=\"border\"\r\n\t\t\t\t:placeholder=\"placeholder ? placeholder : '请输入'\" :placeholderStyle=\"placeholderStyle\"\r\n\t\t\t\t:customStyle=\"{fontSize:'36rpx'}\" :clearable=\"clearable\" @focus=\"onFocus\"\r\n\t\t\t\t@click=\"handelClick('text')\" />\r\n\t\t</u-form-item>\r\n\t\t<u-form-item v-if=\"type == 'number'\" :label=\"label\" :labelWidth=\"200\" :label-position='\"top\"'\r\n\t\t\t:label-style=\"{whiteSpace:'nowrap',fontSize:'26rpx', color:'#121212'}\" :required=\"required\"\r\n\t\t\t:right-icon=\"rightIcon ? 'arrow-right' : ''\" :prop=\"name\">\r\n\t\t\t<u-input v-model=\"getValues\" :maxlength=\"maxlenth\" type=\"number\" input-align=\"left\" :disabled=\"disabled\"\r\n\t\t\t\t:border=\"border\" :placeholder=\"placeholder ? placeholder : '请输入'\" :placeholderStyle=\"placeholderStyle\"\r\n\t\t\t\t:clearable=\"clearable\" :customStyle=\"{fontSize:'36rpx'}\" />\r\n\t\t</u-form-item>\r\n\t\t<!-- 单选 -->\r\n\t\t<u-form-item v-if=\"type == 'radio'\" :label=\"label\" :labelWidth=\"200\" :label-position='\"top\"'\r\n\t\t\t:label-style=\"{whiteSpace:'nowrap',fontSize:'26rpx', color:'#121212' }\" :required=\"required\"\r\n\t\t\t:right-icon=\"rightIcon ? 'arrow-right' : ''\" :prop=\"name\">\r\n\t\t\t<u-radio-group v-model=\"getValues\">\r\n\t\t\t\t<u-radio v-for=\"(item, index) in options\" :key=\"index\" :name=\"item.value\" :disabled=\"item.disabled\"\r\n\t\t\t\t\tactive-color=\"#54B4F5\">\r\n\t\t\t\t\t{{ item.label }}\r\n\t\t\t\t</u-radio>\r\n\t\t\t</u-radio-group>\r\n\t\t</u-form-item>\r\n\t\t<!-- 时间选择器 -->\r\n\t\t<u-form-item v-if=\"type == 'date'\" :label=\"label\" :labelWidth=\"200\" :label-position='\"top\"'\r\n\t\t\t:label-style=\"{whiteSpace:'nowrap',fontSize:'26rpx', color:'#121212' }\" :required=\"required\"\r\n\t\t\t:right-icon=\"rightIcon ? 'arrow-right' : ''\" :prop=\"name\">\r\n\t\t\t<u-input v-model=\"getValues\" type=\"text\" input-align=\"left\" :disabled=\"true\" :border=\"border\"\r\n\t\t\t\t:clearable=\"clearable\" :placeholder=\"placeholder ? placeholder : '请选择时间'\"\r\n\t\t\t\t:placeholderStyle=\"placeholderStyle\" @click=\"time_visible = true\" :customStyle=\"{fontSize:'36rpx'}\" />\r\n\t\t\t<u-picker @confirm=\"onConfirmTime\" mode=\"time\" v-model=\"time_visible\" :params=\"{\r\n\t\t\t\t\t\tyear: true,\r\n\t\t\t\t\t\tmonth: true,\r\n\t\t\t\t\t\tday: true,}\"></u-picker>\r\n\t\t</u-form-item>\r\n\t\t<!-- 单列模式 -->\r\n\t\t<u-form-item v-if=\"type == 'select'\" :label=\"label\" :labelWidth=\"200\" :label-position='\"top\"'\r\n\t\t\t:label-style=\"{whiteSpace:'nowrap',fontSize:'26rpx', color:'#121212' }\" :required=\"required\"\r\n\t\t\t:right-icon=\"rightIcon ? 'arrow-right' : ''\" :prop=\"name\">\r\n\t\t\t<u-input v-model=\"getValues\" :maxlength=\"100\" input-align=\"left\" :disabled=\"true\" :border=\"border\"\r\n\t\t\t\t:clearable=\"clearable\" :placeholder=\"placeholder ? placeholder : '请选择'\"\r\n\t\t\t\t:placeholderStyle=\"placeholderStyle\" :customStyle=\"{fontSize:'36rpx'}\" @click=\"handelClick('select')\" />\r\n\t\t\t<u-select @confirm=\"onConfirmSingle\" v-model=\"select_visible\" mode=\"single-column\" :list=\"options\"\r\n\t\t\t\t:default-value=\"defs\">\r\n\t\t\t</u-select>\r\n\t\t</u-form-item>\r\n\t\t<!-- 多列联动模式 -->\r\n\t\t<u-form-item v-if=\"type == 'cascader'\" :label=\"label\" :labelWidth=\"200\" :label-position='\"top\"'\r\n\t\t\t:label-style=\"{whiteSpace:'nowrap',fontSize:'26rpx', color:'#121212' }\" :required=\"required\"\r\n\t\t\t:right-icon=\"rightIcon ? 'arrow-right' : ''\" :prop=\"name\">\r\n\t\t\t<u-input v-model=\"getValues\" input-align=\"left\" :disabled=\"true\" :border=\"border\" :clearable=\"clearable\"\r\n\t\t\t\t:placeholder=\"placeholder ? placeholder : '请选择'\" :placeholderStyle=\"placeholderStyle\"\r\n\t\t\t\t@click=\"select_visible = true\" />\r\n\t\t\t<u-select @confirm=\"onConfirmAutoMutil\" v-model=\"select_visible\" mode=\"mutil-column-auto\" :list=\"options\">\r\n\t\t\t</u-select>\r\n\t\t</u-form-item>\r\n\t\t<!-- 省市区选择 -->\r\n\t\t<u-form-item v-if=\"type == 'area'\" :label=\"label\" :labelWidth=\"200\" :label-position='\"top\"'\r\n\t\t\t:label-style=\"{whiteSpace:'nowrap',fontSize:'26rpx', color:'#121212' }\" :required=\"required\"\r\n\t\t\t:right-icon=\"rightIcon ? 'arrow-right' : ''\" :prop=\"name\">\r\n\t\t\t<u-input v-model=\"getValues\" input-align=\"left\" :disabled=\"true\" :border=\"border\" :clearable=\"clearable\"\r\n\t\t\t\t:placeholder=\"placeholder ? placeholder : '请选择'\" :placeholderStyle=\"placeholderStyle\"\r\n\t\t\t\t@click=\"select_visible = true\" :customStyle=\"{fontSize:'36rpx'}\" />\r\n\t\t\t<u-select @confirm=\"onConfirmArea\" v-model=\"select_visible\" mode=\"mutil-column-auto\" :list=\"options\">\r\n\t\t\t</u-select>\r\n\t\t</u-form-item>\r\n\t\t<!-- 文本输入框 -->\r\n\t\t<u-form-item v-if=\"type == 'textarea'\" :label=\"label\" :labelWidth=\"200\" :label-position='\"top\"'\r\n\t\t\t:label-style=\"{whiteSpace:'nowrap',fontSize:'26rpx', color:'#121212'}\" :border-bottom=\"borderBottom\" :required=\"required\"\r\n\t\t\t:right-icon=\"rightIcon ? 'arrow-right' : ''\" :prop=\"name\">\r\n\t\t\t<u-input v-model=\"getValues\" input-align=\"left\" :disabled=\"disabled\" :border=\"border\"\r\n\t\t\t\t:placeholder=\"placeholder ? placeholder : '请输入'\" :placeholderStyle=\"placeholderStyle\"\r\n\t\t\t\t:clearable=\"clearable\" :customStyle=\"{fontSize:'36rpx'}\" />\r\n\t\t</u-form-item>\r\n\t</view>\r\n\r\n</template>\r\n\r\n<script>\r\n\t// import miment from 'miment'\r\n\timport {\r\n\t\tgetLabel\r\n\t} from '../../common/util.js'\r\n\r\n\texport default {\r\n\t\tname: 'u-input-item',\r\n\t\tprops: {\r\n\t\t\t//title\r\n\t\t\tlabel: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\ttype: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'text'\r\n\t\t\t},\r\n\t\t\t// 是否显示左边的必填星号,只作显示用,具体校验必填的逻辑,请在rules中配置\r\n\t\t\trequired: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\n\t\t\t},\r\n\t\t\trightIcon: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: true\r\n\t\t\t},\r\n\t\t\t//表单提交时的key\r\n\t\t\tname: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\tvalue: {\r\n\t\t\t\ttype: Object,\r\n\t\t\t\tdefault () {\r\n\t\t\t\t\treturn {}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tclearable: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\n\t\t\t},\r\n\t\t\tdisabled: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\n\t\t\t},\r\n\t\t\tborder: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\n\t\t\t},\n\t\t\tborderBottom: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: true\n\t\t\t},\n\t\t\tplaceholder: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\r\n\t\t\tmaxlenth: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: '100'\r\n\t\t\t},\r\n\r\n\t\t\tplaceholderStyle: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'font-size:34rpx;color:rgba(0,0,0,0.5);'\r\n\t\t\t},\r\n\t\t\tcustomStyle: {\r\n\t\t\t\ttype: Object,\r\n\t\t\t\tdefault () {\r\n\t\t\t\t\treturn {};\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t//单选框数据列表\r\n\t\t\toptions: {\r\n\t\t\t\ttype: Array,\r\n\t\t\t\tdefault () {\r\n\t\t\t\t\treturn []\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t//\r\n\t\t\tdefs: {\r\n\t\t\t\ttype: Array,\r\n\t\t\t\tdefault () {\r\n\t\t\t\t\treturn [0]\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\ttime_visible: false,\r\n\t\t\t\tselect_visible: false,\r\n\t\t\t\tcurrentValue: '',\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\twatch: {\r\n\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\tgetValues: {\r\n\t\t\t\t// getter\r\n\t\t\t\tget: function() {\r\n\t\t\t\t\tconst defaultValue = this.$parent.model[this.name];\r\n\t\t\t\t\tlet finalValue = ''\r\n\r\n\t\t\t\t\tif (!defaultValue || defaultValue.length <= 0 || JSON.stringify(defaultValue) == '{}') {\r\n\t\t\t\t\t\treturn ''\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tswitch (this.type) {\r\n\r\n\t\t\t\t\t\tcase 'date':\r\n\t\t\t\t\t\t\treturn defaultValue > 0 ? this.$u.timeFormat(defaultValue) : ''\r\n\t\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\t\tcase 'select':\r\n\t\t\t\t\t\t\tconst selectValue = this.options.filter((item, index) => {\r\n\t\t\t\t\t\t\t\treturn defaultValue == item.value\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\treturn selectValue[0].label\r\n\t\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\t\tcase 'cascader':\r\n\t\t\t\t\t\t\tconst {\r\n\t\t\t\t\t\t\t\toptions = []\r\n\t\t\t\t\t\t\t} = this;\r\n\r\n\t\t\t\t\t\t\treturn defaultValue\r\n\t\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\t\tcase 'area':\r\n\t\t\t\t\t\t\tfinalValue = defaultValue.province + '/' + defaultValue.city + '/' + defaultValue\r\n\t\t\t\t\t\t\t\t.district\r\n\t\t\t\t\t\t\treturn finalValue\r\n\t\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\t\tdefault:\r\n\t\t\t\t\t\t\treturn defaultValue\r\n\t\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t},\r\n\t\t\t\t// setter\r\n\t\t\t\tset: function(newValue) {\r\n\t\t\t\t\tconsole.log(newValue)\r\n\r\n\t\t\t\t\tswitch (this.type) {\r\n\r\n\t\t\t\t\t\tcase 'number':\r\n\t\t\t\t\t\t\tthis.$emit('input', newValue);\r\n\t\t\t\t\t\t\treturn newValue\r\n\t\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\t\tcase 'text':\r\n\t\t\t\t\t\tcase 'textarea':\r\n\t\t\t\t\t\tcase 'radio':\r\n\t\t\t\t\t\t\tthis.$emit('input', newValue);\r\n\t\t\t\t\t\t\treturn newValue\r\n\t\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\t\tcase 'date':\r\n\t\t\t\t\t\tcase 'select':\r\n\t\t\t\t\t\tcase 'area':\r\n\t\t\t\t\t\t\treturn this.currentValue\r\n\t\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\thandelClick(type) {\r\n\t\t\t\tswitch (type) {\r\n\t\t\t\t\tcase 'text':\r\n\t\t\t\t\t\tthis.$emit('click', '');\r\n\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\tcase 'select':\r\n\t\t\t\t\t\tthis.select_visible = true;\r\n\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\t// 收起键盘\r\n\t\t\t\t\t\t\tuni.hideKeyboard();\r\n\t\t\t\t\t\t} catch (e) {}\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t},\r\n\r\n\t\t\tonFocus(value) {\r\n\t\t\t\tthis.$emit('focus', value);\r\n\t\t\t},\r\n\r\n\t\t\tonConfirmTime(value) {\r\n\t\t\t\tconst millisecond = new Date().setFullYear(value.year, Number(value.month) - 1, value.day);\r\n\t\t\t\tconst timestamp = Math.floor(millisecond / 1000);\r\n\r\n\t\t\t\tlet currentValue = this.$u.timeFormat(timestamp)\r\n\r\n\t\t\t\tconsole.log(timestamp, currentValue)\r\n\r\n\t\t\t\tthis.currentValue = currentValue;\r\n\t\t\t\tthis.$emit('input', timestamp);\r\n\r\n\t\t\t},\r\n\t\t\tonConfirmSingle(value) {\r\n\t\t\t\tthis.currentValue = value[0].label;\r\n\t\t\t\tthis.$emit('input', value[0].value);\r\n\r\n\t\t\t},\r\n\r\n\t\t\tonConfirmAutoMutil(value) {\r\n\t\t\t\tlet currentValue = '';\r\n\t\t\t\tlet newValue = [];\r\n\r\n\t\t\t\tif (value && value.length > 0) {\r\n\t\t\t\t\tvalue.map((item, index, array) => {\r\n\r\n\t\t\t\t\t\tif (index == array.length - 1) {\r\n\t\t\t\t\t\t\tcurrentValue += item.label\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tcurrentValue += (item.label + '/')\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tnewValue.push(item.label)\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t\tthis.currentValue = currentValue;\r\n\t\t\t\tthis.$emit('input', newValue);\r\n\r\n\t\t\t},\r\n\t\t\tonConfirmArea(value) {\r\n\t\t\t\tconsole.log(value)\r\n\t\t\t\tlet currentValue = '';\r\n\t\t\t\tlet newValue = {};\r\n\r\n\t\t\t\tif (value && value.length > 0) {\r\n\t\t\t\t\tvalue.map((item, index, array) => {\r\n\r\n\t\t\t\t\t\tswitch (index) {\r\n\t\t\t\t\t\t\tcase 0:\r\n\t\t\t\t\t\t\t\tcurrentValue += (item.label + '/')\r\n\t\t\t\t\t\t\t\tnewValue.province = item.label;\r\n\t\t\t\t\t\t\t\tnewValue.province_code = item.value;\r\n\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\tcase 1:\r\n\t\t\t\t\t\t\t\tcurrentValue += (item.label + '/')\r\n\t\t\t\t\t\t\t\tnewValue.city = item.label;\r\n\t\t\t\t\t\t\t\tnewValue.city_code = item.value;\r\n\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\tcase 2:\r\n\t\t\t\t\t\t\t\tcurrentValue += (item.label)\r\n\t\t\t\t\t\t\t\tnewValue.district = item.label;\r\n\t\t\t\t\t\t\t\tnewValue.district_code = item.value;\r\n\t\t\t\t\t\t\t\tbreak;\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\tthis.currentValue = currentValue;\r\n\t\t\t\tthis.$emit('input', newValue);\r\n\r\n\t\t\t},\r\n\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.c-input-item {\r\n\t\tu-radio-group {\r\n\t\t\ttext-align: right;\r\n\t\t\tdisplay: flex;\r\n\t\t\tflex-direction: row-reverse;\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!./c-input-item.vue?vue&type=style&index=0&id=47f60cf8&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!./c-input-item.vue?vue&type=style&index=0&id=47f60cf8&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/yxly-teacher/components/c-loading/c-loading.vue?94ae","webpack:////Users/linon/work/workai/yxly-teacher/components/c-loading/c-loading.vue?e1b9","webpack:////Users/linon/work/workai/yxly-teacher/components/c-loading/c-loading.vue?8868","webpack:////Users/linon/work/workai/yxly-teacher/components/c-loading/c-loading.vue?503b","uni-app:///components/c-loading/c-loading.vue","webpack:////Users/linon/work/workai/yxly-teacher/components/c-loading/c-loading.vue?4d3c"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAsH;AACtH;AAC6D;AACL;AACc;;;AAGtE;AACgN;AAChN,gBAAgB,iNAAU;AAC1B,EAAE,+EAAM;AACR,EAAE,oFAAM;AACR,EAAE,6FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,wFAAU;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,4LAEN;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;AAAu0B,CAAgB,uyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;ACO31B;AACA;AACA;AACA,kBADA;AAEA,yBAFA,EADA;;AAKA;AACA,mBADA;AAEA,mBAFA,EALA;;AASA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,+BADA;AAEA,yBAFA;AAGA,yBAHA;;AAKA,OARA,EATA,EADA;;;AAqBA,MArBA,kBAqBA;AACA;AACA,GAvBA,E;;;;;;;;;;;;ACPA;AAAA;AAAA;AAAA;AAAsiD,CAAgB,s6CAAG,EAAC,C","file":"components/c-loading/c-loading.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./c-loading.vue?vue&type=template&id=4f01b46a&\"\nvar renderjs\nimport script from \"./c-loading.vue?vue&type=script&lang=js&\"\nexport * from \"./c-loading.vue?vue&type=script&lang=js&\"\nimport style0 from \"./c-loading.vue?vue&type=style&index=0&lang=scss&\"\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 null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/c-loading/c-loading.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!./c-loading.vue?vue&type=template&id=4f01b46a&\"","var components\ntry {\n components = {\n uLoadmore: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-loadmore/u-loadmore\" */ \"@/uview-ui/components/u-loadmore/u-loadmore.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!./c-loading.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!./c-loading.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"m-loading\">\n\t\t<u-loadmore :status=\"loading\" :icon=\"icon\" :loadText=\"loadText\" bgColor=\"#F7F7F7\" marginTop='12rpx' marginBottom='12rpx'></u-loadmore>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tprops: {\r\n\t\t\tloading: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'loadmore'\r\n\t\t\t},\n\t\t\ticon: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: true\n\t\t\t},\n\t\t\tloadText: {\r\n\t\t\t\ttype: Object,\n\t\t\t\tdefault () {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tloadmore: '点击或上拉加载更多',\n\t\t\t\t\t\tloading: '正在加载',\n\t\t\t\t\t\tnomore: '没有更多了'\n\t\t\t\t\t}\n\t\t\t\t}\t\r\n\t\t\t}\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {};\r\n\t\t}\r\n\t};\r\n</script>\r\n\r\n<style lang=\"scss\">\n\t.m-loading {\n\t\tbackground-color: #F7F7F7;\n\t\tpadding: 20rpx 0;\n\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!./c-loading.vue?vue&type=style&index=0&lang=scss&\"; 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!./c-loading.vue?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/yxly-teacher/components/hx-navbar/hx-navbar.nvue?2bba","webpack:////Users/linon/work/workai/yxly-teacher/components/hx-navbar/hx-navbar.nvue?d071","webpack:////Users/linon/work/workai/yxly-teacher/components/hx-navbar/hx-navbar.nvue?2fba","webpack:////Users/linon/work/workai/yxly-teacher/components/hx-navbar/hx-navbar.nvue?08f0","uni-app:///components/hx-navbar/hx-navbar.nvue","webpack:////Users/linon/work/workai/yxly-teacher/components/hx-navbar/hx-navbar.nvue?5612"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAuH;AACvH;AAC8D;AACL;AACc;;;AAGvE;AACgN;AAChN,gBAAgB,iNAAU;AAC1B,EAAE,gFAAM;AACR,EAAE,qFAAM;AACR,EAAE,8FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,yFAAU;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;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACvDA;AAAA;AAAA;AAAA;AAAw0B,CAAgB,wyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwJ51B;AACA,kBADA;AAEA,gBAFA;;;AAKA,MALA,kBAKA;AACA;AACA,eADA;AAEA,6BAFA;AAGA,4CAHA;AAIA,2BAJA;AAKA,8BALA;AAMA;AACA,yBAPA;AAQA;AACA,eATA;AAUA;AACA,kBAXA;AAYA;AACA,6BAbA;AAcA;AACA,sBAfA;AAgBA;AACA,8BAjBA;AAkBA;AACA,gBAnBA;AAoBA;AACA,qBArBA;AAsBA;AACA,0BAvBA;;AAyBA;AACA;AACA;AACA,iBAFA;AAGA;AACA,kBAJA;;AAMA;AACA,mBAPA;AAQA;AACA,uBATA;AAUA;AACA,qCAXA;AAYA;AACA,iCAbA;;AAeA;AACA,sBAhBA;AAiBA;AACA,wBAlBA;AAmBA;AACA,wBApBA;AAqBA;AACA;AACA,uCAvBA;AAwBA;AACA;AACA;AACA;AACA;AACA,2BA7BA;;AA+BA;AACA,4CAhCA;AAiCA;AACA,wBAlCA;AAmCA;AACA,kCApCA;;AAsCA;AACA,kBAvCA;AAwCA;AACA,qBAzCA;AA0CA;AACA,yBA3CA;AA4CA;AACA,sBA7CA;;AA+CA;AACA,wBAhDA;AAiDA;AACA,yBAlDA;AAmDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAhEA;AAiEA;AACA;AACA;AACA;AACA;AACA;AACA,qBAvEA;AAwEA;AACA,qBAzEA;AA0EA;AACA,4BA3EA;;AA6EA;AACA,qBA9EA;AA+EA;AACA,wBAhFA;AAiFA;AACA,8BAlFA,EA1BA;;;;AAgHA,GAtHA;AAuHA;AACA;AACA,kBADA;AAEA,+CAFA,EADA,EAvHA;;;;;AA+HA;AACA;AACA,mBAFA,6BAEA;AACA;AACA;AACA,KALA;AAMA,gBANA,0BAMA;AACA;AACA;AACA,KATA;AAUA,eAVA,yBAUA;AACA;AACA,KAZA,EA/HA;;;AA8IA,SA9IA,qBA8IA;AACA;AACA;;AAEA;AACA;;;;;;AAMA;;AAEA,GA3JA;AA4JA,SA5JA,qBA4JA;;;AAGA,GA/JA;AAgKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AATA,GAhKA;AA2KA;AACA,cADA,sBACA,IADA,EACA;;AAEA;AACA;;;;;AAKA,KATA;AAUA,QAVA,kBAUA;AACA;AACA;AACA;;AAEA;AACA;AACA,gCADA;;AAGA;AACA;AACA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,sIADA;AAEA,oCAFA;;AAIA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAHA,MAGA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SALA,MAKA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,WALA,MAKA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,KAnGA;;AAqGA;AACA,UAtGA,oBAsGA;AACA;AACA;AACA;AACA;AACA,oCADA;;;AAIA,OALA,MAKA;AACA;AACA;AACA,iCADA;;AAGA,OALA,MAKA;AACA;AACA,OAFA,MAEA;;;;AAIA;AACA,KA1HA;AA2HA,cA3HA,sBA2HA,CA3HA,EA2HA;AACA;AACA,KA7HA;AA8HA,cA9HA,sBA8HA,CA9HA,EA8HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA;;AAEA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,uDADA;AAEA,sCAFA;;AAIA,SALA,MAKA;AACA;AACA,uDADA;AAEA,sCAFA;;AAIA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA;;AAEA;;;AAGA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAXA,MAWA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA,KAlQA;AAmQA;AACA;AACA,eArQA,uBAqQA,MArQA,EAqQA,IArQA,EAqQA,MArQA,EAqQA,IArQA,EAqQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAnRA;AAoRA;AACA,iBArRA,yBAqRA,UArRA,EAqRA,QArRA,EAqRA,IArRA,EAqRA;AACA;AACA,+CAFA,CAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sCAVA,CAUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KA1SA;AA2SA;AACA,YA5SA,oBA4SA,MA5SA,EA4SA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAdA,MAcA;AACA;AACA;AACA,KAjUA;;AAmUA,YAnUA,oBAmUA,GAnUA,EAmUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAFA,CAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAfA,MAeA;AACA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAXA,MAWA;AACA;AACA;AACA,KApWA;AAqWA;AACA;AACA,cAvWA,sBAuWA,UAvWA,EAuWA,WAvWA,EAuWA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAbA,MAaA;AACA;AACA;AACA;AACA;AACA,KAjYA;AAkYA,qBAlYA,6BAkYA,GAlYA,EAkYA;AACA;AACA;AACA,KArYA;AAsYA;AACA,iBAvYA,yBAuYA,KAvYA,EAuYA;AACA;AACA,KAzYA;AA0YA;AACA,eA3YA,uBA2YA,KA3YA,EA2YA;AACA;AACA,KA7YA,EA3KA,E;;;;;;;;;;;;;ACxJA;AAAA;AAAA;AAAA;AAAuiD,CAAgB,u6CAAG,EAAC,C","file":"components/hx-navbar/hx-navbar.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./hx-navbar.nvue?vue&type=template&id=ec8f5f84&\"\nvar renderjs\nimport script from \"./hx-navbar.nvue?vue&type=script&lang=js&\"\nexport * from \"./hx-navbar.nvue?vue&type=script&lang=js&\"\nimport style0 from \"./hx-navbar.nvue?vue&type=style&index=0&lang=scss&\"\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 null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/hx-navbar/hx-navbar.nvue\"\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!./hx-navbar.nvue?vue&type=template&id=ec8f5f84&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var l0 = _vm.conf.leftButton\n ? _vm.__map(_vm.conf.leftButton, function(btn, index) {\n var $orig = _vm.__get_orig(btn)\n\n var m0 =\n btn.position && btn.position == \"left\"\n ? _vm.iconHandle(btn.icon)\n : null\n var m1 =\n !btn.position || btn.position != \"left\"\n ? _vm.iconHandle(btn.icon)\n : null\n return {\n $orig: $orig,\n m0: m0,\n m1: m1\n }\n })\n : null\n var l1 = _vm.conf.rightButton\n ? _vm.__map(_vm.conf.rightButton, function(btn, index) {\n var $orig = _vm.__get_orig(btn)\n\n var m2 =\n btn.position && btn.position == \"left\"\n ? _vm.iconHandle(btn.icon)\n : null\n var m3 =\n !btn.position || btn.position != \"left\"\n ? _vm.iconHandle(btn.icon)\n : null\n return {\n $orig: $orig,\n m2: m2,\n m3: m3\n }\n })\n : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n l0: l0,\n l1: l1\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!./hx-navbar.nvue?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!./hx-navbar.nvue?vue&type=script&lang=js&\"","<!-- \n项目:导航栏插件\n时间:2020.8.28\n作者:酸菜鱼\n邮箱:1012083552@qq.com\n-->\n<template>\n\t\n\t<view class=\"hx-navbar\" :style=\"{width:screenWidth + 'px'}\">\n\t\t<view class=\"hx-navbar__content\"\n\t\t:class=\"{'hx-navbar__fixed': conf.fixed,'hx-navbar__shadow':conf.shadow,'hx-navbar__border':conf.border}\"\n\t\t:style=\"{width:screenWidth + 'px','background-color': !bgIsLine ? backgroundColorRgba : '','background-image':bgIsLine ? backgroundColorRgba : '',height: navbarHeight, color: txtColor}\">\n\t\t\t<!-- <block v-if=\"backgroundImage\">\n\t\t\t\t<view class=\"hx-navbar__img\" :style=\"{'background-image': backgroundImageEnd,'opacity': bgImgTransparent[1]}\"></view>\n\t\t\t\t<view class=\"hx-navbar__img\" :style=\"{'background-image': backgroundImage,'opacity': bgImgTransparent[0]}\"></view>\n\t\t\t</block> -->\n\t\t\t<view class=\"hx-navbar__content__imgctn\" :style=\"{'opacity': bgImgTransparent[1]}\" v-if=\"backgroundImage\">\n\t\t\t\t<image class=\"hx-navbar__imgctn__img\" :style=\"{'height': conf.height + statusBarHeight + 'px',width:screenWidth + 'px'}\" :src=\"backgroundImageEnd\" mode=\"scaleToFill\"></image>\n\t\t\t</view>\n\t\t\t<view class=\"hx-navbar__content__imgctn\" :style=\"{'opacity': bgImgTransparent[0]}\" v-if=\"backgroundImage\">\n\t\t\t\t<image class=\"hx-navbar__imgctn__img\" :style=\"{'height': conf.height + statusBarHeight + 'px',width:screenWidth + 'px'}\" :src=\"backgroundImage\" mode=\"scaleToFill\"></image>\n\t\t\t</view>\n\t\t\t<!-- #ifndef H5 -->\n\t\t\t<!-- 状态栏 -->\n\t\t\t<view :style=\"'height:' + statusBarHeight + 'px;' + (statusBarBackground ? 'background-color:'+ statusBarBackground : '')\" class=\"hx-navbar__status\" v-if=\"conf.statusBar\" ></view>\n\t\t\t<!-- #endif -->\n\t\t\t<!-- 小程序分开编译 -->\n\t\t\t<!-- #ifdef MP -->\n\t\t\t<view class=\"hx-navbar__content__main\" :style=\"{ height: conf.height + 'px', fontSize: conf.fontSize,maxWidth: `calc(100vw - ${jnWidth}px - 13px)`}\">\n\t\t\t<!-- #endif -->\n\t\t\t\t\n\t\t\t<!-- #ifndef MP -->\n\t\t\t<view class=\"hx-navbar__content__main\" :style=\"{ height: conf.height + 'px', fontSize: conf.fontSize}\">\n\t\t\t<!-- #endif -->\n\t\t\t\t<!-- 不是app的时候中返回和left在前面 -->\n\t\t\t\t<!-- #ifndef APP-PLUS-NVUE -->\n\t\t\t\t<view class=\"hx-navbar__content__main_back\" @tap=\"onBack\" v-if=\"conf.back\">\n\t\t\t\t\t<text class=\"hxicon hx-navbar__icon\" :class=\"{'hx-navbar__icontran':bgTransparent == 0}\" :style=\"{color: txtColor}\"></text>\n\t\t\t\t\t<text class=\"hx_font_size\" :style=\"{color: txtColor}\" v-if=\"conf.backTxt\">{{conf.backTxt}}</text>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"hx-navbar__content__main_left\" style=\"padding: 0;margin:0 13px 0 0;\" v-if=\"conf.leftSlot\">\n\t\t\t\t\t<slot name=\"leftSwitch\" v-if=\"conf.leftSlotSwitch && slotSwitchOpacity == 0\" />\n\t\t\t\t\t<slot name=\"left\" v-else></slot>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"hx-navbar__content__main_left\" :style=\"{'padding': conf.back ||conf.leftSlot ? '0' : '0 9px 0 13px;' }\" v-if=\"conf.leftButton\">\n\t\t\t\t\t<block v-for=\"(btn,index) in conf.leftButton\" :key=\"index\">\n\t\t\t\t\t\t<view class=\"hx-navbar__content__main_left_btn\" @tap=\"onClickBtn(btn)\" :class=\"{'hx-navbar__btntran':bgTransparent == 0}\">\n\t\t\t\t\t\t\t<text v-if=\"btn.position && btn.position == 'left'\" class=\"hx-navbar__icon\" :class=\"conf.font\" :style=\"{color:btn.color ? btn.color : txtColor,marginRight:btn.txt ? '2px': '0'}\">{{iconHandle(btn.icon)}}</text>\n\t\t\t\t\t\t\t<text class=\"hx-navbar__content__main_lefticon_txt hx_font_size\" :style=\"{color:btn.color ? btn.color : txtColor}\" v-if=\"btn.txt\">{{btn.txt}}</text>\n\t\t\t\t\t\t\t<text v-if=\"!btn.position || btn.position != 'left'\" class=\"hx-navbar__icon\" :class=\"conf.font\" :style=\"{color:btn.color ? btn.color : txtColor,marginLeft:btn.txt ? '2px': '0'}\">{{iconHandle(btn.icon)}}</text>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</block>\n\t\t\t\t</view>\n\t\t\t\t<!-- #endif -->\n\t\t\t\t\n\t\t\t\t<view class=\"hx-navbar__content__main_center\" v-if=\"!conf.search && !conf.maxSlot\">\n\t\t\t\t\t<view class=\"hx-navbar__content__main_center_flex\"></view>\n\t\t\t\t\t<view class=\"hx-navbar__content__main_center_txt\" >\n\t\t\t\t\t\t<text class=\"hx_font_size hx_text_overflow\" :style=\"{color: txtColor}\" v-if=\"!conf.centerSlot && title\">{{title}}</text>\n\t\t\t\t\t\t\n\t\t\t\t\t\t<slot name=\"centerSwitch\" v-if=\"conf.centerSlotSwitch && slotSwitchOpacity == 0\"/>\n\t\t\t\t\t\t<slot name=\"center\" v-else/>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"hx-navbar__content__main_center_flex\"></view>\n\t\t\t\t</view>\n\t\t\t\t\n\t\t\t\t<view class=\"hx-navbar__content__main_center\" style=\"overflow: hidden\" v-if=\"!conf.search && conf.maxSlot\">\n\t\t\t\t\t<slot name=\"maxSwitch\" v-if=\"conf.maxSlotSwitch && slotSwitchOpacity == 0\" />\n\t\t\t\t\t<slot name=\"max\" v-else />\n\t\t\t\t</view>\n\t\t\t\t\n\t\t\t\t<!-- #ifdef APP-PLUS-NVUE -->\n\t\t\t\t<view class=\"hx-navbar__content__main_back\" @tap=\"onBack\" v-if=\"conf.back\">\n\t\t\t\t\t<text class=\"hxicon hx-navbar__icon\" :class=\"{'hx-navbar__icontran':bgTransparent == 0}\" :style=\"{color: txtColor}\"></text>\n\t\t\t\t\t<text class=\"hx_font_size\" :style=\"{color: txtColor}\" v-if=\"conf.backTxt\">{{conf.backTxt}}</text>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"hx-navbar__content__main_left\" style=\"padding: 0;margin:0 13px 0 0;\" v-if=\"conf.leftSlot\">\n\t\t\t\t\n\t\t\t\t\t<slot name=\"leftSwitch\" v-if=\"conf.leftSlotSwitch && slotSwitchOpacity == 0\" />\n\t\t\t\t\t<slot name=\"left\" v-else></slot>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"hx-navbar__content__main_left\" :style=\"{'padding': conf.back ||conf.leftSlot ? '0' : '0 9px 0 13px;' }\" v-if=\"conf.leftButton\">\n\t\t\t\t\t<block v-for=\"(btn,index) in conf.leftButton\" :key=\"index\">\n\t\t\t\t\t\t<view class=\"hx-navbar__content__main_left_btn\" @tap=\"onClickBtn(btn)\" :class=\"{'hx-navbar__btntran':bgTransparent == 0}\">\n\t\t\t\t\t\t\t<text v-if=\"btn.position && btn.position == 'left'\" class=\"hx-navbar__icon\" :class=\"conf.font\" :style=\"{color:btn.color ? btn.color : '',marginRight:btn.txt ? '2px': '0'}\">{{iconHandle(btn.icon)}}</text>\n\t\t\t\t\t\t\t<text class=\"hx-navbar__content__main_lefticon_txt hx_font_size\" :style=\"{color:btn.color ? btn.color : txtColor}\" v-if=\"btn.txt\">{{btn.txt}}</text>\n\t\t\t\t\t\t\t<text v-if=\"!btn.position || btn.position != 'left'\" class=\"hx-navbar__icon\" :class=\"conf.font\" :style=\"{color:btn.color ? btn.color : '',marginLeft:btn.txt ? '2px': '0'}\">{{iconHandle(btn.icon)}}</text>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</block>\n\t\t\t\t</view>\n\t\t\t\t<!-- #endif -->\n\t\t\t\t\n\t\t\t\t<view class=\"hx-navbar__content__main_search\" :style=\"{'padding-left': conf.leftButton ? '9px' : '13px','padding-right': conf.rightButton ? '9px' : '13px'}\" v-if=\"conf.search\" @click=\"searchClick\">\n\t\t\t\t\t<text class=\"hxicon hx-navbar__content__main_search_hxicon\" style=\"color:#dbdbdb;\"></text>\n\t\t\t\t\t<input type=\"text\"\n\t\t\t\t\tclass=\"hx-navbar__content__main_search_input hx_font_size\"\n\t\t\t\t\tplaceholder-style=\"color:#dbdbdb;\"\n\t\t\t\t\tconfirm-type=\"search\"\n\t\t\t\t\t:value=\"conf.search.value\" \n\t\t\t\t\t:placeholder=\"conf.search.placeholder ? conf.search.placeholder : '请输入搜索内容'\" \n\t\t\t\t\t:disabled=\"conf.search.disabled\"\n\t\t\t\t\t@confirm=\"searchConfirm\"/>\n\t\t\t\t</view>\n\t\t\t\t\n\t\t\t\t<!-- #ifndef MP -->\n\t\t\t\t<view class=\"\" style=\"flex: 1;\" v-if=\"!conf.search\"></view>\n\t\t\t\t<!-- #endif -->\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t<view class=\"hx-navbar__content__main_right\" :style=\"{padding: conf.rightSlot ? '0' : '0 13px 0 9px;'}\" v-if=\"conf.rightButton\">\n\t\t\t\t\t<block v-for=\"(btn,index) in conf.rightButton\" :key=\"index\">\n\t\t\t\t\t<view class=\"hx-navbar__content__main_right_btn\" @tap=\"onClickBtn(btn)\" :class=\"{'hx-navbar__btntran':bgTransparent == 0}\">\n\t\t\t\t\t\t<text v-if=\"btn.position && btn.position == 'left'\" class=\"hxicon hx-navbar__content__main_right_icon hx-navbar__icon\" :class=\"conf.font\" :style=\"{color:btn.color ? btn.color : '',marginRight:btn.txt ? '2px': '0'}\">{{iconHandle(btn.icon)}}</text>\n\t\t\t\t\t\t<text class=\"hx-navbar__content__main_right_txt hx_font_size\" :style=\"{color:btn.color ? btn.color : txtColor}\" v-if=\"btn.txt\">{{btn.txt}}</text>\n\t\t\t\t\t\t<text v-if=\"!btn.position || btn.position != 'left'\" class=\"hxicon hx-navbar__content__main_right_icon hx-navbar__icon\" :class=\"conf.font\" :style=\"{color:btn.color ? btn.color : '',marginLeft:btn.txt ? '2px': '0'}\">{{iconHandle(btn.icon)}}</text>\n\t\t\t\t\t</view>\n\t\t\t\t\t</block>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"hx-navbar__content__main_right\" style=\"padding: 0;margin: 0;\" v-if=\"conf.rightSlot\">\n\t\t\t\t\t<slot name=\"rightSwitch\" v-if=\"conf.rightSlotSwitch && slotSwitchOpacity == 0\"/>\n\t\t\t\t\t<slot name=\"right\" v-else />\n\t\t\t\t\t<!-- 滑动过度 和 突变两种模式,因不实用在此先注释 -->\n\t\t\t\t\t<!-- <view v-if=\"conf.rightSlotSwitch && (conf.slotSwitch == 1 || conf.slotSwitch == 2 && slotSwitchOpacity == 0) \" :style=\"{'opacity': 1 - slotSwitchOpacity,top:statusBarHeight+ 1 + 'px'}\">\n\t\t\t\t\t\t<slot name=\"rightSwitch\" />\n\t\t\t\t\t</view>\n\t\t\t\t\t<view v-if=\"conf.slotSwitch == 1 || (conf.slotSwitch == 2 && slotSwitchOpacity != 0)\" :style=\"{'opacity': conf.slotSwitch == 1 ? slotSwitchOpacity : 1,top:statusBarHeight + 1 + 'px'}\">\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\t\n\t\t</view>\n\t\t<!-- 占位符,一般都需要 -->\n\t\t<view v-if=\"conf.barPlaceholder && conf.fixed\">\n\t\t <view :style=\"{ height: statusBarHeight + 'px'}\" v-if=\"conf.statusBar\" />\n\t\t <view :style=\"{ height: conf.height + 'px'}\" />\n\t\t</view>\n\t</view>\n\t\n</template>\n\n<script>\n\t// #ifdef APP-PLUS-NVUE\n\tvar domModule = weex.requireModule('dom');\n\tvar b64 = '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'\n\tdomModule.addRule('fontFace', {\n\t\t'fontFamily': \"hxcion\",\n\t\t 'src': \"url('data:font/truetype;charset=utf-8;base64,\"+b64+\"')\"\n\t\t// 'src': \"url('../../components/hx-navbar/txt.ttf')\"\n\t});\n\tvar he = require('he');\n\t// #endif\n\texport default {\n\t\tname: \"hxNavbar\",\n\t\tcomponents: {\n\t\t \n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\ttitle: '',\n\t\t\t\tbackgroundColorRgba: '',\n\t\t\t\tbackgroundColorRgb: 'rgb(222,222,222)',\n\t\t\t\tbackgroundImage: null,\n\t\t\t\tbackgroundImageEnd: null,\n\t\t\t\t//当前使用文字颜色\n\t\t\t\ttxtColor:'#333333',\n\t\t\t\t// 背景颜色过度数组\n\t\t\t\tbgArr: [],\n\t\t\t\t// 文字颜色过度数组\n\t\t\t\tcolorArr: [],\n\t\t\t\t// 状态栏颜色\n\t\t\t\tstatusBarBackground: '',\n\t\t\t\t// 背景透明\n\t\t\t\tbgTransparent: 1,\n\t\t\t\t// 背景图片透明\n\t\t\t\tbgImgTransparent: [1,1],\n\t\t\t\t// 小程序 胶囊宽度\n\t\t\t\tjnWidth: 0,\n\t\t\t\t// 背景颜色是否为线性渐变\n\t\t\t\tbgIsLine: false,\n\t\t\t\t// 插槽过度透明度\n\t\t\t\tslotSwitchOpacity: 1,\n\t\t\t\t\n\t\t\t\t// 默认设置\n\t\t\t\tconf: {\n\t\t\t\t\t// 标题\n\t\t\t\t\ttitle: '',\n\t\t\t\t\t// nav 高度\n\t\t\t\t\theight: 44,\n\t\t\t\t\t\n\t\t\t\t\t// 是否固定头部\n\t\t\t\t\tfixed: true,\n\t\t\t\t\t// 是否包含状态栏\n\t\t\t\t\tstatusBar: true,\n\t\t\t\t\t// 状态栏字体颜色,只支持黑(#000000)和白(#FFFFFF)两种颜色。为数组则是滑动变色\n\t\t\t\t\tstatusBarFontColor:\"#000000\",\n\t\t\t\t\t//状态栏背景颜色\n\t\t\t\t\tstatusBarBackground: null,\n\t\t\t\t\t\n\t\t\t\t\t// 字体\n\t\t\t\t\tfont: 'hxicon',\n\t\t\t\t\t// 字体大小\n\t\t\t\t\tfontSize: '18px',\n\t\t\t\t\t// 文字颜色,可以数组和string,为数组则是滑动变色 [\"#000000\",\"#ff9900\"]\n\t\t\t\t\tcolor: \"#333333\",\n\t\t\t\t\t//背景颜色;参数一:透明度;参数二:背景颜色(array则为线性渐变,string为单色背景)、\n\t\t\t\t\t// [1,['#24bdab','#80c54c']]\n\t\t\t\t\tbackgroundColor: [1,'#ffffff'],\n\t\t\t\t\t// 背景图片(array则为滑动切换背景图,string为单一背景图)\n\t\t\t\t\t// 普通背景\n\t\t\t\t\t// ['/static/xj.jpg']\n\t\t\t\t\t// 切换功能参数说明:第一张图片,第二张图,第一张图透明度,第二张图透明度\n\t\t\t\t\t// ['/static/xj.jpg','/static/xk.jpg',1,1]\n\t\t\t\t\tbackgroundImg: null,\n\t\t\t\t\t\n\t\t\t\t\t// 线性渐变角度\n\t\t\t\t\tbackgroundColorLinearDeg: 'to right',\n\t\t\t\t\t// 滑动距离\n\t\t\t\t\tslideHeight: 100,\n\t\t\t\t\t// 滑动后背景颜色;参数一:透明度;参数二:背景颜色(array则为线性渐变,string为单色背景)\n\t\t\t\t\tslideBackgroundColor: null,\n\t\t\t\t\t\n\t\t\t\t\t// 是否需要返回按钮\n\t\t\t\t\tback: true,\n\t\t\t\t\t// 返回文本 '返回',小程序无效\n\t\t\t\t\tbackTxt: null,\n\t\t\t\t\t// 返回tab页面\n\t\t\t\t\tbackTabPage: null,\n\t\t\t\t\t// 返回普通页面\n\t\t\t\t\tbackPage: null,\n\t\t\t\t\t\n\t\t\t\t\t// 左侧按钮组,icon参数为必填\n\t\t\t\t\tleftButton:null,\n\t\t\t\t\t// 右侧按钮组,icon参数为必填\n\t\t\t\t\trightButton:null,\n\t\t\t\t\t// rightButton:[{\n\t\t\t\t\t//\tkey: 'address',\t\t// 标识,方便事件识别是哪一个按钮触发\n\t\t\t\t\t// \ticon: '',\t// 图标代码\n\t\t\t\t\t//\ttxt: '文本',\t\t\t// 文本,常用于城市选择\n\t\t\t\t\t// \tcolor: '#ff9900',\t// 图标颜色\n\t\t\t\t\t// position: 'left', // 图标居于文字left 或 right\n\t\t\t\t\t// },{\n\t\t\t\t\t//\tkey: 'address',\t\t// 标识,方便事件识别是哪一个按钮触发\n\t\t\t\t\t// \ticon: '', \n\t\t\t\t\t// \ttxt: '文本',\n\t\t\t\t\t// \tcolor: '#894574',\n\t\t\t\t\t// },]\n\t\t\t\t\t// 搜索框\n\t\t\t\t\tsearch: null,\n\t\t\t\t\t// search: {\n\t\t\t\t\t// \tvalue:'',\n\t\t\t\t\t// \tplaceholder: '',\n\t\t\t\t\t// \tdisabled: false\n\t\t\t\t\t// }\n\t\t\t\t\t// 阴影\n\t\t\t\t\tshadow: false,\n\t\t\t\t\t// 底边框\n\t\t\t\t\tborder: false,\n\t\t\t\t\t// 导航栏占位符\n\t\t\t\t\tbarPlaceholder: true,\n\t\t\t\t\t\n\t\t\t\t\t// 插槽滑动切换\n\t\t\t\t\tslotSwitch: 0,\n\t\t\t\t\t// 右插槽\n\t\t\t\t\trightSlot: false,\n\t\t\t\t\t// 右插槽切换\n\t\t\t\t\trightSlotSwitch: false,\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\tprops:{\n\t\t\tconfig:{\n\t\t\t\ttype: Object,\n\t\t\t\tdefault: ()=>({\n\t\t\t\t\t\n\t\t\t\t})\n\t\t\t}\n\t\t},\n\t\tcomputed:{\n\t\t\t//获取系统状态栏高度\n\t\t\tstatusBarHeight(){\n\t\t\t\tvar that = this;\n\t\t\t\treturn uni.getSystemInfoSync().statusBarHeight\n\t\t\t},\n\t\t\tnavbarHeight(){\n\t\t\t\tvar that = this;\n\t\t\t\treturn uni.getSystemInfoSync().statusBarHeight + that.conf.height + 'px'\n\t\t\t},\n\t\t\tscreenWidth(){\n\t\t\t\treturn uni.getSystemInfoSync().screenWidth;\n\t\t\t}\n\t\t},\n\t\t\n\t\tcreated(){\n\t\t\tvar that = this;\n\t\t\t// 小程序胶囊按钮长度\n\t\t\t// #ifdef MP-WEIXIN || MP-QQ || MP-BAIDU || MP-TOUTIAO\n\t\t\tlet menuButtonInfo = uni.getMenuButtonBoundingClientRect();\n\t\t\tthat.jnWidth = menuButtonInfo.width;\n\t\t\t// #endif\n\t\t\t// #ifdef MP-ALIPAY\n\t\t\tthat.jnWidth = 87;\n\t\t\t// #endif\n\t\t\t\n\t\t\tthat.init();\n\t\t\t\n\t\t},\n\t\tmounted() {\n\t\t\t\n\t\t\t\n\t\t},\n\t\twatch: {\n\t\t\t// 'conf.leftButton': {\n\t\t\t// \thandler(newVal, oldVal) {\n\t\t\t// \t\tconsole.log(\"出发了\")\n\t\t\t// \t\t//this.init()\n\t\t\t// \t\tthis.conf.leftButton = newVal\n\t\t\t// \t},\n\t\t\t// \t// 启用深度监听\n\t\t\t// \tdeep: true\n\t\t\t// }\n\t\t},\n\t\tmethods: {\n\t\t\ticonHandle(icon){\n\t\t\t\t// #ifndef APP-PLUS-NVUE\n\t\t\t\ticon= icon.replace(/(&#x|;)/g, \"\")\n\t\t\t\treturn unescape(\"%u\"+icon)\n\t\t\t\t// #endif\n\t\t\t\t// #ifdef APP-PLUS-NVUE\n\t\t\t\treturn he.decode(icon)\n\t\t\t\t// #endif\n\t\t\t},\n\t\t\tinit(){\n\t\t\t\tvar that = this;\n\t\t\t\t// 参数合并\n\t\t\t\tthat.conf = Object.assign(that.conf, that.config)\n\t\t\t\t\n\t\t\t\tif(that.conf.title != ''){\n\t\t\t\t\tuni.setNavigationBarTitle({\n\t\t\t\t\t title: that.conf.title\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\t// 标题\n\t\t\t\tif(that.conf.title){\n\t\t\t\t\tif(typeof that.conf.title == 'object' && that.conf.title.length == 2){\n\t\t\t\t\t\tthat.title = that.conf.title[0];\n\t\t\t\t\t}else{\n\t\t\t\t\t\tthat.title = that.conf.title;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// 状态栏背景颜色\n\t\t\t\tif(that.conf.statusBarBackground){\n\t\t\t\t\tif(typeof that.conf.statusBarBackground == 'object' && that.conf.statusBarBackground.length == 2){\n\t\t\t\t\t\tthat.statusBarBackground = that.conf.statusBarBackground[0];\n\t\t\t\t\t}else{\n\t\t\t\t\t\tthat.statusBarBackground = that.conf.statusBarBackground;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// 状态栏文字颜色\n\t\t\t\t\n\t\t\t\tif(that.conf.statusBarFontColor){\n\t\t\t\t\tuni.setNavigationBarColor({\n\t\t\t\t\t\tfrontColor: (typeof that.conf.statusBarFontColor == 'object') ? that.conf.statusBarFontColor[0] : that.conf.statusBarFontColor,\n\t\t\t\t\t\tbackgroundColor: '#000000'\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t//文字颜色\n\t\t\t\tif(that.conf.color != ''){\n\t\t\t\t\tif(typeof that.conf.color == 'object' && that.conf.color.length == 2){\n\t\t\t\t\t\tthat.txtColor =that.conf.color[0];\n\t\t\t\t\t\tthat.colorArr = that.gradientColor(that.conf.color[0], that.conf.color[1], that.conf.slideHeight);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tthat.txtColor = that.conf.color;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t//背景图片存在时,背景色不生效\n\t\t\t\tif(that.conf.backgroundImg){\n\t\t\t\t\tlet img = '';\n\t\t\t\t\tif(typeof that.conf.backgroundImg == 'object') {\n\t\t\t\t\t\timg = that.conf.backgroundImg[0];\n\t\t\t\t\t\tif(that.conf.backgroundImg.length>2){\n\t\t\t\t\t\t\tthat.bgTransparent = that.conf.backgroundImg[2];\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\timg = that.conf.backgroundImg;\n\t\t\t\t\t\tthat.bgTransparent = 1;\n\t\t\t\t\t}\n\t\t\t\t\tthat.backgroundImage = that.bgImgStringHandle(img);\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// 背景颜色设置\n\t\t\t\tif(that.conf.backgroundColor){\n\t\t\t\t\tlet transparent = that.conf.backgroundColor[0];\n\t\t\t\t\tlet background = that.conf.backgroundColor[1];\n\t\t\t\t\tif(typeof background == 'object' && background.length > 1){\n\t\t\t\t\t\t// 为线性背景\n\t\t\t\t\t\tthat.bgIsLine = true;\n\t\t\t\t\t}\n\t\t\t\t\tif(that.conf.slideBackgroundColor){\n\t\t\t\t\t\tlet backgroundEnd = that.conf.slideBackgroundColor[1];\n\t\t\t\t\t\tthat.bgArr = [];\n\t\t\t\t\t\tif(background && typeof background == 'object' && background.length > 0){\n\t\t\t\t\t\t\tfor(var i in background){\n\t\t\t\t\t\t\t\tthat.bgArr.push(that.gradientColor(background[i], backgroundEnd[i], that.conf.slideHeight));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tthat.bgArr.push(that.gradientColor(background, backgroundEnd, that.conf.slideHeight));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tthat.bgTransparent = transparent;\n\t\t\t\t\tthat.setBgColor(background,transparent);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(that.conf.rightButton && that.conf.rightButton.length>0){\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t},\n\t\t\t\n\t\t\t// 返回\n\t\t\tonBack() {\n\t\t\t\tvar that = this;\n\t\t\t\t// tabbar 页面\n\t\t\t\tif(that.conf.backTabPage){\n\t\t\t\t\tuni.switchTab({\n\t\t\t\t\t url: that.conf.backTabPage\n\t\t\t\t\t});\n\t\t\t\t\n\t\t\t\t}else if(that.conf.backPage){\n\t\t\t\t\t// 普通页面\n\t\t\t\t\tuni.redirectTo({\n\t\t\t\t\t url: that.conf.backPage\n\t\t\t\t\t});\n\t\t\t\t}else if(getCurrentPages().length>1){\n\t\t\t\t\tuni.navigateBack();\n\t\t\t\t}else{\n\t\t\t\t\t// #ifdef H5\n\t\t\t\t\thistory.back();\n\t\t\t\t\t// #endif\n\t\t\t\t}\n\t\t\t},\n\t\t\tonClickBtn(e){\n\t\t\t\tthis.$emit('clickBtn',e)\n\t\t\t},\n\t\t\tpageScroll(e){\n\t\t\t\tvar that = this;\n\t\t\t\tconst st = parseFloat(e.scrollTop.toFixed(2));\n\t\t\t\t// 滑动距离\n\t\t\t\tlet slideHeight = that.conf.slideHeight;\n\t\t\t\t// 过度颜色数组用到的整数滑动距离\n\t\t\t\tlet a = Math.round(st);\n\t\t\t\tif(a > 0){a -= 1}else{a=0}\n\t\t\t\t\n\t\t\t\t// 标题\n\t\t\t\tif(that.conf.title && typeof that.conf.title == 'object' && that.conf.title.length == 2){\n\t\t\t\t\tif (st <= slideHeight) {\n\t\t\t\t\t\tthat.title = that.conf.title[0];\n\t\t\t\t\t}else{\n\t\t\t\t\t\tthat.title = that.conf.title[1];\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t// 文字颜色滑动变色\n\t\t\t\tif(that.conf.color && typeof that.conf.color == 'object' && that.conf.color.length == 2){\n\t\t\t\t\tlet colorArr = that.colorArr;\n\t\t\t\t\tlet colorData = [];\n\t\t\t\t\tlet rgb = (a <= colorArr.length-1) ? colorArr[a] : colorArr[colorArr.length-1];\n\t\t\t\t\t\n\t\t\t\t\tthat.txtColor = rgb;\n\t\t\t\t\t// if (st <= slideHeight) {\n\t\t\t\t\t// \tthat.txtColor = that.conf.color[0];\n\t\t\t\t\t// } else {\n\t\t\t\t\t// \tthat.txtColor = that.conf.color[1];\n\t\t\t\t\t// }\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tthat.slotSwitchOpacity = that.transHandle(st, slideHeight, 1,0)\n\t\t\t\t\n\t\t\t\t// --------------------- 状态栏文字滑动变色 ----------------------------\n\t\t\t\t\n\t\t\t\t// 参数为数组的时候生效\n\t\t\t\tif(that.conf.statusBarFontColor && typeof that.conf.statusBarFontColor == 'object' && that.conf.statusBarFontColor.length == 2){\n\t\t\t\t\t// 滑动前 状态栏文字颜色\n\t\t\t\t\tif (st <= slideHeight) {\n\t\t\t\t\t\tuni.setNavigationBarColor({\n\t\t\t\t\t\t\tfrontColor: that.conf.statusBarFontColor[0],\n\t\t\t\t\t\t\tbackgroundColor: '#ffffff'\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\t\t\t\t\t\tuni.setNavigationBarColor({\n\t\t\t\t\t\t\tfrontColor: that.conf.statusBarFontColor[1],\n\t\t\t\t\t\t\tbackgroundColor: '#ffffff'\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// 状态栏背景颜色\n\t\t\t\tif(that.conf.statusBarBackground && typeof that.conf.statusBarBackground == 'object' && that.conf.statusBarBackground.length == 2){\n\t\t\t\t\tif (st <= slideHeight) {\n\t\t\t\t\t\tthat.statusBarBackground = that.conf.statusBarBackground[0];\n\t\t\t\t\t}else{\n\t\t\t\t\t\tthat.statusBarBackground = that.conf.statusBarBackground[1];\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t// --------------------- 状态栏滑动变色 END --------------------------\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t//--------------------- 背景图片 ---------------------------\n\t\t\t\tlet BI = that.conf.backgroundImg;\n\t\t\t\tif(that.conf.backgroundImg && typeof that.conf.backgroundImg == 'object' && BI.length >1){\n\t\t\t\t\tlet BIL = BI.length\n\t\t\t\t\tthat.bgTransparent = BIL <= 3 ? 1 : that.transHandle(st,slideHeight,BI[2],BI[3]);\n\t\t\t\t\tthat.bgImgTransparent[0] = BIL <= 3 ? 1 : that.transHandle(st,slideHeight,BI[2],0);\n\t\t\t\t\tthat.bgImgTransparent[1] = BI[3];\n\t\t\t\t\tlet img = '';\n\t\t\t\t\tif (st <= slideHeight) {\n\t\t\t\t\t\timg = BI[0];\n\t\t\t\t\t} else {\n\t\t\t\t\t\timg = BI[1];\n\t\t\t\t\t}\n\t\t\t\t\tthat.backgroundImage = that.bgImgStringHandle(BI[0]);\n\t\t\t\t\tthat.backgroundImageEnd = that.bgImgStringHandle(BI[1])\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t//--------------------- 背景颜色 ---------------------------\n\t\t\t\n\t\t\t\tif(that.conf.slideBackgroundColor){\n\t\t\t\t\tlet bgArr = that.bgArr;\n\t\t\t\t\tvar bgData = [];\n\t\t\t\t\tfor(var i in that.bgArr){\n\t\t\t\t\t\tlet rgb = (a <= bgArr[i].length-1) ? bgArr[i][a] : bgArr[i][bgArr[i].length-1];\n\t\t\t\t\t\tbgData.push(rgb.replace(/(?:\\(|\\)|rgb|RGB)*/g,\"\").split(\",\"));\n\t\t\t\t\t}\n\t\t\t\t\t// 透明度\n\t\t\t\t\tlet transparentStart = that.conf.backgroundColor[0];\n\t\t\t\t\tlet transparentEnd = that.conf.slideBackgroundColor[0];\n\t\t\t\t\tlet transparent = transparentEnd;\n\t\t\t\t\tif(st<=slideHeight){\n\t\t\t\t\t\t// 透明度差值\n\t\t\t\t\t\tlet cVal = Math.abs(transparentEnd - transparentStart);\n\t\t\t\t\t\t// 每1像素的透明度\n\t\t\t\t\t\tlet tVal = parseFloat(cVal / slideHeight).toFixed(4);\n\t\t\t\t\t\t// 滑动后透明度的插值\n\t\t\t\t\t\tlet curVal = parseFloat(tVal * st).toFixed(2);\n\t\t\t\t\t\ttransparent = transparentStart > transparentEnd ? (transparentStart-curVal) : transparentStart+curVal;\n\t\t\t\t\t\ttransparent = parseFloat(transparent).toFixed(2);\n\t\t\t\t\t\t//if(transparent>0 && transparent<1){transparent = transparent.toFixed(2)}\n\t\t\t\t\t}\n\t\t\t\t\tlet backgroundEnd = that.conf.slideBackgroundColor[1];\n\t\t\t\t\tlet rgbStr = '';\n\t\t\t\t\tif(typeof backgroundEnd == 'object' && backgroundEnd.length > 1){\n\t\t\t\t\t\trgbStr = \"linear-gradient(\"+ that.conf.backgroundColorLinearDeg +\",\";\n\t\t\t\t\t\tlet l = bgData.length;\n\t\t\t\t\t\tfor(var i in bgData){\n\t\t\t\t\t\t\tlet c = bgData[i];\n\t\t\t\t\t\t\trgbStr += \"rgba(\"+ c[0] + \",\" +c[1] +\",\" + c[2] +\",\" + transparent+\")\";\n\t\t\t\t\t\t\tif(l != (i*1)+1){\n\t\t\t\t\t\t\t\trgbStr += \",\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\trgbStr += \")\"; \n\t\t\t\t\t}else{\n\t\t\t\t\t\trgbStr = \"rgba(\"+ bgData[0][0] + \",\" +bgData[0][1] +\",\" + bgData[0][2] +\",\" + transparent+\")\";\n\t\t\t\t\t}\n\t\t\t\t\tthat.bgTransparent = transparent;\n\t\t\t\t\tthat.backgroundColorRgba = rgbStr;\n\t\t\t\t}\n\t\t\t\t//---------------------- 背景颜色 EDN -------------------------\n\t\t\t\t\n\t\t\t\t\n\t\t\t},\n\t\t\t// 透明度计算,\n\t\t\t// 起始位置,结束位置,起始透明度,目标透明度\n\t\t\ttransHandle(hStart,hEnd,tStart,tEnd){\n\t\t\t\tlet transparent = tEnd;\n\t\t\t\tif(hStart<=hEnd){\n\t\t\t\t\t// 透明度差值\n\t\t\t\t\tlet cVal = Math.abs(tEnd - tStart);\n\t\t\t\t\t// 每1像素的透明度\n\t\t\t\t\tlet tVal = parseFloat(cVal / hEnd).toFixed(4);\n\t\t\t\t\t// 滑动后透明度的插值\n\t\t\t\t\tlet curVal = parseFloat(tVal * hStart).toFixed(2);\n\t\t\t\t\ttransparent = tStart > tEnd ? (tStart - curVal) : tStart+curVal;\n\t\t\t\t\ttransparent = parseFloat(transparent).toFixed(2)\n\t\t\t\t\t//if(transparent>0 && transparent<1){transparent = transparent.toFixed(2)}\n\t\t\t\t}\n\t\t\t\treturn transparent;\n\t\t\t},\n\t\t\t// 起始颜色,结束颜色,过渡数量\n\t\t\tgradientColor(startColor, endColor, step) {\n\t\t\t\tvar that = this;\n\t\t\t\tlet startRGB = that.colorRgb(startColor);//转换为rgb数组模式\n\t\t\t\tlet startR = startRGB[0];\n\t\t\t\tlet startG = startRGB[1];\n\t\t\t\tlet startB = startRGB[2];\n\t\t\t\tlet endRGB = that.colorRgb(endColor);\n\t\t\t\tlet endR = endRGB[0];\n\t\t\t\tlet endG = endRGB[1];\n\t\t\t\tlet endB = endRGB[2];\n\t\t\t\tlet sR = (endR - startR) / step;//总差值\n\t\t\t\tlet sG = (endG - startG) / step;\n\t\t\t\tlet sB = (endB - startB) / step;\n\t\t\t\tlet colorArr = [];\n\t\t\t\tfor (let i = 0; i < step; i++) {\n\t\t\t\t\t//计算每一步的hex值\n\t\t\t\t\tvar str = 'rgb('+ parseInt((sR * i + startR))+ ',' + parseInt((sG * i + startG))+ ',' + parseInt((sB * i + startB)) + ')';\n\t\t\t\t\tlet hex = that.colorHex(str);\n\t\t\t\t\tcolorArr.push(hex);\n\t\t\t\t}\n\t\t\t\treturn colorArr;\n\t\t\t},\n\t\t\t// 转换函数\n\t\t\tcolorRgb(sColor){\n\t\t\t\tvar that = this;\n\t\t\t\tvar reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;\n\t\t\t\tvar sColor = sColor.toLowerCase();\n\t\t\t\tif(sColor && reg.test(sColor)){\n\t\t\t\t\tif(sColor.length === 4){\n\t\t\t\t\t\tvar sColorNew = \"#\";\n\t\t\t\t\t\tfor(var i=1; i<4; i+=1){\n\t\t\t\t\t\t\tsColorNew += sColor.slice(i,i+1).concat(sColor.slice(i,i+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t\tsColor = sColorNew;\n\t\t\t\t\t}\n\t\t\t\t\t//处理六位的颜色值\n\t\t\t\t\tvar sColorChange = [];\n\t\t\t\t\tfor(var i=1; i<7; i+=2){\n\t\t\t\t\t\tsColorChange.push(parseInt(\"0x\"+sColor.slice(i,i+2)));\n\t\t\t\t\t}\n\t\t\t\t\treturn sColorChange;\n\t\t\t\t}else{\n\t\t\t\t\treturn sColor;\n\t\t\t\t}\n\t\t\t},\n\t\t\t\n\t\t\tcolorHex(rgb){\n\t\t\t\tvar that = this;\n\t\t\t\tvar _this = rgb;\n\t\t\t\tvar reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;\n\t\t\t\tif(/^(rgb|RGB)/.test(_this)){\n\t\t\t\t var aColor = _this.replace(/(?:(|)|rgb|RGB)*/g,\"\").split(\",\");\n\t\t\t\t var strHex = \"#\";\n\t\t\t\t for(var i=0; i<aColor.length; i++){\n\t\t\t\t\t var hex = Number(aColor[i]).toString(16);\n\t\t\t\t\t hex = hex<10 ? 0+''+hex :hex;// 保证每个rgb的值为2位\n\t\t\t\t\t if(hex === \"0\"){\n\t\t\t\t\t\t hex += hex;\n\t\t\t\t\t }\n\t\t\t\t\t strHex += hex;\n\t\t\t\t }\n\t\t\t\t if(strHex.length !== 7){\n\t\t\t\t\t strHex = _this;\n\t\t\t\t }\n\t\t\t\t return strHex;\n\t\t\t\t}else if(reg.test(_this)){\n\t\t\t\t var aNum = _this.replace(/#/,\"\").split(\"\");\n\t\t\t\t if(aNum.length === 6){\n\t\t\t\t\t return _this;\n\t\t\t\t }else if(aNum.length === 3){\n\t\t\t\t\t var numHex = \"#\";\n\t\t\t\t\t for(var i=0; i<aNum.length; i+=1){\n\t\t\t\t\t\t numHex += (aNum[i]+aNum[i]);\n\t\t\t\t\t }\n\t\t\t\t\t return numHex;\n\t\t\t\t }\n\t\t\t\t}else{\n\t\t\t\t return _this;\n\t\t\t\t}\n\t\t\t},\n\t\t\t//背景颜色初始化\n\t\t\t// 透明度,背景颜色string ,array\n\t\t\tsetBgColor(background,transparent){\n\t\t\t\tvar that = this;\n\t\t\t\t//如果存在背景图片则背景颜色失效\n\t\t\t\t// if(that.backgroundImg){\n\t\t\t\t// \tthat.backgroundColorRgba = \"url(\" + that.backgroundImg + \") \";\n\t\t\t\t// \treturn;\n\t\t\t\t// }\n\t\t\t\t//背景颜色\n\t\t\t\tif(typeof background == 'object' && background.length > 0){\n\t\t\t\t\tlet rgbStr = \"linear-gradient(\"+ that.conf.backgroundColorLinearDeg +\",\";\n\t\t\t\t\tlet c = null;\n\t\t\t\t\tfor(var i in background){\n\t\t\t\t\t\tc = background[i];\n\t\t\t\t\t\tlet o = that.colorRgb(c);\n\t\t\t\t\t\trgbStr += `rgba(${o[0]}, ${o[1]}, ${o[2]}, ${transparent})`;\n\t\t\t\t\t\tif(background.length != (i*1)+1){\n\t\t\t\t\t\t\trgbStr += \",\";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\trgbStr += \")\"; \n\t\t\t\t\tthat.backgroundColorRgba = rgbStr;\n\t\t\t\t}else{\n\t\t\t\t\tlet c = background;\n\t\t\t\t\tlet o = that.colorRgb(c);\n\t\t\t\t\tthat.backgroundColorRgba = `rgba(${o[0]}, ${o[1]}, ${o[2]}, ${transparent})`;\n\t\t\t\t}\n\t\t\t},\n\t\t\tbgImgStringHandle(img){\n\t\t\t\treturn img;\n\t\t\t\t// return `url(${img}) bottom / 100% no-repeat`;\n\t\t\t},\n\t\t\t// 搜索框,点击完成时触发\n\t\t\tsearchConfirm(event){\n\t\t\t\tthis.$emit('searchConfirm',event.detail);\n\t\t\t},\n\t\t\t// 搜索框点击事件\n\t\t\tsearchClick(event){\n\t\t\t\tthis.$emit('searchClick', true);\n\t\t\t}\n\t\t}\n\t\t\n\t}\n</script>\n\n<style lang=\"scss\">\n\t/* #ifndef APP-PLUS-NVUE */\n\t@font-face {\n\t font-family: 'hxicon'; /* project id 2009392 */\n\t src: url(data:font/truetype;charset=utf-8;base64,AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzI8vEjdAAABfAAAAFZjbWFwt08gwQAAAggAAAJKZ2x5ZqU14o0AAARwAAAH3GhlYWQZ4AolAAAA4AAAADZoaGVhB94DjgAAALwAAAAkaG10eDQAAAAAAAHUAAAANGxvY2ELTA28AAAEVAAAABxtYXhwARsA0wAAARgAAAAgbmFtZbuddLgAAAxMAAACVXBvc3RDGZ0IAAAOpAAAAKEAAQAAA4D/gABcBAAAAAAABAAAAQAAAAAAAAAAAAAAAAAAAA0AAQAAAAEAAAgLkC9fDzz1AAsEAAAAAADbYGMVAAAAANtgYxUAAP+8BAADQgAAAAgAAgAAAAAAAAABAAAADQDHAAQAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKAB4ALAABREZMVAAIAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAAAAQQAAZAABQAIAokCzAAAAI8CiQLMAAAB6wAyAQgAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABA5kbm6wOA/4AAXAOAAIAAAAABAAAAAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAAAAAUAAAADAAAALAAAAAQAAAGqAAEAAAAAAKQAAwABAAAALAADAAoAAAGqAAQAeAAAABQAEAADAATmRuZM5lHmXOZh5nnmiuaj5uv//wAA5kbmS+ZQ5lzmYeZ55ormo+bq//8AAAAAAAAAAAAAAAAAAAAAAAAAAQAUABQAFgAYABgAGAAYABgAGAAAAAEAAgADAAQABQAGAAcACwAIAAwACQAKAAABBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAACgAAAAAAAAAAwAAOZGAADmRgAAAAEAAOZLAADmSwAAAAIAAOZMAADmTAAAAAMAAOZQAADmUAAAAAQAAOZRAADmUQAAAAUAAOZcAADmXAAAAAYAAOZhAADmYQAAAAcAAOZ5AADmeQAAAAsAAOaKAADmigAAAAgAAOajAADmowAAAAwAAObqAADm6gAAAAkAAObrAADm6wAAAAoAAAAAAAAANgBwANABBgFqAbIB2AMKA0QDnAPAA+4AAQAAAAADQQK+ABsAAAkBNjQmIgcJASYiBhQXCQEGFBYyNwkBFjI2NCcCLQEKCRMaCv73/vkKGRQKAQf+9woTGgoBCQEJChoTCQF/AQgJGhMJ/vgBCAkTGQr++P74ChkTCQEI/vUJExoKAAAAAQAA/7wDwwNAACAAAAEmJyUDJicxBgcDBQ4BHwEDBhY/ARcWOwEyNjc0JwM3NgO9BhP+8XgKExQJev7xEwwNxC8CIBHy8gcIAQ0SAQItxQ0B7BIDKgEDEQEBEf7+KQQkDsr+4xMXCYWGBBIOBgUBF8kOAAABAAD/vAPDA0EAOQAABSIvAQcGJjcTJyY2PwE2HgEGDwEXFg8BNzYfAScmPwEnJi8BBw4BLgE3EzY3MRYXEwUeAQ8BExYHBgL/CAfy8hEgAi/EDQwSnA0VBA4OX6YKAifIDxDHJgILpOERB2RkBhgYCQWCCRQTCngBDxINDcUuAhAIQASGhQkXEwEdyg4kBBoCDhsVAxCqDBDrbggJbuwQC6kiAw/V1AwJDBgMARIRAQER/v0qAyUOyf7jEwwGAAACAAD/wANgA0AAEAAcAAABDgEHFgAXFjsBMj8BEjcuAQMuASc+ATceARcOAQIAlccEEwEYHgkOAQ4JbdoBBMeVRFoCAlpERFoCAloDQATHlZv+nhkKC30BDIyVx/4EAlpERFoCAlpERFoAAAADAAD/wANgA0AACwAXADkAAAEuASc+ATceARcOAQMOAQceARc+ATcuAQMiJjQ3NhI3LgEnDgEHFBYXFg4BJicCJz4BNx4BFwYABwYCAFFtAgJtUVFtAgJtUTZJAQFJNjZJAQFJNgwUCUzgCwOjenqjA2ljCQMVGQnaAQTHlZXHBBP+6B4KASACbVFRbQICbVFRbQE+AUk2NkkBAUk2Nkn9YRIaCk4BLm56owMDo3o5vXkLGhEDCgEMjJXHBATHlZv+nhkKAAAAAAEAAP+9A8MDQQAsAAAFJz4BNS4BJw4BBx4BFzI3PgEuAQcGIy4BJz4BNx4BFxQGBwYUHwMWMj4BA7qZLjIF67Cx6wQE67FaUgwJCxgNRUyWxgQExpaVxwQzLwkKAwKmChkUAQyjOIdKsesEBOuxsOsFJQYYGQkFIATHlZbGBATGlkV9MgoZCgIEsQoSGgAAAAEAAAAAA4QCPwASAAABJiIHCQEmIgYUFwEXFjI3ATY0A3oKGQr+uP60ChoTCgFhAgoaCQFeCgI1CQn+tQFJChQZCv6iAgkJAWIKGQAEAAD/vgPCA0IACAARAHQAxgAAAS4BNDYyFhQGJyIGFBYyNjQmEyIvAQYnBw4BJyYnLgE/ASYnBwYmJyYnJjY/ASY0NycuATc2Nz4BHwE2NycmNjc2NzYWHwE2Fzc+ARcWFx4BDwEWFzc2FhcWFxYGDwEWFAcXHgEHBgcOAS8BBgcXFgYHBgcGJRYXNzYXFjc2HwE2NycmNzY3Nh8BNjcnJjc2NCcmPwEmJwcGJyYnJj8BJicHBicmBwYvAQYHFxYHBgcGLwEGBxcWBwYUFxYPARYXNzYXFhcWBwIAKTY2UjY2KQ4SEhwSEmkQCkkUFEkGEwo0LggJARQPDXwKEQUaDwIGCGUBAWUIBgIPGgURCnwNDxQBCQguNAoTBkkUFEkGEwo0LgkIARQPDXwKEQUaDwIGCGUBAWUIBgIPGgURCnwNDxQBCQguNAX+1hUXRgsTHx8TC0YXFRMCDhkTDBJ3CghhDgECAgEOYQgKdxIMExkOAhMVF0YLEx8fEwtGFxUTAg4ZEwwSdwoIYQ4BAgIBDmEICncSDBMZDgIBIAE2UjY2UjZ/EhwSEhwS/iANZQICZQgGAg8aBREKfA0PFAEJCC40ChMGSQoUCkkGEwo0LgkIARQPDXwKEQUaDwIGCGUCAmUIBgIPGgURCnwNDxQBCQguNAoTBkkKFApJBhMKNC4ICQEUDw18ChEFGg8BVwoIYQ4BBAQBDmEICncSDBMZDgITFRdGCxMPIA8TC0YXFRMCDhkTDBJ3CghhDgEEBAEOYQgKdxIMExkOAhMVF0YMEg8gDxIMRhcVEwIOGRMMEgAAAAABAAD/wAPBA0IAIAAACQEuAQ4BHQEOAQcOARcGHgE2Nz4BNxEUFhcWMzI3ATY0A7j+gAcTEwtwtkEyJwECCBIUCATStQsJBgYOCQGACQGSAaMIBAcQCuEHcWZUgQYKEwoCBwl7EP7kChAEAgoBnQkYAAAAAAEAAP/AA8EDPgA3AAAFIicuATURDgEHDgEuATcmNjc+ATMyFhQGIw4BBz4BNzIWHQEJARUUBiImPQE0PgEWFwEWFAcBBgIgBgYJC7XSAwgUEwgCAScyRsZ7DhISDrG3Hz3GhA4SATT+zBIcEgsTEwcBgAgJ/oAJQAIEEAoBHxF8CQcDChMKBoFUbnESHBIIyV4nRgISDu4BSgFPKw4SEg59ChAHBAj+YAoYCf5jCgAAAQAA/+8C0AMQABEAAAUiJwEmNDcBNjIWFAcJARYUBgKgEw/+oA4OAWAPJh0O/sIBPg4dEA4BYA8mDwFgDh0mD/7C/sIPJh0AAQAA//8DAgMCABYAAAE2NzYmJwEmDgEWFwkBDgEWMjcBPwE2AvkBAQYEDP6fDyccAQ8BPf7EDgEdJg8BXgECBAFsAQIOHgsBTg4BHiYP/tX+zw4mHg0BUgIBBQAAABIA3gABAAAAAAAAABUAAAABAAAAAAABAAYAFQABAAAAAAACAAcAGwABAAAAAAADAAYAIgABAAAAAAAEAAYAKAABAAAAAAAFAAsALgABAAAAAAAGAAYAOQABAAAAAAAKACsAPwABAAAAAAALABMAagADAAEECQAAACoAfQADAAEECQABAAwApwADAAEECQACAA4AswADAAEECQADAAwAwQADAAEECQAEAAwAzQADAAEECQAFABYA2QADAAEECQAGAAwA7wADAAEECQAKAFYA+wADAAEECQALACYBUQpDcmVhdGVkIGJ5IGljb25mb250Cmh4aWNvblJlZ3VsYXJoeGljb25oeGljb25WZXJzaW9uIDEuMGh4aWNvbkdlbmVyYXRlZCBieSBzdmcydHRmIGZyb20gRm9udGVsbG8gcHJvamVjdC5odHRwOi8vZm9udGVsbG8uY29tAAoAQwByAGUAYQB0AGUAZAAgAGIAeQAgAGkAYwBvAG4AZgBvAG4AdAAKAGgAeABpAGMAbwBuAFIAZQBnAHUAbABhAHIAaAB4AGkAYwBvAG4AaAB4AGkAYwBvAG4AVgBlAHIAcwBpAG8AbgAgADEALgAwAGgAeABpAGMAbwBuAEcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAAcwB2AGcAMgB0AHQAZgAgAGYAcgBvAG0AIABGAG8AbgB0AGUAbABsAG8AIABwAHIAbwBqAGUAYwB0AC4AaAB0AHQAcAA6AC8ALwBmAG8AbgB0AGUAbABsAG8ALgBjAG8AbQAAAAACAAAAAAAAAAoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA0BAgEDAQQBBQEGAQcBCAEJAQoBCwEMAQ0BDgAFY2xvc2UJZmF2b3JmaWxsBWZhdm9yDGxvY2F0aW9uZmlsbAhsb2NhdGlvbgZzZWFyY2gGdW5mb2xkCHNldHRpbmdzC2ZvcndhcmRmaWxsB2ZvcndhcmQEYmFjawVyaWdodAAAAAAA) format('truetype');\n\t}\n\t/* #endif */\n\t$nav-height: 44px;\n\t.hxicon {\n\t\tfont-family: hxicon;\n\t\ttext-decoration: none;\n\t}\n\t// .hxicon{\n\t// \tfont-family: hxicon;\n\t// \tfont-size:20px;\n\t// \tfont-style:normal;\n\t// \t/* #ifndef APP-PLUS-NVUE */\n\t// \t-webkit-font-smoothing: antialiased;\n\t// \t-webkit-text-stroke-width: 0.2px;\n\t// \t-moz-osx-font-smoothing: grayscale;\n\t// \t/* #endif */\n\t\t\n\t// }\n\t\n\t.hd{\n\t\toverflow: hidden;\n\t}\n\t//防止其他ui影响\n\t// .hx-navbar uni-view,\n\t// .hx-navbar uni-scroll-view,\n\t// .hx-navbar uni-swiper,\n\t// .hx-navbar uni-button,\n\t// .hx-navbar uni-input,\n\t// .hx-navbar uni-textarea,\n\t// .hx-navbar uni-label,\n\t// .hx-navbar uni-navigator,\n\t// .hx-navbar uni-image {\n\t// \tbox-sizing: unset;\n\t// }\n\t\n\t// image{will-change: transform}\n\t\n\t/* #ifndef APP-NVUE */\n\t[class*=\"hx-navbar__\"]{\n\t\tdisplay: flex;\n\t}\n\t\n\t/* #endif */\n\t.hx-navbar {\n\t\tposition: relative;\n\t\tpadding-top: 0;\n\t\toverflow: hidden;\n\t\tflex: 1;\n\t\t&__stretch{\n\t\t\talign-items: stretch;\n\t\t}\n\t\t\n\t\t&__status{\n\t\t\tposition: relative;\n\t\t\tz-index:3;\n\t\t}\n\t\t&__icon{\n\t\t\tposition: relative;\n\t\t\ttop: 1px;\n\t\t\t//transition: all 0.2s;\n\t\t}\n\t\t&__icontran{\n\t\t\t\n\t\t\tborder-radius: 100% !important;\n\t\t\tbackground-color: rgba(0,0,0,.5) !important;\n\t\t\twidth: 30px !important;\n\t\t\theight: 30px !important;\n\t\t\tline-height: 30px !important;\n\t\t\ttext-align: center !important;\n\t\t\tcolor: #ffffff !important;\n\t\t\ttransition: color,background 0.2s !important;\n\t\t}\n\t\t&__btntran{\n\t\t\tpadding: 0 !important;\n\t\t\tmargin-left: 6px !important;\n\t\t\n\t\t\tborder-radius: 100% !important;\n\t\t\tbackground-color: rgba(0,0,0,.5) !important;\n\t\t\twidth: 30px !important;\n\t\t\theight: 30px !important;\n\t\t\tline-height: 30px !important;\n\t\t\ttext-align: center !important;\n\t\t\tcolor: #ffffff !important;\n\t\t\ttransition: color,background 0.2s !important;\n\t\t\t\n\t\t}\n\t\t\n\t\t&__content{\n\t\t\tposition: relative;\n\t\t\tflex: 1;\n\t\t\tz-index:1;\n\t\t\twidth: 100%;\n\t\t\tflex-direction: column;\n\t\t\t&__imgctn{\n\t\t\t\tposition: absolute;\n\t\t\t\tleft: 0;\n\t\t\t\ttop: 0;\n\t\t\t\tright: 0;\n\t\t\t\tbottom: 0;\n\t\t\t\tz-index: 2;\n\t\t\t\t//transition: all 0.2s;\n\t\t\t\t&__img{\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\t&__main{\n\t\t\t\tposition: relative;\n\t\t\t\tz-index:3;\n\t\t\t\tflex: 1;\n\t\t\t\tflex-direction: row;\n\t\t\t\talign-items: center;\n\t\t\t\tpadding: 0;\n\t\t\t\t&_back{\n\t\t\t\t\tflex-direction: row;\n\t\t\t\t\talign-items: center;\n\t\t\t\t\theight: 100%;\n\t\t\t\t\tpadding: 0 13px;\n\t\t\t\t\tmargin: 0;\n\t\t\t\t\tposition: relative;\n\t\t\t\t\tz-index:2;\n\t\t\t\t\tline-height: $nav-height;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t&_search{\n\t\t\t\t\tposition: relative;\n\t\t\t\t\tflex-direction: row;\n\t\t\t\t\talign-items: center;\n\t\t\t\t\tflex: 1;\n\t\t\t\t\theight: 100%;\n\t\t\t\t\t&_hxicon{\n\t\t\t\t\t\tposition: absolute;\n\t\t\t\t\t\tleft: 24px;\n\t\t\t\t\t\tfont-size: 18px;\n\t\t\t\t\t\tcolor: #dbdbdb;\n\t\t\t\t\t}\n\t\t\t\t\t&_input{\n\t\t\t\t\t\theight: 30px;\n\t\t\t\t\t\tflex: 1;\n\t\t\t\t\t\tborder-radius: 40px;\n\t\t\t\t\t\tbackground-color: rgba(32,32,32, .35);\n\t\t\t\t\t\tpadding: 0 16px 0 36px;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t&_right{\n\t\t\t\t\tposition: relative;\n\t\t\t\t\tz-index:2;\n\t\t\t\t\tflex-direction: row;\n\t\t\t\t\talign-items: center;\n\t\t\t\t\theight: 100%;\n\t\t\t\t\tpadding: 0 13px 0 9px;\n\t\t\t\t\tmargin: 0;\n\t\t\t\t\t&_txt{\n\t\t\t\t\t\tmax-width: 60px;\n\t\t\t\t\t\tlines: 1;\n\t\t\t\t\t\ttext-overflow:ellipsis;\n\t\t\t\t\t}\n\t\t\t\t\t&_btn{\n\t\t\t\t\t\tjustify-content: center;\n\t\t\t\t\t\talign-items: center;\n\t\t\t\t\t\tflex-direction: row;\n\t\t\t\t\t\talign-items: center;\n\t\t\t\t\t\theight: 100%;\n\t\t\t\t\t\tpadding: 0 5px;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t&_icon{\n\t\t\t\t\t\tjustify-content: center;\n\t\t\t\t\t\talign-items: center;\n\t\t\t\t\t\ttext-align: center;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t&_center{\n\t\t\t\t\tflex-direction: row;\n\t\t\t\t\tflex: 1;\n\t\t\t\t\t//height: 100%;\n\t\t\t\t\talign-items: stretch;\n\t\t\t\t\t/* #ifdef MP */\n\t\t\t\t\twidth: 0;\n\t\t\t\t\tjustify-content: left;\n\t\t\t\t\t/* #endif */\n\t\t\t\t\t\n\t\t\t\t\t/* #ifndef MP */\n\t\t\t\t\tposition: absolute;\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\tbottom: 0;\n\t\t\t\t\tz-index: 0;\n\t\t\t\t\tjustify-content: center;\n\t\t\t\t\t/* #endif */\n\t\t\t\t\t\n\t\t\t\t\t&_txt{\n\t\t\t\t\t\tflex-direction: row;\n\t\t\t\t\t\t/* #ifndef MP */\n\t\t\t\t\t\tflex: 46;\n\t\t\t\t\t\t/* #endif */\n\t\t\t\t\t\t/* #ifdef APP-NVUE */\n\t\t\t\t\t\tlines: 1;\n\t\t\t\t\t\t/* #endif */\n\t\t\t\t\t\t/* #ifndef APP-NVUE */\n\t\t\t\t\t\tdisplay: block;\n\t\t\t\t\t\twhite-space: nowrap;\n\t\t\t\t\t\toverflow: hidden;\n\t\t\t\t\t\t/* #endif */\n\t\t\t\t\t\theight: $nav-height;\n\t\t\t\t\t\tjustify-content: center;\n\t\t\t\t\t\talign-items: center;\n\t\t\t\t\t\ttext-align: center;\n\t\t\t\t\t\ttext-overflow:ellipsis;\n\t\t\t\t\t\tline-height: $nav-height;\n\t\t\t\t\t\t// overflow: hidden;\n\t\t\t\t\t}\n\t\t\t\t\t&_flex{\n\t\t\t\t\t\t/* #ifndef MP */\n\t\t\t\t\t\tflex: 32;\n\t\t\t\t\t\t/* #endif */\n\t\t\t\t\t\t/* #ifdef MP */\n\t\t\t\t\t\twidth: 0;\n\t\t\t\t\t\t/* #endif */\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t&_left{\n\t\t\t\t\tposition: relative;\n\t\t\t\t\tz-index:1;\n\t\t\t\t\tflex-direction: row;\n\t\t\t\t\talign-items: center;\n\t\t\t\t\theight: 100%;\n\t\t\t\t\tpadding: 0 9px 0 13px;\n\t\t\t\t\tmargin: 0;\n\t\t\t\t\t&_txt{\n\t\t\t\t\t\twidth: 60px;\n\t\t\t\t\t\tlines: 1;\n\t\t\t\t\t\ttext-overflow:ellipsis;\n\t\t\t\t\t}\n\t\t\t\t\t&_btn{\n\t\t\t\t\t\tflex-direction: row;\n\t\t\t\t\t\talign-items: center;\n\t\t\t\t\t\theight: 100%;\n\t\t\t\t\t\tpadding: 0 5px;\n\t\t\t\t\t}\n\t\t\t\t\t// &_btn:first-child{\n\t\t\t\t\t// \tmargin-left:-4px !important;\n\t\t\t\t\t// }\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t&__fixed{\n\t\t\tposition: fixed;\n\t\t\ttop:0;\n\t\t\tz-index: 99;\n\t\t}\n\t\t&__shadow {\n\t\t\tbox-shadow: 0 2upx 12upx #ccc;\n\t\t}\n\t\t\t\n\t\t&__border:after {\n\t\t\tposition: absolute;\n\t\t\tz-index: 3;\n\t\t\tbottom: 0;\n\t\t\tleft: 0;\n\t\t\tright: 0;\n\t\t\theight: 1px;\n\t\t\ttransform: scaleY(.5);\n\t\t\tbackground-color: #efefef;\n\t\t}\n\t\t&__icon{\n\t\t\ttop: 0 !important;\n\t\t\tfont-size: 20px;\n\t\t}\n\t}\n\t.hx_font_size{\n\t\tfont-size: 18px;\n\t}\n\t.hx_text_overflow{\n\t\t\n\t\t/* #ifdef APP-NVUE */\n\t\tflex: 1;\n\t\tlines: 1;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\t/* #endif */\n\t\t/* #ifndef APP-NVUE */\n\t\tdisplay: block;\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\t/* #endif */\n\t\ttext-overflow:ellipsis;\n\t\t\n\t\ttext-align: center;\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!./hx-navbar.nvue?vue&type=style&index=0&lang=scss&\"; 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!./hx-navbar.nvue?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/common/city/city.vue?1993","webpack:////Users/linon/work/workai/yxly-teacher/pages/common/city/city.vue?c8bc","webpack:////Users/linon/work/workai/yxly-teacher/pages/common/city/city.vue?2397","webpack:////Users/linon/work/workai/yxly-teacher/pages/common/city/city.vue?f1a6","uni-app:///pages/common/city/city.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/common/city/city.vue?f603"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,iG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,aAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA6H;AAC7H;AACwD;AACL;AACsC;;;AAGzF;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,0EAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,+FAAU;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,gMAEN;AACP,KAAK;AACL;AACA,aAAa,oMAEN;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;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7FA;AAAA;AAAA;AAAA;AAAi1B,CAAgB,kyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACqFr2B,oF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,wE,eACA,EACA,IADA,kBACA,CACA,SACA,YADA,EAEA,oBAFA,EAGA,UAHA,EAIA,aAJA,EAKA,OALA,EAMA,cACA,UADA,EAEA,aAFA,EANA,GAWA,CAbA,EAcA,YAdA,wBAcA,CAdA,EAcA,CACA,6BACA,CAhBA,EAiBA,WACA,MADA,kBACA,CADA,EACA,CACA,0BACA,aACA,mBACA,CAEA,cACA,iCAEA,6BACA,wBACA,CAFA,MAEA,CACA,mCACA,4CACA,CACA,CAEA,iBACA,kBACA,aADA,EAEA,oBAFA,EAGA,gCACA,6BACA,0CADA,IAGA,8BACA,gCACA,2BACA,YACA,sBADA,EAEA,wBAFA,EADA,EAKA,+BACA,yDACA,sCACA,CARA,IAUA,CAnBA,IAqBA,CAxCA,EA0CA,QA1CA,oBA0CA,GA1CA,EA0CA,CACA,6CACA,gCACA,uCACA,4BACA,kCACA,8CACA,CACA,CACA,CACA,CApDA,EAsDA,YAtDA,wBAsDA,CAtDA,EAsDA,CAtDA,EAsDA,CAtDA,EAsDA,CACA,6BACA,iBACA,oBACA,CACA,sCACA,OACA,CACA,iCACA,mCACA,2EACA;AACA,SAHA,MAGA;AACA;AACA;AACA;AACA,OARA,MAQA;AACA;AACA;AACA;;AAEA;AACA;AACA,KA7EA;;AA+EA,oBA/EA,4BA+EA,CA/EA,EA+EA,CA/EA,EA+EA,CA/EA,EA+EA;AACA;AACA;;AAEA;AACA;AACA,KArFA;;AAuFA,WAvFA,mBAuFA,CAvFA,EAuFA,CAvFA,EAuFA;AACA;AACA;;AAEA;AACA;AACA,KA7FA;;AA+FA,UA/FA,oBA+FA;AACA;AACA,gBADA;;AAGA,KAnGA;;AAqGA,UArGA,oBAqGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBADA;;AAGA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kBADA;;AAGA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBADA;;AAGA,KAnIA;;AAqIA,WArIA,qBAqIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBADA;;AAGA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kBADA;;AAGA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,gBADA;;AAGA,KArKA,EAjBA,E;;;;;;;;;;;;;ACvFA;AAAA;AAAA;AAAA;AAAolD,CAAgB,y7CAAG,EAAC,C","file":"pages/common/city/city.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/common/city/city.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./city.vue?vue&type=template&id=21ab0f64&scoped=true&\"\nvar renderjs\nimport script from \"./city.vue?vue&type=script&lang=js&\"\nexport * from \"./city.vue?vue&type=script&lang=js&\"\nimport style0 from \"./city.vue?vue&type=style&index=0&id=21ab0f64&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 \"21ab0f64\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/common/city/city.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!./city.vue?vue&type=template&id=21ab0f64&scoped=true&\"","var components\ntry {\n components = {\n uIndexList: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-index-list/u-index-list\" */ \"@/uview-ui/components/u-index-list/u-index-list.vue\"\n )\n },\n uIndexAnchor: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-index-anchor/u-index-anchor\" */ \"@/uview-ui/components/u-index-anchor/u-index-anchor.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 g0 = _vm.type == 0 ? _vm.select.includes(_vm.nowCityObj.city) : null\n var g1 =\n !(_vm.type == 0) && _vm.type == 1\n ? _vm.select.includes(_vm.nowCityObj.city)\n : null\n var g2 = _vm.type == 0 ? _vm.select.includes(\"全国\") : null\n var g3 =\n !(_vm.type == 0) && _vm.type == 1 ? _vm.select.includes(\"全国\") : null\n\n var l2 = _vm.__map(_vm.citys, function(value, index) {\n var $orig = _vm.__get_orig(value)\n\n var l0 =\n _vm.type == 0\n ? _vm.__map(value.cities, function(value1, index1) {\n var $orig = _vm.__get_orig(value1)\n\n var g4 = _vm.select.includes(value1.city)\n return {\n $orig: $orig,\n g4: g4\n }\n })\n : null\n var l1 =\n !(_vm.type == 0) && _vm.type == 1\n ? _vm.__map(value.cities, function(value1, index1) {\n var $orig = _vm.__get_orig(value1)\n\n var g5 = _vm.select.includes(value1.city)\n return {\n $orig: $orig,\n g5: g5\n }\n })\n : null\n return {\n $orig: $orig,\n l0: l0,\n l1: l1\n }\n })\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0,\n g1: g1,\n g2: g2,\n g3: g3,\n l2: l2\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!./city.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!./city.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"\">\r\n\t\t<view class=\"app\">\n\t\t\t<view class=\"now\">\n\t\t\t\t当前定位\n\t\t\t</view>\n\t\t\t<view class=\"top\" style=\"display: flex;\">\n\t\t\t\t<view>\n\t\t\t\t\t<view v-if=\"type == 0\">\n\t\t\t\t\t\t<view v-if=\"select.includes(nowCityObj.city)\" class=\"nowLocation\" @click=\"welfareClick(nowCityObj,0,false)\">\n\t\t\t\t\t\t\t{{nowCityObj.city}}\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view v-else class=\"unowLocation\" @click=\"welfareClick(nowCityObj,0,true)\">\n\t\t\t\t\t\t\t{{nowCityObj.city}}\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view v-else-if=\"type == 1\">\n\t\t\t\t\t\t<view v-if=\"select.includes(nowCityObj.city)\" class=\"nowLocation\" @click=\"singWelfareClick(nowCityObj,0,false)\">\n\t\t\t\t\t\t\t{{nowCityObj.city}}\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view v-else class=\"unowLocation\" @click=\"singWelfareClick(nowCityObj,0,true)\">\n\t\t\t\t\t\t\t{{nowCityObj.city}}\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view style=\"margin-left: 40rpx;\">\n\t\t\t\t\t<view v-if=\"type == 0\">\n\t\t\t\t\t\t<view v-if=\"select.includes('全国')\" class=\"nowLocation\" @click=\"quanguo(1,false)\">\n\t\t\t\t\t\t\t全国\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view v-else class=\"unowLocation\" @click=\"quanguo(1,true)\">\n\t\t\t\t\t\t\t全国\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view v-else-if=\"type == 1\">\n\t\t\t\t\t\t<view v-if=\"select.includes('全国')\" class=\"nowLocation\" @click=\"quanguo(2,false)\">\n\t\t\t\t\t\t\t全国\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view v-else class=\"unowLocation\" @click=\"quanguo(2,true)\">\n\t\t\t\t\t\t\t全国\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</view>\r\n\t\t\t<u-index-list :scrollTop=\"scrollTop\" :sticky=\"false\">\r\n\t\t\t\t<view v-for=\"(value, index) in citys\" :key=\"index\">\r\n\t\t\t\t\t<u-index-anchor :index=\"value.idx\" />\r\n\t\t\t\t\t<view v-if=\"type == 0\" class=\"tag\">\r\n\t\t\t\t\t\t<view class=\"item\" v-for=\"(value1, index1) in value.cities\" :key=\"index1\">\n\t\t\t\t\t\t\t<view v-if=\"select.includes(value1.city)\" class=\"item_text\" @click=\"welfareClick(value1,index,false)\">\n\t\t\t\t\t\t\t\t{{value1.city}}\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t<view v-else class=\"unsel_item_text\" @click=\"welfareClick(value1,index,true)\">\n\t\t\t\t\t\t\t\t{{value1.city}}\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\n\t\t\t\t\t<view v-else-if=\"type == 1\" class=\"tag\">\n\t\t\t\t\t\t<view class=\"item\" v-for=\"(value1, index1) in value.cities\" :key=\"index1\">\n\t\t\t\t\t\t\t<view v-if=\"select.includes(value1.city)\" class=\"item_text\" @click=\"singWelfareClick(value1,index,false)\">\n\t\t\t\t\t\t\t\t{{value1.city}}\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t<view v-else class=\"unsel_item_text\" @click=\"singWelfareClick(value1,index,true)\">\n\t\t\t\t\t\t\t\t{{value1.city}}\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</u-index-list>\r\n\t\t</view>\r\n\t\t<view class=\"bottom\">\r\n\t\t\t<view class=\"clear\" @click=\"cancel\">\r\n\t\t\t\t<text style=\"font-size: 32rpx;color: #333333;line-height: 84rpx;\">返回</text>\r\n\t\t\t</view>\r\n\t\t\t<view v-if=\"type == 1\" class=\"confirm\" @click=\"submit1\">\r\n\t\t\t\t<text style=\"font-size: 32rpx;color: #FFFFFF;line-height: 84rpx;\">确定</text>\r\n\t\t\t</view>\n\t\t\t<view v-else class=\"confirm\" @click=\"submit\">\n\t\t\t\t<text style=\"font-size: 32rpx;color: #FFFFFF;line-height: 84rpx;\">确定</text>\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\n\timport citys from '@/common/city.js'\n\tvar QQMapWX = require('@/common/qqmap-wx-jssdk.js')\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tscrollTop: 0,\r\n\t\t\t\tcitys,\n\t\t\t\tselect: [],\n\t\t\t\tselectObj: [],\n\t\t\t\ttype: 0,\n\t\t\t\tnowCityObj: {\n\t\t\t\t\tcity: '未知',\n\t\t\t\t\tcity_code: '',\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tonPageScroll(e) {\r\n\t\t\tthis.scrollTop = e.scrollTop;\r\n\t\t},\r\n\t\tmethods: {\n\t\t\tonLoad(e) {\n\t\t\t\tconsole.log('citylog',e)\n\t\t\t\tif (e.type) {\t\t\t\t\t\n\t\t\t\t\tthis.type = e.type\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (e.names) {\n\t\t\t\t\tthis.select = e.names.split(\",\");\n\t\t\t\t\t\n\t\t\t\t\tif (this.select[0] == '全国') {\n\t\t\t\t\t\tthis.selectObj.push('')\n\t\t\t\t\t}else {\n\t\t\t\t\t\tthis.selectObj = JSON.parse(e.ids)\n\t\t\t\t\t\tconsole.log('selectObj',JSON.parse(e.ids))\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tlet _this = this\n\t\t\t\tuni.getLocation({\n\t\t\t\t\ttype: 'gcj02',\n\t\t\t\t\tisHighAccuracy: true,\n\t\t\t\t\tsuccess: (res) => {\n\t\t\t\t\t\tlet qqmapsdk = new QQMapWX({\n\t\t\t\t\t\t\tkey: 'S7NBZ-VHDED-G6D4X-HSEPQ-TWY2V-4GBX4'\n\t\t\t\t\t\t});\n\t\t\t\t\t\t_this.latitude = res.latitude\n\t\t\t\t\t\t_this.longitude = res.longitude\n\t\t\t\t\t\tqqmapsdk.reverseGeocoder({\n\t\t\t\t\t\t\tlocation: {\n\t\t\t\t\t\t\t\tlatitude: res.latitude,\n\t\t\t\t\t\t\t\tlongitude: res.longitude\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tsuccess: (re) => {\n\t\t\t\t\t\t\t\t_this.nowCityObj.city = re.result.address_component.city\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t_this.findCode(_this.nowCityObj.city)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t})\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t},\n\t\t\t\n\t\t\tfindCode(str) {\n\t\t\t\tfor (let i = 0; i < this.citys.length; i++) {\n\t\t\t\t\tlet item = this.citys[i].cities\n\t\t\t\t\tfor (var j = 0; j < item.length; j++) {\n\t\t\t\t\t\tlet cityName = item[j].city\n\t\t\t\t\t\tif (str.indexOf(cityName) != -1) {\n\t\t\t\t\t\t\tthis.nowCityObj.city_code = item[j].city_code\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\n\t\t\twelfareClick(e, i, s) {\n\t\t\t\tif (this.select[0] == '全国') {\n\t\t\t\t\tthis.select = [];\n\t\t\t\t\tthis.selectObj = [];\n\t\t\t\t}\n\t\t\t\tif (this.selectObj.length >= 3 && s) {\n\t\t\t\t\treturn;\n\t\t\t\t} \n\t\t\t\tif (this.selectObj.length != 0) {\n\t\t\t\t\tif (this.select.includes(e.city)) {\n\t\t\t\t\t\tthis.select = this.select.filter(item => item != e.city)\n\t\t\t\t\t\tthis.selectObj = this.selectObj.filter(item => JSON.stringify(item) != JSON.stringify(e))\n\t\t\t\t\t}else {\n\t\t\t\t\t\tthis.select.push(e.city)\n\t\t\t\t\t\tthis.selectObj.push(e)\n\t\t\t\t\t}\n\t\t\t\t}else {\n\t\t\t\t\tthis.select.push(e.city)\n\t\t\t\t\tthis.selectObj.push(e)\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tconsole.log(this.select)\n\t\t\t\tconsole.log(this.selectObj)\n\t\t\t},\n\t\t\t\n\t\t\tsingWelfareClick(e, i, s) {\n\t\t\t\tthis.select = [];\n\t\t\t\tthis.selectObj = [];\n\t\t\t\t\n\t\t\t\tthis.select.push(e.city)\n\t\t\t\tthis.selectObj.push(e)\n\t\t\t},\n\t\t\t\n\t\t\tquanguo(e,i) {\n\t\t\t\tthis.select = [];\n\t\t\t\tthis.selectObj = [];\n\t\t\t\t\n\t\t\t\tthis.select.push('全国')\n\t\t\t\tthis.selectObj.push('')\n\t\t\t},\n\t\t\t\n\t\t\tcancel() {\n\t\t\t\tuni.navigateBack({\n\t\t\t\t\tdelta: 1\n\t\t\t\t});\n\t\t\t},\n\t\t\t\n\t\t\tsubmit() {\n\t\t\t\tif (this.selectObj.length == 0) {\n\t\t\t\t\tlet pages = getCurrentPages();\n\t\t\t\t\tlet prevPage = pages[pages.length - 2];\n\t\t\t\t\tprevPage.$vm.returnnCity = \"\";\n\t\t\t\t\tprevPage.$vm.form.showCitys = \"全国\";\n\t\t\t\t\tuni.navigateBack({\n\t\t\t\t\t\tdelta: 1\n\t\t\t\t\t});\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (this.select[0] == '全国') {\n\t\t\t\t\tlet pages = getCurrentPages();\n\t\t\t\t\tlet prevPage = pages[pages.length - 2];\n\t\t\t\t\tprevPage.$vm.returnnCity = \"\";\n\t\t\t\t\tprevPage.$vm.form.showCitys = \"全国\";\n\t\t\t\t\tuni.navigateBack({\n\t\t\t\t\t\tdelta: 1\n\t\t\t\t\t});\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tlet pages = getCurrentPages();\n\t\t\t\tlet prevPage = pages[pages.length - 2];\n\t\t\t\tprevPage.$vm.returnnCity = JSON.stringify(this.selectObj);\n\t\t\t\tprevPage.$vm.form.showCitys = this.select.toString();\n\t\t\t\tuni.navigateBack({\n\t\t\t\t\tdelta: 1\n\t\t\t\t});\n\t\t\t},\n\t\t\t\n\t\t\tsubmit1() {\n\t\t\t\tif (this.selectObj.length == 0) {\n\t\t\t\t\t// uni.showToast({\n\t\t\t\t\t// \ttitle: \"至少选择一个城市\",\n\t\t\t\t\t// \ticon: 'error',\n\t\t\t\t\t// \tduration: 1000\n\t\t\t\t\t// });\n\t\t\t\t\tuni.navigateBack({\n\t\t\t\t\t\tdelta: 1\n\t\t\t\t\t});\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (this.select[0] == '全国') {\n\t\t\t\t\tlet pages = getCurrentPages();\n\t\t\t\t\tlet prevPage = pages[pages.length - 2];\n\t\t\t\t\tprevPage.$vm.returnnCity = \"\";\n\t\t\t\t\tprevPage.$vm.form.showCitys = \"全国\";\n\t\t\t\t\tuni.navigateBack({\n\t\t\t\t\t\tdelta: 1\n\t\t\t\t\t});\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tlet pages = getCurrentPages();\n\t\t\t\tlet prevPage = pages[pages.length - 2];\n\t\t\t\tprevPage.$vm.returnnCity = this.selectObj[0].city_code;\n\t\t\t\tprevPage.$vm.form.showCitys = this.select.toString();\n\t\t\t\t\n\t\t\t\tuni.navigateBack({\n\t\t\t\t\tdelta: 1\n\t\t\t\t});\n\t\t\t}\n\t\t\t\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.app {\r\n\t\tpadding: 20px 30px 0 15px;\n\t\tmargin-bottom: 100px;\r\n\r\n\t\t.now {\r\n\t\t\twidth: 72px;\r\n\t\t\theight: 24px;\r\n\t\t\tfont-size: 18px;\r\n\t\t\tfont-family: PingFangSC-Semibold, PingFang SC;\r\n\t\t\tfont-weight: 600;\r\n\t\t\tcolor: #333333;\r\n\t\t\tline-height: 24px;\r\n\t\t}\r\n\r\n\t\t.nowLocation {\n\t\t\tpadding: 0 15px;\n\t\t\twidth: 212rpx;\n\t\t\theight: 64rpx;\n\t\t\tborder-radius: 2px;\n\t\t\ttext-align: center;\n\t\t\tfont-size: 13px;\n\t\t\tfont-weight: 400;\n\t\t\tborder: 1px solid rgba(255, 13, 22, 0.6);\n\t\t\tbackground: rgba(255, 13, 22, 0.1);\n\t\t\tcolor: rgba(255, 13, 22, 0.6);\n\t\t\tline-height: 32px;\n\t\t\twhite-space: nowrap;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t\tmargin-top: 40rpx;\n\t\t\tmargin-bottom: 50rpx;\r\n\t\t}\n\t\t\n\t\t.unowLocation {\n\t\t\tpadding: 0 15px;\n\t\t\twidth: 212rpx;\n\t\t\theight: 64rpx;\n\t\t\tbackground: #F9FAFC;\n\t\t\tborder-radius: 2px;\n\t\t\tborder: 1px solid #EEEEEE;\n\t\t\ttext-align: center;\n\t\t\tfont-size: 13px;\n\t\t\tfont-weight: 400;\n\t\t\tcolor: #666666;\n\t\t\tline-height: 32px;\n\t\t\twhite-space: nowrap;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t\tmargin-top: 40rpx;\n\t\t\tmargin-bottom: 50rpx;\n\t\t}\r\n\t}\r\n\r\n\t.tag {\r\n\t\tdisplay: flex;\r\n\t\tflex-wrap: wrap; //可换行\r\n\t\twidth: 100%;\r\n\t\tpadding: 30rpx 0;\r\n\r\n\t\t.item {\r\n\t\t\tmargin: 0 16rpx 16rpx 0;\r\n\t\t\twidth: calc((100% - (16rpx * 2))/3);\r\n\t\t\theight: 32px;\r\n\r\n\t\t\t.unsel_item_text {\n\t\t\t\tpadding: 0 15px;\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 100%;\r\n\t\t\t\tbackground: #F9FAFC;\r\n\t\t\t\tborder-radius: 2px;\r\n\t\t\t\tborder: 1px solid #EEEEEE;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tfont-size: 13px;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tcolor: #666666;\r\n\t\t\t\tline-height: 32px;\n\t\t\t\twhite-space: nowrap;\n\t\t\t\toverflow: hidden;\n\t\t\t\ttext-overflow: ellipsis;\r\n\t\t\t}\r\n\r\n\t\t\t.item_text {\n\t\t\t\tpadding: 0 15px;\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 100%;\r\n\t\t\t\tborder-radius: 2px;\r\n\t\t\t\tborder: 1px solid rgba(255, 13, 22, 0.6);\n\t\t\t\tbackground: rgba(255, 13, 22, 0.1);\n\t\t\t\tcolor: rgba(255, 13, 22, 0.6);\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tfont-size: 13px;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tline-height: 32px;\n\t\t\t\twhite-space: nowrap;\n\t\t\t\toverflow: hidden;\n\t\t\t\ttext-overflow: ellipsis;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.item:nth-child(3n+0) {\r\n\t\t\tmargin: 0 0 16rpx 0;\r\n\t\t}\r\n\t}\r\n\r\n\t.bottom {\r\n\t\twidth: 100%;\r\n\t\theight: 120rpx;\r\n\t\tposition: fixed;\r\n\t\tbackground-color: #FFFFFF;\r\n\t\tbottom: 0;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: row;\r\n\r\n\t\t.clear {\r\n\t\t\twidth: 220rpx;\r\n\t\t\theight: 84rpx;\r\n\t\t\talign-self: center;\r\n\t\t\ttext-align: center;\r\n\t\t\tmargin-left: 40rpx;\r\n\t\t\tbackground: rgba(0, 0, 0, 0.03);\r\n\t\t\tborder-radius: 4px;\r\n\t\t}\r\n\r\n\t\t.text {\r\n\t\t\tfont-size: 32rpx;\r\n\t\t\tcolor: #333333;\r\n\t\t}\r\n\r\n\t\t.confirm {\r\n\t\t\twidth: 430rpx;\r\n\t\t\theight: 84rpx;\r\n\t\t\tbackground: #FF0D16;\r\n\t\t\t// box-shadow: 0px 2px 8px 0px rgba(12, 177, 122, 0.3);\r\n\t\t\tborder-radius: 6px;\r\n\t\t\talign-self: center;\r\n\t\t\ttext-align: center;\r\n\t\t\tmargin-left: 30rpx;\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!./city.vue?vue&type=style&index=0&id=21ab0f64&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!./city.vue?vue&type=style&index=0&id=21ab0f64&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/common/login/login.vue?def5","webpack:////Users/linon/work/workai/yxly-teacher/pages/common/login/login.vue?c28f","webpack:////Users/linon/work/workai/yxly-teacher/pages/common/login/login.vue?d981","webpack:////Users/linon/work/workai/yxly-teacher/pages/common/login/login.vue?6cb0","uni-app:///pages/common/login/login.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/common/login/login.vue?4a41"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,oG,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;AACmN;AACnN,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,sLAEN;AACP,KAAK;AACL;AACA,aAAa,wLAEN;AACP,KAAK;AACL;AACA,aAAa,wMAEN;AACP,KAAK;AACL;AACA,aAAa,4LAEN;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;AAAk1B,CAAgB,myBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC4Ct2B,gD;;;;;AAKA;AACA,MADA,kBACA;AACA;AACA,oBADA;AAEA,6IAFA;AAGA,4IAHA;AAIA;AACA,kBADA;AAEA,oBAFA,EAJA;;;AASA,GAXA;;AAaA,QAbA,oBAaA;;AAEA,YAFA;AAGA,eAHA,CAEA,QAFA;;AAKA,GAlBA;;AAoBA,QApBA,oBAoBA;;AAEA,GAtBA;;AAwBA;AACA;AACA;AACA,kBAFA,GADA,CAxBA;;;;;AAgCA;;AAEA,eAFA,yBAEA;AACA;AACA;AACA,wGADA;;AAGA,KAPA;;AASA,cATA,wBASA;AACA;AACA,uGADA;;AAGA,KAbA;;AAeA,kBAfA,0BAeA,CAfA,EAeA;;AAEA,KAjBA;;AAmBA,kBAnBA,4BAmBA;AACA;AACA;AACA;AACA,wBADA,EACA;AACA;AACA;AACA;AACA;AACA,SANA;;AAQA,KA9BA;;AAgCA,kBAhCA,0BAgCA,CAhCA,EAgCA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA,8BADA;AAEA,0BAFA;AAGA,4BAHA;AAIA,+BAJA;;AAMA,SAZA;;AAcA,KAjDA;;AAmDA,cAnDA,wBAmDA;AACA;AACA,mBADA;AAEA,uBAFA;AAGA,kCAHA;AAIA,oCAJA;;AAMA,KA1DA;;AA4DA,kBA5DA,4BA4DA;AACA;AACA,wDADA;AAEA,kBAFA;;AAIA,KAjEA,EAhCA,E;;;;;;;;;;;;ACjDA;AAAA;AAAA;AAAA;AAAqlD,CAAgB,07CAAG,EAAC,C","file":"pages/common/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/common/login/login.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./login.vue?vue&type=template&id=b403e050&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=b403e050&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 \"b403e050\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/common/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=b403e050&scoped=true&\"","var components\ntry {\n components = {\n uImage: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-image/u-image\" */ \"@/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: \"uview-ui/components/u-checkbox-group/u-checkbox-group\" */ \"@/uview-ui/components/u-checkbox-group/u-checkbox-group.vue\"\n )\n },\n uCheckbox: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-checkbox/u-checkbox\" */ \"@/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<view class=\"box\">\r\n\t\t\t<view class=\"logo\">\r\n\t\t\t\t<u-image width=\"156px\" height=\"80px\" src=\"/static/img/common/logo.png\" />\r\n\t\t\t</view>\r\n\t\t\t<view class=\"name\">\r\n\t\t\t\t校企职通车人人推\r\n\t\t\t</view>\n\t\t\t\n\t\t\t<view class=\"btn button_warp\">\n\t\t\t\t<c-button type=\"confirm\" shape=\"circle\" :customStyle=\"{borderRadius:'48rpx',fontSize:'34rpx',color:'#fff',fontWeight:'400'}\" text=\"微信一键登录\"\n\t\t\t\t\t:disabled=\"!checked\" openType=\"getPhoneNumber\" @getPhoneNumber=\"getPhoneNumber\"></c-button>\n\t\t\t</view>\n\t\t\t\n\t\t\t<!-- <view class=\"changeLogin\" @click=\"jumploginStyle\">\n\t\t\t\t手机号码登录/注册\n\t\t\t</view> -->\n\t\t\t\n\t\t\t<view class=\"agreement\">\n\t\t\t\t<view class=\"check\">\n\t\t\t\t\t<u-checkbox-group @change=\"checkboxChange\">\n\t\t\t\t\t\t<u-checkbox size=\"28\" activeColor=\"#FF001A\" v-model=\"checked\" shape=\"circle\">\n\t\t\t\t\t\t</u-checkbox>\n\t\t\t\t\t</u-checkbox-group>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"text\">\n\t\t\t\t\t<text>您已阅读理解并同意</text>\n\t\t\t\t\t<text class=\"span\" @click=\"linkService\">《人人推服务协议》、</text>\n\t\t\t\t\t<text class=\"span\" @click=\"linkPolicy\">《人人推隐私政策》</text>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t\n\t\t\t<!-- <view class=\"wxLogin\">\n\t\t\t\t<button type=\"default\" open-type=\"getPhoneNumber\" @getphonenumber=\"getPhoneNumber\" @click=\"getUserProfile\">\n\t\t\t\t\t<image src=\"/static/img/my/wx_icon.png\" mode=\"\"></image>\n\t\t\t\t</button>\n\t\t\t\t<text>微信登录</text>\n\t\t\t</view> -->\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 {\r\n\t\t\t\tchecked: false,\r\n\t\t\t\tservice: \"https://hropublic.oss-cn-beijing.aliyuncs.com/agreement/%E4%BA%BA%E4%BA%BA%E6%8E%A8%E6%9C%8D%E5%8A%A1%E5%8D%8F%E8%AE%AE.html\",\n\t\t\t\tpolicy: \"https://hropublic.oss-cn-beijing.aliyuncs.com/agreement/%E4%BA%BA%E4%BA%BA%E6%8E%A8%E9%9A%90%E7%A7%81%E5%8D%8F%E8%AE%AE.html\",\r\n\t\t\t\tform: {\n\t\t\t\t\tmobile: '',\n\t\t\t\t\tpassword: '',\n\t\t\t\t},\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},\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) {\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)\n\t\t\t\t\t\t// this.$store.commit('setWenxinUserInfo', res);\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: 'broker',\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\t\t\n\t\t\tphoneLogin() {\n\t\t\t\tthis.$store.dispatch(`user/login`, {\n\t\t\t\t\tway: 'name',\n\t\t\t\t\ttype: 'student',\n\t\t\t\t\tusername: this.form.mobile,\n\t\t\t\t\tpassword: this.form.password,\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t\tjumploginStyle() {\n\t\t\t\tthis.$u.route({\n\t\t\t\t\turl: \"/pages/student/my/login-style/login-style\",\n\t\t\t\t\tparams: {}\n\t\t\t\t});\n\t\t\t}\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: 156px;\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;\n\t\t\t\tfont-weight: 600;\r\n\t\t\t}\n\t\t\t\n\t\t\t.changeLogin {\n\t\t\t\twidth: 100%;\n\t\t\t\ttext-align: center;\n\t\t\t\tmargin: 48rpx 0 0 0;\n\t\t\t\tpadding: 0 50rpx;\n\t\t\t\tfont-size: 15px;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tcolor: rgba(0, 0, 0, 0.65);\n\t\t\t}\r\n\r\n\t\t\t.agreement {\n\t\t\t\t// position: fixed;\n\t\t\t\t// left: 0;\n\t\t\t\t// bottom: 34rpx;\n\t\t\t\tmargin-top: 15px;\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: #FF001A;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\n\t\t\t\n\t\t\t.form {\n\t\t\t\tmargin: 30rpx 60rpx 0px;\n\t\t\t}\r\n\r\n\t\t\t.btn {\n\t\t\t\tmargin-top: 200rpx;\r\n\t\t\t\tpadding: 0 48rpx;\r\n\t\t\t}\n\t\t\t\n\t\t\t.wxLogin {\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tflex-direction: column;\n\t\t\t\tmargin-top: 180rpx;\n\t\t\t\t\n\t\t\t\tbutton {\n\t\t\t\t\tbackground-color: transparent;\n\t\t\t\t}\n\t\t\t\tbutton::after{border: initial}\n\t\t\t\t\n\t\t\t\timage {\n\t\t\t\t\twidth: 96rpx;\n\t\t\t\t\theight: 96rpx;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\ttext {\n\t\t\t\t\tmargin-top: 0rpx;\n\t\t\t\t}\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=b403e050&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=b403e050&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/common/webview/webview.vue?dd0b","webpack:////Users/linon/work/workai/yxly-teacher/pages/common/webview/webview.vue?8e16","webpack:////Users/linon/work/workai/yxly-teacher/pages/common/webview/webview.vue?17b2","webpack:////Users/linon/work/workai/yxly-teacher/pages/common/webview/webview.vue?b384","uni-app:///pages/common/webview/webview.vue"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,0G,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,gBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;;;AAGtD;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;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;AAAo1B,CAAgB,qyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACUx2B;AACA,MADA,kBACA;AACA;AACA,iBADA;AAEA,6BAFA;AAGA,kCAHA;AAIA,aAJA;AAKA;AACA;AACA,0BADA,EADA,EALA;;;;AAWA,GAbA;;AAeA,QAfA,kBAeA,MAfA,EAeA;AACA;AACA;AACA;AACA,GAnBA;;AAqBA,aArBA,E","file":"pages/common/webview/webview.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/common/webview/webview.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./webview.vue?vue&type=template&id=e3ea9810&scoped=true&\"\nvar renderjs\nimport script from \"./webview.vue?vue&type=script&lang=js&\"\nexport * from \"./webview.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 \"e3ea9810\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/common/webview/webview.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!./webview.vue?vue&type=template&id=e3ea9810&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!./webview.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!./webview.vue?vue&type=script&lang=js&\"","<template>\r\n\t<page-meta>\r\n\t\t<navigation-bar :title=\"nbTitle\" :front-color=\"nbFrontColor\" :background-color=\"nbBackgroundColor\" />\r\n\t</page-meta>\r\n\t<view>\r\n\t\t<web-view :webview-styles=\"webviewStyles\" :src=\"url\"></web-view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tnbTitle: '',\r\n\t\t\t\tnbFrontColor: '#000000',\r\n\t\t\t\tnbBackgroundColor: '#ffffff',\r\n\t\t\t\turl: \"\",\r\n\t\t\t\twebviewStyles: {\r\n\t\t\t\t\tprogress: {\r\n\t\t\t\t\t\tcolor: '#FF3333'\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\tonLoad(option) {\r\n\t\t\tconsole.log(option);\r\n\t\t\tthis.url = option.url;\r\n\t\t\tthis.nbTitle = option.navtitle;\r\n\t\t},\r\n\r\n\t\tmethods: {\r\n\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\r\n</style>\n"],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/add-position.vue?1eac","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/add-position.vue?46f0","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/add-position.vue?ff25","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/add-position.vue?9733","uni-app:///pages/main/home/add-position.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/add-position.vue?6383"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,8G,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,oBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqI;AACrI;AACgE;AACL;AACsC;;;AAGjG;AACmN;AACnN,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,aAAa,oLAEN;AACP,KAAK;AACL;AACA,aAAa,sQAEN;AACP,KAAK;AACL;AACA,aAAa,sLAEN;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;;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAAy1B,CAAgB,0yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC8E72B;;;;;;AAMA,kF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eACA,EACA,IADA,kBACA,CACA,SACA,mBADA,EAEA,QACA,aADA,EAEA,QAFA,EAGA,cAHA,EAIA,YAJA,EAKA,QALA,EAMA,YANA,EAOA,gBAPA,EAQA,iBARA,EASA,gBATA,EAUA,oBAVA,EAWA,eAXA,EAYA,gBAZA,EAaA,aAbA,EAcA,YAdA,EAeA,YAfA,EAgBA,YAhBA,EAiBA,QAjBA,EAkBA,eAlBA,EAmBA,WAnBA,EAoBA,QApBA,EAqBA,SArBA,EAFA,EA0BA,qDA1BA,EA2BA,eA3BA,EA4BA,0CA5BA,EA6BA,oCA7BA,EA8BA,kCA9BA,EA+BA,sCA/BA,EAgCA,WAhCA,GAkCA,CApCA,EAsCA,MAtCA,kBAsCA,CAtCA,EAsCA,CACA,eACA,sBACA,CAzCA,EA2CA,MA3CA,kBA2CA,CA3CA,EA2CA,CACA,oCACA,mBACA,2CACA,2CACA,2CACA,mCACA,6CACA,6CACA,CACA,CArDA,EAuDA,WACA,cADA,4BACA,CACA,gBACA,sDACA,2BACA,+CACA,wBACA,2BADA,EAEA,yBAFA,IAIA,CACA,CACA,oCACA,CAVA,EAWA,CAdA,EAgBA,UAhBA,wBAgBA,CACA,gBACA,8BADA,IAGA,CApBA;AAsBA,aAtBA,uBAsBA;AACA;AACA,+CADA;AAEA,4BAFA;;AAIA,KA3BA;;AA6BA,UA7BA,oBA6BA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA,6BADA,IACA,sBADA,IACA,0BADA;AAEA,4BAFA,IAEA,mBAFA,IAEA,qBAFA,IAEA,oBAFA,EAEA;AACA;AACA;AACA,2BADA;AAEA,yBAFA;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBADA;AAEA,2BAFA;;AAIA;AACA,SAPA;AAQA,OAtBA,MAsBA;AACA;AACA,wBADA;;AAGA;AACA,KA/DA;;AAiEA,iBAjEA,2BAiEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OANA,MAMA;AACA;AACA;AACA;AACA,WAFA,MAEA;AACA,SAJA,MAIA;AACA;AACA;AACA;AACA;AACA,KAlFA;;AAoFA,kBApFA,0BAoFA,CApFA,EAoFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KA7FA;;AA+FA,gBA/FA,wBA+FA,CA/FA,EA+FA;AACA;AACA;AACA;AACA;AACA;AACA,KArGA,EAvDA,E;;;;;;;;;;;;;ACrFA;AAAA;AAAA;AAAA;AAA4lD,CAAgB,i8CAAG,EAAC,C","file":"pages/main/home/add-position.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/home/add-position.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./add-position.vue?vue&type=template&id=faa99530&scoped=true&\"\nvar renderjs\nimport script from \"./add-position.vue?vue&type=script&lang=js&\"\nexport * from \"./add-position.vue?vue&type=script&lang=js&\"\nimport style0 from \"./add-position.vue?vue&type=style&index=0&id=faa99530&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 \"faa99530\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/home/add-position.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!./add-position.vue?vue&type=template&id=faa99530&scoped=true&\"","var components\ntry {\n components = {\n uForm: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-form/u-form\" */ \"@/uview-ui/components/u-form/u-form.vue\"\n )\n },\n cInputItem: function() {\n return import(\n /* webpackChunkName: \"components/c-input-item/c-input-item\" */ \"@/components/c-input-item/c-input-item.vue\"\n )\n },\n uInput: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-input/u-input\" */ \"@/uview-ui/components/u-input/u-input.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!./add-position.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!./add-position.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"page\">\n\t\t<view style=\"background-color: #fff;padding: 20rpx 40rpx;\">\n\t\t\t<u-form :model=\"form\" :error-type=\"errorType\" ref=\"uForm\">\n\t\t\t\t<c-input-item label=\"企业名称\" type=\"select\" name=\"companyId\" :options=\"companyList\"\n\t\t\t\t\tv-model=\"form.companyId\" :rightIcon=\"true\">\n\t\t\t\t</c-input-item>\n\t\t\t\t<c-input-item label=\"岗位\" type=\"text\" name=\"name\" v-model=\"form.name\" :rightIcon=\"false\">\n\t\t\t\t</c-input-item>\n\t\t\t\t<c-input-item label=\"年龄\" type=\"select\" :options=\"ageTypeOptions\" name=\"ageRequire\"\n\t\t\t\t\tv-model=\"form.ageRequire\" :rightIcon=\"true\">\n\t\t\t\t</c-input-item>\n\t\t\t\t<c-input-item label=\"招聘城市\" type=\"area\" disabled=\"true\" name=\"city\" :options=\"area\" v-model=\"form.city\"\n\t\t\t\t\t:rightIcon=\"true\">\n\t\t\t\t</c-input-item>\n\t\t\t\t<c-input-item label=\"学校类型\" type=\"select\" name=\"schoolRequire\" :options=\"schoolTypeOptions\"\n\t\t\t\t\tv-model=\"form.schoolRequire\" :rightIcon=\"true\">\n\t\t\t\t</c-input-item>\n\t\t\t\t<c-input-item label=\"专业要求\" type=\"text\" name=\"majorRequire\" v-model=\"form.majorRequire\"\n\t\t\t\t\t:rightIcon=\"false\">\n\t\t\t\t</c-input-item>\n\t\t\t\t<c-input-item label=\"招聘人数\" type=\"number\" name=\"recruitingNumber\" v-model=\"form.recruitingNumber\"\n\t\t\t\t\t:rightIcon=\"false\">\n\t\t\t\t</c-input-item>\n\t\t\t\t<c-input-item label=\"联系人\" type=\"text\" name=\"contactName\" v-model=\"form.contactName\" :rightIcon=\"false\">\n\t\t\t\t</c-input-item>\n\t\t\t\t<c-input-item label=\"联系电话\" type=\"number\" name=\"contactPhone\" v-model=\"form.contactPhone\"\n\t\t\t\t\t:rightIcon=\"false\">\n\t\t\t\t</c-input-item>\n\t\t\t\t<c-input-item label=\"是否委托招聘\" type=\"select\" :options=\"commonOptions\" name=\"isEntrust\"\n\t\t\t\t\tv-model=\"form.isEntrust\" :rightIcon=\"true\" @input=\"isEntrustClick\">\n\t\t\t\t</c-input-item>\n\t\t\t\t<view v-if=\"form.isEntrust=='yes'\">\n\t\t\t\t\t<c-input-item label=\"委托招聘服务费计费方式\" type=\"select\" :options=\"unitTypeOptions\" name=\"feeType\"\n\t\t\t\t\t\tv-model=\"form.feeType\" :rightIcon=\"true\" @input=\"feeTypeClick\">\n\t\t\t\t\t</c-input-item>\n\t\t\t\t\t<view class=\"\">\n\t\t\t\t\t\t<view class=\"text1\" style=\"margin-top: 16rpx;\">计费</view>\n\t\t\t\t\t\t<view style=\"display: flex;\">\n\t\t\t\t\t\t\t<view class=\"textValue\" style=\"width: 36%\">\n\t\t\t\t\t\t\t\t<u-input v-model=\"form.price\" type=\"number\" maxlength=\"10\" placeholder=\"请输入金额\" />\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t<view v-if=\"form.feeType=='recruiting'\" class=\"textValue\" style=\"padding-top:16rpx\">元/月\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view style=\"width: 100%;height: 2rpx;background-color: #f0f0ff;margin: 20rpx 0;\"></view>\n\t\t\t\t\t<view v-if=\"form.feeType=='recruiting'\">\n\t\t\t\t\t\t<view class=\"text1\" style=\"margin-top: 16rpx;\">连续支付</view>\n\t\t\t\t\t\t<view style=\"display: flex;\">\n\t\t\t\t\t\t\t<view class=\"textValue\" style=\"width: 36%\">\n\t\t\t\t\t\t\t\t<u-input v-model=\"form.burningTime\" type=\"number\" maxlength=\"3\" placeholder=\"请输入\" />\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t<text class=\"textValue\" style=\"padding-top:16rpx\">个月</text>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view style=\"margin: 20rpx 0;color: #646464;\">\n\t\t\t\t\t\t该费用以入职后的考勤计算,直至离职;\n\t\t\t\t\t\t费用以平台岗位审核通过为准,如有异议请联系平台。\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</u-form>\n\t\t\t<view style=\"background-color: #fff;margin-top:20rpx; margin-bottom: 200rpx;\">\n\t\t\t\t<u-input v-model=\"form.description\" type=\"textarea\" :placeholder='textPlaceholder' :height=\"328\"\n\t\t\t\t\t:auto-height=\"true\" />\n\t\t\t</view>\n\t\t</view>\n\t\t<view class=\"botBtn\">\n\t\t\t<view style=\"width: 100%;height: 2rpx;background-color: #f0f0ff;\"></view>\n\t\t\t<view class=\"btn_wrap\">\n\t\t\t\t<view class=\"btn01\" @click=\"updatePos\">完善岗位</view>\n\t\t\t\t<view class=\"btn02\" @click=\"submit\">提交需求</view>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\timport {\n\t\tschoolTypeOptions,\n\t\tageTypeOptions,\n\t\tcommonOptions,\n\t\tunitTypeOptions\n\t} from '@/common/util.js'\n\timport area from '@/common/area';\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tarea,\n\t\t\t\tform: {\n\t\t\t\t\tcompanyId: '',\n\t\t\t\t\tname: '',\n\t\t\t\t\tageRequire: '',\n\t\t\t\t\tcityCode: '',\n\t\t\t\t\tcity: '',\n\t\t\t\t\tprovince: '',\n\t\t\t\t\tprovinceCode: '',\n\t\t\t\t\tschoolRequire: '',\n\t\t\t\t\tmajorRequire: '',\n\t\t\t\t\trecruitingNumber: '',\n\t\t\t\t\tcontactName: '',\n\t\t\t\t\tcontactPhone: '',\n\t\t\t\t\tisEntrust: '',\n\t\t\t\t\tcategory: '',\n\t\t\t\t\tproperty: '',\n\t\t\t\t\twageType: '',\n\t\t\t\t\tflag: '',\n\t\t\t\t\tdescription: '',\n\t\t\t\t\tfeeType: '',\n\t\t\t\t\tunit: '',\n\t\t\t\t\tprice: '',\n\n\t\t\t\t},\n\t\t\t\ttextPlaceholder: \"请描述您的需求内容,也可以拨打电话或在线联系我们的服务人员(选填)。\",\n\t\t\t\tcompanyList: [],\n\t\t\t\tschoolTypeOptions,\n\t\t\t\tageTypeOptions,\n\t\t\t\tcommonOptions,\n\t\t\t\tunitTypeOptions,\n\t\t\t\tsubform: {},\n\t\t\t}\n\t\t},\n\n\t\tonLoad(e) {\n\t\t\tconsole.log(e)\n\t\t\tthis.getCompanyList();\n\t\t},\n\n\t\tonShow(e) {\n\t\t\tconsole.log(\"onshow\", this.subform)\n\t\t\tif (this.subform) {\n\t\t\t\tthis.form.category = this.subform.category\n\t\t\t\tthis.form.property = this.subform.property\n\t\t\t\tthis.form.wageType = this.subform.wageType\n\t\t\t\tthis.form.flag = this.subform.flag\n\t\t\t\tthis.form.wageLower = this.subform.wageLower\n\t\t\t\tthis.form.wageUpper = this.subform.wageUpper\n\t\t\t}\n\t\t},\n\n\t\tmethods: {\n\t\t\tgetCompanyList() {\n\t\t\t\tvar that = this\n\t\t\t\tthis.$u.api.getCompanyListApi().then(data => {\n\t\t\t\t\tif (data && data.records) {\n\t\t\t\t\t\tfor (var i = 0; i < data.records.length; i++) {\n\t\t\t\t\t\t\tthat.companyList.push({\n\t\t\t\t\t\t\t\tlabel: data.records[i].name,\n\t\t\t\t\t\t\t\tvalue: data.records[i].id,\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tconsole.log(data, that.companyList)\n\t\t\t\t})\n\t\t\t},\n\n\t\t\tselectCity() {\n\t\t\t\tthis.$u.route({\n\t\t\t\t\turl: '/pages/common/city/city',\n\t\t\t\t})\n\t\t\t},\n\n\t\t\tupdatePos() {\n\t\t\t\tthis.$u.route({\n\t\t\t\t\turl: '/pages/main/home/update-position',\n\t\t\t\t\tparams:this.subform\n\t\t\t\t})\n\t\t\t},\n\n\t\t\tsubmit() {\n\t\t\t\tconsole.log(\"form\", this.form)\n\t\t\t\tif (this.form.feeType == 'packing') {\n\t\t\t\t\tthis.form.unit = 'hourly'\n\t\t\t\t} else if (this.form.feeType == 'recruiting') {\n\t\t\t\t\tthis.form.unit = 'monthly'\n\t\t\t\t}\n\t\t\t\tif (this.form.companyId && this.form.name && this.form.ageRequire && this.form.city &&\n\t\t\t\t\tthis.form.schoolRequire && this.form.majorRequire && this.form.recruitingNumber &&\n\t\t\t\t\tthis.form.contactPhone && this.form.isEntrust && this.form.contactName && this.isEntrustFlag()) {\n\t\t\t\t\tif (!this.$u.test.mobile(this.form.contactPhone)) {\n\t\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\t\ttitle: '手机号码错误',\n\t\t\t\t\t\t\ticon: 'error',\n\t\t\t\t\t\t})\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tthis.form.cityCode = this.form.city.cityCode\n\t\t\t\t\tthis.form.provinceCode = this.form.city.provinceCode\n\t\t\t\t\tthis.form.province = this.form.city.province\n\t\t\t\t\tthis.form.city = this.form.city.city\n\t\t\t\t\tthis.$u.api.AddPositionApi(this.form).then(data => {\n\t\t\t\t\t\tconsole.log(data)\n\t\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\t\ttitle: '发布成功',\n\t\t\t\t\t\t\ticon: 'success',\n\t\t\t\t\t\t})\n\t\t\t\t\t\tsetTimeout(() => uni.navigateBack(), 1000);\n\t\t\t\t\t})\n\t\t\t\t} else {\n\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\ttitle: \"请完善信息\"\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t},\n\t\t\t\n\t\t\tisEntrustFlag() {\n\t\t\t\tif (this.form.isEntrust == \"no\") { //\n\t\t\t\t\tthis.form.feeType = \"\"\n\t\t\t\t\tthis.form.unit = \"\"\n\t\t\t\t\tthis.form.price = \"\"\n\t\t\t\t\tthis.form.burningTime = \"\"\n\t\t\t\t\treturn true\n\t\t\t\t} else {\n\t\t\t\t\tif (this.form.feeType && this.form.price) {\n\t\t\t\t\t\tif (this.form.feeType == \"recruiting\"&&!this.form.burningTime) {\n\t\t\t\t\t\t\treturn false\n\t\t\t\t\t\t} else return true\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn false\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tconsole.log(this.form.isEntrust)\t\t\n\t\t\t},\n\t\t\t\n\t\t\tisEntrustClick(e) { //是否委托招聘\n\t\t\t\tconsole.log(\"isEntrustClick...\",e)\n\t\t\t\tthis.form.isEntrust = e\n\t\t\t\tif (e = \"no\") {\n\t\t\t\t\tthis.form.feeType = \"\"\n\t\t\t\t\tthis.form.unit = \"\"\n\t\t\t\t\tthis.form.price = \"\"\n\t\t\t\t\tthis.form.burningTime = \"\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\n\t\t\tfeeTypeClick(e){\n\t\t\t\tconsole.log(\"feeTypeClick...\",e)\n\t\t\t\tthis.form.feeType = e\n\t\t\t\tif(this.form.feeType==\"packing\"){\n\t\t\t\t\tthis.form.burningTime = ''\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t.page {\n\t\tbackground-color: #f0f0ff;\n\t\t\n\t\t.botBtn {\n\t\t\twidth: 100%;\n\t\t\theight: 180rpx;\n\t\t\tposition: fixed;\n\t\t\tbackground-color: #FFFFFF;\n\t\t\tbottom: 0;\n\t\t\tz-index: 99;\n\t\t\t\n\t\t\t.btn_wrap{\n\t\t\t\tpadding: 32rpx;\n\t\t\t\tdisplay: flex\n\t\t\t}\n\t\t\t\n\t\t\t.btn01 {\n\t\t\t\tflex: 1;\n\t\t\t\theight: 44px;\n\t\t\t\tbackground: #F7F7F7;\n\t\t\t\tborder-radius: 4px;\n\t\t\t\tfont-size: 17px;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tcolor: #646464;\n\t\t\t\ttext-align: center;\n\t\t\t\tline-height: 44px;\n\t\t\t}\n\t\t\n\t\t\t.btn02 {\n\t\t\t\tflex: 2;\n\t\t\t\theight: 44px;\n\t\t\t\tbackground: linear-gradient(331deg, #FF5E00 0%, #FF001A 100%);\n\t\t\t\tborder-radius: 4px;\n\t\t\t\tfont-size: 17px;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tcolor: #FFFFFF;\n\t\t\t\tline-height: 17px;\n\t\t\t\ttext-align: center;\n\t\t\t\tline-height: 44px;\n\t\t\t\tmargin-left: 40rpx;\n\t\t\t}\n\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!./add-position.vue?vue&type=style&index=0&id=faa99530&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!./add-position.vue?vue&type=style&index=0&id=faa99530&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/add-resource.vue?3906","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/add-resource.vue?bdb3","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/add-resource.vue?bb58","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/add-resource.vue?1b1f","uni-app:///pages/main/home/add-resource.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/add-resource.vue?4fd3"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":"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","file":"pages/main/home/add-resource.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/home/add-resource.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./add-resource.vue?vue&type=template&id=69ba65cd&scoped=true&\"\nvar renderjs\nimport script from \"./add-resource.vue?vue&type=script&lang=js&\"\nexport * from \"./add-resource.vue?vue&type=script&lang=js&\"\nimport style0 from \"./add-resource.vue?vue&type=style&index=0&id=69ba65cd&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 \"69ba65cd\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/home/add-resource.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!./add-resource.vue?vue&type=template&id=69ba65cd&scoped=true&\"","var components\ntry {\n components = {\n uForm: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-form/u-form\" */ \"@/uview-ui/components/u-form/u-form.vue\"\n )\n },\n cInputItem: function() {\n return import(\n /* webpackChunkName: \"components/c-input-item/c-input-item\" */ \"@/components/c-input-item/c-input-item.vue\"\n )\n },\n uInput: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-input/u-input\" */ \"@/uview-ui/components/u-input/u-input.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 m0 = _vm.form.cxrq ? _vm.timeFormat(_vm.form.cxrq) : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n m0: m0\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!./add-resource.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!./add-resource.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"page\">\n\t\t<!-- <view style=\"position: fixed;top: 0;left: 0;\"> -->\n\t\t\t<view class=\"content\">\n\t\t\t\t<img src=\"/static/img/page/fbzyBg.png\" alt=\"\">\n\t\t\t\t<view class=\"text\">\n\t\t\t\t\t<text>我们是:</text>\n\t\t\t\t\t<text :class=\"schoolType?'write1':'write'\">{{schoolType?schoolType:'_____'}}</text>\n\t\t\t\t\t<text>,</text>\n\t\t\t\t\t<text :class=\"form.zy?'write1':'write'\">{{form.zy?form.zy:'_____'}}</text>\n\t\t\t\t\t<text>专业,有</text>\n\t\t\t\t\t<text :class=\"form.sxrs?'write1':'write'\">{{form.sxrs?form.sxrs:'_____'}}</text>\n\t\t\t\t\t<text>名学生:</text>\n\t\t\t\t\t<text :class=\"form.cxrq?'write1':'write'\">{{form.cxrq?timeFormat(form.cxrq):'_____'}}</text>\n\t\t\t\t\t<text>后,可以参与</text>\n\t\t\t\t\t<text :class=\"form.sxsc?'write1':'write'\">{{form.sxsc?form.sxsc:'_____'}}</text>\n\t\t\t\t\t<text>的实习,要求:</text>\n\t\t\t\t\t<text :class=\"form.yq?'write1':'write'\">{{form.yq?form.yq=='professional_counterparts'?'专业对口':'其他':'_____'}}</text>\n\t\t\t\t\t<text>实习区域:</text>\n\t\t\t\t\t<text :class=\"form.showCitys?'write1':'write'\">{{form.showCitys?form.showCitys:'_____'}}</text>\n\t\t\t\t\t<text>,欢迎有优质岗位企业联系!</text>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"rrt\">\n\t\t\t\t\t人人推\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<img class=\"btobg\" src=\"/static/img/page/fbzyBg1.png\" alt=\"\">\n\t\t<!-- </view> -->\n\t\t<!-- <scroll-view scroll-y=\"true\" style=\"height: calc(100% - 282px)\"> -->\n\t\t<view style=\"height: 235px;\"></view>\n\t\t<view>\n\t\t\t<u-form :model=\"form\" :error-type=\"errorType\" ref=\"uForm\" sty>\n\t\t\t\t<c-input-item label=\"学校名称\" type=\"text\" name=\"name\" v-model=\"form.name\" :rightIcon=\"false\">\n\t\t\t\t</c-input-item>\n\t\t\t\t<c-input-item label=\"学校类型\" @input=\"selectType\" type=\"select\" :options=\"schoolTypeOptions\" name=\"type\"\n\t\t\t\t\tv-model=\"form.type\" :rightIcon=\"true\">\n\t\t\t\t</c-input-item>\n\t\t\t\t<c-input-item label=\"专业\" type=\"text\" name=\"zy\" v-model=\"form.zy\" :rightIcon=\"false\">\n\t\t\t\t</c-input-item>\n\t\t\t\t<c-input-item label=\"可实习人数\" type=\"number\" name=\"sxrs\" v-model=\"form.sxrs\" :rightIcon=\"false\" :maxlenth=\"'4'\">\n\t\t\t\t</c-input-item>\n\t\t\t\t<c-input-item label=\"可出校日期\" type=\"date\" name=\"cxrq\" v-model=\"form.cxrq\" :rightIcon=\"true\">\n\t\t\t\t</c-input-item>\n\t\t\t\t<c-input-item label=\"实习时长\" type=\"text\" name=\"sxsc\" v-model=\"form.sxsc\" :rightIcon=\"false\">\n\t\t\t\t</c-input-item>\n\t\t\t\t<c-input-item label=\"要求\" type=\"select\" :options=\"yqs\" name=\"yq\" v-model=\"form.yq\" :rightIcon=\"true\">\n\t\t\t\t</c-input-item>\n\t\t\t\t<c-input-item label=\"学校所在地\" type=\"area\" name=\"szd\" v-model=\"form.szd\" :options=\"area\" :rightIcon=\"true\"\n\t\t\t\t\t:disabled=\"true\">\n\t\t\t\t</c-input-item>\n\t\t\t\t<view style=\"position: relative;\">\n\t\t\t\t\t<c-input-item label=\"可实习区域\" type=\"text\" name=\"showCitys\" v-model=\"form.showCitys\" :rightIcon=\"true\"\n\t\t\t\t\t\t:disabled=\"true\" :placeholder=\"'请选择'\">\n\t\t\t\t\t</c-input-item>\n\t\t\t\t\t<view @click=\"cityJump()\"\n\t\t\t\t\t\tstyle=\"position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 999;\"></view>\n\t\t\t\t</view>\n\t\t\t\t<c-input-item label=\"联系人\" type=\"text\" name=\"lxr\" v-model=\"form.lxr\" :rightIcon=\"false\">\n\t\t\t\t</c-input-item>\n\t\t\t\t<c-input-item label=\"联系方式\" type=\"number\" name=\"lxfs\" v-model=\"form.lxfs\" :rightIcon=\"false\">\n\t\t\t\t</c-input-item>\n\t\t\t</u-form>\n\t\t\t<view style=\"height: 20rpx;background-color: #FAFAFB; margin-bottom: 20rpx;\"></view>\n\t\t\t<view class=\"areaTitle\" style=\"font-size: 13px;font-weight: 400;color: #121212;\">\n\t\t\t\t详细描述\n\t\t\t</view>\n\t\t\t<u-input v-model=\"form.area\" type=\"textarea\" placeholder='请输入您的其他要求' :height=\"328\" :auto-height=\"true\" />\n\t\t</view>\n\t\t\t\n\t\t<!-- </scroll-view> -->\r\n\t\t<view class=\"botBtn\" @click=\"oneselfClick()\">提交</view>\n\t\t<view style=\"height: 25px;\"></view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport area from '@/common/area';\r\n\timport {\r\n\t\tschoolTypeOptions\r\n\t} from '@/common/util.js'\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tarea,\r\n\t\t\t\treturnnCity: '',\r\n\t\t\t\tform: {\r\n\t\t\t\t\tname: '',\r\n\t\t\t\t\ttype: '',\r\n\t\t\t\t\tzy: '',\r\n\t\t\t\t\tsxrs: '',\r\n\t\t\t\t\tcxrq: '',\r\n\t\t\t\t\tsxsc: '',\r\n\t\t\t\t\tyq: '',\r\n\t\t\t\t\tszd: null,\r\n\t\t\t\t\tshowCitys: '',\r\n\t\t\t\t\tlxr: '',\r\n\t\t\t\t\tlxfs: '',\r\n\t\t\t\t\tarea: '',\r\n\t\t\t\t},\r\n\t\t\t\tyqs: [{\r\n\t\t\t\t\tlabel: '专业对口',\r\n\t\t\t\t\tvalue: 'professional_counterparts'\r\n\t\t\t\t}, {\r\n\t\t\t\t\tlabel: '其他',\r\n\t\t\t\t\tvalue: 'other'\r\n\t\t\t\t}],\r\n\t\t\t\tschoolTypeOptions,\r\n\t\t\t\tschoolType: null,\r\n\t\t\t\trules: {\r\n\t\t\t\t\tname: [{\r\n\t\t\t\t\t\trequired: true,\r\n\t\t\t\t\t\tmax: 30,\r\n\t\t\t\t\t\tmessage: '请填写',\r\n\t\t\t\t\t\ttrigger: ['change', 'blur'],\r\n\t\t\t\t\t}],\r\n\t\t\t\t\ttype: [{\r\n\t\t\t\t\t\trequired: true,\r\n\t\t\t\t\t\tmax: 30,\r\n\t\t\t\t\t\tmessage: '请选择',\r\n\t\t\t\t\t\ttrigger: ['change', 'blur'],\r\n\t\t\t\t\t}],\r\n\t\t\t\t\tzy: [{\r\n\t\t\t\t\t\trequired: true,\r\n\t\t\t\t\t\tmax: 30,\r\n\t\t\t\t\t\tmessage: '请填写',\r\n\t\t\t\t\t\ttrigger: ['change', 'blur'],\r\n\t\t\t\t\t}],\r\n\t\t\t\t\tsxrs: [{\r\n\t\t\t\t\t\trequired: true,\r\n\t\t\t\t\t\tmax: 30,\r\n\t\t\t\t\t\tmessage: '请填写',\r\n\t\t\t\t\t\ttrigger: ['change', 'blur'],\r\n\t\t\t\t\t}],\r\n\t\t\t\t\tsxsc: [{\r\n\t\t\t\t\t\trequired: true,\r\n\t\t\t\t\t\tmax: 30,\r\n\t\t\t\t\t\tmessage: '请填写',\r\n\t\t\t\t\t\ttrigger: ['change', 'blur'],\r\n\t\t\t\t\t}],\r\n\t\t\t\t\tyq: [{\r\n\t\t\t\t\t\trequired: true,\r\n\t\t\t\t\t\tmax: 30,\r\n\t\t\t\t\t\tmessage: '请填写',\r\n\t\t\t\t\t\ttrigger: ['change', 'blur'],\r\n\t\t\t\t\t}],\r\n\t\t\t\t\tcontactName: [{\r\n\t\t\t\t\t\trequired: true,\r\n\t\t\t\t\t\tmax: 30,\r\n\t\t\t\t\t\tmessage: '请填写',\r\n\t\t\t\t\t\ttrigger: ['change', 'blur'],\r\n\t\t\t\t\t}],\r\n\t\t\t\t\tcontactPhone: [{\r\n\t\t\t\t\t\trequired: true,\r\n\t\t\t\t\t\tmax: 30,\r\n\t\t\t\t\t\tmessage: '请填写',\r\n\t\t\t\t\t\ttrigger: ['change', 'blur'],\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\tonLoad() {\r\n\r\n\t\t},\r\n\r\n\t\tonReady() {\r\n\t\t\tthis.$refs.uForm.setRules(this.rules);\r\n\t\t},\r\n\r\n\t\tmethods: {\r\n\r\n\t\t\tselectType(e) {\r\n\t\t\t\tconsole.log(12312312312, e)\r\n\t\t\t\tfor (var i = 0; i < this.schoolTypeOptions.length; i++) {\r\n\t\t\t\t\tif (this.schoolTypeOptions[i].value == e) {\r\n\t\t\t\t\t\tthis.schoolType = this.schoolTypeOptions[i].label\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\r\n\t\t\toneselfClick() {\r\n\t\t\t\tif (!this.$u.test.mobile(this.form.lxfs)) {\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '手机号码错误',\r\n\t\t\t\t\t\ticon: 'error',\r\n\t\t\t\t\t})\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tthis.$refs.uForm.validate(valid => {\r\n\t\t\t\t\tconsole.log(valid)\r\n\t\t\t\t\tif (valid) {\r\n\t\t\t\t\t\tlet dic = {\r\n\t\t\t\t\t\t\tschoolName: this.form.name,\r\n\t\t\t\t\t\t\tschoolType: this.form.type,\r\n\t\t\t\t\t\t\tprofessional: this.form.zy,\r\n\t\t\t\t\t\t\tnumber: this.form.sxrs,\r\n\t\t\t\t\t\t\tstartTime: this.form.cxrq,\r\n\t\t\t\t\t\t\tduration: this.form.sxsc,\r\n\t\t\t\t\t\t\trequirement: this.form.yq,\r\n\t\t\t\t\t\t\tcity: this.form.szd.city,\r\n\t\t\t\t\t\t\tcityCode: this.form.szd.city_code,\r\n\t\t\t\t\t\t\tprovince: this.form.szd.province,\r\n\t\t\t\t\t\t\tprovinceCode: this.form.szd.province_code,\r\n\t\t\t\t\t\t\tinternableLocation: this.returnnCity,\r\n\t\t\t\t\t\t\tcontactName: this.form.lxr,\r\n\t\t\t\t\t\t\tcontactPhone: this.form.lxfs,\r\n\t\t\t\t\t\t\tdescription: this.form.area,\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (dic.startTime.toString().length == 10) {\r\n\t\t\t\t\t\t\tdic.startTime = dic.startTime + '000'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tthis.$u.api.internshipTrackApi(dic).then(res => {\r\n\t\t\t\t\t\t\tif (res) {\r\n\r\n\t\t\t\t\t\t\t\tuni.navigateBack({\r\n\t\t\t\t\t\t\t\t\tdelta: 1\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\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle: \"请填写完整信息\",\r\n\t\t\t\t\t\t\ticon: 'error',\r\n\t\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\r\n\t\t\t},\r\n\r\n\t\t\tcityJump() {\r\n\t\t\t\tthis.$u.route({\r\n\t\t\t\t\turl: '/pages/common/city/city',\r\n\t\t\t\t\t// params: {type:1},\r\n\t\t\t\t})\r\n\t\t\t},\r\n\r\n\t\t\ttimeFormat(value, format = \"yyyy/mm/dd\") {\r\n\t\t\t\treturn this.$u.timeFormat(value, format);\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\t.page {\n\t\theight: 100%;\r\n\t\tpadding: 30rpx;\r\n\t\tbackground-color: #fff;\r\n\r\n\t\t.content {\r\n\t\t\tposition: fixed;\n\t\t\ttop: 0;\n\t\t\tleft: 0;\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 424rpx;\n\t\t\tz-index: 999;\r\n\r\n\t\t\timg {\r\n\t\t\t\tposition: relative;\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 100%;\r\n\t\t\t}\r\n\r\n\t\t\t.text {\r\n\t\t\t\tposition: absolute;\r\n\t\t\t\ttop: 42rpx;\r\n\t\t\t\tleft: 35rpx;\r\n\t\t\t\tright: 25rpx;\r\n\r\n\t\t\t\ttext {\r\n\t\t\t\t\tfont-size: 14px;\r\n\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\tcolor: #fff;\r\n\t\t\t\t\tmargin-left: 10rpx;\r\n\t\t\t\t\tline-height: 64rpx;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.write {\r\n\t\t\t\t\tcolor: #fff;\r\n\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t.write1 {\n\t\t\t\t\tpadding: 10rpx;\n\t\t\t\t\theight: 23px;\n\t\t\t\t\tbackground: #FF6C37;\n\t\t\t\t\tborder-radius: 4px;\n\t\t\t\t\tfont-size: 13px;\n\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\tcolor: #FFFFFF;\n\t\t\t\t\tline-height: 23px;\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.rrt {\r\n\t\t\t\tposition: absolute;\r\n\t\t\t\tbottom: 44rpx;\r\n\t\t\t\tright: 40rpx;\r\n\t\t\t\tfont-size: 13px;\r\n\t\t\t\tfont-weight: 300;\r\n\t\t\t\tcolor: #ffffff;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\n\t\t.btobg {\n\t\t\tposition: fixed;\n\t\t\ttop: 424rpx;\n\t\t\tleft: 0;\n\t\t\twidth: 100%;\n\t\t\theight: 40rpx;\n\t\t\tz-index: 998;\n\t\t}\n\r\n\t\t.botBtn {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 48px;\r\n\t\t\tbackground: linear-gradient(331deg, #FF5E00 0%, #FF001A 100%);\r\n\t\t\tborder-radius: 4px;\r\n\t\t\tfont-size: 17px;\r\n\t\t\tfont-weight: 400;\r\n\t\t\tcolor: #FFFFFF;\r\n\t\t\tline-height: 48px;\r\n\t\t\ttext-align: center;\r\n\t\t}\r\n\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!./add-resource.vue?vue&type=style&index=0&id=69ba65cd&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!./add-resource.vue?vue&type=style&index=0&id=69ba65cd&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/add-school.vue?8239","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/add-school.vue?74f4","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/add-school.vue?e733","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/add-school.vue?a4ec","uni-app:///pages/main/home/add-school.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/add-school.vue?8fa3"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,0G,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,kBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAmI;AACnI;AAC8D;AACL;AACsC;;;AAG/F;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;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,oLAEN;AACP,KAAK;AACL;AACA,aAAa,sQAEN;AACP,KAAK;AACL;AACA,aAAa,sLAEN;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;;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAAu1B,CAAgB,wyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC4D32B;AACA,MADA,kBACA;AACA;AACA;AACA,uBADA;AAEA,gBAFA;AAGA,wBAHA;AAIA,uBAJA,EADA;;AAOA;AACA;AACA;AACA,wBADA;AAEA,2BAFA;AAGA,qCAHA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA,WANA;AAOA,4BAPA;AAQA;AACA,qCATA,EAJA,CAFA,EAPA;;;AAyBA,sDAzBA;;AA2BA,GA7BA;;AA+BA,SA/BA,qBA+BA;AACA;AACA,GAjCA;;AAmCA;AACA,aADA,uBACA;AACA;AACA,6CADA;;AAGA,KALA;;AAOA,UAPA,oBAOA;AACA;AACA;AACA,yCADA,EADA;;AAIA,gCAJA;AAKA,eALA,mBAKA,GALA,EAKA;AACA;AACA,SAPA;;AASA,KAjBA;;AAmBA,UAnBA,oBAmBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eADA;AAEA,UAFA,CAEA;AACA;AACA;AACA;AACA,OANA;AAOA,KAnCA;;AAqCA,aArCA,qBAqCA,GArCA,EAqCA;AACA;AACA,kBADA;AAEA,oBAFA;;AAIA,KA1CA,EAnCA,E;;;;;;;;;;;;;AC5DA;AAAA;AAAA;AAAA;AAA0lD,CAAgB,+7CAAG,EAAC,C","file":"pages/main/home/add-school.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/home/add-school.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./add-school.vue?vue&type=template&id=6c5b37f3&scoped=true&\"\nvar renderjs\nimport script from \"./add-school.vue?vue&type=script&lang=js&\"\nexport * from \"./add-school.vue?vue&type=script&lang=js&\"\nimport style0 from \"./add-school.vue?vue&type=style&index=0&id=6c5b37f3&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 \"6c5b37f3\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/home/add-school.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!./add-school.vue?vue&type=template&id=6c5b37f3&scoped=true&\"","var components\ntry {\n components = {\n uForm: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-form/u-form\" */ \"@/uview-ui/components/u-form/u-form.vue\"\n )\n },\n cInputItem: function() {\n return import(\n /* webpackChunkName: \"components/c-input-item/c-input-item\" */ \"@/components/c-input-item/c-input-item.vue\"\n )\n },\n uInput: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-input/u-input\" */ \"@/uview-ui/components/u-input/u-input.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!./add-school.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!./add-school.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"page\">\n\t\t<view>\n\t\t\t<view style=\"padding: 40rpx;background-color: #FFFFFF;\">\n\t\t\t\t<u-form :model=\"form\" :error-type=\"errorType\" ref=\"uForm\">\n\t\t\t\t\t<!-- <u-form-item label=\"学校名称\" prop=\"name\">\n\t\t\t\t\t\t<u-input v-model=\"form.name\" />\n\t\t\t\t\t</u-form-item>\n\t\t\t\t\t<u-form-item label=\"联系人\" prop=\"contactName\">\n\t\t\t\t\t\t<u-input v-model=\"form.contactName\" />\n\t\t\t\t\t</u-form-item>\n\t\t\t\t\t<u-form-item label=\"联系电话\" prop=\"contactPhone\">\n\t\t\t\t\t\t<u-input v-model=\"form.contactPhone\" />\n\t\t\t\t\t</u-form-item> -->\n\t\t\t\t\t<c-input-item label=\"学校名称\" type=\"text\" name=\"name\" v-model=\"form.name\" :rightIcon=\"false\">\n\t\t\t\t\t</c-input-item>\n\t\t\t\t\t<c-input-item label=\"联系人\" type=\"text\" name=\"contactName\" v-model=\"form.contactName\"\n\t\t\t\t\t\t:rightIcon=\"false\">\n\t\t\t\t\t</c-input-item>\n\t\t\t\t\t<c-input-item label=\"联系电话\" type=\"number\" name=\"contactPhone\" v-model=\"form.contactPhone\"\n\t\t\t\t\t\t:rightIcon=\"false\">\n\t\t\t\t\t</c-input-item>\n\t\t\t\t</u-form>\n\t\t\t\t<view style=\"height: 20rpx;background-color: #FAFAFB; margin-bottom: 20rpx;\"></view>\n\t\t\t\t<u-input v-model=\"form.description\" name=\"description\" type=\"textarea\" :placeholder='textholder'\n\t\t\t\t\t:height=\"328\" :auto-height=\"true\" />\n\t\t\t</view>\n\t\t\t<view style=\"font-size: 26rpx;color: #646464;padding: 20rpx;\">推荐人ID:{{vuex_user.broker.id}}</view>\n\t\t</view>\n\t\t<!-- <view class=\"bottom\">\n\t\t\t<view style=\"width: 100%;display: flex;top: 30rpx;position: absolute;\">\n\t\t\t\t<view class=\"chat\" @click=\"callPhone\">\n\t\t\t\t\t<image class=\"icon\" src=\"/static/img/common/call-phone.png\"></image>\n\t\t\t\t\t<text class=\"text\">打电话</text>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"chat\" @click=\"goChat\">\n\t\t\t\t\t<image class=\"icon\" src=\"/static/img/common/chat.png\"></image>\n\t\t\t\t\t<text class=\"text\">直聊</text>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"commit\" @click=\"commit\">\n\t\t\t\t\t<text style=\"font-size: 32rpx;color: #FFFFFF;line-height: 84rpx;\">推荐入驻</text>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t</view> -->\n\t\t<view class=\"btView\">\n\t\t\t<view class=\"flow\" @click=\"callPhone()\">\n\t\t\t\t<img class=\"flowIcon\" src=\"/static/img/common/call-phone.png\" alt=\"\">\n\t\t\t\t<view class=\"txt\">打电话</view>\n\t\t\t</view>\n\t\t\t<view class=\"flow\" @click=\"goChat()\">\n\t\t\t\t<img class=\"flowIcon\" src=\"/static/img/common/chat.png\" alt=\"\">\n\t\t\t\t<view class=\"txt\">直聊</view>\n\t\t\t</view>\n\t\t\t<view class=\"botBtn\" @click=\"commit()\">推荐入驻</view>\n\t\t\t<view class=\"line\"></view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tform: {\n\t\t\t\t\tcontactName: '',\n\t\t\t\t\tname: '',\n\t\t\t\t\tcontactPhone: '',\n\t\t\t\t\tdescription: '',\n\t\t\t\t},\n\t\t\t\trules: {\n\t\t\t\t\t// 字段名称\n\t\t\t\t\tcontactPhone: [{\n\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\tmessage: '请输入手机号',\n\t\t\t\t\t\ttrigger: ['change', 'blur'],\n\t\t\t\t\t}, {\n\t\t\t\t\t\t// 自定义验证函数,见上说明\n\t\t\t\t\t\tvalidator: (rule, value, callback) => {\n\t\t\t\t\t\t\t// 上面有说,返回true表示校验通过,返回false表示不通过\n\t\t\t\t\t\t\t// this.$u.test.mobile()就是返回true或者false的\n\t\t\t\t\t\t\treturn this.$u.test.mobile(value);\n\t\t\t\t\t\t},\n\t\t\t\t\t\tmessage: '手机号码不正确',\n\t\t\t\t\t\t// 触发器可以同时用blur和change\n\t\t\t\t\t\ttrigger: ['change', 'blur'],\n\t\t\t\t\t}]\n\t\t\t\t},\n\t\t\t\ttextholder: \"请描述您的需求内容,也可以拨打电话或在线联系我们的服务人员(选填)。\"\n\t\t\t}\n\t\t},\n\n\t\tonReady() {\n\t\t\tthis.$refs.uForm.setRules(this.rules);\n\t\t},\n\n\t\tmethods: {\n\t\t\tcallPhone() {\n\t\t\t\tuni.makePhoneCall({\n\t\t\t\t\tphoneNumber: this.vuex_customer_phone\n\t\t\t\t})\n\t\t\t},\n\n\t\t\tgoChat() {\n\t\t\t\twx.openCustomerServiceChat({\n\t\t\t\t\textInfo: {\n\t\t\t\t\t\turl: this.vuex_customer_chatUrl\n\t\t\t\t\t},\n\t\t\t\t\tcorpId: this.vuex_corpId,\n\t\t\t\t\tsuccess(res) {\n\t\t\t\t\t\tconsole.log(\"chat..\", res)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\n\t\t\tcommit() {\n\t\t\t\tif (!this.form.contactName || !this.form.name || !this.form.contactPhone) {\n\t\t\t\t\tthis.showToast(\"请完善信息\")\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\tif (!this.$u.test.mobile(this.form.contactPhone)) {\n\t\t\t\t\tthis.showToast(\"手机号码错误\")\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\tthis.$u.api.AddSchoolApi(\n\t\t\t\t\tthis.form\n\t\t\t\t).then(data => {\n\t\t\t\t\tconsole.log(data)\n\t\t\t\t\tthis.showToast(\"推荐成功\")\n\t\t\t\t\tsetTimeout(() => uni.navigateBack(), 1000);\n\t\t\t\t})\n\t\t\t},\n\n\t\t\tshowToast(msg) {\n\t\t\t\tuni.showToast({\n\t\t\t\t\ttitle: msg,\n\t\t\t\t\ticon: \"none\"\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t.page {\n\t\theight: 100%;\n\t\tbackground-color: #fafafa;\n\t}\n\n\t.placeholder-style {\n\t\tfont-family: PingFangSC-Regular, PingFang SC;\n\t\tfont-weight: 400;\n\t\tcolor: #999;\n\t\tline-height: 38rpx;\n\t\tfont-size: 26rpx;\n\t}\n\n\t.btView {\n\t\tposition: fixed;\n\t\tbottom: 0;\n\t\twidth: 100%;\n\t\theight: 180rpx;\n\t\tbackground-color: #fff;\n\t\tdisplay: flex;\n\t\tjustify-content: space-between;\n\t\tpadding: 30rpx 0;\n\t\tz-index: 99;\n\t\n\t\t.flow {\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t\t flex: 1;\n\t\t\t align-items: center;\n\t\t\t\n\t\t\t.flowIcon {\n\t\t\t\twidth: 48rpx;\n\t\t\t\theight: 48rpx;\n\t\t\t\tmargin-bottom: 8rpx;\n\t\t\t}\n\t\t\t\n\t\t\t.txt {\n\t\t\t\tfont-size: 10px;\n\t\t\t\tfont-weight: 300;\n\t\t\t\tcolor: #121212;\n\t\t\t}\n\t\t}\n\t\t\n\t\t.botBtn {\n\t\t\theight: 44px;\n\t\t\tflex: 5;\n\t\t\tbackground: linear-gradient(331deg, #FF5E00 0%, #FF001A 100%);\n\t\t\tborder-radius: 4px;\n\t\t\tfont-size: 17px;\n\t\t\tfont-weight: 400;\n\t\t\tcolor: #FFFFFF;\n\t\t\ttext-align: center;\n\t\t\tline-height: 44px;\n\t\t\tmargin-right: 40rpx;\n\t\t}\n\t\t\n\t\t.line {\n\t\t\tposition: absolute;\n\t\t\ttop: 0;\n\t\t\tleft: 0;\n\t\t\twidth: 100%;\n\t\t\theight: 1px;\n\t\t\tborder: 1px solid #F0F0F1;\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!./add-school.vue?vue&type=style&index=0&id=6c5b37f3&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!./add-school.vue?vue&type=style&index=0&id=6c5b37f3&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/bonus-edit.vue?3623","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/bonus-edit.vue?0cb2","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/bonus-edit.vue?76e8","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/bonus-edit.vue?fb88","uni-app:///pages/main/home/bonus-edit.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/bonus-edit.vue?ada7"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,0G,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,kBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAmI;AACnI;AAC8D;AACL;AACsC;;;AAG/F;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;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,oLAEN;AACP,KAAK;AACL;AACA,aAAa,sQAEN;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;;;;;;;;;;;;;;ACtCA;AAAA;AAAA;AAAA;AAAu1B,CAAgB,wyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACqC32B;AACA,MADA,kBACA;AACA;AACA;AACA,uBADA;AAEA,wBAFA,EADA;;AAKA,wBALA;AAMA,cANA;;AAQA,GAVA;;AAYA,QAZA,kBAYA,CAZA,EAYA;AACA;AACA;AACA;AACA;AACA,GAjBA;;AAmBA,QAnBA,oBAmBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GA5BA;;AA8BA;AACA,aADA,qBACA,CADA,EACA;AACA;AACA;AACA,KAJA;;AAMA,UANA,oBAMA;AACA;AACA;AACA;AACA;AACA,KAXA;;AAaA,QAbA,kBAaA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oFADA;AAEA,oFAFA;AAGA;AACA,qBADA;AAEA,oBAFA,GAHA;;AAOA;AACA,KApCA;;AAsCA,aAtCA,qBAsCA,CAtCA,EAsCA;AACA;AACA,gBADA;AAEA,qBAFA;AAGA,sBAHA;;AAKA,KA5CA,EA9BA,E;;;;;;;;;;;;;ACrCA;AAAA;AAAA;AAAA;AAA0lD,CAAgB,+7CAAG,EAAC,C","file":"pages/main/home/bonus-edit.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/home/bonus-edit.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./bonus-edit.vue?vue&type=template&id=254d9e6a&scoped=true&\"\nvar renderjs\nimport script from \"./bonus-edit.vue?vue&type=script&lang=js&\"\nexport * from \"./bonus-edit.vue?vue&type=script&lang=js&\"\nimport style0 from \"./bonus-edit.vue?vue&type=style&index=0&id=254d9e6a&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 \"254d9e6a\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/home/bonus-edit.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!./bonus-edit.vue?vue&type=template&id=254d9e6a&scoped=true&\"","var components\ntry {\n components = {\n uForm: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-form/u-form\" */ \"@/uview-ui/components/u-form/u-form.vue\"\n )\n },\n cInputItem: function() {\n return import(\n /* webpackChunkName: \"components/c-input-item/c-input-item\" */ \"@/components/c-input-item/c-input-item.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!./bonus-edit.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!./bonus-edit.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"page\">\n\t\t<view class=\"content\">\n\t\t\t<view class=\"text1\">\n\t\t\t\t编辑其他推荐人\n\t\t\t</view>\n\t\t\t<view class=\"text2\">\n\t\t\t\t其他推荐人和主推荐人共享推荐人分奖金比例,比例总和不会超过推荐人总比例。\n\t\t\t</view>\n\t\t\t<u-form :model=\"form\" :error-type=\"errorType\" ref=\"uForm\">\n\t\t\t\t<c-input-item label=\"推荐人姓名\" type=\"text\" name=\"contactName\" v-model=\"form.contactName\"\n\t\t\t\t\t:rightIcon=\"false\">\n\t\t\t\t</c-input-item>\n\t\t\t\t<c-input-item label=\"手机号\" type=\"number\" name=\"contactPhone\" v-model=\"form.contactPhone\"\n\t\t\t\t\t:rightIcon=\"false\">\n\t\t\t\t</c-input-item>\n\t\t\t</u-form>\n\t\t\t<view class=\"text3\">奖金比例</view>\n\t\t\t<view style=\"display: flex;\">\n\t\t\t\t<view class=\"textValue\" style=\"width: 92rpx;\">\n\t\t\t\t\t<input :value=\"inputProportion\" :type=\"number\" maxlength=\"3\" placeholder=\"请输入\"\n\t\t\t\t\t\tplaceholder-style=\"font-size:34rpx;color:rgba(0,0,0,0.5);\" @blur=\"inputBlur\" />\n\t\t\t\t</view>\n\t\t\t\t<text class=\"textValue\">%</text>\n\t\t\t</view>\n\t\t</view>\n\t\t<view class=\"botBtn\">\n\t\t\t<view style=\"width: 100%;height: 2rpx;background-color: #f0f0ff;\"></view>\n\t\t\t<view class=\"btn_wrap\">\n\t\t\t\t<view class=\"btn01\" @click=\"remove\">删除</view>\n\t\t\t\t<view class=\"btn02\" @click=\"save\">保存</view>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tform: {\n\t\t\t\t\tcontactName: '',\n\t\t\t\t\tcontactPhone: ''\n\t\t\t\t},\n\t\t\t\tinputProportion: 0,\n\t\t\t\tindex: 0\n\t\t\t}\n\t\t},\n\n\t\tonLoad(e) {\n\t\t\tconsole.log(e)\n\t\t\tthis.form.contactName = e.contactName\n\t\t\tthis.form.contactPhone = e.contactPhone\n\t\t\tthis.inputProportion = e.proportion\n\t\t},\n\n\t\tonShow() {\n\t\t\tlet pages = getCurrentPages();\n\t\t\tlet prevPage = pages[pages.length - 2];\n\t\t\tfor (var i = 0; i < prevPage.$vm.otherRewardList.length; i++) {\n\t\t\t\tif (this.form.contactPhone == prevPage.$vm.otherRewardList[i].contactPhone) {\n\t\t\t\t\tthis.index = i;\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\tmethods: {\n\t\t\tinputBlur(e) {\n\t\t\t\tconsole.log(e)\n\t\t\t\tthis.inputProportion = parseInt(e.target.value) + 0\n\t\t\t},\n\n\t\t\tremove() {\n\t\t\t\tlet pages = getCurrentPages();\n\t\t\t\tlet prevPage = pages[pages.length - 2];\n\t\t\t\tprevPage.$vm.otherRewardList.splice(this.index, 1);\n\t\t\t\tsetTimeout(() => uni.navigateBack(), 1000);\n\t\t\t},\n\n\t\t\tsave() {\n\t\t\t\tif (!this.form.contactName) {\n\t\t\t\t\tthis.showToast(\"请输入姓名\")\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\tif (!this.form.contactPhone || !this.$u.test.mobile(this.form.contactPhone)) {\n\t\t\t\t\tthis.showToast(\"请输入正确手机号\")\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\tif (!this.inputProportion || this.inputProportion <= 0 || this.inputProportion > 100) {\n\t\t\t\t\tthis.showToast(\"请输入合理分佣比例\")\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\tlet pages = getCurrentPages();\n\t\t\t\tlet prevPage = pages[pages.length - 2];\n\t\t\t\tprevPage.$vm.otherRewardList[this.index].contactName = this.form.contactName,\n\t\t\t\tprevPage.$vm.otherRewardList[this.index].contactPhone = this.form.contactPhone,\n\t\t\t\tprevPage.$vm.otherRewardList[this.index].proportion = this.inputProportion-0,\n\t\t\t\tuni.showToast({\n\t\t\t\t\ttitle: '保存成功',\n\t\t\t\t\ticon: 'none',\n\t\t\t\t});\n\t\t\t\tsetTimeout(() => uni.navigateBack(), 1000);\n\t\t\t},\n\n\t\t\tshowToast(s) {\n\t\t\t\tuni.showToast({\n\t\t\t\t\ttitle: s,\n\t\t\t\t\ticon: 'error',\n\t\t\t\t\tduration: 1000\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t.page {\n\t\tbackground-color: #fafaff;\n\t\theight: 100%;\n\n\t\t.content {\n\t\t\tbackground-color: #FFF;\n\t\t\tpadding: 40rpx;\n\t\t}\n\n\t\t.text1 {\n\t\t\tfont-size: 40rpx;\n\t\t\tfont-family: PingFangSC-Medium, PingFang SC;\n\t\t\tfont-weight: 500;\n\t\t\tcolor: #121212;\n\t\t\tline-height: 40rpx;\n\t\t\tmargin-top: 16rpx;\n\t\t}\n\n\t\t.text2 {\n\t\t\tfont-size: 26rpx;\n\t\t\tfont-family: PingFangSC-Light, PingFang SC;\n\t\t\tfont-weight: 300;\n\t\t\tcolor: #646464;\n\t\t\tline-height: 40rpx;\n\t\t\tmargin-top: 24rpx;\n\t\t}\n\n\t\t.text3 {\n\t\t\tfont-size: 26rpx;\n\t\t\tfont-family: PingFangSC-Regular, PingFang SC;\n\t\t\tfont-weight: 400;\n\t\t\tcolor: #121212;\n\t\t\tmargin-top: 20rpx;\n\t\t}\n\n\t\t.textValue {\n\t\t\tfont-size: 34rpx;\n\t\t\tfont-family: PingFangSC-Medium, PingFang SC;\n\t\t\tfont-weight: 500;\n\t\t\tcolor: #121212;\n\t\t\tline-height: 34rpx;\n\t\t\tpadding-top: 40rpx;\n\t\t}\n\n\t\t.botBtn {\n\t\t\twidth: 100%;\n\t\t\theight: 180rpx;\n\t\t\tposition: fixed;\n\t\t\tbackground-color: #FFFFFF;\n\t\t\tbottom: 0;\n\t\t\tz-index: 99;\n\t\t\t\n\t\t\t.btn_wrap{\n\t\t\t\tpadding: 32rpx;\n\t\t\t\tdisplay: flex\n\t\t\t}\n\t\t\t\n\t\t\t.btn01 {\n\t\t\t\tflex: 1;\n\t\t\t\theight: 44px;\n\t\t\t\tbackground: #F7F7F7;\n\t\t\t\tborder-radius: 4px;\n\t\t\t\tfont-size: 17px;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tcolor: #646464;\n\t\t\t\ttext-align: center;\n\t\t\t\tline-height: 44px;\n\t\t\t}\n\t\t\n\t\t\t.btn02 {\n\t\t\t\tflex: 2;\n\t\t\t\theight: 44px;\n\t\t\t\tbackground: linear-gradient(331deg, #FF5E00 0%, #FF001A 100%);\n\t\t\t\tborder-radius: 4px;\n\t\t\t\tfont-size: 17px;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tcolor: #FFFFFF;\n\t\t\t\tline-height: 17px;\n\t\t\t\ttext-align: center;\n\t\t\t\tline-height: 44px;\n\t\t\t\tmargin-left: 40rpx;\n\t\t\t}\n\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!./bonus-edit.vue?vue&type=style&index=0&id=254d9e6a&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!./bonus-edit.vue?vue&type=style&index=0&id=254d9e6a&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/bonus-share.vue?9f5b","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/bonus-share.vue?d39f","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/bonus-share.vue?9e32","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/bonus-share.vue?7179","uni-app:///pages/main/home/bonus-share.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/bonus-share.vue?5461"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":"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","file":"pages/main/home/bonus-share.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/home/bonus-share.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./bonus-share.vue?vue&type=template&id=5d4b0a24&scoped=true&\"\nvar renderjs\nimport script from \"./bonus-share.vue?vue&type=script&lang=js&\"\nexport * from \"./bonus-share.vue?vue&type=script&lang=js&\"\nimport style0 from \"./bonus-share.vue?vue&type=style&index=0&id=5d4b0a24&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 \"5d4b0a24\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/home/bonus-share.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!./bonus-share.vue?vue&type=template&id=5d4b0a24&scoped=true&\"","var components\ntry {\n components = {\n uPopup: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-popup/u-popup\" */ \"@/uview-ui/components/u-popup/u-popup.vue\"\n )\n },\n uForm: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-form/u-form\" */ \"@/uview-ui/components/u-form/u-form.vue\"\n )\n },\n cInputItem: function() {\n return import(\n /* webpackChunkName: \"components/c-input-item/c-input-item\" */ \"@/components/c-input-item/c-input-item.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!./bonus-share.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!./bonus-share.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"page\">\n\t\t<view class=\"\">\n\t\t\t<view class=\"content\">\n\t\t\t\t<view class=\"\">\n\t\t\t\t\t<text class=\"text1\">校园预留</text>\n\t\t\t\t\t<text class=\"text2\" style=\"margin-left: 20rpx;\">推荐校园入驻,奖励金,校园预留比例!</text>\n\t\t\t\t</view>\n\t\t\t\t<view style=\"display: flex;\">\n\t\t\t\t\t<view class=\"textValue padd-top\" style=\"width: 92rpx;\">\n\t\t\t\t\t\t<input v-model=\"schoolProportion\" :type=\"number\" maxlength=\"3\" @blur=\"schoolBlur\"/>\n\t\t\t\t\t</view>\n\t\t\t\t\t<text class=\"textValue padd-top\">%</text>\n\t\t\t\t</view>\n\t\t\t\t<view style=\"width: 100%;height: 1rpx;background-color: #F1F1F2;margin: 40rpx 0;\"></view>\n\t\t\t\t<view style=\"margin-bottom: 40rpx;\">\n\t\t\t\t\t<text class=\"text1\">我的奖励</text>\n\t\t\t\t\t<text class=\"text2\" style=\"margin-left: 20rpx;\">推荐校园入驻,奖励金,我的预留比例!</text>\n\t\t\t\t</view>\n\t\t\t\t<view style=\"display: flex;\">\n\t\t\t\t\t<view class=\"textValue padd-top\" style=\"width: 92rpx;\">\n\t\t\t\t\t\t<input v-model=\"brokerProportion\" :type=\"number\" maxlength=\"3\" @blur=\"ownBlur\"/>\n\t\t\t\t\t</view>\n\t\t\t\t\t<text class=\"textValue padd-top\">%</text>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view style=\"width: 100%;height: 20rpx;background-color: #FAFAFB;\"></view>\n\t\t\t<view class=\"content\">\n\t\t\t\t<view class=\"text1\" style=\"margin-top: 40rpx;\">其他人奖励分配</view>\n\t\t\t\t<view class=\"text3\" style=\"margin: 20rpx 0;\">多名推荐人,共享“推荐人分佣金比例”,多名推荐人的情况,可由主推荐人自行添加和调整。</view>\n\t\t\t\t<view style=\"margin-top: 60rpx;\">\n\t\t\t\t\t<view class=\"list\" v-for=\"(item,index) in otherRewardList\" @click=\"goEdit(item)\">\n\t\t\t\t\t\t<view style=\"display: flex;\">\n\t\t\t\t\t\t\t<view style=\"color: #121212;line-height: 18px;font-size: 32rpx;\">\n\t\t\t\t\t\t\t{{item.contactName}} ({{item.contactPhone}})\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t<view style=\"margin-left: auto;\">\n\t\t\t\t\t\t\t\t<text class=\"textValue\">{{item.proportion}}%</text>\n\t\t\t\t\t\t\t\t<image style=\"width: 16px;height: 16px;margin-left: 16rpx;\"\n\t\t\t\t\t\t\t\t\tsrc=\"/static/img/common/arrow_right.png\"></image>\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view style=\"width: 100%;height: 1rpx;background-color: #F1F1F2;margin: 12rpx 0;\"></view>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\n\t\t\t\t<view class=\"add-bg\" @click=\"addMore\">\n\t\t\t\t\t+ 添加推荐人\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view class=\"botBtn\">\n\t\t\t\t<view style=\"width: 100%;height: 2rpx;background-color: #FAFAFB;\"></view>\n\t\t\t\t<view style=\"padding: 30rpx;\">\n\t\t\t\t\t<view class=\"btn\" @click=\"submit\">保存</view>\n\t\t\t\t</view>\n\t\t\t</view>\n\n\t\t</view>\n\t\t<u-popup v-model=\"showModal\" mode=\"bottom\" height=\"800rpx\" border-radius=\"20\" closeable=\"true\">\n\t\t\t<view style=\"padding: 30rpx;width=100%\">\n\t\t\t\t<text class=\"text_34\">添加其他推荐人</text>\n\t\t\t\t<u-form :model=\"form\" :error-type=\"errorType\" ref=\"uForm\">\n\t\t\t\t\t<c-input-item label=\"推荐人姓名\" type=\"text\" name=\"contactName\" v-model=\"form.contactName\"\n\t\t\t\t\t\t:rightIcon=\"false\">\n\t\t\t\t\t</c-input-item>\n\t\t\t\t\t<c-input-item label=\"推荐人手机号\" type=\"number\" name=\"contactPhone\" v-model=\"form.contactPhone\"\n\t\t\t\t\t\t:rightIcon=\"false\">\n\t\t\t\t\t</c-input-item>\n\t\t\t\t</u-form>\n\t\t\t\t<view class=\"text1\" style=\"margin-top: 16rpx;\">分佣比例</view>\n\t\t\t\t<view style=\"display: flex;\">\n\t\t\t\t\t<view class=\"textValue\" style=\"width: 92rpx;padding-top:40rpx\">\n\t\t\t\t\t\t<input :value=\"inputProportion\" type=\"number\" maxlength=\"3\" placeholder=\"请输入\"\n\t\t\t\t\t\t\tplaceholder-style=\"font-size:34rpx;color:rgba(0,0,0,0.5);\" @blur=\"inputBlur\" />\n\t\t\t\t\t</view>\n\t\t\t\t\t<text class=\"textValue\" style=\"padding-top:40rpx\">%</text>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"popup-botBtn\">\n\t\t\t\t\t<view style=\"padding: 30rpx;display: flex;\">\n\t\t\t\t\t\t<view class=\"btn01\" @click=\"popupcCancel\">取消</view>\n\t\t\t\t\t\t<view class=\"btn02\" @click=\"popupSubmit\">确认</view>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t</u-popup>\n\t</view>\n\n</template>\n\n<script>\n\texport default {\n\t\tdata() {\n\t\t\tconst {\n\t\t\t\trangeNumber,\n\t\t\t\tname,\n\t\t\t\tmobile,\n\t\t\t} = this.$u.cusTest;\n\t\t\treturn {\n\t\t\t\tid: \"\",\n\t\t\t\tschoolProportion: 0,\n\t\t\t\tbrokerProportion: 0,\n\t\t\t\totherRewardList: [],\n\t\t\t\tshowModal: false,\n\t\t\t\tinputProportion: 0,\n\t\t\t\tform: {\n\t\t\t\t\tcontactName: '',\n\t\t\t\t\tcontactPhone: ''\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\tonLoad(e) {\n\t\t\tconsole.log(\"onLoad\", e)\n\t\t\tuni.setNavigationBarTitle({\n\t\t\t\ttitle:e.schoolName\n\t\t\t})\n\t\t\tthis.id = e.id\n\t\t\tthis.getRewardInfo()\n\t\t},\n\t\t\n\t\tonShow() {\n\t\t\tthis.otherRewardList = this.otherRewardList\n\t\t},\n\n\t\tmethods: {\n\t\t\tgetRewardInfo() {\n\t\t\t\tthis.$u.api.rewardDetailApi(this.id).then(async res => {\n\t\t\t\t\tconsole.log(res)\n\t\t\t\t\tif (res) {\n\t\t\t\t\t\tthis.schoolProportion = res.schoolProportion\n\t\t\t\t\t\tthis.brokerProportion = res.brokerProportion\n\t\t\t\t\t\tthis.otherRewardList = res.otherRewardList\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t\tschoolBlur(e){\n\t\t\t\tthis.schoolProportion = parseInt(e.target.value) + 0\n\t\t\t},\n\t\t\t\n\t\t\townBlur(e){\n\t\t\t\tthis.brokerProportion = parseInt(e.target.value) + 0\n\t\t\t},\n\n\t\t\tgoEdit(item) {\n\t\t\t\tthis.$u.route({\n\t\t\t\t\turl: '/pages/main/home/bonus-edit',\n\t\t\t\t\tparams: item,\n\t\t\t\t})\n\t\t\t},\n\n\t\t\taddMore() {\n\t\t\t\tthis.showModal = true\n\t\t\t},\n\n\t\t\tpopupcCancel() {\n\t\t\t\tthis.showModal = false\n\t\t\t\tthis.resetForm()\n\t\t\t},\n\n\t\t\tinputBlur(e) {\n\t\t\t\tconsole.log(e)\n\t\t\t\tthis.inputProportion = parseInt(e.target.value) + 0\n\t\t\t},\n\n\t\t\tpopupSubmit() {\n\t\t\t\tconsole.log(this.form)\n\t\t\t\tif (!this.form.contactName) {\n\t\t\t\t\tthis.showToast(\"请输入姓名\")\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\tif (!this.form.contactPhone || !this.$u.test.mobile(this.form.contactPhone)) {\n\t\t\t\t\tthis.showToast(\"请输入正确手机号\")\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\tif (!this.inputProportion || this.inputProportion-0 <= 0 || this.inputProportion > 100) {\n\t\t\t\t\tthis.showToast(\"请输入合理分佣比例\")\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\tthis.otherRewardList.push({\n\t\t\t\t\tcontactName: this.form.contactName,\n\t\t\t\t\tcontactPhone: this.form.contactPhone,\n\t\t\t\t\tproportion:this.inputProportion \n\t\t\t\t})\n\t\t\t\tconsole.log(this.otherRewardList)\n\t\t\t\tthis.resetForm()\n\t\t\t\tthis.showModal = false\n\t\t\t},\n\n\t\t\tresetForm() {\n\t\t\t\tthis.form.contactName = \"\"\n\t\t\t\tthis.form.contactPhone = \"\"\n\t\t\t\tthis.inputProportion = 0\n\t\t\t},\n\n\t\t\tsubmit() {\n\t\t\t\tlet otherProportion = 0\n\t\t\t\tif (this.otherRewardList && this.otherRewardList.length > 0) {\n\t\t\t\t\tfor (var i = 0; i < this.otherRewardList.length; i++) {\n\t\t\t\t\t\totherProportion += this.otherRewardList[i].proportion\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tconsole.log(\"submit\",this.otherRewardList,otherProportion)\n\t\t\t\tif (this.schoolProportion + this.brokerProportion + otherProportion == 100) {\n\t\t\t\t\tthis.$u.api.rewardEditApi(this.id, {\n\t\t\t\t\t\tbrokerProportion:this.brokerProportion,\n\t\t\t\t\t\tschoolProportion:this.schoolProportion,\n\t\t\t\t\t\totherRewardList:this.otherRewardList\n\t\t\t\t\t}).then(async res => {\n\t\t\t\t\t\tconsole.log(res)\n\t\t\t\t\t\tsetTimeout(() => uni.navigateBack(), 1000);\n\t\t\t\t\t})\n\t\t\t\t} else {\n\t\t\t\t\tuni.showModal({\n\t\t\t\t\t\tcontent: '“校园预留+我的奖励+其他人员(总)”分配比例要等于100%,请重新调整比例数值。',\n\t\t\t\t\t\tshowCancel: false,\n\t\t\t\t\t\tconfirmText: '我知道了',\n\t\t\t\t\t\tconfirmColor: '#FF0D16',\n\t\t\t\t\t\tsuccess: function(res) {\n\t\t\t\t\t\t\tif (res.confirm) {\n\t\t\t\t\t\t\t\tconsole.log('用户点击确定');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tshowToast(s) {\n\t\t\t\tuni.showToast({\n\t\t\t\t\ttitle: s,\n\t\t\t\t\ticon: 'error',\n\t\t\t\t\tduration: 1000\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t.page {\n\t\t.content {\n\t\t\tpadding: 42rpx;\n\t\t\tbackground-color: #fff;\n\t\t}\n\n\t\t.text1 {\n\t\t\tfont-size: 26rpx;\n\t\t\tfont-family: PingFangSC-Regular, PingFang SC;\n\t\t\tfont-weight: 400;\n\t\t\tcolor: #121212;\n\t\t\tline-height: 26rpx;\n\t\t}\n\n\t\t.text2 {\n\t\t\tfont-size: 26rpx;\n\t\t\tfont-family: PingFangSC-Regular, PingFang SC;\n\t\t\tfont-weight: 400;\n\t\t\tcolor: #999999;\n\t\t\tline-height: 26rpx;\n\t\t}\n\n\t\t.text3 {\n\t\t\tfont-size: 26rpx;\n\t\t\tfont-family: PingFangSC-Light, PingFang SC;\n\t\t\tfont-weight: 300;\n\t\t\tcolor: #999999;\n\t\t\tline-height: 40rpx;\n\t\t}\n\n\t\t.textValue {\n\t\t\tfont-size: 40rpx;\n\t\t\tfont-family: PingFangSC-Medium, PingFang SC;\n\t\t\tfont-weight: 500;\n\t\t\tcolor: #121212;\n\t\t\tline-height: 40rpx;\n\t\t}\n\n\t\t.padd-top {\n\t\t\tpadding-top: 30rpx;\n\t\t}\n\n\t\t.list {\n\t\t\twidth: 100%;\n\t\t\tpadding: 16rpx 0;\n\t\t}\n\n\t\t.add-bg {\n\t\t\tbackground: rgba(255, 13, 22, 0.04);\n\t\t\tborder-radius: 4px;\n\t\t\tborder: 1px solid #FF0D16;\n\t\t\tmargin: 16rpx;\n\t\t\tpadding: 26rpx;\n\t\t\tfont-size: 28rpx;\n\t\t\tfont-family: PingFangSC-Regular, PingFang SC;\n\t\t\tfont-weight: 400;\n\t\t\tcolor: #FF0D16;\n\t\t\tline-height: 40rpx;\n\t\t\ttext-align: center;\n\t\t}\n\n\t\t.botBtn {\n\t\t\twidth: 100%;\n\t\t\theight: 180rpx;\n\t\t\tposition: fixed;\n\t\t\tbackground-color: #FFFFFF;\n\t\t\tbottom: 0;\n\t\t\tz-index: 10;\n\t\t}\n\n\t\t.btn {\n\t\t\tpadding: 28rpx 150rpx;\n\t\t\tbackground: linear-gradient(331deg, #FF5E00 0%, #FF001A 100%);\n\t\t\tborder-radius: 8rpx;\n\t\t\tfont-size: 17px;\n\t\t\tfont-family: PingFangSC-Medium, PingFang SC;\n\t\t\tcolor: #FFF;\n\t\t\theight: fit-content;\n\t\t\ttext-align: center;\n\t\t}\n\n\t\t.text_34 {\n\t\t\tfont-size: 34rpx;\n\t\t\tfont-family: PingFangSC-Medium, PingFang SC;\n\t\t\tfont-weight: 500;\n\t\t\tcolor: #121212;\n\t\t\tline-height: 48rpx;\n\t\t}\n\n\t\t.botBtn {\n\t\t\twidth: 100%;\n\t\t\theight: 180rpx;\n\t\t\tposition: fixed;\n\t\t\tbackground-color: #FFFFFF;\n\t\t\tbottom: 0;\n\t\t\tz-index: 10;\n\n\t\t\t.btn01 {\n\t\t\t\tpadding: 28rpx 40rpx;\n\t\t\t\tbackground: #F7F7F7;\n\t\t\t\tborder-radius: 8rpx;\n\t\t\t\tborder: 2rpx solid #E5E5E6;\n\t\t\t\tfont-size: 17px;\n\t\t\t\tfont-family: PingFangSC-Medium, PingFang SC;\n\t\t\t\tcolor: #646464;\n\t\t\t\theight: fit-content;\n\t\t\t}\n\n\t\t\t.btn02 {\n\t\t\t\tpadding: 28rpx 150rpx;\n\t\t\t\tbackground: linear-gradient(331deg, #FF5E00 0%, #FF001A 100%);\n\t\t\t\tborder-radius: 8rpx;\n\t\t\t\tmargin-left: 40rpx;\n\t\t\t\tfont-size: 17px;\n\t\t\t\tfont-family: PingFangSC-Medium, PingFang SC;\n\t\t\t\tcolor: #FFF;\n\t\t\t\theight: fit-content;\n\t\t\t}\n\t\t}\n\n\t\t.popup-botBtn {\n\t\t\theight: 160rpx;\n\t\t\tposition: fixed;\n\t\t\tbackground-color: #FFFFFF;\n\t\t\tbottom: 0;\n\t\t\tz-index: 10;\n\t\t\tmargin: 0 80rpx;\n\n\t\t\t.btn01 {\n\t\t\t\tpadding: 16rpx 70rpx;\n\t\t\t\tbackground: #F7F7F7;\n\t\t\t\tborder-radius: 8rpx;\n\t\t\t\tborder: 2rpx solid #E5E5E6;\n\t\t\t\tfont-size: 17px;\n\t\t\t\tfont-family: PingFangSC-Medium, PingFang SC;\n\t\t\t\tcolor: #646464;\n\t\t\t\theight: fit-content;\n\t\t\t}\n\n\t\t\t.btn02 {\n\t\t\t\tpadding: 16rpx 70rpx;\n\t\t\t\tbackground: linear-gradient(331deg, #FF5E00 0%, #FF001A 100%);\n\t\t\t\tborder-radius: 8rpx;\n\t\t\t\tmargin-left: 40rpx;\n\t\t\t\tfont-size: 17px;\n\t\t\t\tfont-family: PingFangSC-Medium, PingFang SC;\n\t\t\t\tcolor: #FFF;\n\t\t\t\theight: fit-content;\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!./bonus-share.vue?vue&type=style&index=0&id=5d4b0a24&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!./bonus-share.vue?vue&type=style&index=0&id=5d4b0a24&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///common/mixins/list-mixin.js"],"names":["data","loading","finished","list","page","size","total","search","tempSearch","onLoad","option","_deepClone","onShow","onPullDownRefresh","console","log","_initPageData","_resetSearch","_getListFactory","uni","stopPullDownRefresh","onReachBottom","methods","_searchData","_getList","source","target","Array","isArray","key","hasOwnProperty"],"mappings":"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","file":"pages/main/home/common/vendor.js","sourcesContent":["/**\n * uni-app上拉加载和下拉刷新混合(支持搜索功能)\n * @author maybe\n */\n\nexport default {\n\tdata() {\n\t\treturn {\n\t\t\tloading: 'loadmore', // 是否加载数据\n\t\t\tfinished: false, // 是否加载完成\n\t\t\tlist: [], // 数据列表\n\t\t\tpage: 0, // 由于分页一般页面要+1,所以为了方便分页查询,这里初始设置页码为0\n\t\t\tsize: 5, // 每页显示的条数\n\t\t\ttotal: 0, // 数据总条数\n\t\t\tsearch: {}, // 搜索对象\n\t\t\ttempSearch: {} // 提供给混合初始化搜索对象\n\t\t};\n\t},\n\tasync onLoad(option) {\n\t\t// 拷贝搜索初始化对象属性和数据\n\t\tthis.tempSearch = _deepClone(this.search);\n\t\t// 查询列表\n\t\t// await this._getListFactory();\n\t},\n\t\n\tasync onShow(option) {\n\t\t\n\t},\n\t\n\t// 下拉刷新\n\tasync onPullDownRefresh() {\n\t\tconsole.log('下拉刷新');\n\t\tthis._initPageData();\n\t\tthis._resetSearch();\n\t\tawait this._getListFactory();\n\t\tuni.stopPullDownRefresh();\n\t},\n\t// 上拉加载\n\tasync onReachBottom() {\n\t\tconsole.log('上拉加载');\n\t\tthis._getListFactory();\n\t},\n\t// 所有混合的方法均已'_'开头\n\tmethods: {\n\t\tasync _searchData() {\n\t\t\tthis._initPageData();\n\t\t\tawait this._getListFactory();\n\t\t},\n\t\t// 重置搜索\n\t\t_resetSearch() {\n\t\t\tthis.search = _deepClone(this.tempSearch)\n\t\t\t// console.log('重置搜索完成', this.search)\n\t\t},\n\t\t// 初始化页面的数据\n\t\t_initPageData(size) {\n\t\t\tthis.finished = false;\n\t\t\tthis.page = 0;\n\t\t\tthis.list = [];\n\t\t\tthis.size = size || 10;\n\t\t\tthis.total = 0;\n\t\t},\n\t\tasync _getListFactory() {\n\t\t\t// 如果已经全部加载完成直接终止执行\n\t\t\tif (this.finished) return;\n\t\t\tthis.loading = 'loading';\n\t\t\tthis.page++;\n\t\t\t\n\t\t\tawait this._getList();\n\t\t\t\n\t\t\t\n\t\t\t// 判断是否全部加载完成\n\t\t\tif (this.total == 0) {\n\t\t\t\tthis.finished = true;\n\t\t\t\tthis.loading = 'nomore';\n\t\t\t} else {\n\t\t\t\tthis.loading = 'loadmore';\n\t\t\t}\n\t\t},\n\t\t// 数据请求方法需要在页面内重写\n\t\tasync _getList() {}\n\t}\n}\n// 深拷贝\nconst _deepClone = (source) => {\n\tlet target;\n\tif (typeof source === 'object') {\n\t\ttarget = Array.isArray(source) ? [] : {}\n\t\tfor (let key in source) {\n\t\t\tif (source.hasOwnProperty(key)) {\n\t\t\t\tif (typeof source[key] !== 'object') {\n\t\t\t\t\ttarget[key] = source[key]\n\t\t\t\t} else {\n\t\t\t\t\ttarget[key] = _deepClone(source[key])\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t} else {\n\t\ttarget = source\n\t}\n\treturn target\n};\n"],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-look-list.vue?e061","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-look-list.vue?d957","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-look-list.vue?ab63","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-look-list.vue?81d1","uni-app:///pages/main/home/my-add-look-list.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-look-list.vue?e6ff","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-look-list.vue?077c","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-look-list.vue?821f"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,oH,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,sBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAyI;AACzI;AACoE;AACL;AACa;AACyB;;;AAGrG;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,uGAAM;AACR,EAAE,gHAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,2GAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACxBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5BA;AAAA;AAAA;AAAA;AAA61B,CAAgB,8yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACmCj3B,sG;AACA;AACA,8BADA;AAEA,MAFA,kBAEA;AACA;AACA,kBADA;AAEA,iBAFA;AAGA,eAHA;;AAKA,GARA;;AAUA,QAVA,kBAUA,CAVA,EAUA;AACA;AACA;;AAEA;AACA;AACA,+BANA;AAOA,gCAPA;AAQA,GAlBA;;AAoBA;;AAEA,YAFA,oBAEA,CAFA,EAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAHA;;AAKA,KAXA;;AAaA,cAbA,sBAaA,KAbA,EAaA;AACA;AACA,KAfA;;AAiBA;AACA,WAlBA,mBAkBA,aAlBA,EAkBA;;;AAGA,6BAHA,CAEA,MAFA,EAEA,MAFA,sCAEA,EAFA;;AAKA,sBALA,GAKA,EALA;AAMA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,iBAfA;;AAiBA,0DAjBA;AAkBA,KApCA;;AAsCA;AACA,YAvCA,sBAuCA;AACA;AACA;AACA;;AAEA;AALA,0CAMA;AACA,mCADA,EACA;AACA,mCAFA,EAEA;AACA,uCAHA,CAGA;AAHA,kBANA,QAMA,MANA;;AAYA;;AAEA;;AAEA;AACA;AACA,iBAFA,EAhBA;AAmBA,KA1DA,EApBA,E;;;;;;;;;;;;ACpCA;AAAA;AAAA;AAAA;AAAgtC,CAAgB,2mCAAG,EAAC,C;;;;;;;;;;;ACApuC;AACA,OAAO,KAAU,EAAE,kBAKd;;;;;;;;;;;;;ACNL;AAAA;AAAA;AAAA;AAAgmD,CAAgB,q8CAAG,EAAC,C","file":"pages/main/home/my-add-look-list.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/home/my-add-look-list.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./my-add-look-list.vue?vue&type=template&id=105bdedc&scoped=true&\"\nvar renderjs\nimport script from \"./my-add-look-list.vue?vue&type=script&lang=js&\"\nexport * from \"./my-add-look-list.vue?vue&type=script&lang=js&\"\nimport style0 from \"./my-add-look-list.vue?vue&type=style&index=0&lang=css&\"\nimport style1 from \"./my-add-look-list.vue?vue&type=style&index=1&id=105bdedc&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 \"105bdedc\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/home/my-add-look-list.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!./my-add-look-list.vue?vue&type=template&id=105bdedc&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 l0 = _vm.__map(_vm.works, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var m0 = _vm.timeFormat(item.internshipStartTime)\n var m1 = _vm.timeFormat(item.internshipEndTime)\n return {\n $orig: $orig,\n m0: m0,\n m1: m1\n }\n })\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n l0: l0\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!./my-add-look-list.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!./my-add-look-list.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"page\">\n\t\t<view class=\"item_box\" v-for=\"(item,index) in works\" :key=\"index\">\n\t\t\t<view style=\"display: flex; justify-content: space-between; align-items: center;\">\n\t\t\t\t<view style=\"display: flex; align-items: center;\">\n\t\t\t\t\t<view class=\"item_name\">\n\t\t\t\t\t\t{{item.contactName}}\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"item_phone\">\n\t\t\t\t\t\t{{item.contactPhone}}\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"item_school\">\n\t\t\t\t\t{{item.schoolName}}\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view style=\"display: flex; justify-content: space-between; align-items: center; margin-top: 30rpx;\">\n\t\t\t\t<view class=\"item_msg\">\n\t\t\t\t\t{{item.jobName}} | {{item.gender=='1'?'男':'女'}} | {{item.age}}岁 | {{item.nation}}\n\t\t\t\t</view>\n\t\t\t\t<view class=\"item_zy\">\n\t\t\t\t\t{{item.professionalName}}\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view class=\"item_gs\">\n\t\t\t\t\t{{item.companyName}}\n\t\t\t</view>\n\t\t\t<view class=\"item_time\">\n\t\t\t\t实习期:{{timeFormat(item.internshipStartTime)}} - {{timeFormat(item.internshipEndTime)}}\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\t\n\timport listMixin from '@/common/mixins/list-mixin.js';\n\texport default {\n\t\tmixins: [listMixin],\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\trecordId: '',\n\t\t\t\ttrackId: '',\n\t\t\t\tworks: [],\n\t\t\t}\n\t\t},\n\t\t\n\t\tasync onLoad(e) {\n\t\t\tthis.recordId = e.recordId\n\t\t\tthis.trackId = e.trackId\n\t\t\n\t\t\t// this.loadData()\n\t\t\tthis.page = 0;\n\t\t\tthis.works = [];\n\t\t\tawait this._getList()\n\t\t},\n\n\t\tmethods: {\n\t\t\t\n\t\t\tloadData(e) {\n\t\t\t\tlet params = {}\n\t\t\t\tparams['recordId'] = this.recordId\n\t\t\t\tparams['trackId'] = this.trackId\n\t\t\t\tthis.$u.api.matchingJobListApi(params).then(async res => {\n\t\t\t\t\tif (res) {\n\t\t\t\t\t\tthis.works = this.works.concat(res.records)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t\ttimeFormat(value, format = \"yyyy-mm-dd\") {\n\t\t\t\treturn this.$u.timeFormat(value, format);\n\t\t\t},\n\t\t\t\n\t\t\t// 模拟后端分页\n\t\t\tasync getData(requestParams) {\n\t\t\t\tconst {\n\t\t\t\t\tsearch = {}\n\t\t\t\t} = requestParams;\n\t\t\t\n\t\t\t\tlet params = {};\n\t\t\t\tparams.pageNumber = requestParams.page + 1;\n\t\t\t\tparams.pageSize = 10;\n\t\t\t\n\t\t\t\tif (this.recordId) {\n\t\t\t\t\tparams.recordId = this.recordId;\n\t\t\t\t}\n\t\t\t\n\t\t\t\tif (this.trackId) {\n\t\t\t\t\tparams.trackId = this.trackId;\n\t\t\t\t}\n\t\t\t\n\t\t\t\treturn await this.$u.api.matchingJobListApi(params);\n\t\t\t},\n\t\t\t\n\t\t\t// 数据请求(没错就是这么少的代码)\n\t\t\tasync _getList() {\n\t\t\t\tif (this.page == 0) {\n\t\t\t\t\tthis.works = [];\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// 根据实际情况修改自己修改key\n\t\t\t\tlet result = await this.getData({\n\t\t\t\t\tpage: this.page, // 传入页码\n\t\t\t\t\tsize: this.size, // 传入每页条数\n\t\t\t\t\tsearch: this.search, // 传入搜索的对象\n\t\t\t\t});\n\t\t\t\t\n\t\t\t\tconsole.log(result.records)\n\t\t\t\n\t\t\t\tthis.total = result.total;\n\n\t\t\t\tresult.records.map((item) => {\n\t\t\t\t\tthis.works.push(item);\n\t\t\t\t});\n\t\t\t},\n\t\t}\n\t}\n</script>\n\n<style>\n\tpage {\n\t\tbackground-color: #FAFAFB;\n\t}\n</style>\n\n<style lang=\"scss\" scoped>\n\t.page {\n\t\tpadding: 20rpx;\n\t\t\n\t\t.item_box {\n\t\t\twidth: 100%;\n\t\t\theight: 300rpx;\n\t\t\tbackground-color: #fff;\n\t\t\tbox-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.06);\n\t\t\tborder-radius: 8px;\n\t\t\tpadding: 40rpx 20rpx;\n\t\t\tmargin-bottom: 30rpx;\n\t\t\t\n\t\t\t.item_name {\t\t\t\t\n\t\t\t\tfont-size: 16px;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tcolor: #121212;\n\t\t\t}\n\t\t\t\n\t\t\t.item_phone {\n\t\t\t\tfont-size: 14px;\n\t\t\t\tfont-weight: 300;\n\t\t\t\tcolor: #121212;\n\t\t\t\tmargin-left: 16rpx;\n\t\t\t}\n\t\t\t\n\t\t\t.item_school {\n\t\t\t\tfont-size: 12px;\n\t\t\t\tfont-weight: 300;\n\t\t\t\tcolor: #121212;\n\t\t\t}\n\t\t\t\n\t\t\t.item_msg {\t\t\t\t\n\t\t\t\tfont-size: 12px;\n\t\t\t\tfont-weight: 300;\n\t\t\t\tcolor: #646464;\n\t\t\t}\n\t\t\t\n\t\t\t.item_zy {\n\t\t\t\tfont-size: 12px;\n\t\t\t\tfont-weight: 300;\n\t\t\t\tcolor: #121212;\n\t\t\t}\n\t\t\t\n\t\t\t.item_gs {\t\t\t\t\n\t\t\t\tfont-size: 12px;\n\t\t\t\tfont-weight: 300;\n\t\t\t\tcolor: #646464;\n\t\t\t\tmargin-top: 20rpx;\n\t\t\t}\n\t\t\t\n\t\t\t.item_time {\n\t\t\t\tfont-size: 12px;\n\t\t\t\tfont-weight: 300;\n\t\t\t\tcolor: #646464;\n\t\t\t\tmargin-top: 30rpx;\n\t\t\t}\n\t\t}\n\t\t\n\t}\n</style>","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../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!./my-add-look-list.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../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!./my-add-look-list.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657611032628\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 ","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!./my-add-look-list.vue?vue&type=style&index=1&id=105bdedc&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!./my-add-look-list.vue?vue&type=style&index=1&id=105bdedc&lang=scss&scoped=true&\""],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/pages/main/home/my-add-position-detail.js.map
已删除
100644 → 0
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-position-detail.vue?506f","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-position-detail.vue?e31f","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-position-detail.vue?1a79","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-position-detail.vue?eaec","uni-app:///pages/main/home/my-add-position-detail.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-position-detail.vue?b7e3"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,gI,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,4BAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+I;AAC/I;AAC0E;AACL;AACsC;;;AAG3G;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,4FAAM;AACR,EAAE,6GAAM;AACR,EAAE,sHAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,iHAAU;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,8LAEN;AACP,KAAK;AACL;AACA,aAAa,wMAEN;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;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3DA;AAAA;AAAA;AAAA;AAAm2B,CAAgB,ozBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC+Gv3B,4D;;;;;;AAMA;AACA,MADA,kBACA;AACA;AACA,YADA;AAEA,cAFA;AAGA,mBAHA;AAIA;AACA,iBADA;AAEA,oBAFA;AAGA,mBAHA,EAJA;;AASA,iBATA;AAUA,gDAVA;AAWA,0CAXA;AAYA,oDAZA;AAaA,oDAbA;;AAeA,GAjBA;;AAmBA,QAnBA,kBAmBA,CAnBA,EAmBA;AACA;AACA;AACA;AACA,GAvBA;;AAyBA;AACA,oBADA,4BACA,IADA,EACA;AACA;AACA;AACA;AACA;AACA;AACA,KAPA;;AASA,aATA,uBASA;AACA;AACA;AACA;AACA,mBAHA;;AAKA,KAfA;;AAiBA,cAjBA,sBAiBA,KAjBA,EAiBA;AACA;AACA,KAnBA;;AAqBA,gBArBA,0BAqBA;AACA;AACA,wBADA;AAEA,UAFA,kGAEA;AACA;AACA;AACA;AACA,0BADA,GACA;AACA,qCADA;AAEA,qDAFA,EADA;;AAKA;AACA;AACA;AACA,mBAXA,0DAFA;;AAeA,KArCA;;AAuCA,aAvCA,qBAuCA,IAvCA,EAuCA;AACA;AACA,iDADA;AAEA;AACA,kCADA;AAEA,iCAFA;AAGA,6BAHA,EAFA;;;AAQA,KAhDA;;AAkDA,aAlDA,uBAkDA;AACA;AACA,2CADA;;AAGA,KAtDA;;AAwDA,QAxDA,kBAwDA;AACA;AACA;AACA,yCADA,EADA;;AAIA,gCAJA;AAKA,eALA,mBAKA,GALA,EAKA;AACA;AACA,SAPA;;AASA,KAlEA,EAzBA,E;;;;;;;;;;;;;ACrHA;AAAA;AAAA;AAAA;AAAsmD,CAAgB,28CAAG,EAAC,C","file":"pages/main/home/my-add-position-detail.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/home/my-add-position-detail.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./my-add-position-detail.vue?vue&type=template&id=2f9c6bfb&scoped=true&\"\nvar renderjs\nimport script from \"./my-add-position-detail.vue?vue&type=script&lang=js&\"\nexport * from \"./my-add-position-detail.vue?vue&type=script&lang=js&\"\nimport style0 from \"./my-add-position-detail.vue?vue&type=style&index=0&id=2f9c6bfb&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 \"2f9c6bfb\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/home/my-add-position-detail.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!./my-add-position-detail.vue?vue&type=template&id=2f9c6bfb&scoped=true&\"","var components\ntry {\n components = {\n uTimeLine: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-time-line/u-time-line\" */ \"@/uview-ui/components/u-time-line/u-time-line.vue\"\n )\n },\n uTimeLineItem: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-time-line-item/u-time-line-item\" */ \"@/uview-ui/components/u-time-line-item/u-time-line-item.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 m0 = _vm.getSchoolRequire(_vm.data.schoolRequire)\n\n var l0 = _vm.__map(_vm.questions, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var m1 = item.status != \"未处理\" ? _vm.timeFormat(item.createdTime) : null\n return {\n $orig: $orig,\n m1: m1\n }\n })\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n m0: m0,\n l0: l0\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!./my-add-position-detail.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!./my-add-position-detail.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"page\">\n\t\t<scroll-view>\n\t\t\t<view class=\"header\">\n\t\t\t\t<image style=\"width: 36rpx;height: 36rpx\" src=\"/static/img/page/icon-company.png\"></image>\n\t\t\t\t<view class=\"company-title\">{{data.companyName}}</view>\n\t\t\t</view>\n\t\t\t<view class=\"content\">\n\t\t\t\t<view class=\"title\">招聘需求</view>\n\t\t\t\t<view style=\"width: 100%;height: 2rpx;background-color: #f0f0ff;margin: 10rpx 0;\"></view>\n\t\t\t\t<view style=\"padding: 30rpx;\">\n\n\t\t\t\t\t<view class=\"text_wrap\">\n\t\t\t\t\t\t<text class=\"text_normal\">我公司:</text>\n\t\t\t\t\t\t<text class=\"text_key\">{{data.name}}</text>\n\t\t\t\t\t\t<text class=\"text_normal\">岗位</text>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"text_wrap\">\n\t\t\t\t\t\t<text class=\"text_normal\">需要:</text>\n\t\t\t\t\t\t<text class=\"text_key\">{{data.recruitingNumber}}</text>\n\t\t\t\t\t\t<text class=\"text_normal\">人</text>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"text_wrap\">\n\t\t\t\t\t\t<text class=\"text_normal\">工作城市:</text>\n\t\t\t\t\t\t<text class=\"text_key\">{{(data.city == '市辖区'||data.city == '县')?data.province:data.city}}</text>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"text_wrap\">\n\t\t\t\t\t\t<text class=\"text_normal\">年龄:</text>\n\t\t\t\t\t\t<text class=\"text_key\">{{data.ageRequire==\"16years\"?'年满16周岁':'年满18周岁'}}</text>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"text_wrap\">\n\t\t\t\t\t\t<text class=\"text_normal\">学校需求:</text>\n\t\t\t\t\t\t<text class=\"text_key\">{{getSchoolRequire(data.schoolRequire)}}</text>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"text_wrap\">\n\t\t\t\t\t\t<text class=\"text_normal\">专业要求:</text>\n\t\t\t\t\t\t<text class=\"text_key\">{{data.majorRequire}}</text>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"text_wrap\">\n\t\t\t\t\t\t<text class=\"text_normal\">是否委托招聘:</text>\n\t\t\t\t\t\t<text class=\"text_key\">{{data.isEntrust==\"yes\"?'是':'否'}}</text>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"text_wrap\">\n\t\t\t\t\t\t<text class=\"text_normal\">联系式:</text>\n\t\t\t\t\t\t<text class=\"text_key\">{{data.contactName}}({{data.contactPhone}})</text>\n\t\t\t\t\t</view>\n\n\t\t\t\t</view>\n\t\t\t\t<view class=\"title\">职位描述</view>\n\t\t\t\t<view style=\"width: 100%;height: 2rpx;background-color: #f0f0ff;margin: 10rpx 0;\"></view>\n\t\t\t\t<view class=\"text_wrap\" style=\"padding:30rpx;\">\n\t\t\t\t\t<rich-text :nodes=\"data.description==''?'--':data.description\"></rich-text>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view style=\"margin-top: -56rpx;margin-bottom: 180rpx;background-color: #fff;padding:30rpx;\">\n\t\t\t\t<view class=\"title\">处理回复</view>\n\t\t\t\t<view style=\"width: 100%;height: 2rpx;background-color: #f0f0ff;margin: 10rpx 0 30rpx;\"></view>\n\t\t\t\t<view class=\"timeline\" style=\"padding: 0 30rpx;\">\n\t\t\t\t\t<u-time-line>\n\t\t\t\t\t\t<view v-for=\"(item,index) in questions\" :key=\"index\">\n\t\t\t\t\t\t\t<u-time-line-item>\n\t\t\t\t\t\t\t\t<template v-slot:node>\n\t\t\t\t\t\t\t\t\t<view :class=\"item.status == 'done'?'u-node-red':'u-node'\"></view>\n\t\t\t\t\t\t\t\t</template>\n\t\t\t\t\t\t\t\t<template v-slot:content>\n\t\t\t\t\t\t\t\t\t<view>\n\t\t\t\t\t\t\t\t\t\t<view v-if=\"item.status == '未处理'\"\n\t\t\t\t\t\t\t\t\t\t\t:class=\"item.status == 'done'?'u-order-title-red':'u-order-title'\">\n\t\t\t\t\t\t\t\t\t\t\t{{item.status}}\n\t\t\t\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t\t\t\t<view v-if=\"item.status == '未处理'\" class=\"u-order-desc\">{{item.comment}}</view>\n\t\t\t\t\t\t\t\t\t\t<view v-else :class=\"item.status == 'done'?'u-order-title-red':'u-order-title'\">\n\t\t\t\t\t\t\t\t\t\t\t{{keys[item.status]}}\n\t\t\t\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t\t\t\t<view v-if=\"item.status != '未处理'\" class=\"u-order-kf\">客服: {{item.operator}}\n\t\t\t\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t\t\t\t<view v-if=\"item.status != '未处理'\" class=\"u-order-time\">时间:\n\t\t\t\t\t\t\t\t\t\t\t{{timeFormat(item.createdTime)}}\n\t\t\t\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t\t\t\t<view v-if=\"item.status != '未处理' && item.comment\" class=\"redbg\">\n\t\t\t\t\t\t\t\t\t\t\t<view class=\"redbg_title\">\n\t\t\t\t\t\t\t\t\t\t\t\t处理回复\n\t\t\t\t\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t\t\t\t\t<view v-if=\"item.comment\" class=\"redbg_desc\">\n\t\t\t\t\t\t\t\t\t\t\t\t{{item.comment}}\n\t\t\t\t\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t\t\t\t\t<view v-if=\"item.status != '未处理' && item.matchedNumber!=0\" class=\"yppv\">\n\t\t\t\t\t\t\t\t\t\t\t\t<view class=\"yppv_title\">已匹配:</view>\n\t\t\t\t\t\t\t\t\t\t\t\t<view class=\"yppv_people\">{{item.matchedNumber}}人</view>\n\t\t\t\t\t\t\t\t\t\t\t\t<view class=\"yppv_jump\" @click=\"skip2List(item)\">查看清单</view>\n\t\t\t\t\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t\t</template>\n\t\t\t\t\t\t\t</u-time-line-item>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</u-time-line>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t</scroll-view>\n\t\t<view class=\"botBtn\">\n\t\t\t<view style=\"width: 100%;height: 2rpx;background-color: #f0f0ff;\"></view>\n\t\t\t<view class=\"btn_wrap\">\n\t\t\t\t<view class=\"btn01\" @click=\"callPhone\">打电话</view>\n\t\t\t\t<view class=\"btn02\" @click=\"chat\">直聊</view>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\timport {\n\t\tschoolTypeOptions,\n\t\tageTypeOptions,\n\t\tpositionPropOptions,\n\t\tpositionTypeOptions\n\t} from '@/common/util.js'\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tid: \"\",\n\t\t\t\tdata: {},\n\t\t\t\tquestions: [],\n\t\t\t\tkeys: {\n\t\t\t\t\tdo: '未处理',\n\t\t\t\t\tdoing: '处理中',\n\t\t\t\t\tdone: '已办结'\n\t\t\t\t},\n\t\t\t\tstrings: \"\",\n\t\t\t\tschoolTypeOptions,\n\t\t\t\tageTypeOptions,\n\t\t\t\tpositionPropOptions,\n\t\t\t\tpositionTypeOptions\n\t\t\t}\n\t\t},\n\n\t\tonLoad(e) {\n\t\t\tthis.id = e.id\n\t\t\tthis.getDetail()\n\t\t\tthis.getQuestions()\n\t\t},\n\n\t\tmethods: {\n\t\t\tgetSchoolRequire(type) {\n\t\t\t\tfor (var i = 0; i < this.schoolTypeOptions.length; i++) {\n\t\t\t\t\tif (this.schoolTypeOptions[i].value == type) {\n\t\t\t\t\t\treturn this.schoolTypeOptions[i].label\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tgetDetail() {\n\t\t\t\tthis.$u.api.myAddPosDetailApi(this.id).then(async res => {\n\t\t\t\t\tif (res) {\n\t\t\t\t\t\tthis.data = res\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\n\t\t\ttimeFormat(value, format = \"yyyy/mm/dd\") {\n\t\t\t\treturn this.$u.timeFormat(value, format);\n\t\t\t},\n\n\t\t\tgetQuestions() {\n\t\t\t\tthis.$u.api.trackRecordApi({\n\t\t\t\t\ttrackId: this.id\n\t\t\t\t}).then(async res => {\n\t\t\t\t\tif (res) {\n\t\t\t\t\t\tthis.questions = this.questions.concat(res.records)\n\t\t\t\t\t\tif (this.questions.length == 0) {\n\t\t\t\t\t\t\tlet dic1 = {\n\t\t\t\t\t\t\t\tstatus: '未处理',\n\t\t\t\t\t\t\t\tcomment: '您提交的请求正在审核中,请耐心等待~',\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tthis.questions.push(dic1)\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconsole.log(this.questions)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\n\t\t\tskip2List(item) {\n\t\t\t\tthis.$u.route({\n\t\t\t\t\turl: '/pages/main/home/my-match-stu-list',\n\t\t\t\t\tparams: {\n\t\t\t\t\t\t'jobId': this.data.jobId,\n\t\t\t\t\t\t'trackId': item.trackId,\n\t\t\t\t\t\t'recordId': item.id\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\n\t\t\tcallPhone() {\n\t\t\t\tuni.makePhoneCall({\n\t\t\t\t\tphoneNumber: this.data.contactPhone\n\t\t\t\t})\n\t\t\t},\n\n\t\t\tchat() {\n\t\t\t\twx.openCustomerServiceChat({\n\t\t\t\t\textInfo: {\n\t\t\t\t\t\turl: this.vuex_customer_chatUrl\n\t\t\t\t\t},\n\t\t\t\t\tcorpId: this.vuex_corpId,\n\t\t\t\t\tsuccess(res) {\n\t\t\t\t\t\tconsole.log(\"chat..\", res)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t.page {\n\t\tbackground: #FAFAFB;\n\n\t\t.header {\n\t\t\tdisplay: flex;\n\t\t\twidth: 100%;\n\t\t\theight: 208rpx;\n\t\t\tbackground-image: url('/static/img/page/resource-bg.png');\n\t\t\tbackground-size: 100% 200rpx;\n\t\t\tpadding-top: 60rpx;\n\t\t\tpadding-left: 40rpx;\n\t\t}\n\n\t\t.content {\n\t\t\tbackground: #FFFFFF;\n\t\t\tborder-radius: 10px 10px 0px 0px;\n\t\t\tmargin: auto 22rpx;\n\t\t\ttop: -80rpx;\n\t\t\tposition: relative;\n\t\t\tpadding-bottom: 40rpx;\n\t\t}\n\n\t\t.company-title {\n\t\t\tfont-size: 36rpx;\n\t\t\tfont-family: PingFangSC-Regular, PingFang SC;\n\t\t\tfont-weight: 400;\n\t\t\tcolor: #FFFFFF;\n\t\t\tline-height: 36rpx;\n\t\t\tmargin-left: 8rpx;\n\t\t}\n\n\t\t.title {\n\t\t\tfont-size: 30rpx;\n\t\t\tfont-family: PingFangSC-Medium, PingFang SC;\n\t\t\tfont-weight: 500;\n\t\t\tcolor: #121212;\n\t\t\tline-height: 30rpx;\n\t\t\tpadding: 30rpx;\n\t\t}\n\n\t\t.text_wrap {\n\t\t\tdisplay: flex;\n\t\t\tmargin-top: 16rpx;\n\t\t}\n\n\t\t.text_normal {\n\t\t\tfont-size: 26rpx;\n\t\t\tfont-family: PingFangSC-Light, PingFang SC;\n\t\t\tfont-weight: 300;\n\t\t\tcolor: #121212;\n\t\t}\n\n\t\t.text_key {\n\t\t\tfont-size: 26rpx;\n\t\t\tfont-family: PingFangSC-Light, PingFang SC;\n\t\t\tfont-weight: 300;\n\t\t\tcolor: #D2791C;\n\t\t\tmargin: 0 16rpx;\n\t\t}\n\n\t\t.botBtn {\n\t\t\twidth: 100%;\n\t\t\theight: 180rpx;\n\t\t\tposition: fixed;\n\t\t\tbackground-color: #FFFFFF;\n\t\t\tbottom: 0;\n\t\t\tz-index: 99;\n\n\t\t\t.btn_wrap {\n\t\t\t\tpadding: 32rpx;\n\t\t\t\tdisplay: flex\n\t\t\t}\n\n\t\t\t.btn01 {\n\t\t\t\tflex: 1;\n\t\t\t\theight: 44px;\n\t\t\t\tbackground: #F7F7F7;\n\t\t\t\tborder-radius: 4px;\n\t\t\t\tfont-size: 17px;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tcolor: #646464;\n\t\t\t\ttext-align: center;\n\t\t\t\tline-height: 44px;\n\t\t\t}\n\n\t\t\t.btn02 {\n\t\t\t\tflex: 2;\n\t\t\t\theight: 44px;\n\t\t\t\tbackground: linear-gradient(331deg, #FF5E00 0%, #FF001A 100%);\n\t\t\t\tborder-radius: 4px;\n\t\t\t\tfont-size: 17px;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tcolor: #FFFFFF;\n\t\t\t\tline-height: 17px;\n\t\t\t\ttext-align: center;\n\t\t\t\tline-height: 44px;\n\t\t\t\tmargin-left: 40rpx;\n\t\t\t}\n\n\t\t}\n\n\t\t.timeline {\n\t\t\tbox-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.02);\n\t\t\tborder-radius: 8px;\n\t\t\tpadding: 30rpx 0;\n\n\t\t\t.title {\n\t\t\t\tfont-size: 16px;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tcolor: #26292F;\n\t\t\t\tmargin-bottom: 76rpx;\n\t\t\t}\n\n\t\t\t.u-node {\n\t\t\t\twidth: 8px;\n\t\t\t\theight: 8px;\n\t\t\t\tborder-radius: 8rpx;\n\t\t\t\tbackground: #E5E5E6;\n\t\t\t}\n\n\t\t\t.u-node-red {\n\t\t\t\twidth: 8px;\n\t\t\t\theight: 8px;\n\t\t\t\tborder-radius: 8rpx;\n\t\t\t\tbackground: red;\n\t\t\t}\n\n\t\t\t.u-order-title {\n\t\t\t\tcolor: #333333;\n\t\t\t\tfont-weight: bold;\n\t\t\t\tfont-size: 32rpx;\n\t\t\t}\n\n\t\t\t.u-order-title-red {\n\t\t\t\tcolor: red;\n\t\t\t\tfont-weight: bold;\n\t\t\t\tfont-size: 32rpx;\n\t\t\t}\n\n\t\t\t.u-order-desc {\n\t\t\t\tcolor: rgb(150, 150, 150);\n\t\t\t\tfont-size: 28rpx;\n\t\t\t\tmargin-top: 40rpx;\n\t\t\t\tmargin-bottom: 60rpx;\n\t\t\t}\n\n\t\t\t.u-order-kf {\n\t\t\t\tmargin-top: 20px;\n\t\t\t\tfont-size: 14px;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tcolor: #8C8E91;\n\t\t\t}\n\n\t\t\t.u-order-time {\n\t\t\t\tmargin-top: 6px;\n\t\t\t\tfont-size: 14px;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tcolor: #8C8E91;\n\t\t\t}\n\n\t\t\t.redbg {\n\t\t\t\tposition: relative;\n\t\t\t\twidth: 100%;\n\t\t\t\tpadding: 30rpx 24rpx;\n\t\t\t\tbackground: rgba(255, 13, 22, 0.03);\n\t\t\t\tmargin-top: 20rpx;\n\t\t\t\tmargin-bottom: 60rpx;\n\n\t\t\t\t.redbg_title {\n\t\t\t\t\tfont-size: 14px;\n\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\tcolor: #999999;\n\t\t\t\t}\n\n\t\t\t\t.redbg_desc {\n\t\t\t\t\tmargin-top: 10rpx;\n\t\t\t\t\tfont-size: 14px;\n\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\tcolor: #121212;\n\t\t\t\t}\n\n\t\t\t\t.yppv {\n\t\t\t\t\tdisplay: flex;\n\t\t\t\t\tmargin-top: 20rpx;\n\t\t\t\t\tfont-size: 14px;\n\n\t\t\t\t\t.yppv_title {\n\t\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\t\tcolor: #646464;\n\t\t\t\t\t}\n\n\t\t\t\t\t.yppv_people {\n\t\t\t\t\t\tmargin-left: 10rpx;\n\t\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\t\tcolor: #121212;\n\t\t\t\t\t}\n\n\t\t\t\t\t.yppv_jump {\n\t\t\t\t\t\tmargin-left: 10rpx;\n\t\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\t\tcolor: #FF0D16;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\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!./my-add-position-detail.vue?vue&type=style&index=0&id=2f9c6bfb&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!./my-add-position-detail.vue?vue&type=style&index=0&id=2f9c6bfb&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-position.vue?9aa8","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-position.vue?5163","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-position.vue?c6f9","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-position.vue?2a3c","uni-app:///pages/main/home/my-add-position.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-position.vue?f952","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-position.vue?4f8f","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-position.vue?c6b9"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":"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","file":"pages/main/home/my-add-position.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/home/my-add-position.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./my-add-position.vue?vue&type=template&id=22c0cc93&scoped=true&\"\nvar renderjs\nimport script from \"./my-add-position.vue?vue&type=script&lang=js&\"\nexport * from \"./my-add-position.vue?vue&type=script&lang=js&\"\nimport style0 from \"./my-add-position.vue?vue&type=style&index=0&lang=css&\"\nimport style1 from \"./my-add-position.vue?vue&type=style&index=1&id=22c0cc93&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 \"22c0cc93\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/home/my-add-position.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!./my-add-position.vue?vue&type=template&id=22c0cc93&scoped=true&\"","var components\ntry {\n components = {\n uTabs: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-tabs/u-tabs\" */ \"@/uview-ui/components/u-tabs/u-tabs.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 l0 =\n _vm.current == 0 && _vm.notMatchList.length > 0\n ? _vm.__map(_vm.notMatchList, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var m0 = _vm.getSchoolRequire(item.schoolRequire)\n var m1 = _vm.dateFormate(item.createdTime)\n return {\n $orig: $orig,\n m0: m0,\n m1: m1\n }\n })\n : null\n var l1 =\n !(_vm.current == 0) && _vm.matchedList.length > 0\n ? _vm.__map(_vm.matchedList, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var m2 = _vm.getSchoolRequire(item.schoolRequire)\n var m3 = _vm.dateFormate(item.createdTime)\n return {\n $orig: $orig,\n m2: m2,\n m3: m3\n }\n })\n : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n l0: l0,\n l1: l1\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!./my-add-position.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!./my-add-position.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"page\">\n\t\t<view class=\"nav\">\n\t\t\t<img src=\"/static/img/page/header-bg.png\" alt=\"\">\n\t\t</view>\n\t\t<view class=\"tab\">\n\t\t\t<u-tabs :list=\"list\" :is-scroll=\"false\" :bg-color=\"''\" :active-color=\"'#fff'\" :inactive-color=\"'#fff'\"\n\t\t\t\t:current=\"current\" @change=\"change\"></u-tabs>\n\t\t</view>\n\t\t<view class=\"content\">\n\t\t\t<scroll-view v-if=\"current==0\" scroll-y=\"true\" style=\"height: 70%;\" @scrolltolower=\"lower()\">\n\t\t\t\t<view v-if=\"notMatchList.length>0\">\n\t\t\t\t\t<view class=\"item_box\" v-for=\"(item,index) in notMatchList\" :key=\"index\"\n\t\t\t\t\t\t@click=\"popupSelItem(item)\">\n\t\t\t\t\t\t<view class=\"item_title\">\n\t\t\t\t\t\t\t{{item.name?item.name:'--'}}\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view class=\"item_title1\">\n\t\t\t\t\t\t\t{{(item.city == '市辖区'||item.city == '县')?item.province:item.city}}\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view style=\"display: flex;\">\n\t\t\t\t\t\t\t<view class=\"item_desc\">\n\t\t\t\t\t\t\t\t{{item.recruitingNumber}}人 | {{item.ageRequire=='16years'?' 满16周岁':' 满18周岁'}} |\n\t\t\t\t\t\t\t\t{{getSchoolRequire(item.schoolRequire)}} | {{item.majorRequire}}\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view class=\"item_desc\">\n\t\t\t\t\t\t\t{{item.companyName?item.companyName:'--'}}\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view style=\"margin-top: 20rpx;\">\n\t\t\t\t\t\t\t<text class=\"item_desc2\">报名({{item.enrolledCount}})</text>\n\t\t\t\t\t\t\t<text class=\"item_desc2\" style=\"margin-left: 10rpx;\">入职({{item.inductionCount}})</text>\n\t\t\t\t\t\t\t<text\n\t\t\t\t\t\t\t\tstyle=\"float: right;color: #646464;font-size: 24rpx;\">{{dateFormate(item.createdTime)}}</text>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view v-else style=\"width: 100%; height: 100%;\">\n\t\t\t\t\t<view style=\"margin: 200px auto 0; width: 187px;height: 110px;\">\n\t\t\t\t\t\t<image style=\"width: 187px;height: 110px;\" :src=\"vuex_baseImgUrl+'/nodata.png'\"></image>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view style=\"width: 100%; margin-top: 10px; text-align: center; font-size: 13px; color: #121212;\">\n\t\t\t\t\t\t暂无数据</view>\n\t\t\t\t</view>\n\t\t\t</scroll-view>\n\t\t\t<scroll-view v-else scroll-y=\"true\" style=\"height: 70%;\" @scrolltolower=\"lower1()\">\n\t\t\t\t<view v-if=\"matchedList.length>0\">\n\t\t\t\t\t<view class=\"item_box\" v-for=\"(item,index) in matchedList\" :key=\"index\" @click=\"popupSelItem(item)\">\n\t\t\t\t\t\t<view class=\"item_title\">\n\t\t\t\t\t\t\t{{item.name?item.name:'--'}}\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view class=\"item_title1\">\n\t\t\t\t\t\t\t{{(item.city == '市辖区'||item.city == '县')?item.province:item.city}}\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view style=\"display: flex;\">\n\t\t\t\t\t\t\t<view class=\"item_desc\">\n\t\t\t\t\t\t\t\t{{getSchoolRequire(item.schoolRequire)}} | {{item.majorRequire}} | {{item.ageRequire=='16years'?' 满16周岁':' 满18周岁'}} | {{item.recruitingNumber}}人 \n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view class=\"item_desc\">\n\t\t\t\t\t\t\t{{item.companyName?item.companyName:'--'}}\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view style=\"margin-top: 20rpx;\">\n\t\t\t\t\t\t\t<text class=\"item_desc2\">报名({{item.enrolledCount}}) </text>\n\t\t\t\t\t\t\t<text\n\t\t\t\t\t\t\t\tstyle=\"float: right;color: #646464;font-size: 24rpx;\">{{dateFormate(item.createdTime)}}</text>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view v-else style=\"width: 100%; height: 100%;\">\n\t\t\t\t\t<view style=\"margin: 200px auto 0; width: 187px;height: 110px;\">\n\t\t\t\t\t\t<image style=\"width: 187px;height: 110px;\" :src=\"vuex_baseImgUrl+'/nodata.png'\"></image>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view style=\"width: 100%; margin-top: 10px; text-align: center; font-size: 13px; color: #121212;\">\n\t\t\t\t\t\t暂无数据</view>\n\t\t\t\t</view>\n\t\t\t</scroll-view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\timport {\n\t\tschoolTypeOptions,\n\t\tageTypeOptions,\n\t\tpositionPropOptions,\n\t\tpositionTypeOptions\n\t} from '@/common/util.js'\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tlist: [{\n\t\t\t\t\tname: '我的需求'\n\t\t\t\t}, {\n\t\t\t\t\tname: '匹配列表'\n\t\t\t\t}],\n\t\t\t\tcurrent: 0,\n\t\t\t\tnotMatchList: [], //我的需求\n\t\t\t\tmatchedList: [], //已匹配\n\t\t\t\tschoolTypeOptions,\n\t\t\t\tageTypeOptions,\n\t\t\t\tpositionPropOptions,\n\t\t\t\tpositionTypeOptions\n\t\t\t}\n\t\t},\n\n\t\tonLoad() {\n\t\t\tthis.getNotMatchList()\n\t\t},\n\n\t\tmethods: {\n\t\t\tdateFormate(time) {\n\t\t\t\treturn this.$u.timeFormat(time, 'yyyy/mm/dd')\n\t\t\t},\n\t\t\t\n\t\t\tgetSchoolRequire(type) {\n\t\t\t\tfor (var i = 0; i < this.schoolTypeOptions.length; i++) {\n\t\t\t\t\tif (this.schoolTypeOptions[i].value == type) {\n\t\t\t\t\t\treturn this.schoolTypeOptions[i].label\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tpopupSelItem(item, type) {\n\t\t\t\tlet params = {\n\t\t\t\t\tid: item.id\n\t\t\t\t}\n\t\t\t\tthis.$u.route({\n\t\t\t\t\turl: '/pages/main/home/my-add-position-detail',\n\t\t\t\t\tparams: params,\n\t\t\t\t})\n\t\t\t},\n\n\t\t\tchange(index) {\n\t\t\t\tthis.current = index;\n\t\t\t\tif (index == 0) {\n\t\t\t\t\tthis.getNotMatchList()\n\t\t\t\t} else {\n\t\t\t\t\tthis.getMatchedList()\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tlower() {\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthis.loadData(true);\n\t\t\t\t}, 200)\n\t\t\t},\n\n\t\t\tgetNotMatchList() {\n\t\t\t\tthis.notMatchList = []\n\t\t\t\tthis.loadData()\n\t\t\t},\n\n\t\t\tloadData(e) {\n\t\t\t\tlet params = {}\n\t\t\t\tif (e) {\n\t\t\t\t\tif (this.total <= this.notMatchList.length) {\n\t\t\t\t\t\treturn\n\t\t\t\t\t}\n\t\t\t\t\tthis.page++\n\t\t\t\t} else {\n\t\t\t\t\tthis.page = 1\n\t\t\t\t}\n\t\t\t\tparams['pageNumber'] = this.page\n\t\t\t\tthis.$u.api.myMatchListApi(params).then(async res => {\n\t\t\t\t\tif (res) {\n\t\t\t\t\t\tthis.total = res.total\n\t\t\t\t\t\tthis.notMatchList = this.notMatchList.concat(res.records)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\n\t\t\tlower1() {\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthis.loadData1(true);\n\t\t\t\t}, 200)\n\t\t\t},\n\n\t\t\tgetMatchedList() {\n\t\t\t\tthis.matchedList = []\n\t\t\t\tthis.loadData1()\n\t\t\t},\n\n\t\t\tloadData1(e) {\n\t\t\t\tlet params = {\n\t\t\t\t\tmatchStatus: \"active\"\n\t\t\t\t}\n\n\t\t\t\tif (e) {\n\t\t\t\t\tif (this.total <= this.matchedList.length) {\n\t\t\t\t\t\treturn\n\t\t\t\t\t}\n\t\t\t\t\tthis.page++\n\t\t\t\t} else {\n\t\t\t\t\tthis.page = 1\n\t\t\t\t}\n\t\t\t\tparams['pageNumber'] = this.page\n\t\t\t\tthis.$u.api.myMatchListApi(params).then(async res => {\n\t\t\t\t\tif (res) {\n\t\t\t\t\t\tthis.total = res.total\n\t\t\t\t\t\tthis.matchedList = this.matchedList.concat(res.records)\n\t\t\t\t\t\tconsole.log(params, this.matchedList)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t}\n\t}\n</script>\n\n<style>\n\tpage {\n\t\tbackground-color: #FAFAFB;\n\t}\n</style>\n\n<style lang=\"scss\" scoped>\n\t.page {\n\t\t.nav {\n\t\t\tposition: relative;\n\n\t\t\timg {\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 234rpx;\n\t\t\t}\n\t\t}\n\n\t\t.tab {\n\t\t\tposition: absolute;\n\t\t\ttop: 36rpx;\n\t\t\tleft: 0;\n\t\t\twidth: 80%;\n\t\t\tleft: 10%;\n\t\t}\n\n\t\t.content {\n\t\t\tposition: relative;\n\t\t\ttop: -52px;\n\t\t\tleft: 0;\n\t\t\twidth: 100%;\n\t\t\tpadding: 0 20rpx;\n\n\t\t\t.item_box {\n\t\t\t\tposition: relative;\n\t\t\t\twidth: 100%;\n\t\t\t\tborder-radius: 8px;\n\t\t\t\tbackground-color: #fff;\n\t\t\t\tpadding: 40rpx 20rpx;\n\t\t\t\tmargin-top: 20rpx;\n\n\t\t\t\t.item_title {\n\t\t\t\t\tfont-size: 16px;\n\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\tcolor: #121212;\n\t\t\t\t}\n\n\t\t\t\t.item_title1 {\n\t\t\t\t\tposition: absolute;\n\t\t\t\t\ttop: 22px;\n\t\t\t\t\tright: 10px;\n\t\t\t\t\tfont-size: 12px;\n\t\t\t\t\tfont-weight: 300;\n\t\t\t\t\tcolor: #121212;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t.item_box1 {\n\t\t\t\tposition: relative;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 290rpx;\n\t\t\t\tborder-radius: 8px;\n\t\t\t\tbackground-color: #fff;\n\t\t\t\tpadding: 40rpx 20rpx;\n\t\t\t\tmargin-top: 20rpx;\n\n\t\t\t\t.item_title {\n\t\t\t\t\tfont-size: 16px;\n\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\tcolor: #121212;\n\t\t\t\t}\n\n\t\t\t\t.item_list {\n\t\t\t\t\tdisplay: flex;\n\t\t\t\t\tmargin-top: 30rpx;\n\n\t\t\t\t\t.item {\n\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\tflex-direction: column;\n\t\t\t\t\t\twidth: 200rpx;\n\n\t\t\t\t\t\t.text {\n\t\t\t\t\t\t\tfont-size: 12px;\n\t\t\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\t\t\tcolor: #646464;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t.num {\n\t\t\t\t\t\t\tmargin-top: 10rpx;\n\t\t\t\t\t\t\tfont-size: 18px;\n\t\t\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\t\t\tcolor: #FF0D16;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t.item_desc {\n\t\t\t\tmargin-top: 20rpx;\n\t\t\t\tfont-size: 24rpx;\n\t\t\t\tfont-family: PingFangSC-Light, PingFang SC;\n\t\t\t\tfont-weight: 300;\n\t\t\t\tcolor: #646464;\n\t\t\t}\n\n\t\t\t.item_desc2 {\n\t\t\t\tfont-size: 26rpx;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tcolor: #646464;\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--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../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!./my-add-position.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../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!./my-add-position.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657611032624\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 ","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!./my-add-position.vue?vue&type=style&index=1&id=22c0cc93&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!./my-add-position.vue?vue&type=style&index=1&id=22c0cc93&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-school.vue?cc12","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-school.vue?a381","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-school.vue?2229","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-school.vue?a76e","uni-app:///pages/main/home/my-add-school.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-school.vue?68fb","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-school.vue?7ec8","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-school.vue?6a69"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,+G,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,oBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAsI;AACtI;AACiE;AACL;AACa;AACyB;;;AAGlG;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,mFAAM;AACR,EAAE,oGAAM;AACR,EAAE,6GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,wGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACxBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,oLAEN;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;AAA01B,CAAgB,2yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACmE92B;AACA,MADA,kBACA;AACA;AACA;AACA,mBADA;AAEA;AACA,mBADA,EAFA,CADA;;AAMA,gBANA;AAOA,eAPA;AAQA,aARA;;AAUA,GAZA;;AAcA,QAdA,oBAcA;AACA;AACA,GAhBA;;AAkBA,QAlBA,oBAkBA;AACA;AACA;AACA,sBADA;AAEA;AACA,GAvBA;;AAyBA;;AAEA,gBAFA,wBAEA,IAFA,EAEA,IAFA,EAEA;AACA;AACA,mBADA;AAEA,mCAFA;;;AAKA;AACA;AACA,kDADA;AAEA,wBAFA;;AAIA,OALA,MAKA;AACA;AACA,6CADA;AAEA,wBAFA;;AAIA;AACA,KAnBA;;AAqBA,UArBA,kBAqBA,KArBA,EAqBA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA,KA5BA;;AA8BA,SA9BA,mBA8BA;AACA;AACA;AACA,OAFA,EAEA,GAFA;AAGA,KAlCA;;AAoCA,cApCA,wBAoCA;AACA;AACA;AACA,KAvCA;;AAyCA,YAzCA,oBAyCA,CAzCA,EAyCA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OANA,MAMA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,mBALA;;AAOA,KA7DA;;AA+DA,UA/DA,oBA+DA;AACA;AACA;AACA,OAFA,EAEA,GAFA;AAGA,KAnEA;;AAqEA,aArEA,uBAqEA;AACA;AACA;AACA,KAxEA;;AA0EA,aA1EA,qBA0EA,CA1EA,EA0EA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OANA,MAMA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,0BADA,GACA,cADA;AAEA,+BAFA,GAEA,EAFA;AAGA;AACA,6BADA,GACA,uBADA;AAEA;AACA;AACA,yBAFA,MAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,mBAnBA;;AAqBA,KA5GA,EAzBA,E;;;;;;;;;;;;ACnEA;AAAA;AAAA;AAAA;AAA6sC,CAAgB,wmCAAG,EAAC,C;;;;;;;;;;;ACAjuC;AACA,OAAO,KAAU,EAAE,kBAKd;;;;;;;;;;;;;ACNL;AAAA;AAAA;AAAA;AAA6lD,CAAgB,k8CAAG,EAAC,C","file":"pages/main/home/my-add-school.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/home/my-add-school.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./my-add-school.vue?vue&type=template&id=769ac444&scoped=true&\"\nvar renderjs\nimport script from \"./my-add-school.vue?vue&type=script&lang=js&\"\nexport * from \"./my-add-school.vue?vue&type=script&lang=js&\"\nimport style0 from \"./my-add-school.vue?vue&type=style&index=0&lang=css&\"\nimport style1 from \"./my-add-school.vue?vue&type=style&index=1&id=769ac444&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 \"769ac444\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/home/my-add-school.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!./my-add-school.vue?vue&type=template&id=769ac444&scoped=true&\"","var components\ntry {\n components = {\n uTabs: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-tabs/u-tabs\" */ \"@/uview-ui/components/u-tabs/u-tabs.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!./my-add-school.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!./my-add-school.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"page\">\n\t\t<view class=\"nav\">\n\t\t\t<img src=\"/static/img/page/header-bg.png\" alt=\"\">\n\t\t\t<view class=\"tab\">\n\t\t\t\t<u-tabs :list=\"list\" :is-scroll=\"false\" :bg-color=\"''\" :active-color=\"'#fff'\" :inactive-color=\"'#fff'\" :current=\"current\" @change=\"change\"></u-tabs>\n\t\t\t</view>\n\t\t</view>\n\t\t<view class=\"content\">\n\t\t\t<scroll-view v-if=\"current==0\" scroll-y=\"true\" style=\"height: calc(100% - 117px);\" @scrolltolower=\"lower()\">\n\t\t\t\t<view v-if=\"works.length>0\">\n\t\t\t\t\t<view class=\"item_box\" v-for=\"(item,index) in works\" :key=\"index\" @click=\"popupSelItem(item,0)\">\n\t\t\t\t\t\t<view class=\"item_title\">\n\t\t\t\t\t\t\t{{item.name}}\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view class=\"item_title1\">\n\t\t\t\t\t\t\t{{item.status == 'do'?'未回复':'已回复'}}\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view class=\"item_desc\">\n\t\t\t\t\t\t\t{{item.description?item.description:'--'}}\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view v-else style=\"width: 100%; height: 100%;\">\n\t\t\t\t\t<view style=\"margin: 200px auto 0; width: 187px;height: 110px;\">\n\t\t\t\t\t\t<image style=\"width: 187px;height: 110px;\" :src=\"vuex_baseImgUrl+'/nodata.png'\"></image>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view style=\"width: 100%; margin-top: 10px; text-align: center; font-size: 13px; color: #121212;\">暂无数据</view>\n\t\t\t\t</view>\n\t\t\t</scroll-view>\n\t\t\t<scroll-view v-else scroll-y=\"true\" style=\"height: calc(100% - 117px);\" @scrolltolower=\"lower1()\">\n\t\t\t\t<view v-if=\"yrz.length>0\">\n\t\t\t\t\t<view class=\"item_box1\" v-for=\"(item,index) in yrz\" :key=\"index\" @click=\"popupSelItem(item,1)\">\n\t\t\t\t\t\t<view class=\"item_title\">\n\t\t\t\t\t\t\t{{item.schoolName}}\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view class=\"item_list\">\n\t\t\t\t\t\t\t<view class=\"item\">\n\t\t\t\t\t\t\t\t<view class=\"text\">学校</view>\n\t\t\t\t\t\t\t\t<view class=\"num\">{{item.schoolProportion}}%</view>\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t<view class=\"item\">\n\t\t\t\t\t\t\t\t<view class=\"text\">我</view>\n\t\t\t\t\t\t\t\t<view class=\"num\">{{item.brokerProportion}}%</view>\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t<view class=\"item\">\n\t\t\t\t\t\t\t\t<view class=\"text\">其他推荐人</view>\n\t\t\t\t\t\t\t\t<view class=\"num\">{{item.otherProportion}}%</view>\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view class=\"item_desc\">\n\t\t\t\t\t\t\t其他推荐人:{{item.appendStr?item.appendStr:'无'}}\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view v-else style=\"width: 100%; height: 100%;\">\n\t\t\t\t\t<view style=\"margin: 200px auto 0; width: 187px;height: 110px;\">\n\t\t\t\t\t\t<image style=\"width: 187px;height: 110px;\" :src=\"vuex_baseImgUrl+'/nodata.png'\"></image>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view style=\"width: 100%; margin-top: 10px; text-align: center; font-size: 13px; color: #121212;\">暂无数据</view>\n\t\t\t\t</view>\n\t\t\t</scroll-view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\t\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tlist: [{\n\t\t\t\t\tname: '已推荐'\n\t\t\t\t}, {\n\t\t\t\t\tname: '已入驻'\n\t\t\t\t}],\n\t\t\t\tcurrent: 0,\n\t\t\t\tworks: [],\n\t\t\t\tyrz: [],\n\t\t\t}\n\t\t},\n\t\t\n\t\tonLoad() {\n\t\t\tthis.workSearch()\n\t\t},\n\t\t\n\t\tonShow() {\n\t\t\tif (this.current == 1) {\n\t\t\t\tthis.yrz = [],\n\t\t\t\tthis.yrzSearch()\n\t\t\t}\n\t\t},\n\n\t\tmethods: {\n\t\t\t\n\t\t\tpopupSelItem(item,type) {\n\t\t\t\tlet params = {\n\t\t\t\t\tid: item.id,\n\t\t\t\t\tschoolName:item.schoolName\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (type == 0) {\n\t\t\t\t\tthis.$u.route({\n\t\t\t\t\t\turl: '/pages/main/home/my-add-scool-ytj',\n\t\t\t\t\t\tparams: params,\n\t\t\t\t\t})\n\t\t\t\t}else if (type == 1) {\n\t\t\t\t\tthis.$u.route({\n\t\t\t\t\t\turl: '/pages/main/home/bonus-share',\n\t\t\t\t\t\tparams: params,\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t},\n\t\t\t\n\t\t\tchange(index) {\n\t\t\t\tthis.current = index;\n\t\t\t\tif (index == 0) {\n\t\t\t\t\tthis.workSearch()\n\t\t\t\t}else {\n\t\t\t\t\tthis.yrzSearch()\n\t\t\t\t}\n\t\t\t},\n\t\t\t\n\t\t\tlower() {\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthis.loadData(true);\n\t\t\t\t}, 200)\n\t\t\t},\n\t\t\t\n\t\t\tworkSearch() {\n\t\t\t\tthis.works = []\n\t\t\t\tthis.loadData()\n\t\t\t},\n\t\t\t\n\t\t\tloadData(e) {\n\t\t\t\tlet params = {}\n\t\t\t\t\n\t\t\t\tif (e) {\n\t\t\t\t\tif (this.total <= this.works.length) {\n\t\t\t\t\t\t// this.loading = 'nomore'\n\t\t\t\t\t\treturn\n\t\t\t\t\t}\n\t\t\t\t\tthis.page++\n\t\t\t\t}else {\n\t\t\t\t\tthis.page = 1\n\t\t\t\t}\n\t\t\t\tparams['pageNumber'] = this.page\n\t\t\t\tthis.$u.api.schoolTrackApi(params).then(async res => {\n\t\t\t\t\tif (res) {\n\t\t\t\t\t\tthis.total = res.total\n\t\t\t\t\t\t\n\t\t\t\t\t\tthis.works = this.works.concat(res.records)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t\tlower1() {\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthis.loadData1(true);\n\t\t\t\t}, 200)\n\t\t\t},\n\t\t\t\n\t\t\tyrzSearch() {\n\t\t\t\tthis.yrz = []\n\t\t\t\tthis.loadData1()\n\t\t\t},\n\t\t\t\n\t\t\tloadData1(e) {\n\t\t\t\tlet params = {}\n\t\t\t\t\n\t\t\t\tif (e) {\n\t\t\t\t\tif (this.total <= this.works.length) {\n\t\t\t\t\t\t// this.loading = 'nomore'\n\t\t\t\t\t\treturn\n\t\t\t\t\t}\n\t\t\t\t\tthis.page++\n\t\t\t\t}else {\n\t\t\t\t\tthis.page = 1\n\t\t\t\t}\n\t\t\t\tparams['pageNumber'] = this.page\n\t\t\t\tthis.$u.api.schoolRewardApi(params).then(async res => {\n\t\t\t\t\tif (res) {\n\t\t\t\t\t\tthis.total = res.total\n\t\t\t\t\t\t\n\t\t\t\t\t\tfor (var i = 0; i < res.records.length; i++) {\n\t\t\t\t\t\t\tlet item = res.records[i]\n\t\t\t\t\t\t\tlet appendStr = ''\n\t\t\t\t\t\t\tfor (var j = 0; j < item.otherRewardList.length; j++) {\n\t\t\t\t\t\t\t\tlet item1 = item.otherRewardList[j]\n\t\t\t\t\t\t\t\tif (j == item.otherRewardList.length - 1) {\n\t\t\t\t\t\t\t\t\tappendStr += item1.contactName + '(' + item1.proportion + '%' + ')'\n\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\tappendStr += item1.contactName + '(' + item1.proportion + '%' + ')' + ','\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\titem['appendStr'] = appendStr\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tthis.yrz = this.yrz.concat(res.records)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t}\n\t}\n</script>\n\n<style>\n\tpage {\n\t\tbackground-color: #FAFAFB;\n\t}\n</style>\n\n<style lang=\"scss\" scoped>\n\t.page {\t\t\n\t\theight: 100%;\n\n\t\t.nav {\n\t\t\tposition: relative;\n\t\t\t\n\t\t\timg {\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 234rpx;\n\t\t\t}\n\t\t\t\n\t\t\t.tab {\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 19px;\n\t\t\t\tleft: 0;\n\t\t\t\twidth: 80%;\n\t\t\t\tleft: 10%;\n\t\t\t}\n\t\t}\n\t\t\n\t\t.content {\n\t\t\tposition: relative;\n\t\t\ttop: -52px;\n\t\t\tleft: 0;\n\t\t\twidth: 100%;\n\t\t\tpadding: 0 20rpx;\n\t\t\theight: 100%;\n\t\t\t\n\t\t\t.item_box {\n\t\t\t\tposition: relative;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 214rpx;\n\t\t\t\tborder-radius: 8px;\n\t\t\t\tbackground-color: #fff;\n\t\t\t\tpadding: 40rpx 20rpx;\n\t\t\t\tmargin-top: 20rpx;\n\t\t\t\t\n\t\t\t\t.item_title {\n\t\t\t\t\tfont-size: 16px;\n\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\tcolor: #121212;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t.item_title1 {\n\t\t\t\t\tposition: absolute;\n\t\t\t\t\ttop: 22px;\n\t\t\t\t\tright: 10px;\n\t\t\t\t\tfont-size: 12px;\n\t\t\t\t\tfont-weight: 300;\n\t\t\t\t\tcolor: #121212;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t.item_desc {\n\t\t\t\t\tmargin-top: 20rpx;\n\t\t\t\t\tfont-size: 12px;\n\t\t\t\t\tfont-weight: 300;\n\t\t\t\t\tcolor: #646464;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t.item_box1 {\n\t\t\t\tposition: relative;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 290rpx;\n\t\t\t\tborder-radius: 8px;\n\t\t\t\tbackground-color: #fff;\n\t\t\t\tpadding: 40rpx 20rpx;\n\t\t\t\tmargin-top: 20rpx;\n\t\t\t\t\n\t\t\t\t.item_title {\n\t\t\t\t\tfont-size: 16px;\n\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\tcolor: #121212;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t.item_list {\n\t\t\t\t\tdisplay: flex;\n\t\t\t\t\tmargin-top: 30rpx;\n\t\t\t\t\t\n\t\t\t\t\t.item {\n\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\tflex-direction: column;\n\t\t\t\t\t\twidth: 200rpx;\n\t\t\t\t\t\t\n\t\t\t\t\t\t.text {\n\t\t\t\t\t\t\tfont-size: 12px;\n\t\t\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\t\t\tcolor: #646464;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t.num {\n\t\t\t\t\t\t\tmargin-top: 10rpx;\n\t\t\t\t\t\t\tfont-size: 18px;\n\t\t\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\t\t\tcolor: #FF0D16;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t.item_desc {\n\t\t\t\t\tmargin-top: 20rpx;\n\t\t\t\t\tfont-size: 12px;\n\t\t\t\t\tfont-weight: 300;\n\t\t\t\t\tcolor: #646464;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n</style>","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../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!./my-add-school.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../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!./my-add-school.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657611033858\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 ","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!./my-add-school.vue?vue&type=style&index=1&id=769ac444&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!./my-add-school.vue?vue&type=style&index=1&id=769ac444&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-scool-ytj.vue?69e7","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-scool-ytj.vue?6d5f","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-scool-ytj.vue?1eb2","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-scool-ytj.vue?2252","uni-app:///pages/main/home/my-add-scool-ytj.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-scool-ytj.vue?e73a"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,oH,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,sBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAyI;AACzI;AACoE;AACL;AACsC;;;AAGrG;AACmN;AACnN,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,aAAa,8LAEN;AACP,KAAK;AACL;AACA,aAAa,wMAEN;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;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxDA;AAAA;AAAA;AAAA;AAA61B,CAAgB,8yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC6Fj3B;eACA;AACA,MADA,kBACA;AACA;AACA,YADA;AAEA,iBAFA;AAGA,cAHA;AAIA,eAJA;AAKA,gBALA;AAMA,kBANA;AAOA,mBAPA;AAQA;AACA,iBADA;AAEA,oBAFA;AAGA,mBAHA,EARA;;AAaA,sBAbA;AAcA,eAdA;;AAgBA,GAlBA;;AAoBA;AACA,UADA,kBACA,CADA,EACA;AACA;AACA;AACA,KAJA;;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,YAnBA,sBAmBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAPA;;;AAUA;AACA,wBADA;;AAGA;AACA;AACA;;AAEA;AACA,0BADA,GACA;AACA,qCADA;AAEA,qDAFA,EADA;;AAKA;AACA;;AAEA;AACA,mBAbA;;;AAgBA,KAjDA;;AAmDA,cAnDA,sBAmDA,KAnDA,EAmDA;AACA;AACA,KArDA;;AAuDA,aAvDA,uBAuDA;AACA;AACA,6CADA;;AAGA,KA3DA;;AA6DA,UA7DA,oBA6DA;AACA;AACA;AACA,yCADA,EADA;;AAIA,gCAJA;AAKA,eALA,mBAKA,GALA,EAKA;AACA;AACA,SAPA;;AASA,KAvEA,EApBA,E;;;;;;;;;;;;;AC9FA;AAAA;AAAA;AAAA;AAAgmD,CAAgB,q8CAAG,EAAC,C","file":"pages/main/home/my-add-scool-ytj.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/home/my-add-scool-ytj.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./my-add-scool-ytj.vue?vue&type=template&id=2e322a24&scoped=true&\"\nvar renderjs\nimport script from \"./my-add-scool-ytj.vue?vue&type=script&lang=js&\"\nexport * from \"./my-add-scool-ytj.vue?vue&type=script&lang=js&\"\nimport style0 from \"./my-add-scool-ytj.vue?vue&type=style&index=0&id=2e322a24&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 \"2e322a24\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/home/my-add-scool-ytj.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!./my-add-scool-ytj.vue?vue&type=template&id=2e322a24&scoped=true&\"","var components\ntry {\n components = {\n uTimeLine: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-time-line/u-time-line\" */ \"@/uview-ui/components/u-time-line/u-time-line.vue\"\n )\n },\n uTimeLineItem: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-time-line-item/u-time-line-item\" */ \"@/uview-ui/components/u-time-line-item/u-time-line-item.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 l0 = _vm.__map(_vm.questions, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var m0 = item.status != \"未处理\" ? _vm.timeFormat(item.createdTime) : null\n return {\n $orig: $orig,\n m0: m0\n }\n })\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n l0: l0\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!./my-add-scool-ytj.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!./my-add-scool-ytj.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"page\">\r\n\t\t<view class=\"content\">\n\t\t\t<img class=\"tjbg\" :src=\"vuex_baseImgUrl+'/resource-header-bg.png'\" alt=\"\">\n\t\t\t<img class=\"tjly\" src=\"/static/img/page/tjly_img.png\" alt=\"\">\n\t\t\t<view class=\"text1\">\n\t\t\t\t{{content}}\n\t\t\t</view>\n\t\t\t<img class=\"tjbg1\" src=\"/static/img/page/tjschool.png\" alt=\"\">\n\t\t\t<view class=\"box\">\n\t\t\t\t<view class=\"item\">\n\t\t\t\t\t<img class='icon' src=\"/static/img/page/studenticon3.png\" alt=\"\">\n\t\t\t\t\t<view class=\"t\">\n\t\t\t\t\t\t推荐学校:{{school}}\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"item\">\n\t\t\t\t\t<img class='icon' src=\"/static/img/page/studenticon1.png\" alt=\"\">\n\t\t\t\t\t<view class=\"t\">\n\t\t\t\t\t\t联系方式:{{name}}({{phone}})\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"item\">\n\t\t\t\t\t<img class='icon' src=\"/static/img/page/studenticon2.png\" alt=\"\">\n\t\t\t\t\t<view class=\"t\">\n\t\t\t\t\t\t推荐人ID:{{brokerId}}\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</view>\r\n\t\t\t<!-- <view class=\"son_content\">\r\n\t\t\t\t<view class=\"text\">\r\n\t\t\t\t\t{{content}}\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"wv\">\r\n\t\t\t\t\t<view class=\"text\">\r\n\t\t\t\t\t\t推荐学校:{{school}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"text\" style=\"margin-top: 30rpx;\">\r\n\t\t\t\t\t\t联系方式:{{name}}({{phone}})\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"text\" style=\"margin-top: 30rpx;\">\r\n\t\t\t\t\t\t推荐人ID:{{brokerId}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view> -->\r\n\t\t</view>\r\n\t\t<view class=\"timeline\">\r\n\t\t\t<view class=\"title\">\r\n\t\t\t\t处理回复\r\n\t\t\t</view>\r\n\t\t\t<u-time-line>\r\n\t\t\t\t<view v-for=\"(item,index) in questions\" :key=\"index\">\r\n\t\t\t\t\t<u-time-line-item>\r\n\t\t\t\t\t\t<template v-slot:node>\r\n\t\t\t\t\t\t\t<view :class=\"item.status == 'done'?'u-node-red':'u-node'\"></view>\r\n\t\t\t\t\t\t</template>\r\n\t\t\t\t\t\t<template v-slot:content>\r\n\t\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t\t<view v-if=\"item.status == '未处理'\" :class=\"item.status == 'done'?'u-order-title-red':'u-order-title'\">{{item.status}}</view>\n\t\t\t\t\t\t\t\t<view v-if=\"item.status == '未处理'\" class=\"u-order-desc\">{{item.comment}}</view>\n\t\t\t\t\t\t\t\t<view v-else :class=\"item.status == 'done'?'u-order-title-red':'u-order-title'\">{{keys[item.status]}}</view>\r\n\t\t\t\t\t\t\t\t<view v-if=\"item.status != '未处理'\" class=\"u-order-kf\">客服: {{item.operator}}</view>\n\t\t\t\t\t\t\t\t<view v-if=\"item.status != '未处理'\" class=\"u-order-time\">时间: {{timeFormat(item.createdTime)}}</view>\n\t\t\t\t\t\t\t\t<view v-if=\"item.status != '未处理' && item.comment\" class=\"redbg\">\n\t\t\t\t\t\t\t\t\t<view class=\"redbg_title\">\n\t\t\t\t\t\t\t\t\t\t处理回复\n\t\t\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t\t\t<view class=\"redbg_desc\">\n\t\t\t\t\t\t\t\t\t\t{{item.comment}}\n\t\t\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</template>\r\n\t\t\t\t\t</u-time-line-item>\r\n\t\t\t\t</view>\r\n\t\t\t</u-time-line>\r\n\t\t</view>\n\t\t<view style=\"height: 100rpx;\"></view>\n\t\t<view class=\"bottom\">\n\t\t\t<view style=\"width: 100%;display: flex;top: 30rpx;position: absolute; background-color: #fff;\">\n\t\t\t\t<view class=\"chat1\" @click=\"callPhone\">\n\t\t\t\t\t打电话\n\t\t\t\t</view>\n\t\t\t\t<view class=\"chat2\" @click=\"goChat\">\n\t\t\t\t\t直聊\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t</view>\t\n\t<!-- <canvas id=\"qrcode\" canvas-id=\"qrcode\" :style=\"{ width: `${size}px`, height: `${size}px` }\"></canvas> -->\n\t</view>\r\n</template>\r\n\r\n<script>\n\t// import uQRCode from '@/uni_modules/Sansnn-uQRCode/js_sdk/u-qrcode/u-qrcode.js';\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tid: '',\r\n\t\t\t\tcontent: '',\r\n\t\t\t\tname: '',\r\n\t\t\t\tphone: '',\r\n\t\t\t\tschool: '',\r\n\t\t\t\tbrokerId: '',\n\t\t\t\tquestions: [],\n\t\t\t\tkeys: {\n\t\t\t\t\tdo:'未处理',\n\t\t\t\t\tdoing: '处理中',\n\t\t\t\t\tdone: '已办结'\n\t\t\t\t},\n\t\t\t\ttext: 'asdadasd',\n\t\t\t\tsize: 128\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tmethods: {\r\n\t\t\tonLoad(e) {\r\n\t\t\t\tthis.id = e.id\r\n\t\t\t\tthis.loadData()\n\t\t\t},\n\t\t\t\n\t\t\t// onReady() {\n\t\t\t// const ctx = uni.createCanvasContext('qrcode');\n\t\t\t// const uqrcode = new uQRCode(\n\t\t\t// {\n\t\t\t// text: this.text,\n\t\t\t// size: this.size\n\t\t\t// },\n\t\t\t// ctx\n\t\t\t// );\n\t\t\t// uqrcode.make();\n\t\t\t// uqrcode.draw();\n\t\t\t// },\r\n\r\n\t\t\tloadData() {\r\n\t\t\t\tthis.$u.api.schoolTrackDetailApi(this.id).then(async res => {\r\n\t\t\t\t\tif (res) {\r\n\t\t\t\t\t\tthis.content = res.description\r\n\t\t\t\t\t\tthis.name = res.contactName\r\n\t\t\t\t\t\tthis.phone = res.contactPhone\r\n\t\t\t\t\t\tthis.brokerId = res.brokerId\r\n\t\t\t\t\t\tthis.school = res.name\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\r\n\t\t\t\tlet dic = {\r\n\t\t\t\t\ttrackId: this.id\r\n\t\t\t\t}\r\n\t\t\t\tthis.$u.api.trackRecordApi(dic).then(async res => {\r\n\t\t\t\t\tif (res) {\n\t\t\t\t\t\tthis.questions = this.questions.concat(res.records)\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (this.questions.length == 0) {\n\t\t\t\t\t\t\tlet dic1 = {\n\t\t\t\t\t\t\t\tstatus: '未处理',\n\t\t\t\t\t\t\t\tcomment: '您提交的请求正在审核中,请耐心等待~',\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tthis.questions.push(dic1)\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tconsole.log(this.questions)\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\r\n\t\t\t},\n\t\t\t\n\t\t\ttimeFormat(value, format = \"yyyy/mm/dd\") {\n\t\t\t\treturn this.$u.timeFormat(value, format);\n\t\t\t},\n\t\t\t\n\t\t\tcallPhone() {\n\t\t\t\tuni.makePhoneCall({\n\t\t\t\t\tphoneNumber: this.vuex_customer_phone\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t\tgoChat() {\n\t\t\t\twx.openCustomerServiceChat({\n\t\t\t\t\textInfo: {\n\t\t\t\t\t\turl: this.vuex_customer_chatUrl\n\t\t\t\t\t},\n\t\t\t\t\tcorpId: this.vuex_corpId,\n\t\t\t\t\tsuccess(res) {\n\t\t\t\t\t\tconsole.log(\"chat..\", res)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.page {\r\n\r\n\t\t.content {\n\t\t\tposition: relative;\r\n\t\t\twidth: 100%;\r\n\t\t\t\n\t\t\t.tjbg {\n\t\t\t\tposition: relative;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 369px;\n\t\t\t\tleft: 0;\n\t\t\t\ttop: 0;\n\t\t\t}\n\t\t\t\r\n\t\t\t.tjly {\n\t\t\t\tposition: absolute;\n\t\t\t\twidth: 202px;\n\t\t\t\theight: 18px;\n\t\t\t\tleft: 50%;\n\t\t\t\ttop: 31px;\n\t\t\t\tmargin-left: -101px;\n\t\t\t}\n\t\t\t\n\t\t\t.text1 {\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 59px;\n\t\t\t\tleft: 31px;\n\t\t\t\twidth: calc(100% - 62px);\n\t\t\t\theight: 96px;\n\t\t\t\tfont-size: 14px;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tcolor: #fff;\n\t\t\t}\n\t\t\t\n\t\t\t.tjbg1 {\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 185px;\n\t\t\t\tleft: 10px;\n\t\t\t\twidth: calc(100% - 20px);\n\t\t\t\theight: 155px;\n\t\t\t}\n\t\t\t\n\t\t\t.box {\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 237px;\n\t\t\t\tleft: 10px;\n\t\t\t\twidth: calc(100% - 20px);\n\t\t\t\theight: 84px;\n\t\t\t\tmargin-left: 23px;\n\t\t\t\t\n\t\t\t\t.item {\n\t\t\t\t\tdisplay: flex;\n\t\t\t\t\talign-items: center;\n\t\t\t\t\tmargin-bottom: 7px;\n\t\t\t\t\t\n\t\t\t\t\t.icon {\n\t\t\t\t\t\twidth: 14px;\n\t\t\t\t\t\theight: 14px;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t.t {\n\t\t\t\t\t\tmargin-left: 12px;\n\t\t\t\t\t\tfont-size: 14px;\n\t\t\t\t\t\tfont-weight: 300;\n\t\t\t\t\t\tcolor: #121212;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\r\n\t\t\t// .son_content {\r\n\t\t\t// \theight: 291px;\r\n\t\t\t// \tbackground: linear-gradient(315deg, #FFF2F3 0%, #FFFFFF 100%);\r\n\t\t\t// \tbox-shadow: 0px 0px 13px 0px rgba(92, 15, 15, 0.06);\r\n\t\t\t// \tborder-radius: 8px 8px 0px 0px;\r\n\t\t\t// \topacity: 0.92;\r\n\t\t\t// \tborder: 1px solid #FFFFFF;\r\n\t\t\t// \tpadding: 54rpx 32rpx 30rpx;\r\n\r\n\t\t\t// \t.text {\r\n\t\t\t// \t\tfont-size: 14px;\r\n\t\t\t// \t\tfont-weight: 300;\r\n\t\t\t// \t\tcolor: #121212;\r\n\t\t\t// \t}\r\n\r\n\t\t\t// \t.wv {\r\n\t\t\t// \t\twidth: 100%;\r\n\t\t\t// \t\theight: 248rpx;\r\n\t\t\t// \t\tmargin-top: 202rpx;\r\n\t\t\t// \t\tbackground-color: #fff;\r\n\t\t\t// \t\tpadding: 40rpx 30rpx;\r\n\r\n\t\t\t// \t\t.text {\r\n\t\t\t// \t\t\tfont-size: 14px;\r\n\t\t\t// \t\t\tfont-weight: 500;\r\n\t\t\t// \t\t\tcolor: #121212;\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\t.timeline {\r\n\t\t\tpadding: 56rpx 40rpx;\r\n\r\n\t\t\t.title {\r\n\t\t\t\tfont-size: 16px;\r\n\t\t\t\tfont-weight: 500;\r\n\t\t\t\tcolor: #26292F;\r\n\t\t\t\tmargin-bottom: 76rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.u-node {\r\n\t\t\t\twidth: 8px;\r\n\t\t\t\theight: 8px;\r\n\t\t\t\tborder-radius: 8rpx;\r\n\t\t\t\tbackground: #E5E5E6;\r\n\t\t\t}\n\t\t\t\n\t\t\t.u-node-red {\n\t\t\t\twidth: 8px;\n\t\t\t\theight: 8px;\n\t\t\t\tborder-radius: 8rpx;\n\t\t\t\tbackground: red;\n\t\t\t}\r\n\r\n\t\t\t.u-order-title {\r\n\t\t\t\tcolor: #333333;\r\n\t\t\t\tfont-weight: bold;\r\n\t\t\t\tfont-size: 32rpx;\r\n\t\t\t}\n\t\t\t\n\t\t\t.u-order-title-red {\n\t\t\t\tcolor: red;\n\t\t\t\tfont-weight: bold;\n\t\t\t\tfont-size: 32rpx;\n\t\t\t}\r\n\r\n\t\t\t.u-order-desc {\r\n\t\t\t\tcolor: rgb(150, 150, 150);\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\tmargin-top: 40rpx;\n\t\t\t\tmargin-bottom: 60rpx;\r\n\t\t\t}\n\t\t\t\n\t\t\t.u-order-kf {\n\t\t\t\tmargin-top: 20px;\n\t\t\t\tfont-size: 14px;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tcolor: #8C8E91;\n\t\t\t}\r\n\r\n\t\t\t.u-order-time {\n\t\t\t\tmargin-top: 6px;\n\t\t\t\tfont-size: 14px;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tcolor: #8C8E91;\r\n\t\t\t}\n\t\t\t\n\t\t\t.redbg {\n\t\t\t\tposition: relative;\n\t\t\t\twidth: 100%;\n\t\t\t\tpadding: 30rpx 24rpx;\n\t\t\t\tbackground: rgba(255, 13, 22, 0.03);\n\t\t\t\tmargin-top: 20rpx;\n\t\t\t\tmargin-bottom: 60rpx;\n\t\t\t\t\n\t\t\t\t.redbg_title {\n\t\t\t\t\tfont-size: 14px;\n\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\tcolor: #999999;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t.redbg_desc {\n\t\t\t\t\tmargin-top: 10rpx;\n\t\t\t\t\tfont-size: 14px;\n\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\tcolor: #121212;\n\t\t\t\t}\n\t\t\t}\r\n\t\t}\n\t\t\n\t\t.bottom {\n\t\t\twidth: 100%;\n\t\t\theight: 180rpx;\n\t\t\tposition: fixed;\n\t\t\tbackground-color: #FFFFFF;\n\t\t\tbottom: 0;\n\t\t\tpadding: 12px 32rpx 0;\n\t\t\n\t\t\t.chat1 {\n\t\t\t\twidth: calc(106/375*100%);\n\t\t\t\theight: 44px;\n\t\t\t\tbackground: #F7F7F7;\n\t\t\t\tborder-radius: 4px;\n\t\t\t\tborder: 1px solid #E5E5E6;\n\t\t\t\tfont-size: 17px;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tcolor: #646464;\n\t\t\t\ttext-align: center;\n\t\t\t\tline-height: 44px;\n\t\t\t}\n\t\t\t\n\t\t\t.chat2 {\n\t\t\t\twidth: calc(217/375*100%);\n\t\t\t\theight: 44px;\n\t\t\t\tbackground: linear-gradient(331deg, #FF5E00 0%, #FF001A 100%);\n\t\t\t\tborder-radius: 4px;\n\t\t\t\tfont-size: 17px;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tcolor: #FFFFFF;\n\t\t\t\tline-height: 17px;\n\t\t\t\ttext-align: center;\n\t\t\t\tline-height: 44px;\n\t\t\t\tmargin-left: calc(20/375*100%);\n\t\t\t}\n\t\t\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!./my-add-scool-ytj.vue?vue&type=style&index=0&id=2e322a24&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!./my-add-scool-ytj.vue?vue&type=style&index=0&id=2e322a24&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-student-detail.vue?1ad8","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-student-detail.vue?254a","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-student-detail.vue?19e1","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-student-detail.vue?e6ad","uni-app:///pages/main/home/my-add-student-detail.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-student-detail.vue?7b8a"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":"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","file":"pages/main/home/my-add-student-detail.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/home/my-add-student-detail.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./my-add-student-detail.vue?vue&type=template&id=829b0de6&scoped=true&\"\nvar renderjs\nimport script from \"./my-add-student-detail.vue?vue&type=script&lang=js&\"\nexport * from \"./my-add-student-detail.vue?vue&type=script&lang=js&\"\nimport style0 from \"./my-add-student-detail.vue?vue&type=style&index=0&id=829b0de6&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 \"829b0de6\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/home/my-add-student-detail.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!./my-add-student-detail.vue?vue&type=template&id=829b0de6&scoped=true&\"","var components\ntry {\n components = {\n uTimeLine: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-time-line/u-time-line\" */ \"@/uview-ui/components/u-time-line/u-time-line.vue\"\n )\n },\n uTimeLineItem: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-time-line-item/u-time-line-item\" */ \"@/uview-ui/components/u-time-line-item/u-time-line-item.vue\"\n )\n },\n uPopup: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-popup/u-popup\" */ \"@/uview-ui/components/u-popup/u-popup.vue\"\n )\n },\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-icon/u-icon\" */ \"@/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 m0 = _vm.item.startTime ? _vm.timeFormat(_vm.item.startTime) : null\n var m1 = _vm.getName(_vm.item.contactName)\n var m2 = _vm.phoneHandel(_vm.item.contactPhone)\n\n var l0 = _vm.__map(_vm.questions, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var m3 = item.status != \"未处理\" ? _vm.timeFormat(item.createdTime) : null\n return {\n $orig: $orig,\n m3: m3\n }\n })\n\n if (!_vm._isMounted) {\n _vm.e0 = function($event) {\n _vm.shareShow = false\n }\n }\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n m0: m0,\n m1: m1,\n m2: m2,\n l0: l0\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!./my-add-student-detail.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!./my-add-student-detail.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"page\">\r\n\t\t<view class=\"content\">\n\t\t\t<img class=\"tjbg\" src=\"/static/img/page/tjbg.png\" alt=\"\">\n\t\t\t<view class=\"titleV\">\n\t\t\t\t<img class=\"icon\" src=\"/static/img/page/tjbgicon.png\" alt=\"\">\n\t\t\t\t<view class=\"title\">\n\t\t\t\t\t实习需求\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<!-- <view class=\"t1\">\n\t\t\t\t我们是:{{schoolType}},有{{item.number}}名{{item.professional}}专业学生{{timeFormat(item.startTime)}}后,可以参与{{item.duration}}的实习。\n\t\t\t</view> -->\r\n\t\t\t<view class=\"son_content\">\r\n\t\t\t\t<view class=\"text\">\n\t\t\t\t\t<text>我们是:</text>\n\t\t\t\t\t<text class=\"write\">{{schoolType?schoolType:'_____'}}</text>\n\t\t\t\t\t<text>,</text>\n\t\t\t\t\t<text>有</text>\n\t\t\t\t\t<text class=\"write\">{{item.number?item.number:'_____'}}</text>\n\t\t\t\t\t<text>名</text>\n\t\t\t\t\t<text class=\"write\">{{item.professional?item.professional:'_____'}}</text>\n\t\t\t\t\t<text>专业学生</text>\n\t\t\t\t\t<text class=\"write\">{{item.startTime?timeFormat(item.startTime):'_____'}}</text>\n\t\t\t\t\t<text>后,可以参与</text>\n\t\t\t\t\t<text class=\"write\">{{item.duration?item.duration:'_____'}}</text>\n\t\t\t\t\t<text>的实习。</text>\n\t\t\t\t\t<text>要求:</text>\n\t\t\t\t\t<text class=\"write\">{{item.requirement?item.requirement=='professional_counterparts'?'专业对口':'其他':'_____'}}</text>\n\t\t\t\t\t<text>,学校所在地:</text>\n\t\t\t\t\t<text class=\"write\">{{item.province}}/{{item.city}}</text>\n\t\t\t\t\t<text>,可实习地区:</text>\n\t\t\t\t\t<text class=\"write\">{{internableLocation}}</text>\n\t\t\t\t</view>\n\t\t\t\t<!-- <view class=\"text_list\">\n\t\t\t\t\t<view class=\"item\">\n\t\t\t\t\t\t<view class=\"label1\">要求:</view>\n\t\t\t\t\t\t<view class=\"label2\">{{item.requirement?item.requirement=='professional_counterparts'?'专业对口':'其他':'_____'}}</view>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"item\">\n\t\t\t\t\t\t<view class=\"label1\">学校所在地:</view>\n\t\t\t\t\t\t<view class=\"label2\">{{item.province}}/{{item.city}}</view>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"item\">\n\t\t\t\t\t\t<view class=\"label1\">可实习地区:</view>\n\t\t\t\t\t\t<view class=\"label2\">{{internableLocation}}</view>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"item\">\n\t\t\t\t\t\t<view class=\"label1\">联系人:</view>\n\t\t\t\t\t\t<view class=\"label2\">{{getName(item.contactName)}}</view>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"item\">\n\t\t\t\t\t\t<view class=\"label1\">联系电话:</view>\n\t\t\t\t\t\t<view class=\"label2\">{{phoneHandel(item.contactPhone)}}</view>\n\t\t\t\t\t</view>\n\t\t\t\t</view> -->\r\n\t\t\t\t<!-- <view class=\"wv\">\r\n\t\t\t\t\t<view class=\"nortext\">\r\n\t\t\t\t\t\t描述内容\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"nortext\" style=\"margin-top: 20rpx;\">\r\n\t\t\t\t\t\t{{item.description}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view> -->\r\n\t\t\t</view>\n\t\t\t<img class=\"tjly\" src=\"/static/img/page/tjbg1.png\" alt=\"\">\n\t\t\t<view class=\"nortext\">\n\t\t\t\t{{item.description}}\n\t\t\t</view>\n\t\t\t<view class=\"tjitem\">\n\t\t\t\t<view class=\"item\">\n\t\t\t\t\t<view class=\"label1\">联系人:</view>\n\t\t\t\t\t<view class=\"label2\">{{getName(item.contactName)}}</view>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"item\">\n\t\t\t\t\t<view class=\"label1\">联系电话:</view>\n\t\t\t\t\t<view class=\"label2\">{{phoneHandel(item.contactPhone)}}</view>\n\t\t\t\t</view>\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"timeline\">\r\n\t\t\t<view class=\"title\">\r\n\t\t\t\t处理回复\r\n\t\t\t</view>\r\n\t\t\t<u-time-line>\r\n\t\t\t\t<view v-for=\"(item,index) in questions\" :key=\"index\">\r\n\t\t\t\t\t<u-time-line-item>\r\n\t\t\t\t\t\t<template v-slot:node>\r\n\t\t\t\t\t\t\t<view :class=\"item.status == 'done'?'u-node-red':'u-node'\"></view>\r\n\t\t\t\t\t\t</template>\r\n\t\t\t\t\t\t<template v-slot:content>\r\n\t\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t\t<view v-if=\"item.status == '未处理'\" :class=\"item.status == 'done'?'u-order-title-red':'u-order-title'\">{{item.status}}</view>\n\t\t\t\t\t\t\t\t<view v-if=\"item.status == '未处理'\" class=\"u-order-desc\">{{item.comment}}</view>\n\t\t\t\t\t\t\t\t<view v-else :class=\"item.status == 'done'?'u-order-title-red':'u-order-title'\">{{keys[item.status]}}</view>\r\n\t\t\t\t\t\t\t\t<view v-if=\"item.status != '未处理'\" class=\"u-order-kf\">客服: {{item.operator}}</view>\n\t\t\t\t\t\t\t\t<view v-if=\"item.status != '未处理'\" class=\"u-order-time\">时间: {{timeFormat(item.createdTime)}}</view>\n\t\t\t\t\t\t\t\t<view v-if=\"item.status != '未处理' && item.comment\" class=\"redbg\">\n\t\t\t\t\t\t\t\t\t<view class=\"redbg_title\">\n\t\t\t\t\t\t\t\t\t\t处理回复\n\t\t\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t\t\t<view v-if=\"item.comment\" class=\"redbg_desc\">\n\t\t\t\t\t\t\t\t\t\t{{item.comment}}\n\t\t\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t\t\t<view v-if=\"item.status != '未处理' && item.matchedNumber!=0\" class=\"yppv\">\n\t\t\t\t\t\t\t\t\t\t<view class=\"yppv_title\">已匹配:</view>\n\t\t\t\t\t\t\t\t\t\t<view class=\"yppv_people\">{{item.matchedNumber}}人</view>\n\t\t\t\t\t\t\t\t\t\t<view class=\"yppv_jump\" @click=\"yppvJump(item.trackId,item.id)\">查看清单</view>\n\t\t\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</template>\r\n\t\t\t\t\t</u-time-line-item>\r\n\t\t\t\t</view>\r\n\t\t\t</u-time-line>\r\n\t\t</view>\n\t\t<view style=\"height: 100rpx;\"></view>\n\t\t<view class=\"btView\">\n\t\t\t<view class=\"flow\" @click=\"goShare()\">\n\t\t\t\t<img class=\"flowIcon\" src=\"/static/img/page/sharemini.png\" alt=\"\">\n\t\t\t\t<view>分享</view>\n\t\t\t</view>\n\t\t\t<view class=\"flow\" @click=\"callPhone()\">\n\t\t\t\t<img class=\"flowIcon\" src=\"/static/img/common/call-phone.png\" alt=\"\">\n\t\t\t\t<view>打电话</view>\n\t\t\t</view>\n\t\t\t<view class=\"botBtn\" @click=\"goChat()\">直聊</view>\n\t\t\t<view class=\"line\"></view>\n\t\t</view>\n\t\t<view>\n\t\t\t<u-popup v-model=\"shareShow\" mode=\"bottom\" border-radius=\"24\" height=\"255px\">\n\t\t\t\t<view class=\"share_box\" style=\"padding: 20px 16px;\">\n\t\t\t\t\t<view style=\"display: flex;justify-content: space-between;align-items: center;\">\n\t\t\t\t\t\t<view style=\"font-size: 17px;font-weight: 500;color: #26292F;\">\n\t\t\t\t\t\t\t分享\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<u-icon name=\"close\" color=\"#333333\" size=\"24\" @click=\"shareShow=false\"></u-icon>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view @click=\"share(1)\"\n\t\t\t\t\t\tstyle=\"position: relative;width: 100%;height: 63px;background: rgba(0, 0, 0, 0.02);border-radius: 4px;margin-top: 50rpx; display: flex;justify-content: space-between;align-items: center;padding: 15px 16px;align-items: center;\">\n\t\t\t\t\t\t<view style=\"display: flex;align-items: center;\">\n\t\t\t\t\t\t\t<img style=\"width: 66rpx;height: 66rpx;\" src=\"/static/img/page/wxshare.png\" alt=\"\">\n\t\t\t\t\t\t\t<view style=\"font-size: 16px;font-weight: 500;color: #26292F; margin-left: 24rpx;\">\n\t\t\t\t\t\t\t\t转发给好友/群聊\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t<button class=\"openChat\" open-type='share'></button>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<u-icon class=\"arrowRight\" name=\"arrow-right\" color=\"#595C60\" size=\"22\"></u-icon>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view @click=\"share(2)\"\n\t\t\t\t\t\tstyle=\"width: 100%;height: 63px;background: rgba(0, 0, 0, 0.02);border-radius: 4px;margin-top: 30rpx; display: flex;justify-content: space-between;align-items: center;padding: 15px 16px;align-items: center;\">\n\t\t\t\t\t\t<view style=\"display: flex;align-items: center;\">\n\t\t\t\t\t\t\t<img style=\"width: 66rpx;height: 66rpx;\" src=\"/static/img/page/hbshare.png\" alt=\"\">\n\t\t\t\t\t\t\t<view style=\"font-size: 16px;font-weight: 500;color: #26292F; margin-left: 24rpx;\">\n\t\t\t\t\t\t\t\t生成海报\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<u-icon class=\"arrowRight\" name=\"arrow-right\" color=\"#595C60\" size=\"22\"></u-icon>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</u-popup>\n\t\t</view>\n\t</view>\r\n</template>\r\n\r\n<script>\n\timport {schoolTypeOptions} from '@/common/util.js'\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tid: '',\r\n\t\t\t\titem: {},\n\t\t\t\tquestions: [],\n\t\t\t\tinternableLocation:'',\n\t\t\t\tschoolTypeOptions,\n\t\t\t\tschoolType: null,\n\t\t\t\tshareShow: false,\n\t\t\t\tkeys: {\n\t\t\t\t\tdo:'未处理',\n\t\t\t\t\tdoing: '处理中',\n\t\t\t\t\tdone: '已办结'\n\t\t\t\t},\r\n\t\t\t}\r\n\t\t},\n\t\t\n\t\tonShareAppMessage(res) {\n\t\t\tif (res.from === 'button') {\n\t\t\t\tconsole.log(res.target)\n\t\t\t}\n\t\t\treturn {\n\t\t\t\ttitle: '资源分享',\n\t\t\t\tpath: `pages/main/resource/resource-detail?id=${this.id}`,\n\t\t\t}\n\n\t\t},\r\n\r\n\t\tmethods: {\r\n\t\t\tonLoad(e) {\r\n\t\t\t\tthis.id = e.id\r\n\t\t\t\tthis.loadData()\n\t\t\t},\r\n\r\n\t\t\tloadData() {\n\t\t\t\tthis.$u.api.internshipTrackdetailApi(this.id).then(async res => {\n\t\t\t\t\tif (res) {\n\t\t\t\t\t\tthis.item = res\n\t\t\t\t\t\t\n\t\t\t\t\t\tlet cityCodes = JSON.parse(res.internableLocation)\n\t\t\t\t\t\tlet addpennd1 = ''\n\t\t\t\t\t\tfor (var i = 0; i < cityCodes.length; i++) {\n\t\t\t\t\t\t\taddpennd1 += cityCodes[i].city\n\t\t\t\t\t\t\tif (i != cityCodes.length -1) {\n\t\t\t\t\t\t\t\taddpennd1 = addpennd1 += '/'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis.internableLocation = addpennd1\n\t\t\t\t\t\t\n\t\t\t\t\t\tfor (var i = 0; i < this.schoolTypeOptions.length; i++) {\n\t\t\t\t\t\t\tif (this.schoolTypeOptions[i].value == res.schoolType) {\n\t\t\t\t\t\t\t\tthis.schoolType = this.schoolTypeOptions[i].label\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\r\n\r\n\t\t\t\tlet dic = {\r\n\t\t\t\t\ttrackId: this.id\r\n\t\t\t\t}\r\n\t\t\t\tthis.$u.api.trackRecordApi(dic).then(async res => {\r\n\t\t\t\t\tif (res) {\n\t\t\t\t\t\tthis.questions = this.questions.concat(res.records)\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (this.questions.length == 0) {\n\t\t\t\t\t\t\tlet dic1 = {\n\t\t\t\t\t\t\t\tstatus: '未处理',\n\t\t\t\t\t\t\t\tcomment: '您提交的请求正在审核中,请耐心等待~',\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tthis.questions.push(dic1)\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tconsole.log(this.questions)\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\r\n\t\t\t},\n\t\t\t\n\t\t\ttimeFormat(value, format = \"yyyy/mm/dd\") {\n\t\t\t\treturn this.$u.timeFormat(value, format);\n\t\t\t},\n\t\t\t\n\t\t\tphoneHandel(tel) {\n\t\t\t if(!tel) return tel;\n\t\t\t const phone = tel.replace(tel.substring(3,7),'****')\n\t\t\t return phone\n\t\t\t},\n\t\t\t \n\t\t\tgetName(name) {\n\t\t\t if(null != name && name != undefined) {\n\t\t\t if(name.length == 2) {\n\t\t\t return name.substring(0,1) + '*' // 截取name的第一个字符,第二个字符变成*\n\t\t\t } else if(name.length == 3) {\n\t\t\t return name.substring(0,1) + '*' + name.substring(2,3) // 截取name的第一个和第三个字符,第二个字符变成*\n\t\t\t } else if(name.length > 3) {\n\t\t\t return name.substring(0,1) + '*' + '*' + name.substring(3,name.length)\n\t\t\t }\n\t\t\t } else {\n\t\t\t return ''\n\t\t\t }\n\t\t\t},\n\t\t\t\n\t\t\typpvJump(t,r) {\n\t\t\t\tlet params = {\n\t\t\t\t\ttrackId: t,\n\t\t\t\t\trecordId: r,\n\t\t\t\t}\n\t\t\t\tthis.$u.route({\n\t\t\t\t\turl: '/pages/main/home/my-add-look-list',\n\t\t\t\t\tparams: params,\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t\tcallPhone() {\n\t\t\t\tuni.makePhoneCall({\n\t\t\t\t\tphoneNumber: this.item.contactPhone\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t\tgoChat() {\n\t\t\t\twx.openCustomerServiceChat({\n\t\t\t\t\textInfo: {\n\t\t\t\t\t\turl: this.vuex_customer_chatUrl\n\t\t\t\t\t},\n\t\t\t\t\tcorpId: this.vuex_corpId,\n\t\t\t\t\tsuccess(res) {\n\t\t\t\t\t\tconsole.log(\"chat..\", res)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t\tgoShare(item) {\n\t\t\t\t// this.nowItem = item\n\t\t\t\tthis.shareShow = true\n\t\t\t},\n\t\t\t\n\t\t\tshare(t) {\n\t\t\t\tif (t == 1) {\n\t\t\t\n\t\t\t\t} else {\n\t\t\t\t\tlet params = {\n\t\t\t\t\t\tid: this.id\n\t\t\t\t\t}\n\t\t\t\t\tthis.$u.route({\n\t\t\t\t\t\turl: '/pages/main/home/work-hb-share',\n\t\t\t\t\t\tparams: params,\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.page {\r\n\r\n\t\t.content {\r\n\t\t\twidth: 100%;\n\t\t\tposition: relative;\n\t\t\t\n\t\t\t.tjbg {\n\t\t\t\tposition: relative;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 420px;\n\t\t\t\tleft: 0;\n\t\t\t\ttop: 0;\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t.titleV {\n\t\t\t\tposition: absolute;\n\t\t\t\tleft: 20px;\n\t\t\t\ttop: 31px;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\t\n\t\t\t\t.icon {\n\t\t\t\t\twidth: 25px;\n\t\t\t\t\theight: 25px;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t.title {\n\t\t\t\t\tfont-size: 18px;\n\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\tcolor: #121212;\n\t\t\t\t\tmargin-left: 3px;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t.son_content {\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 68px;\n\t\t\t\tleft: 20px;\n\t\t\t\twidth: calc(100% - 40px);\n\t\t\t\theight: 100px;\n\t\t\t\t\n\t\t\t\t.text {\n\t\t\t\t\ttext {\n\t\t\t\t\t\tfont-size: 14px;\n\t\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\t\tcolor: #121212;\n\t\t\t\t\t\tline-height: 24px;\n\t\t\t\t\t\tmargin-left: 10rpx;\n\t\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\t.write {\n\t\t\t\t\t\tcolor: #D2791C;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t.tjly {\n\t\t\t\tposition: absolute;\n\t\t\t\twidth: calc(100% - 24px);\n\t\t\t\theight: 246px;\n\t\t\t\ttop: 174px;\n\t\t\t\tleft: 12px;\n\t\t\t}\n\t\t\t\n\t\t\t.nortext {\n\t\t\t\tposition: absolute;\n\t\t\t\twidth: calc(100% - 62px);\n\t\t\t\theight: 78px;\n\t\t\t\ttop: 230px;\n\t\t\t\tleft: 31px;\n\t\t\t}\n\t\t\t\n\t\t\t.tjitem {\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 330px;\n\t\t\t\tleft: 45px;\n\t\t\t\n\t\t\t\t.item {\n\t\t\t\t\tdisplay: flex;\n\t\t\t\t\tmargin-top: 7px;\n\t\t\t\t\t\n\t\t\t\t\t.label1 {\n\t\t\t\t\t\tfont-size: 13px;\n\t\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\t\tcolor: #121212;\n\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t.label2 {\n\t\t\t\t\t\tmargin-left: 10rpx;\n\t\t\t\t\t\tfont-size: 13px;\n\t\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\t\tcolor: #D2791C;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\r\n\t\t.timeline {\r\n\t\t\tpadding: 56rpx 40rpx;\r\n\r\n\t\t\t.title {\r\n\t\t\t\tfont-size: 16px;\r\n\t\t\t\tfont-weight: 500;\r\n\t\t\t\tcolor: #26292F;\r\n\t\t\t\tmargin-bottom: 76rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.u-node {\r\n\t\t\t\twidth: 8px;\r\n\t\t\t\theight: 8px;\r\n\t\t\t\tborder-radius: 8rpx;\r\n\t\t\t\tbackground: #E5E5E6;\r\n\t\t\t}\n\t\t\t\n\t\t\t.u-node-red {\n\t\t\t\twidth: 8px;\n\t\t\t\theight: 8px;\n\t\t\t\tborder-radius: 8rpx;\n\t\t\t\tbackground: red;\n\t\t\t}\r\n\r\n\t\t\t.u-order-title {\r\n\t\t\t\tcolor: #333333;\r\n\t\t\t\tfont-weight: bold;\r\n\t\t\t\tfont-size: 32rpx;\r\n\t\t\t}\n\t\t\t\n\t\t\t.u-order-title-red {\n\t\t\t\tcolor: red;\n\t\t\t\tfont-weight: bold;\n\t\t\t\tfont-size: 32rpx;\n\t\t\t}\r\n\r\n\t\t\t.u-order-desc {\r\n\t\t\t\tcolor: rgb(150, 150, 150);\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\tmargin-top: 40rpx;\n\t\t\t\tmargin-bottom: 60rpx;\r\n\t\t\t}\n\t\t\t\n\t\t\t.u-order-kf {\n\t\t\t\tmargin-top: 20px;\n\t\t\t\tfont-size: 14px;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tcolor: #8C8E91;\n\t\t\t}\r\n\r\n\t\t\t.u-order-time {\n\t\t\t\tmargin-top: 6px;\n\t\t\t\tfont-size: 14px;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tcolor: #8C8E91;\r\n\t\t\t}\n\t\t\t\n\t\t\t.redbg {\n\t\t\t\tposition: relative;\n\t\t\t\twidth: 100%;\n\t\t\t\tpadding: 30rpx 24rpx;\n\t\t\t\tbackground: rgba(255, 13, 22, 0.03);\n\t\t\t\tmargin-top: 20rpx;\n\t\t\t\tmargin-bottom: 60rpx;\n\t\t\t\t\n\t\t\t\t.redbg_title {\n\t\t\t\t\tfont-size: 14px;\n\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\tcolor: #999999;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t.redbg_desc {\n\t\t\t\t\tmargin-top: 10rpx;\n\t\t\t\t\tfont-size: 14px;\n\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\tcolor: #121212;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t.yppv {\n\t\t\t\t\tdisplay: flex;\n\t\t\t\t\tmargin-top: 20rpx;\n\t\t\t\t\tfont-size: 14px;\n\t\t\t\t\t\n\t\t\t\t\t.yppv_title {\n\t\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\t\tcolor: #646464;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t.yppv_people {\n\t\t\t\t\t\tmargin-left: 10rpx;\n\t\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\t\tcolor: #121212;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t.yppv_jump {\n\t\t\t\t\t\tmargin-left: 10rpx;\n\t\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\t\tcolor: #FF0D16;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\r\n\t\t}\n\t\t\n\t\t.btView {\n\t\t\tposition: fixed;\n\t\t\tbottom: 0;\n\t\t\twidth: 100%;\n\t\t\theight: 180rpx;\n\t\t\tbackground-color: #fff;\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: space-between;\n\t\t\tpadding: 30rpx 0;\n\t\t\n\t\t\t.flow {\n\t\t\t\tdisplay: flex;\n\t\t\t\tflex-direction: column;\n\t\t\t\t flex: 1;\n\t\t\t\t align-items: center;\n\t\t\t\t\n\t\t\t\t.flowIcon {\n\t\t\t\t\twidth: 48rpx;\n\t\t\t\t\theight: 48rpx;\n\t\t\t\t\tmargin-bottom: 8rpx;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tview {\n\t\t\t\t\tfont-size: 10px;\n\t\t\t\t\tfont-weight: 300;\n\t\t\t\t\tcolor: #121212;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t.botBtn {\n\t\t\t\theight: 44px;\n\t\t\t\tflex: 5;\n\t\t\t\tbackground: linear-gradient(331deg, #FF5E00 0%, #FF001A 100%);\n\t\t\t\tborder-radius: 4px;\n\t\t\t\tfont-size: 17px;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tcolor: #FFFFFF;\n\t\t\t\ttext-align: center;\n\t\t\t\tline-height: 44px;\n\t\t\t\tmargin-right: 40rpx;\n\t\t\t}\n\t\t\t\n\t\t\t.line {\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 0;\n\t\t\t\tleft: 0;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 1px;\n\t\t\t\tborder: 1px solid #F0F0F1;\n\t\t\t}\n\t\t}\n\t\t\n\t\t.share_box {\n\t\t\t.openChat {\n\t\t\t\ttop: 0;\n\t\t\t\tleft: 0;\n\t\t\t\tposition: absolute;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t\topacity: 0;\n\t\t\t\tz-index: 999;\n\t\t\t}\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!./my-add-student-detail.vue?vue&type=style&index=0&id=829b0de6&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!./my-add-student-detail.vue?vue&type=style&index=0&id=829b0de6&lang=scss&scoped=true&\""],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/pages/main/home/my-add-student-histore.js.map
已删除
100644 → 0
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-student-histore.vue?a397","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-student-histore.vue?03af","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-student-histore.vue?f1ac","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-student-histore.vue?59fd","uni-app:///pages/main/home/my-add-student-histore.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-student-histore.vue?9269","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-student-histore.vue?3fec","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-student-histore.vue?37a7"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,gI,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,4BAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+I;AAC/I;AAC0E;AACL;AACa;AACyB;;;AAG3G;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,4FAAM;AACR,EAAE,6GAAM;AACR,EAAE,sHAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,iHAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACxBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5BA;AAAA;AAAA;AAAA;AAAm2B,CAAgB,ozBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACmCv3B;AACA,MADA,kBACA;AACA;AACA,YADA;AAEA,cAFA;AAGA,eAHA;;AAKA,GAPA;;AASA;AACA,UADA,kBACA,CADA,EACA;AACA;AACA;;AAEA;AACA,KANA;;AAQA,YARA,oBAQA,CARA,EAQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAHA;;AAKA,KAjBA;;AAmBA,cAnBA,sBAmBA,KAnBA,EAmBA;AACA;AACA,KArBA,EATA,E;;;;;;;;;;;;ACnCA;AAAA;AAAA;AAAA;AAAstC,CAAgB,inCAAG,EAAC,C;;;;;;;;;;;ACA1uC;AACA,OAAO,KAAU,EAAE,kBAKd;;;;;;;;;;;;;ACNL;AAAA;AAAA;AAAA;AAAsmD,CAAgB,28CAAG,EAAC,C","file":"pages/main/home/my-add-student-histore.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/home/my-add-student-histore.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./my-add-student-histore.vue?vue&type=template&id=af602618&scoped=true&\"\nvar renderjs\nimport script from \"./my-add-student-histore.vue?vue&type=script&lang=js&\"\nexport * from \"./my-add-student-histore.vue?vue&type=script&lang=js&\"\nimport style0 from \"./my-add-student-histore.vue?vue&type=style&index=0&lang=css&\"\nimport style1 from \"./my-add-student-histore.vue?vue&type=style&index=1&id=af602618&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 \"af602618\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/home/my-add-student-histore.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!./my-add-student-histore.vue?vue&type=template&id=af602618&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 l0 = _vm.__map(_vm.works, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var m0 = _vm.timeFormat(item.startTime)\n var m1 = _vm.timeFormat(item.endTime)\n return {\n $orig: $orig,\n m0: m0,\n m1: m1\n }\n })\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n l0: l0\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!./my-add-student-histore.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!./my-add-student-histore.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"page\">\n\t\t<view class=\"item_box\" v-for=\"(item,index) in works\" :key=\"index\">\n\t\t\t<view style=\"display: flex; justify-content: space-between; align-items: center;\">\n\t\t\t\t<view style=\"display: flex; align-items: center;\">\n\t\t\t\t\t<view class=\"item_name\">\n\t\t\t\t\t\t{{item.studentName}}\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"item_phone\">\n\t\t\t\t\t\t{{item.studentPhone}}\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"item_school\">\n\t\t\t\t\t{{item.schoolName}}\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view style=\"display: flex; justify-content: space-between; align-items: center; margin-top: 30rpx;\">\n\t\t\t\t<view class=\"item_msg\">\n\t\t\t\t\t{{item.jobName}} | {{item.gender=='1'?'男':'女'}} | {{item.studentAge}}岁 | {{item.studentNation}}\n\t\t\t\t</view>\n\t\t\t\t<view class=\"item_zy\">\n\t\t\t\t\t{{item.professionalName}}\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view class=\"item_gs\">\n\t\t\t\t\t{{item.companyName}}\n\t\t\t</view>\n\t\t\t<view class=\"item_time\">\n\t\t\t\t实习期:{{timeFormat(item.startTime)}} - {{timeFormat(item.endTime)}}\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\t\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tid: '',\n\t\t\t\tdate: '',\n\t\t\t\tworks: [],\n\t\t\t}\n\t\t},\n\n\t\tmethods: {\n\t\t\tonLoad(e) {\t\t\t\n\t\t\t\tthis.id = e.id\n\t\t\t\tthis.date = e.date\n\t\t\t\n\t\t\t\tthis.loadData()\n\t\t\t},\n\t\t\t\n\t\t\tloadData(e) {\n\t\t\t\tlet params = {}\n\t\t\t\tparams['date'] = this.date\n\t\t\t\tparams['companyId'] = this.id\n\t\t\t\tthis.$u.api.applyInternshiphistoryListApi(params).then(async res => {\n\t\t\t\t\tif (res) {\n\t\t\t\t\t\tthis.works = this.works.concat(res.records)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t\ttimeFormat(value, format = \"yyyy-mm-dd\") {\n\t\t\t\treturn this.$u.timeFormat(value, format);\n\t\t\t},\n\t\t\t\n\t\t}\n\t}\n</script>\n\n<style>\n\tpage {\n\t\tbackground-color: #FAFAFB;\n\t}\n</style>\n\n<style lang=\"scss\" scoped>\n\t.page {\n\t\tpadding: 20rpx;\n\t\t\n\t\t.item_box {\n\t\t\twidth: 100%;\n\t\t\theight: 300rpx;\n\t\t\tbackground-color: #fff;\n\t\t\tbox-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.06);\n\t\t\tborder-radius: 8px;\n\t\t\tpadding: 40rpx 20rpx;\n\t\t\tmargin-bottom: 30rpx;\n\t\t\t\n\t\t\t.item_name {\t\t\t\t\n\t\t\t\tfont-size: 16px;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tcolor: #121212;\n\t\t\t}\n\t\t\t\n\t\t\t.item_phone {\n\t\t\t\tfont-size: 14px;\n\t\t\t\tfont-weight: 300;\n\t\t\t\tcolor: #121212;\n\t\t\t\tmargin-left: 16rpx;\n\t\t\t}\n\t\t\t\n\t\t\t.item_school {\n\t\t\t\tfont-size: 12px;\n\t\t\t\tfont-weight: 300;\n\t\t\t\tcolor: #121212;\n\t\t\t}\n\t\t\t\n\t\t\t.item_msg {\t\t\t\t\n\t\t\t\tfont-size: 12px;\n\t\t\t\tfont-weight: 300;\n\t\t\t\tcolor: #646464;\n\t\t\t}\n\t\t\t\n\t\t\t.item_zy {\n\t\t\t\tfont-size: 12px;\n\t\t\t\tfont-weight: 300;\n\t\t\t\tcolor: #121212;\n\t\t\t}\n\t\t\t\n\t\t\t.item_gs {\t\t\t\t\n\t\t\t\tfont-size: 12px;\n\t\t\t\tfont-weight: 300;\n\t\t\t\tcolor: #646464;\n\t\t\t\tmargin-top: 20rpx;\n\t\t\t}\n\t\t\t\n\t\t\t.item_time {\n\t\t\t\tfont-size: 12px;\n\t\t\t\tfont-weight: 300;\n\t\t\t\tcolor: #646464;\n\t\t\t\tmargin-top: 30rpx;\n\t\t\t}\n\t\t}\n\t\t\n\t}\n</style>","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../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!./my-add-student-histore.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../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!./my-add-student-histore.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657611032629\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 ","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!./my-add-student-histore.vue?vue&type=style&index=1&id=af602618&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!./my-add-student-histore.vue?vue&type=style&index=1&id=af602618&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-student-work.vue?157c","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-student-work.vue?866f","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-student-work.vue?f26a","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-student-work.vue?0a1f","uni-app:///pages/main/home/my-add-student-work.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-student-work.vue?1937","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-student-work.vue?b210","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-student-work.vue?94f0"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":"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","file":"pages/main/home/my-add-student-work.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/home/my-add-student-work.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./my-add-student-work.vue?vue&type=template&id=441220cd&scoped=true&\"\nvar renderjs\nimport script from \"./my-add-student-work.vue?vue&type=script&lang=js&\"\nexport * from \"./my-add-student-work.vue?vue&type=script&lang=js&\"\nimport style0 from \"./my-add-student-work.vue?vue&type=style&index=0&lang=css&\"\nimport style1 from \"./my-add-student-work.vue?vue&type=style&index=1&id=441220cd&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 \"441220cd\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/home/my-add-student-work.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!./my-add-student-work.vue?vue&type=template&id=441220cd&scoped=true&\"","var components\ntry {\n components = {\n uCalendar: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-calendar/u-calendar\" */ \"@/uview-ui/components/u-calendar/u-calendar.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 m0 = _vm.timeFormat(_vm.item.publishTime)\n\n var l0 = _vm.__map(_vm.lists, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var g0 = _vm.nowSel == \"报名\" ? _vm.selects.includes(item.id) : null\n return {\n $orig: $orig,\n g0: g0\n }\n })\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n m0: m0,\n l0: l0\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!./my-add-student-work.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!./my-add-student-work.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"page\">\r\n\t\t<view class=\"content\">\r\n\t\t\t<view class=\"box\">\r\n\t\t\t\t<view class=\"title\">\r\n\t\t\t\t\t{{item.name}}\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"price\">\r\n\t\t\t\t\t{{wage}}\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"desc\">\r\n\t\t\t\t\t{{item.province}}/{{item.city}} | {{flags}} | {{item.practicePeriod}}个月 | {{item.recruitingNumber}}人\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"work\">\r\n\t\t\t\t\t{{item.contactName}}\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"date\">\r\n\t\t\t\t{{timeFormat(item.publishTime)}}\r\n\t\t\t</view>\r\n\t\t\t<!-- <view class=\"code\">\n\t\t\t\t<canvas id=\"qrcode\" canvas-id=\"qrcode\" :style=\"{ width: `${size}px`, height: `${size}px` }\"></canvas>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"code_desc\">\r\n\t\t\t\t推荐二维码\r\n\t\t\t</view> -->\r\n\t\t</view>\r\n\t\t<view class=\"list\">\r\n\t\t\t<view class=\"list_title\">\r\n\t\t\t\t学生报名明细\r\n\t\t\t</view>\r\n\t\t\t<view class=\"line\"></view>\r\n\t\t\t<view style=\"display: flex;justify-content: space-around; margin-bottom: 20rpx;\">\r\n\t\t\t\t<view :class=\"nowSel == item?'list_item_sel':'list_item_nor'\" v-for=\"(item,index) in tags\"\r\n\t\t\t\t\t@click=\"listItemSEl(item)\">\r\n\t\t\t\t\t{{item}}\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"list_box\" v-for=\"(item,index) in lists\">\r\n\t\t\t\t<view style=\"display: flex;\">\r\n\t\t\t\t\t<view v-if=\"nowSel == '报名'\" class=\"recommend_select_view\" @click.stop=\"clickRecommendBox(item)\">\r\n\t\t\t\t\t\t<image class=\"recommend_select\"\r\n\t\t\t\t\t\t\t:src=\"selects.includes(item.id)?'/static/img/page/allsel.png':'/static/img/page/nosel.png'\"\r\n\t\t\t\t\t\t\tmode=\"\">\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view style=\"display: flex;flex-direction: column;width: 100%;\">\r\n\t\t\t\t\t\t<view style=\"display: flex; align-items: center;\">\r\n\t\t\t\t\t\t\t<view class=\"title\">\r\n\t\t\t\t\t\t\t\t{{item.contactName}}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"phone\">\r\n\t\t\t\t\t\t\t\t{{item.contactPhone}}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"desc\">\r\n\t\t\t\t\t\t\t{{item.schoolName}} | {{item.professionalName}} | {{item.gender=='1'?'男':'女'}} |\r\n\t\t\t\t\t\t\t{{item.age}}岁 | {{item.nation}}\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view v-if=\"nowSel == '报名'\">\r\n\t\t\t<view style=\"height: 100rpx;\"></view>\r\n\t\t\t<view class=\"bottom\">\r\n\t\t\t\t<view style=\"width: 100%;display: flex;top: 30rpx;position: absolute; background-color: #fff;\">\r\n\t\t\t\t\t<view class=\"chat1\" @click=\"enter(1)\">\r\n\t\t\t\t\t\t删除\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"chat2\" @click=\"enter(2)\">\r\n\t\t\t\t\t\t批量提交\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- <u-calendar v-model=\"rlshow\" :mode=\"mode\" @change=\"change\" :max-date=\"'2030-12-01'\" start-text=\"'开始'\" :end-text=\"'结束'\" :range-color=\"'#333'\"></u-calendar> -->\n\t\t<u-calendar v-model=\"rlshow\" :mode=\"'range'\" :active-bg-color=\"'#FF001A'\" :max-date=\"'2030-12-01'\" :range-bg-color=\"'rgba(255, 0, 26, 0.13)'\" :btn-type=\"'error'\" @change=\"change\" :start-text=\"'开始'\" :end-text=\"'结束'\"\n\t\t\t:toolTip=\"'选择开始/结束时间'\"></u-calendar>\n\t</view>\r\n</template>\r\n\r\n<script>\n\timport uQRCode from '@/uni_modules/Sansnn-uQRCode/js_sdk/u-qrcode/u-qrcode.js';\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\n\t\t\t\tid: '',\r\n\t\t\t\titem: {},\r\n\t\t\t\twage: '',\r\n\t\t\t\tflags: '',\r\n\t\t\t\twageTypes: {\r\n\t\t\t\t\t\"monthly\": \"月\",\r\n\t\t\t\t\t\"daily\": \"日\",\r\n\t\t\t\t\t\"hourly\": \"时\",\r\n\t\t\t\t\t\"annual\": \"年\"\r\n\t\t\t\t},\r\n\t\t\t\ttags: ['报名', '待审核', '驳回', '入职'],\r\n\t\t\t\tnowSel: '报名',\r\n\t\t\t\tselects: [],\r\n\t\t\t\tlists: [],\r\n\t\t\t\trlshow: false,\n\t\t\t\tistype: 0,\n\t\t\t\tstart: '',\n\t\t\t\tend: '',\n\t\t\t\tqcodeText: '',\n\t\t\t\tsize: 50\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tmethods: {\r\n\t\t\tonLoad(e) {\r\n\t\t\t\tthis.id = e.id\r\n\t\t\t\tthis.loadData()\r\n\t\t\t\tthis.loadListData()\n\t\t\t\t\n\t\t\t\tthis.qcodeText = this.applyUrl\r\n\t\t\t},\n\t\t\t\n\t\t\tonReady() {\n\t\t\t const ctx = uni.createCanvasContext('qrcode');\n\t\t\t const uqrcode = new uQRCode(\n\t\t\t {\n\t\t\t text: this.qcodeText + '?brokerId=' + this.vuex_user.broker.id + '&jobId=' + this.id,\n\t\t\t size: this.size\n\t\t\t },\n\t\t\t ctx\n\t\t\t );\n\t\t\t uqrcode.make();\n\t\t\t uqrcode.draw();\n\t\t\t},\r\n\r\n\t\t\tloadData() {\r\n\t\t\t\tthis.$u.api.getJobDetailApi({id:this.id}).then(async res => {\r\n\t\t\t\t\tif (res) {\r\n\t\t\t\t\t\tthis.item = res\r\n\r\n\t\t\t\t\t\tif (\"negotiable\" == this.item.wageType) {\r\n\t\t\t\t\t\t\tthis.wage = \"薪资面议\"\r\n\t\t\t\t\t\t} else if (this.item.wageLower == this.item.wageUpper) {\r\n\t\t\t\t\t\t\tthis.wage = this.item.wageLower + '元' + \"/\" + this.wageTypes[this.item.wageType]\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tthis.wage = this.item.wageLower + '元' + \"-\" + this.item.wageUpper + '元' + \"/\" +\r\n\t\t\t\t\t\t\t\tthis\r\n\t\t\t\t\t\t\t\t.wageTypes[this.item.wageType]\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tif (res.attendanceDay) {\r\n\t\t\t\t\t\t\tlet type = ''\r\n\t\t\t\t\t\t\tif (res.attendanceType == 'week') {\r\n\t\t\t\t\t\t\t\ttype = '周'\r\n\t\t\t\t\t\t\t} else if (res.attendanceType == 'month') {\r\n\t\t\t\t\t\t\t\ttype = '月'\r\n\t\t\t\t\t\t\t} else if (res.attendanceType == 'year') {\r\n\t\t\t\t\t\t\t\ttype = '年'\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tthis.flags = `${res.attendanceDay}天/${type}`\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\r\n\t\t\t},\r\n\r\n\t\t\tloadListData() {\r\n\t\t\t\tlet dic = {\r\n\t\t\t\t\tpageNumber: '1',\r\n\t\t\t\t\tpageSize: '100',\r\n\t\t\t\t\tjobId: this.id,\r\n\t\t\t\t}\r\n\t\t\t\tif (this.nowSel == '报名') {\r\n\t\t\t\t\tdic['status'] = 'enrolled'\r\n\t\t\t\t} else if (this.nowSel == '待审核') {\r\n\t\t\t\t\tdic['status'] = 'wait'\r\n\t\t\t\t} else if (this.nowSel == '驳回') {\r\n\t\t\t\t\tdic['status'] = 'reject'\r\n\t\t\t\t} else if (this.nowSel == '入职') {\r\n\t\t\t\t\tdic['status'] = 'received'\r\n\t\t\t\t}\r\n\t\t\t\tthis.$u.api.applyInternshipApi(dic).then(async res => {\r\n\t\t\t\t\tif (res) {\r\n\t\t\t\t\t\tthis.lists = res.records\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\r\n\t\t\ttimeFormat(value, format = \"yyyy/mm/dd\") {\r\n\t\t\t\treturn this.$u.timeFormat(value, format);\r\n\t\t\t},\r\n\r\n\t\t\tlistItemSEl(e) {\r\n\t\t\t\tthis.nowSel = e\n\t\t\t\t\n\t\t\t\tthis.loadListData()\r\n\t\t\t},\r\n\r\n\t\t\tclickRecommendBox(item) {\r\n\t\t\t\tif (this.selects.length != 0) {\r\n\t\t\t\t\tif (this.selects.includes(item.id)) {\r\n\t\t\t\t\t\tthis.selects = this.selects.filter(item1 => item1 != item.id)\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.selects.push(item.id);\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.selects.push(item.id);\r\n\t\t\t\t}\r\n\t\t\t\tconsole.log(this.selects)\r\n\t\t\t},\r\n\r\n\t\t\tenter(t) {\n\t\t\t\tif (this.selects.length == 0){\n\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\ttitle: \"请选择人员\",\n\t\t\t\t\t\ticon: 'error',\n\t\t\t\t\t\tduration: 2000\n\t\t\t\t\t});\n\t\t\t\t\treturn\n\t\t\t\t}\r\n\t\t\t\tif (t == 1) {\n\t\t\t\t\tlet dic = {\n\t\t\t\t\t\t\tids: this.selects.toString(),\n\t\t\t\t\t\t\tinternshipStartTime: this.start,\n\t\t\t\t\t\t\tinternshipEndTime: this.end,\n\t\t\t\t\t\t}\n\t\t\t\t\tthis.$u.api.applyInternshipbatchDeleteApi(dic).then(async res => {\n\t\t\t\t\t\tif (res) {\n\t\t\t\t\t\t\tthis.loadListData()\n\t\t\t\t\t\t}\n\t\t\t\t\t})\r\n\t\t\t\t} else {\n\t\t\t\t\tthis.rlshow = true\t\t\t\t\t\n\t\t\t\t\tthis.istype = 2\r\n\t\t\t\t}\r\n\t\t\t},\r\n\r\n\t\t\tchange(e) {\n\t\t\t\tthis.start = new Date(e.startYear + \"/\" + e.startMonth + \"/\" + e.startDay).getTime();\n\t\t\t\tthis.end = new Date(e.endYear + \"/\" + e.endMonth + \"/\" + e.endDay).getTime();\t\t\t\n\t\t\t\tif (this.istype == 2) {\t\t\t\t\t\n\t\t\t\t\tlet dic = {\n\t\t\t\t\t\tids: this.selects.toString(),\n\t\t\t\t\t\tinternshipStartTime: this.start,\n\t\t\t\t\t\tinternshipEndTime: this.end,\n\t\t\t\t\t}\n\t\t\t\t\tthis.$u.api.applyInternshipBatchSubmitApi(dic).then(async res => {\n\t\t\t\t\t\tif (res) {\n\t\t\t\t\t\t\tthis.loadListData()\n\t\t\t\t\t\t}\n\t\t\t\t\t})\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>\r\n\tpage {\r\n\t\tbackground-color: #FAFAFB;\r\n\t}\r\n</style>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.page {\r\n\t\t.content {\r\n\t\t\tposition: relative;\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 222px;\r\n\t\t\tbackground: linear-gradient(331deg, #FF5E00 0%, #FF001A 100%);\r\n\r\n\t\t\t.box {\r\n\t\t\t\tpadding: 20px 20px;\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 100%;\r\n\r\n\t\t\t\t.title {\r\n\t\t\t\t\tfont-size: 18px;\r\n\t\t\t\t\tfont-weight: 500;\r\n\t\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.price {\r\n\t\t\t\t\tmargin-top: 20rpx;\r\n\t\t\t\t\tfont-size: 18px;\r\n\t\t\t\t\tfont-weight: bold;\r\n\t\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.desc {\r\n\t\t\t\t\tmargin-top: 20rpx;\r\n\t\t\t\t\tfont-size: 13px;\r\n\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.work {\r\n\t\t\t\t\tmargin-top: 20rpx;\r\n\t\t\t\t\tfont-size: 13px;\r\n\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.date {\r\n\t\t\t\tposition: absolute;\r\n\t\t\t\ttop: 46rpx;\r\n\t\t\t\tright: 40rpx;\r\n\t\t\t\tfont-size: 13px;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t}\n\t\t\t\n\t\t\t.code {\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 106rpx;\n\t\t\t\tright: 40rpx;\n\t\t\t}\r\n\r\n\t\t\t.code_desc {\r\n\t\t\t\tposition: absolute;\r\n\t\t\t\ttop: 210rpx;\r\n\t\t\t\tright: 45rpx;\r\n\t\t\t\tfont-size: 10px;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t\t.list {\r\n\t\t\tposition: relative;\r\n\t\t\ttop: -66px;\r\n\t\t\tleft: 20rpx;\r\n\t\t\twidth: calc(100% - 40rpx);\r\n\t\t\tmin-height: 600rpx;\r\n\t\t\tbackground-color: #fff;\r\n\t\t\tborder-radius: 8rpx;\r\n\t\t\tpadding: 52rpx 20rpx;\r\n\r\n\t\t\t.list_title {\r\n\t\t\t\tfont-size: 16px;\r\n\t\t\t\tfont-weight: 500;\r\n\t\t\t\tcolor: #121212;\r\n\t\t\t}\r\n\r\n\t\t\t.line {\r\n\t\t\t\twidth: 1005;\r\n\t\t\t\theight: 0.5px;\r\n\t\t\t\tbackground-color: #F5F5F5;\r\n\t\t\t\tmargin-top: 34rpx;\r\n\t\t\t\tmargin-bottom: 20rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.list_item_nor {\r\n\t\t\t\twidth: 74px;\r\n\t\t\t\theight: 24px;\r\n\t\t\t\tborder-radius: 2px;\r\n\t\t\t\tfont-size: 13px;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tcolor: #999999;\r\n\t\t\t\tline-height: 24px;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tbackground-color: #F2F2F2;\r\n\t\t\t}\r\n\r\n\t\t\t.list_item_sel {\r\n\t\t\t\twidth: 74px;\r\n\t\t\t\theight: 24px;\r\n\t\t\t\tborder-radius: 2px;\r\n\t\t\t\tfont-size: 13px;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\tline-height: 24px;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tbackground-color: #FF0D16;\r\n\t\t\t}\r\n\r\n\t\t\t.list_box {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 168rpx;\r\n\t\t\t\tbackground-color: #fff;\r\n\t\t\t\tpadding: 46rpx 20rpx;\r\n\r\n\t\t\t\t.recommend_select_view {\r\n\t\t\t\t\tposition: relative;\r\n\t\t\t\t\twidth: 82rpx;\r\n\t\t\t\t\theight: 168rpx;\r\n\r\n\t\t\t\t\t.recommend_select {\r\n\t\t\t\t\t\tposition: relative;\r\n\t\t\t\t\t\tleft: 0;\r\n\t\t\t\t\t\ttop: 25%;\r\n\t\t\t\t\t\tmargin-top: -16rpx;\r\n\t\t\t\t\t\twidth: 32rpx;\r\n\t\t\t\t\t\theight: 32rpx;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.title {\r\n\t\t\t\t\tfont-size: 16px;\r\n\t\t\t\t\tfont-weight: 500;\r\n\t\t\t\t\tcolor: #121212;\r\n\t\t\t\t\t// margin-left: 60rpx;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.phone {\r\n\t\t\t\t\tfont-size: 13px;\r\n\t\t\t\t\tfont-weight: 300;\r\n\t\t\t\t\tcolor: #121212;\r\n\t\t\t\t\tmargin-left: 31rpx;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.desc {\r\n\t\t\t\t\tfont-size: 13px;\r\n\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\tcolor: #26292F;\r\n\t\t\t\t\t// margin-left: 60rpx;\r\n\t\t\t\t\tmargin-top: 20rpx;\r\n\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t\t.bottom {\n\t\t\twidth: 100%;\n\t\t\theight: 180rpx;\n\t\t\tposition: fixed;\n\t\t\tbackground-color: #FFFFFF;\n\t\t\tbottom: 0;\n\t\t\tpadding: 12px 32rpx 0;\n\t\t\n\t\t\t.chat1 {\n\t\t\t\twidth: calc(106/375*100%);\n\t\t\t\theight: 44px;\n\t\t\t\tbackground: #F7F7F7;\n\t\t\t\tborder-radius: 4px;\n\t\t\t\tborder: 1px solid #E5E5E6;\n\t\t\t\tfont-size: 17px;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tcolor: #646464;\n\t\t\t\ttext-align: center;\n\t\t\t\tline-height: 44px;\n\t\t\t}\n\t\t\t\n\t\t\t.chat2 {\n\t\t\t\twidth: calc(217/375*100%);\n\t\t\t\theight: 44px;\n\t\t\t\tbackground: linear-gradient(331deg, #FF5E00 0%, #FF001A 100%);\n\t\t\t\tborder-radius: 4px;\n\t\t\t\tfont-size: 17px;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tcolor: #FFFFFF;\n\t\t\t\tline-height: 17px;\n\t\t\t\ttext-align: center;\n\t\t\t\tline-height: 44px;\n\t\t\t\tmargin-left: calc(20/375*100%);\n\t\t\t}\n\t\t\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--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../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!./my-add-student-work.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../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!./my-add-student-work.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657611032627\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 ","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!./my-add-student-work.vue?vue&type=style&index=1&id=441220cd&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!./my-add-student-work.vue?vue&type=style&index=1&id=441220cd&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-student.vue?a731","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-student.vue?63ab","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-student.vue?bb9e","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-student.vue?53fa","uni-app:///pages/main/home/my-add-student.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-student.vue?2403","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-student.vue?48d0","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-add-student.vue?e0a2"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":"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","file":"pages/main/home/my-add-student.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/home/my-add-student.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./my-add-student.vue?vue&type=template&id=11736fc1&scoped=true&\"\nvar renderjs\nimport script from \"./my-add-student.vue?vue&type=script&lang=js&\"\nexport * from \"./my-add-student.vue?vue&type=script&lang=js&\"\nimport style0 from \"./my-add-student.vue?vue&type=style&index=0&lang=css&\"\nimport style1 from \"./my-add-student.vue?vue&type=style&index=1&id=11736fc1&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 \"11736fc1\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/home/my-add-student.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!./my-add-student.vue?vue&type=template&id=11736fc1&scoped=true&\"","var components\ntry {\n components = {\n uTabs: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-tabs/u-tabs\" */ \"@/uview-ui/components/u-tabs/u-tabs.vue\"\n )\n },\n uTag: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-tag/u-tag\" */ \"@/uview-ui/components/u-tag/u-tag.vue\"\n )\n },\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-icon/u-icon\" */ \"@/uview-ui/components/u-icon/u-icon.vue\"\n )\n },\n uPicker: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-picker/u-picker\" */ \"@/uview-ui/components/u-picker/u-picker.vue\"\n )\n },\n uPopup: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-popup/u-popup\" */ \"@/uview-ui/components/u-popup/u-popup.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 if (!_vm._isMounted) {\n _vm.e0 = function($event) {\n _vm.shareShow = false\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!./my-add-student.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!./my-add-student.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"page\">\r\n\t\t<view class=\"nav\">\r\n\t\t\t<img src=\"/static/img/page/header-bg.png\" alt=\"\">\r\n\t\t\t<view class=\"tab\">\r\n\t\t\t\t<u-tabs :list=\"list\" :is-scroll=\"false\" :bg-color=\"''\" :active-color=\"'#fff'\" :inactive-color=\"'#fff'\"\r\n\t\t\t\t\t:current=\"current\" @change=\"change\"></u-tabs>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"content\">\r\n\t\t\t<scroll-view v-if=\"current==0\" scroll-y=\"true\" style=\"height: calc(100% - 117px);\" @scrolltolower=\"lower()\">\r\n\t\t\t\t<view v-if=\"works.length>0\">\n\t\t\t\t\t<view class=\"item_box\" v-for=\"(item,index) in works\" :key=\"index\"\n\t\t\t\t\t\t@click=\"popupSelItem(item,0)\">\n\t\t\t\t\t\t<view class=\"item_title\">\n\t\t\t\t\t\t\t{{item.professional}}\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<!-- <img class=\"item_icon\" src=\"/static/img/page/share.png\" alt=\"\" @click.stop=\"shareSel(item)\"> -->\n\t\t\t\t\t\t<view style=\"margin-top: 20rpx;display: flex;\">\n\t\t\t\t\t\t\t<view style=\"width: fit-content; \">\n\t\t\t\t\t\t\t\t<u-tag :text=\"item.requirement == 'professional_counterparts'?'专业对口':'其他'\"\n\t\t\t\t\t\t\t\t\tbg-color=\"#f7f7f7\" color=\"#646464\" type=\"info\" border-color=\"#f7f7f7\"/>\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t<view style=\"margin-left: 12rpx; width: fit-content; \">\n\t\t\t\t\t\t\t\t<u-tag :text=\"item.number+'人'\" bg-color=\"#f7f7f7\" color=\"#646464\" type=\"info\" border-color=\"#f7f7f7\"/>\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view class=\"item_desc\">\n\t\t\t\t\t\t\t{{item.description?item.description:'--'}}\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view class=\"item_people\">\n\t\t\t\t\t\t\t<view class=\"item\">\n\t\t\t\t\t\t\t\t已匹配({{item.matchedCount}})\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t<view class=\"item\">\n\t\t\t\t\t\t\t\t待匹配({{item.waitMatchingCount}})\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view v-else style=\"width: 100%; height: 100%;\">\n\t\t\t\t\t<view style=\"margin: 200px auto 0; width: 187px;height: 110px;\">\n\t\t\t\t\t\t<image style=\"width: 187px;height: 110px;\" :src=\"vuex_baseImgUrl+'/nodata.png'\"></image>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view style=\"width: 100%; margin-top: 10px; text-align: center; font-size: 13px; color: #121212;\">暂无数据</view>\n\t\t\t\t</view>\r\n\t\t\t</scroll-view>\r\n\t\t\t<scroll-view v-else-if=\"current==1\" scroll-y=\"true\" style=\"height: calc(100% - 117px);\" @scrolltolower=\"lower()\">\r\n\t\t\t\t<view v-if=\"works.length>0\">\n\t\t\t\t\t<view class=\"item_box1\" v-for=\"(item,index) in works\" :key=\"index\" @click=\"popupSelItem(item,1)\">\n\t\t\t\t\t\t<view class=\"item_title\">\n\t\t\t\t\t\t\t{{item.jobName}}\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view class=\"item_title1\">\n\t\t\t\t\t\t\t{{(item.city == '市辖区'||item.city == '县')?item.province:item.city}}\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view class=\"item_desc\">\n\t\t\t\t\t\t\t{{item.companyName}}\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view class=\"item_list\">\n\t\t\t\t\t\t\t<view class=\"item\">\n\t\t\t\t\t\t\t\t<view class=\"text\">报名</view>\n\t\t\t\t\t\t\t\t<view class=\"num\">{{item.enrolledCount}}</view>\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t<view class=\"item\">\n\t\t\t\t\t\t\t\t<view class=\"text\">待审核</view>\n\t\t\t\t\t\t\t\t<view class=\"num\">{{item.waitAuditCount}}</view>\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t<view class=\"item\">\n\t\t\t\t\t\t\t\t<view class=\"text\">驳回</view>\n\t\t\t\t\t\t\t\t<view class=\"num\">{{item.rejectCount}}</view>\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t<view class=\"item\">\n\t\t\t\t\t\t\t\t<view class=\"text\">入职</view>\n\t\t\t\t\t\t\t\t<view class=\"num\">{{item.inductionCount}}</view>\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view v-else style=\"width: 100%; height: 100%;\">\n\t\t\t\t\t<view style=\"margin: 200px auto 0; width: 187px;height: 110px;\">\n\t\t\t\t\t\t<image style=\"width: 187px;height: 110px;\" :src=\"vuex_baseImgUrl+'/nodata.png'\"></image>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view style=\"width: 100%; margin-top: 10px; text-align: center; font-size: 13px; color: #121212;\">暂无数据</view>\n\t\t\t\t</view>\r\n\t\t\t</scroll-view>\r\n\t\t\t<scroll-view v-if=\"current==2\" scroll-y=\"true\" style=\"height: calc(100% - 117px);\" @scrolltolower=\"lower()\">\r\n\t\t\t\t<view class=\"sel_data\" @click=\"selDataSEL\">\r\n\t\t\t\t\t<view class=\"title\" style=\"margin-right: 10rpx;\">\r\n\t\t\t\t\t\t{{currentValue}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<u-icon class=\"arrowRight\" name=\"arrow-right\" color=\"#fff\" size=\"22\"></u-icon>\r\n\t\t\t\t\t<u-picker @confirm=\"onConfirmTime\" mode=\"time\" v-model=\"time_visible\" :params=\"{\r\n\t\t\t\t\t\t\t\tyear: true,\r\n\t\t\t\t\t\t\t\tmonth: true,\r\n\t\t\t\t\t\t\t\tday: false,}\"></u-picker>\r\n\t\t\t\t</view>\n\t\t\t\t<view v-if=\"works.length>0\">\n\t\t\t\t\t<view class=\"item_box2\" v-for=\"(item,index) in works\" :key=\"index\" @click=\"popupSelItem(item,2)\">\n\t\t\t\t\t\t<view class=\"item_title\">\n\t\t\t\t\t\t\t{{item.companyName}}\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view style=\"display: flex; align-items: center;\">\n\t\t\t\t\t\t\t<view class=\"item_desc1\">\n\t\t\t\t\t\t\t\t入职\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t<view class=\"item_desc2\">\n\t\t\t\t\t\t\t\t{{item.inductionCount}}\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view v-else style=\"width: 100%; height: 100%;\">\n\t\t\t\t\t<view style=\"margin: 200px auto 0; width: 187px;height: 110px;\">\n\t\t\t\t\t\t<image style=\"width: 187px;height: 110px;\" :src=\"vuex_baseImgUrl+'/nodata.png'\"></image>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view style=\"width: 100%; margin-top: 10px; text-align: center; font-size: 13px; color: #121212;\">暂无数据</view>\n\t\t\t\t</view>\r\n\t\t\t</scroll-view>\r\n\t\t</view>\r\n\t\t<view>\r\n\t\t\t<u-popup v-model=\"shareShow\" mode=\"bottom\" border-radius=\"24\" height=\"255px\">\r\n\t\t\t\t<view class=\"share_box\" style=\"padding: 20px 16px;\">\r\n\t\t\t\t\t<view style=\"display: flex;justify-content: space-between;align-items: center;\">\r\n\t\t\t\t\t\t<view style=\"font-size: 17px;font-weight: 500;color: #26292F;\">\r\n\t\t\t\t\t\t\t分享\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<u-icon name=\"close\" color=\"#333333\" size=\"24\" @click=\"shareShow=false\"></u-icon>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view @click=\"share(1)\"\r\n\t\t\t\t\t\tstyle=\"position: relative;width: 100%;height: 63px;background: rgba(0, 0, 0, 0.02);border-radius: 4px;margin-top: 50rpx; display: flex;justify-content: space-between;align-items: center;padding: 15px 16px;align-items: center;\">\r\n\t\t\t\t\t\t<view style=\"display: flex;align-items: center;\">\r\n\t\t\t\t\t\t\t<img style=\"width: 66rpx;height: 66rpx;\" src=\"/static/img/page/wxshare.png\" alt=\"\">\r\n\t\t\t\t\t\t\t<view style=\"font-size: 16px;font-weight: 500;color: #26292F; margin-left: 24rpx;\">\r\n\t\t\t\t\t\t\t\t转发给好友/群聊\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<button class=\"openChat\" open-type='share'></button>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<u-icon class=\"arrowRight\" name=\"arrow-right\" color=\"#595C60\" size=\"22\"></u-icon>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view @click=\"share(2)\"\r\n\t\t\t\t\t\tstyle=\"width: 100%;height: 63px;background: rgba(0, 0, 0, 0.02);border-radius: 4px;margin-top: 30rpx; display: flex;justify-content: space-between;align-items: center;padding: 15px 16px;align-items: center;\">\r\n\t\t\t\t\t\t<view style=\"display: flex;align-items: center;\">\r\n\t\t\t\t\t\t\t<img style=\"width: 66rpx;height: 66rpx;\" src=\"/static/img/page/hbshare.png\" alt=\"\">\r\n\t\t\t\t\t\t\t<view style=\"font-size: 16px;font-weight: 500;color: #26292F; margin-left: 24rpx;\">\r\n\t\t\t\t\t\t\t\t生成海报\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<u-icon class=\"arrowRight\" name=\"arrow-right\" color=\"#595C60\" size=\"22\"></u-icon>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</u-popup>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tlist: [{\r\n\t\t\t\t\tname: '资源待匹配'\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '岗位待报名'\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '历史记录'\r\n\t\t\t\t}],\r\n\t\t\t\tcurrent: 0,\r\n\t\t\t\tworks: [],\r\n\t\t\t\ttime_visible: false,\r\n\t\t\t\tcurrentValue: '',\r\n\t\t\t\tcurrentTimeStmp: '',\r\n\t\t\t\tshareShow: false,\r\n\t\t\t\tnowItem: {},\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tonShareAppMessage(res) {\r\n\t\t\tif (res.from === 'button') {\r\n\t\t\t\tconsole.log(res.target)\r\n\t\t\t}\r\n\t\t\treturn {\r\n\t\t\t\ttitle: '1231',\r\n\t\t\t\tpath: '/pages/main/resource/resource-detail?',\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tmethods: {\r\n\t\t\tonLoad() {\r\n\t\t\t\tthis.workSearch()\r\n\r\n\t\t\t\tthis.currentValue = this.timeFormat(Date.now())\r\n\t\t\t\tthis.currentTimeStmp = Date.now()\r\n\t\t\t},\r\n\r\n\t\t\tpopupSelItem(item, type) {\r\n\t\t\t\tif (type == 0) {\r\n\t\t\t\t\tlet params = {\r\n\t\t\t\t\t\tid: item.id\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.$u.route({\r\n\t\t\t\t\t\turl: '/pages/main/home/my-add-student-detail',\r\n\t\t\t\t\t\tparams: params,\r\n\t\t\t\t\t})\r\n\t\t\t\t} else if (type == 1) {\r\n\t\t\t\t\tlet params = {\r\n\t\t\t\t\t\tid: item.jobId\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.$u.route({\r\n\t\t\t\t\t\turl: '/pages/main/home/my-add-student-work',\r\n\t\t\t\t\t\tparams: params,\r\n\t\t\t\t\t})\r\n\t\t\t\t} else if (type == 2) {\r\n\t\t\t\t\tlet params = {\r\n\t\t\t\t\t\tid: item.companyId,\r\n\t\t\t\t\t\tdate: this.currentTimeStmp,\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.$u.route({\r\n\t\t\t\t\t\turl: '/pages/main/home/my-add-student-histore',\r\n\t\t\t\t\t\tparams: params,\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t},\r\n\r\n\t\t\tchange(index) {\r\n\t\t\t\tthis.current = index;\r\n\t\t\t\tthis.workSearch()\r\n\t\t\t},\r\n\r\n\t\t\tlower() {\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tthis.loadData(true);\r\n\t\t\t\t}, 200)\r\n\t\t\t},\r\n\r\n\t\t\tworkSearch() {\r\n\t\t\t\tthis.works = []\r\n\t\t\t\tthis.loadData()\r\n\t\t\t},\r\n\r\n\t\t\tloadData(e) {\r\n\t\t\t\tlet params = {}\r\n\r\n\t\t\t\tif (e) {\r\n\t\t\t\t\tif (this.total <= this.works.length) {\r\n\t\t\t\t\t\treturn\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.page++\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.page = 1\r\n\t\t\t\t}\r\n\t\t\t\tparams['pageNumber'] = this.page\r\n\t\t\t\tif (this.current == 0) {\r\n\t\t\t\t\tthis.$u.api.waitMatchingListApi(params).then(async res => {\r\n\t\t\t\t\t\tif (res) {\r\n\t\t\t\t\t\t\tthis.total = res.total\r\n\t\t\t\t\t\t\tthis.works = this.works.concat(res.records)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t})\r\n\t\t\t\t} else if (this.current == 1) {\r\n\t\t\t\t\tthis.$u.api.waitEnrolledListApi(params).then(async res => {\r\n\t\t\t\t\t\tif (res) {\r\n\t\t\t\t\t\t\tthis.total = res.total\r\n\t\t\t\t\t\t\tthis.works = this.works.concat(res.records)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t})\r\n\t\t\t\t} else if (this.current == 2) {\r\n\t\t\t\t\tparams['date'] = this.currentTimeStmp\r\n\t\t\t\t\tthis.$u.api.applyInternshiphistoryApi(params).then(async res => {\r\n\t\t\t\t\t\tif (res) {\r\n\t\t\t\t\t\t\tthis.total = res.total\r\n\t\t\t\t\t\t\tthis.works = this.works.concat(res.records)\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\ttimeFormat(value, format = \"yyyy-mm\") {\r\n\t\t\t\treturn this.$u.timeFormat(value, format);\r\n\t\t\t},\r\n\r\n\t\t\tselDataSEL() {\r\n\t\t\t\tthis.time_visible = true\r\n\t\t\t},\r\n\r\n\t\t\tonConfirmTime(value) {\r\n\t\t\t\tconst millisecond = new Date().setFullYear(value.year, Number(value.month) - 1, );\r\n\t\t\t\tconst timestamp = Math.floor(millisecond / 1000);\r\n\r\n\t\t\t\tlet currentValue = this.timeFormat(timestamp)\r\n\r\n\t\t\t\tconsole.log(timestamp, currentValue)\r\n\r\n\t\t\t\tthis.currentValue = currentValue;\r\n\t\t\t\tthis.currentTimeStmp = timestamp + '000';\r\n\r\n\t\t\t\tthis.works = [];\r\n\t\t\t\tthis.loadData()\r\n\t\t\t},\r\n\r\n\t\t\tshareSel(item) {\r\n\t\t\t\tthis.nowItem = item\r\n\t\t\t\tthis.shareShow = true\r\n\t\t\t},\r\n\r\n\t\t\tshare(t) {\r\n\t\t\t\tif (t == 1) {\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\tlet params = {\r\n\t\t\t\t\t\tid: this.nowItem.id\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.$u.route({\r\n\t\t\t\t\t\turl: '/pages/main/home/work-hb-share',\r\n\t\t\t\t\t\tparams: params,\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t},\r\n\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\tpage {\r\n\t\tbackground-color: #FAFAFB;\r\n\t}\r\n</style>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.page {\n\t\theight: 100%;\n\t\t\r\n\t\t.nav {\r\n\t\t\tposition: relative;\r\n\r\n\t\t\timg {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 234rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.tab {\r\n\t\t\t\tposition: absolute;\r\n\t\t\t\ttop: 19px;\r\n\t\t\t\tleft: 0;\r\n\t\t\t\twidth: 80%;\r\n\t\t\t\tleft: 10%;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.content {\r\n\t\t\tposition: relative;\r\n\t\t\ttop: -52px;\r\n\t\t\tleft: 0;\r\n\t\t\twidth: 100%;\r\n\t\t\tpadding: 0 20rpx;\n\t\t\theight: 100%;\r\n\r\n\t\t\t.item_box {\r\n\t\t\t\tposition: relative;\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\tmin-height: 330rpx;\r\n\t\t\t\tborder-radius: 8px;\r\n\t\t\t\tbackground-color: #fff;\r\n\t\t\t\tpadding: 40rpx 30rpx;\r\n\t\t\t\tmargin-top: 20rpx;\r\n\t\t\t\tbox-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.06);\r\n\r\n\t\t\t\t.item_title {\r\n\t\t\t\t\twidth: 380rpx;\r\n\t\t\t\t\tfont-size: 16px;\r\n\t\t\t\t\tfont-weight: 500;\r\n\t\t\t\t\tcolor: #121212;\r\n\t\t\t\t\twhite-space: nowrap;\r\n\t\t\t\t\toverflow: hidden;\r\n\t\t\t\t\ttext-overflow: ellipsis;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.item_icon {\r\n\t\t\t\t\tposition: absolute;\r\n\t\t\t\t\ttop: 20px;\r\n\t\t\t\t\tright: 10px;\r\n\t\t\t\t\twidth: 120rpx;\r\n\t\t\t\t\theight: 48rpx;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.item_desc {\r\n\t\t\t\t\tmargin-top: 30rpx;\r\n\t\t\t\t\tfont-size: 12px;\r\n\t\t\t\t\tfont-weight: 300;\r\n\t\t\t\t\tcolor: #646464;\r\n\t\t\t\t\tdisplay: -webkit-box;\r\n\t\t\t\t\t-webkit-box-orient: vertical;\r\n\t\t\t\t\tline-clamp: 2;\r\n\t\t\t\t\t-webkit-line-clamp: 2;\r\n\t\t\t\t\toverflow: hidden;\r\n\t\t\t\t\ttext-overflow: ellipsis;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.item_people {\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\tmargin-top: 30rpx;\r\n\r\n\t\t\t\t\t.item {\r\n\t\t\t\t\t\tfont-size: 13px;\r\n\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\tcolor: #646464;\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.item_box1 {\r\n\t\t\t\tposition: relative;\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 290rpx;\r\n\t\t\t\tborder-radius: 8px;\r\n\t\t\t\tbackground-color: #fff;\r\n\t\t\t\tpadding: 40rpx 20rpx;\r\n\t\t\t\tmargin-top: 20rpx;\r\n\r\n\t\t\t\t.item_title {\r\n\t\t\t\t\twidth: 380rpx;\r\n\t\t\t\t\tfont-size: 16px;\r\n\t\t\t\t\tfont-weight: 500;\r\n\t\t\t\t\tcolor: #121212;\r\n\t\t\t\t\twhite-space: nowrap;\r\n\t\t\t\t\toverflow: hidden;\r\n\t\t\t\t\ttext-overflow: ellipsis;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.item_title1 {\r\n\t\t\t\t\tposition: absolute;\r\n\t\t\t\t\ttop: 22px;\r\n\t\t\t\t\tright: 10px;\r\n\t\t\t\t\tfont-size: 12px;\r\n\t\t\t\t\tfont-weight: 300;\r\n\t\t\t\t\tcolor: #121212;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.item_list {\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\tmargin-top: 30rpx;\r\n\r\n\t\t\t\t\t.item {\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\tflex-direction: column;\r\n\t\t\t\t\t\twidth: 200rpx;\r\n\r\n\t\t\t\t\t\t.text {\r\n\t\t\t\t\t\t\tfont-size: 12px;\r\n\t\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\t\tcolor: #646464;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t.num {\r\n\t\t\t\t\t\t\tmargin-top: 10rpx;\r\n\t\t\t\t\t\t\tfont-size: 18px;\r\n\t\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\t\tcolor: #FF0D16;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.item_desc {\r\n\t\t\t\t\tmargin-top: 20rpx;\r\n\t\t\t\t\tfont-size: 12px;\r\n\t\t\t\t\tfont-weight: 300;\r\n\t\t\t\t\tcolor: #646464;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.sel_data {\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tfont-size: 13px;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\tmargin-left: 20px;\r\n\t\t\t}\r\n\r\n\t\t\t.item_box2 {\r\n\t\t\t\tposition: relative;\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\tmin-height: 64px;\r\n\t\t\t\tborder-radius: 8px;\r\n\t\t\t\tbackground-color: #fff;\r\n\t\t\t\tpadding: 24px 15px;\r\n\t\t\t\tmargin-top: 20rpx;\n\t\t\t\tdisplay: flex;\n\t\t\t\tjustify-content: space-between;\n\t\t\t\talign-items: center;\r\n\r\n\t\t\t\t.item_title {\r\n\t\t\t\t\twidth: 80%;\r\n\t\t\t\t\tfont-size: 16px;\r\n\t\t\t\t\tfont-weight: 500;\r\n\t\t\t\t\tcolor: #121212;\r\n\t\t\t\t\twhite-space: nowrap;\r\n\t\t\t\t\toverflow: hidden;\r\n\t\t\t\t\ttext-overflow: ellipsis;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.item_desc1 {\r\n\t\t\t\t\tfont-size: 12px;\r\n\t\t\t\t\tfont-weight: 300;\r\n\t\t\t\t\tcolor: #646464;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.item_desc2 {\r\n\t\t\t\t\tmargin-left: 16rpx;\r\n\t\t\t\t\tfont-size: 12px;\r\n\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\tcolor: #646464;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.share_box {\r\n\t\t\t.openChat {\r\n\t\t\t\ttop: 0;\r\n\t\t\t\tleft: 0;\r\n\t\t\t\tposition: absolute;\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 100%;\r\n\t\t\t\topacity: 0;\r\n\t\t\t\tz-index: 999;\r\n\t\t\t}\r\n\t\t}\r\n\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--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../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!./my-add-student.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../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!./my-add-student.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657611032618\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 ","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!./my-add-student.vue?vue&type=style&index=1&id=11736fc1&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!./my-add-student.vue?vue&type=style&index=1&id=11736fc1&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-match-stu-list.vue?bdc3","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-match-stu-list.vue?b290","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-match-stu-list.vue?124b","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-match-stu-list.vue?beae","uni-app:///pages/main/home/my-match-stu-list.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/my-match-stu-list.vue?d0a5"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,sH,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,uBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA0I;AAC1I;AACqE;AACL;AACsC;;;AAGtG;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,uFAAM;AACR,EAAE,wGAAM;AACR,EAAE,iHAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,4GAAU;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;AAA81B,CAAgB,+yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACyCl3B;AACA,MADA,kBACA;AACA;AACA,eADA;AAEA,kBAFA;AAGA,iBAHA;AAIA,cAJA;AAKA,eALA;AAMA;AACA,sBADA;AAEA,oBAFA;AAGA,qBAHA;AAIA,qBAJA,EANA;;AAYA,kBAZA;AAaA,iBAbA;;AAeA,GAjBA;;AAmBA,QAnBA,kBAmBA,CAnBA,EAmBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GA1BA;;AA4BA;AACA,eADA,uBACA,IADA,EACA;AACA;AACA,KAHA;;AAKA,gBALA,0BAKA;AACA;AACA;AACA;;AAEA;AACA;AACA,qBAFA,MAEA;AACA;AACA,qBAFA,MAEA;AACA;AACA,+BADA,CACA,uBADA;AAEA;;AAEA;AACA,0BADA,GACA,EADA;AAEA;AACA;AACA,uBAFA,MAEA;AACA;AACA,uBAFA,MAEA;AACA;AACA;AACA;AACA;;AAEA,mBAzBA;;AA2BA,KAjCA;;AAmCA,qBAnCA,+BAmCA;AACA;AACA;AACA,KAtCA;;AAwCA,SAxCA,mBAwCA;AACA;AACA;AACA,OAFA,EAEA,GAFA;AAGA,KA5CA;;AA8CA,YA9CA,oBA8CA,CA9CA,EA8CA;AACA;AACA,+BADA;AAEA,iCAFA;;AAIA;AACA;AACA;AACA;AACA;AACA,OALA,MAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAJA;;AAMA,KAlEA,EA5BA,E;;;;;;;;;;;;ACzCA;AAAA;AAAA;AAAA;AAAimD,CAAgB,s8CAAG,EAAC,C","file":"pages/main/home/my-match-stu-list.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/home/my-match-stu-list.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./my-match-stu-list.vue?vue&type=template&id=0abbe8dd&scoped=true&\"\nvar renderjs\nimport script from \"./my-match-stu-list.vue?vue&type=script&lang=js&\"\nexport * from \"./my-match-stu-list.vue?vue&type=script&lang=js&\"\nimport style0 from \"./my-match-stu-list.vue?vue&type=style&index=0&id=0abbe8dd&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 \"0abbe8dd\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/home/my-match-stu-list.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!./my-match-stu-list.vue?vue&type=template&id=0abbe8dd&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 m0 = _vm.dateFormate(_vm.baseInfo.createdTime)\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n m0: m0\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!./my-match-stu-list.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!./my-match-stu-list.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"page\">\n\t\t<view class=\"header_bg\">\n\t\t\t<view style=\"display: flex;\">\n\t\t\t\t<view class=\"name\" style=\"max-width: 80%;\">{{baseInfo.name}}</view>\n\t\t\t\t<view class=\"text_white\" style=\"position: absolute;right:40rpx\">{{dateFormate(baseInfo.createdTime)}}</view>\n\t\t\t</view>\n\t\t\t<view style=\"display: flex;margin-top: 20rpx;\">\n\t\t\t\t<text class=\"name\">{{wage}}</text>\n\t\t\t</view>\n\t\t\t<view class=\"text_white\" style=\"display: flex;margin-top: 20rpx;height: 36rpx;align-items: flex-end;\">\n\t\t\t\t{{baseInfo.province}}/{{baseInfo.city}} | {{flags}} | {{item.practicePeriod}}个月 | {{baseInfo.recruitingNumber}}人\n\t\t\t</view>\n\t\t\t<view class=\"label\">\n\t\t\t\t<text>扁平化管理</text>\n\t\t\t\t<text>可转正实习</text>\n\t\t\t\t<text>餐补</text>\n\t\t\t\t<text>...</text>\n\t\t\t</view>\n\t\t\t<view style=\"display: flex;margin-top: 20rpx;\">\n\t\t\t\t<text class=\"text_white\">{{baseInfo.tenantName}}</text>\n\t\t\t</view>\n\t\t</view>\n\t\t<view class=\"content\">\n\t\t\t<view>学生匹配名单</view>\n\t\t\t<scroll-view scroll-y=\"true\" style=\"height: 100%;\" @scrolltolower=\"lower()\">\n\t\t\t\t<view class=\"item_box\" v-for=\"(item,index) in stuList\" :key=\"index\" style=\"padding: 36rpx 20rpx;\">\n\t\t\t\t\t<view style=\"display: flex;\">\n\t\t\t\t\t\t<text class=\"text\">{{item.contactName}}</text>\n\t\t\t\t\t\t<text class=\"mobile\">{{item.contactPhone}}</text>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"desc\">\n\t\t\t\t\t\t{{item.schoolName}} | {{item.professionalName}} | {{item.studentGender=='1'?'男':'女'}} | {{item.age}}岁 | {{item.nation}}\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</scroll-view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tjobId:\"\",\n\t\t\t\trecordId:'',\n\t\t\t\ttrackId:'',\n\t\t\t\twage: \"\",\n\t\t\t\tflags: '',\n\t\t\t\twageTypes: {\n\t\t\t\t \"monthly\": \"月\",\n\t\t\t\t\t\"daily\": \"日\",\n\t\t\t\t\t\"hourly\": \"时\",\n\t\t\t\t\t\"annual\": \"年\"\n\t\t\t\t},\n\t\t\t\tbaseInfo: {},\n\t\t\t\tstuList: []\n\t\t\t}\n\t\t},\n\n\t\tonLoad(e) {\n\t\t\tconsole.log(e)\n\t\t\tthis.jobId = e.jobId\n\t\t\tthis.trackId = e.trackId\n\t\t\tthis.recordId = e.recordId\n\t\t\tthis.getJobDetail()\n\t\t\tthis.getMatchedStuInfo()\n\t\t},\n\n\t\tmethods: {\n\t\t\tdateFormate(time) {\n\t\t\t\treturn this.$u.timeFormat(time, 'yyyy/mm/dd')\n\t\t\t},\n\t\t\t\n\t\t\tgetJobDetail(){\n\t\t\t\tthis.$u.api.getJobDetailApi({id: this.jobId}).then(async res => {\n\t\t\t\t\tif (res) {\n\t\t\t\t\t\tthis.baseInfo = res\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (\"negotiable\" == this.baseInfo.wageType) {\n\t\t\t\t\t\t\tthis.wage = \"薪资面议\"\n\t\t\t\t\t\t} else if (this.baseInfo.wageLower == this.baseInfo.wageUpper) {\n\t\t\t\t\t\t\tthis.wage = this.baseInfo.wageLower + '元' + \"/\" + this.wageTypes[this.baseInfo.wageType]\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tthis.wage = this.baseInfo.wageLower + '元' + \"-\" + this.baseInfo.wageUpper + '元' + \"/\" + this\n\t\t\t\t\t\t\t\t.wageTypes[this.baseInfo.wageType]\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (res.attendanceDay) {\n\t\t\t\t\t\t\tlet type = ''\n\t\t\t\t\t\t\tif(res.attendanceType == 'week') {\n\t\t\t\t\t\t\t\ttype = '周'\n\t\t\t\t\t\t\t}else if(res.attendanceType == 'month') { \n\t\t\t\t\t\t\t\ttype = '月'\n\t\t\t\t\t\t\t}else if(res.attendanceType == 'year') { \n\t\t\t\t\t\t\t\ttype = '年'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tthis.flags = `${res.attendanceDay}天/${type}`\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\n\t\t\tgetMatchedStuInfo() {\n\t\t\t\tthis.stuList = []\n\t\t\t\tthis.loadData()\n\t\t\t},\n\n\t\t\tlower() {\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthis.loadData(true);\n\t\t\t\t}, 200)\n\t\t\t},\n\n\t\t\tloadData(e) {\n\t\t\t\tlet params = {\n\t\t\t\t\t'trackId':this.trackId,\n\t\t\t\t\t'recordId':this.recordId\n\t\t\t\t}\n\t\t\t\tif (e) {\n\t\t\t\t\tif (this.total <= this.stuList.length) {\n\t\t\t\t\t\treturn\n\t\t\t\t\t}\n\t\t\t\t\tthis.page++\n\t\t\t\t} else {\n\t\t\t\t\tthis.page = 1\n\t\t\t\t}\n\t\t\t\tparams['pageNumber'] = this.page\n\t\t\t\tthis.$u.api.matchingJobListApi(params).then(async res => {\n\t\t\t\t\tif (res) {\n\t\t\t\t\t\tthis.total = res.total\n\t\t\t\t\t\tthis.stuList = this.stuList.concat(res.records)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t.page {\n\t\t.content {\n\t\t\twidth: calc(100% - 40rpx);\n\t\t\tpadding: 40rpx;\n\t\t\ttop: -50rpx;\n\t\t\tbackground: #fff;\n\t\t\tposition: relative;\n\t\t\tleft: 20rpx;\n\t\t\tbackground-color: #fff;\n\t\t\tborder-radius: 8rpx;\n\n\t\t\t.text {\n\t\t\t\tfont-size: 32rpx;\n\t\t\t\tfont-family: PingFangSC-Medium, PingFang SC;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tcolor: #121212;\n\t\t\t}\n\n\t\t\t.mobile {\n\t\t\t\tmargin-left: 20rpx;\n\t\t\t\tfont-size: 26rpx;\n\t\t\t\tfont-family: PingFangSC-Light, PingFang SC;\n\t\t\t\tfont-weight: 300;\n\t\t\t\tcolor: #121212;\n\t\t\t}\n\n\t\t\t.text_tag {\n\t\t\t\tfont-size: 26rpx;\n\t\t\t\tfont-family: PingFangSC-Regular, PingFang SC;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tcolor: #26292F;\n\t\t\t\tmargin-right: 20rpx;\n\t\t\t}\n\t\t}\n\n\t\t.header_bg {\n\t\t\tposition: relative;\n\t\t\theight: 400rpx;\n\t\t\twidth: 100%;\n\t\t\tpadding: 40rpx;\n\t\t\tbackground: linear-gradient(331deg, #FF5E00 0%, #FF001A 100%);\n\n\t\t\t.name {\n\t\t\t\tfont-size: 36rpx;\n\t\t\t\tfont-family: DINAlternate-Bold, DINAlternate;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tcolor: #FFFFFF;\n\t\t\t}\n\n\t\t\t.text_white {\n\t\t\t\tfont-size: 24rpx;\n\t\t\t\tfont-family: PingFangSC-Medium, PingFang SC;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tcolor: #FFFFFF;\n\t\t\t}\n\n\t\t\t.divid_1 {\n\t\t\t\twidth: 1px;\n\t\t\t\theight: 90%;\n\t\t\t\tbackground: #FFFFFF;\n\t\t\t\tmargin: 0 14rpx;\n\t\t\t}\n\t\t\t\n\t\t\t.label {\n\t\t\t\tmargin: 20rpx 0 0 0;\n\t\t\t\n\t\t\t\ttext {\n\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t\tpadding: 8rpx 16rpx;\n\t\t\t\t\tmargin: 0 8rpx 0 0;\n\t\t\t\t\tbackground: rgba($color: #ffffff, $alpha: 0.15);\n\t\t\t\t\tborder-radius: 4rpx;\n\t\t\t\t\tfont-size: 24rpx;\n\t\t\t\t\tline-height: 24rpx;\n\t\t\t\t\tcolor: #FFFFFF;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t.item_box {\n\t\t\tposition: relative;\n\t\t\twidth: 100%;\n\t\t\tborder-radius: 8px;\n\t\t\tbackground-color: #fff;\n\t\t\tpadding: 40rpx 20rpx;\n\t\t\tmargin-top: 20rpx;\n\n\t\t\t.item_title {\n\t\t\t\tfont-size: 16px;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tcolor: #121212;\n\t\t\t}\n\n\t\t\t.item_title1 {\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 22px;\n\t\t\t\tright: 10px;\n\t\t\t\tfont-size: 12px;\n\t\t\t\tfont-weight: 300;\n\t\t\t\tcolor: #121212;\n\t\t\t}\n\t\t}\n\t\t\n\t\t.desc {\n\t\t\tfont-size: 13px;\n\t\t\tfont-weight: 400;\n\t\t\tcolor: #26292F;\n\t\t\tmargin-top: 20rpx;\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!./my-match-stu-list.vue?vue&type=style&index=0&id=0abbe8dd&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!./my-match-stu-list.vue?vue&type=style&index=0&id=0abbe8dd&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/qa-detail.vue?f162","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/qa-detail.vue?ed85","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/qa-detail.vue?23ae","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/qa-detail.vue?a14b","uni-app:///pages/main/home/qa-detail.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/qa-detail.vue?0593"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,wG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,iBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkI;AAClI;AAC6D;AACL;AACsC;;;AAG9F;AACmN;AACnN,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,sLAEN;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;AAAs1B,CAAgB,uyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACyB12B;AACA,MADA,kBACA;AACA;AACA,eADA;AAEA,iBAFA;;AAIA,GANA;;AAQA;AACA,UADA,kBACA,CADA,EACA;AACA;AACA;AACA;AACA,KALA;;AAOA,aAPA,uBAOA;AACA;AACA,6CADA;;AAGA,KAXA;;AAaA,UAbA,oBAaA;AACA;AACA;AACA,yCADA,EADA;;AAIA,gCAJA;AAKA,eALA,mBAKA,GALA,EAKA;AACA;AACA,SAPA;;AASA,KAvBA,EARA,E;;;;;;;;;;;;;ACzBA;AAAA;AAAA;AAAA;AAAylD,CAAgB,87CAAG,EAAC,C","file":"pages/main/home/qa-detail.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/home/qa-detail.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./qa-detail.vue?vue&type=template&id=f03e68aa&scoped=true&\"\nvar renderjs\nimport script from \"./qa-detail.vue?vue&type=script&lang=js&\"\nexport * from \"./qa-detail.vue?vue&type=script&lang=js&\"\nimport style0 from \"./qa-detail.vue?vue&type=style&index=0&id=f03e68aa&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 \"f03e68aa\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/home/qa-detail.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!./qa-detail.vue?vue&type=template&id=f03e68aa&scoped=true&\"","var components\ntry {\n components = {\n uParse: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-parse/u-parse\" */ \"@/uview-ui/components/u-parse/u-parse.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!./qa-detail.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!./qa-detail.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"page\">\n\t\t<view class=\"cv\">\n\t\t\t<view class=\"title\">\n\t\t\t\t{{title}}\n\t\t\t</view>\n\t\t\t<view class=\"line\"></view>\n\t\t\t<view class=\"content\">\n\t\t\t\t<u-parse :html=\"content\"></u-parse>\n\t\t\t</view>\n\t\t</view>\n\t\t<view class=\"bottom\">\n\t\t\t<view style=\"width: 100%;display: flex;top: 30rpx;position: absolute;\">\n\t\t\t\t<view class=\"chat1\" @click=\"callPhone\">\n\t\t\t\t\t打电话\n\t\t\t\t</view>\n\t\t\t\t<view class=\"chat2\" @click=\"goChat\">\n\t\t\t\t\t直聊\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\t\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\ttitle: '',\n\t\t\t\tcontent: ''\n\t\t\t}\n\t\t},\n\n\t\tmethods: {\n\t\t\tonLoad(e) {\n\t\t\t\tconsole.log(e)\n\t\t\t\tthis.title = e.title\n\t\t\t\tthis.content = e.desc\n\t\t\t},\n\t\t\t\n\t\t\tcallPhone() {\n\t\t\t\tuni.makePhoneCall({\n\t\t\t\t\tphoneNumber: this.vuex_customer_phone\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t\tgoChat() {\n\t\t\t\twx.openCustomerServiceChat({\n\t\t\t\t\textInfo: {\n\t\t\t\t\t\turl: this.vuex_customer_chatUrl\n\t\t\t\t\t},\n\t\t\t\t\tcorpId: this.vuex_corpId,\n\t\t\t\t\tsuccess(res) {\n\t\t\t\t\t\tconsole.log(\"chat..\", res)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t}\n\t\t\t\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t.page {\n\t\t\n\t\t.cv {\n\t\t\tpadding: 78rpx 50rpx;\n\t\t\t\n\t\t\t.title {\n\t\t\t\tfont-size: 16px;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tcolor: #121212;\n\t\t\t}\n\t\t\t\n\t\t\t.line {\n\t\t\t\tmargin-top: 22rpx;\n\t\t\t\theight: 1rpx;\n\t\t\t\tbackground-color: #E5E5E6;\n\t\t\t}\n\t\t\t\n\t\t\t.content {\n\t\t\t\tmargin-top: 40rpx;\n\t\t\t\tfont-size: 14px;\n\t\t\t\tfont-weight: 300;\n\t\t\t\tcolor: #121212;\n\t\t\t}\n\t\t}\n\t\t\n\t\t.bottom {\n\t\t\twidth: 100%;\n\t\t\theight: 180rpx;\n\t\t\tposition: fixed;\n\t\t\tbackground-color: #FFFFFF;\n\t\t\tbottom: 0;\n\t\t\tpadding: 12px 32rpx 0;\n\t\t\n\t\t\t.chat1 {\n\t\t\t\twidth: calc(106/375*100%);\n\t\t\t\theight: 44px;\n\t\t\t\tbackground: #F7F7F7;\n\t\t\t\tborder-radius: 4px;\n\t\t\t\tborder: 1px solid #E5E5E6;\n\t\t\t\tfont-size: 17px;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tcolor: #646464;\n\t\t\t\ttext-align: center;\n\t\t\t\tline-height: 44px;\n\t\t\t}\n\t\t\t\n\t\t\t.chat2 {\n\t\t\t\twidth: calc(217/375*100%);\n\t\t\t\theight: 44px;\n\t\t\t\tbackground: linear-gradient(331deg, #FF5E00 0%, #FF001A 100%);\n\t\t\t\tborder-radius: 4px;\n\t\t\t\tfont-size: 17px;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tcolor: #FFFFFF;\n\t\t\t\tline-height: 17px;\n\t\t\t\ttext-align: center;\n\t\t\t\tline-height: 44px;\n\t\t\t\tmargin-left: calc(20/375*100%);\n\t\t\t}\n\t\t\n\t\t}\n\t}\n</style>","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!./qa-detail.vue?vue&type=style&index=0&id=f03e68aa&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!./qa-detail.vue?vue&type=style&index=0&id=f03e68aa&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/qa-list.vue?3513","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/qa-list.vue?81da","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/qa-list.vue?bd35","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/qa-list.vue?ba16","uni-app:///pages/main/home/qa-list.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/qa-list.vue?c326"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,oG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,eAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AACmN;AACnN,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,oLAEN;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;AAAo1B,CAAgB,qyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACuCx2B;AACA,MADA,kBACA;AACA;AACA,cADA;;AAGA,GALA;;AAOA;AACA,UADA,oBACA;AACA;AACA,KAHA;;AAKA,YALA,sBAKA;AACA;AACA;AACA;AACA;AACA,OAJA;AAKA,KAXA;;AAaA,cAbA,sBAaA,IAbA,EAaA;AACA;AACA,yBADA;AAEA,0BAFA;;;AAKA;AACA,yCADA;AAEA,sBAFA;;AAIA,KAvBA;;AAyBA,aAzBA,uBAyBA;AACA;AACA,6CADA;;AAGA,KA7BA;;AA+BA,UA/BA,oBA+BA;AACA;AACA;AACA,yCADA,EADA;;AAIA,gCAJA;AAKA,eALA,mBAKA,GALA,EAKA;AACA;AACA,SAPA;;AASA,KAzCA,EAPA,E;;;;;;;;;;;;;ACvCA;AAAA;AAAA;AAAA;AAAulD,CAAgB,47CAAG,EAAC,C","file":"pages/main/home/qa-list.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/home/qa-list.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./qa-list.vue?vue&type=template&id=3171ddf8&scoped=true&\"\nvar renderjs\nimport script from \"./qa-list.vue?vue&type=script&lang=js&\"\nexport * from \"./qa-list.vue?vue&type=script&lang=js&\"\nimport style0 from \"./qa-list.vue?vue&type=style&index=0&id=3171ddf8&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 \"3171ddf8\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/home/qa-list.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!./qa-list.vue?vue&type=template&id=3171ddf8&scoped=true&\"","var components\ntry {\n components = {\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-icon/u-icon\" */ \"@/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}\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!./qa-list.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!./qa-list.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"page\">\n\t\t<view class=\"content\">\n\t\t\t<img class=\"bg\" :src=\"vuex_baseImgUrl+'/bzzxBg.png'\" alt=\"\">\n\t\t\t<view class=\"title\">\n\t\t\t\t{{vuex_user.broker.phone}}\n\t\t\t</view>\n\t\t\t<view class=\"desc\">\n\t\t\t\t欢迎您,我是您的智能助手 小乐 试试问我一些问题吧。\n\t\t\t</view>\n\t\t</view>\n\t\t<view class=\"list\">\n\t\t\t<view class=\"title\">\n\t\t\t\t热点问题\n\t\t\t</view>\n\t\t\t<view class=\"item\" v-for=\"(item, index) in list\" @click=\"jumpDetail(item)\">\n\t\t\t\t<view class=\"default\">\n\t\t\t\t\t{{item.title}}\n\t\t\t\t</view>\n\t\t\t\t<u-icon class=\"arrowRight\" name=\"arrow-right\" color=\"#8c8c8c\" size=\"22\"></u-icon>\n\t\t\t</view>\n\t\t</view>\n\t\t<view style=\"height: 100px;\">\n\t\t\t\n\t\t</view>\n\t\t<view class=\"bottom\">\n\t\t\t<view style=\"width: 100%;display: flex;top: 30rpx;position: absolute;\">\n\t\t\t\t<view class=\"chat1\" @click=\"callPhone\">\n\t\t\t\t\t打电话\n\t\t\t\t</view>\n\t\t\t\t<view class=\"chat2\" @click=\"goChat\">\n\t\t\t\t\t直聊\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tlist: [],\n\t\t\t}\n\t\t},\n\n\t\tmethods: {\n\t\t\tonLoad() {\n\t\t\t\tthis.loadData()\n\t\t\t},\n\t\t\t\n\t\t\tloadData() {\n\t\t\t\tthis.$u.api.supportlistApi().then(res => {\n\t\t\t\t\tif (res) {\n\t\t\t\t\t\tthis.list = res.records;\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t\tjumpDetail(item) {\n\t\t\t\tlet params = {\n\t\t\t\t\ttitle: item.title,\n\t\t\t\t\tdesc: item.content\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tthis.$u.route({\n\t\t\t\t\turl: '/pages/main/home/qa-detail',\n\t\t\t\t\tparams: params,\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t\tcallPhone() {\n\t\t\t\tuni.makePhoneCall({\n\t\t\t\t\tphoneNumber: this.vuex_customer_phone\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t\tgoChat() {\n\t\t\t\twx.openCustomerServiceChat({\n\t\t\t\t\textInfo: {\n\t\t\t\t\t\turl: this.vuex_customer_chatUrl\n\t\t\t\t\t},\n\t\t\t\t\tcorpId: this.vuex_corpId,\n\t\t\t\t\tsuccess(res) {\n\t\t\t\t\t\tconsole.log(\"chat..\", res)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t.page {\n\t\theight: 100%;\n\t\tbackground-color: #FAFAFB;\n\t\t\n\t\t.content {\n\t\t\tposition: relative;\n\t\t\t\n\t\t\t.bg {\n\t\t\t\tposition: relative;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 428rpx;\n\t\t\t}\n\t\t\t\n\t\t\t.title {\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 58rpx;\n\t\t\t\tleft: 52rpx;\n\t\t\t\tfont-size: 18px;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tcolor: #FFFFFF;\n\t\t\t}\n\t\t\t\n\t\t\t.desc {\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 112rpx;\n\t\t\t\tleft: 52rpx;\n\t\t\t\tfont-size: 12px;\n\t\t\t\tfont-weight: 300;\n\t\t\t\tcolor: #FFFFFF;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\t.list {\n\t\t\tposition: relative;\n\t\t\tpadding: 40rpx 30rpx;\n\t\t\ttop: -126px;\n\t\t\tleft: 10px;\n\t\t\twidth: calc(100% - 20px);\n\t\t\tmin-height: 1036rpx;\n\t\t\tbackground-color: #fff;\n\t\t\tborder-top-left-radius: 20rpx;\n\t\t\tborder-top-right-radius: 20rpx;\n\t\t\t\n\t\t\t.title {\n\t\t\t\tfont-size: 16px;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tcolor: #121212;\n\t\t\t\tmargin-bottom: 20rpx;\n\t\t\t}\n\t\t\t\n\t\t\t.item {\n\t\t\t\tdisplay: flex;\n\t\t\t\tjustify-content: space-between;\n\t\t\t\talign-items: center;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 108rpx;\n\t\t\t\t\n\t\t\t\t.default {\n\t\t\t\t\tfont-size: 14px;\n\t\t\t\t\tfont-weight: 300;\n\t\t\t\t\tcolor: #121212;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\t.bottom {\n\t\t\twidth: 100%;\n\t\t\theight: 180rpx;\n\t\t\tposition: fixed;\n\t\t\tbackground-color: #FFFFFF;\n\t\t\tbottom: 0;\n\t\t\tpadding: 12px 32rpx 0;\n\n\t\t\t.chat1 {\n\t\t\t\twidth: calc(106/375*100%);\n\t\t\t\theight: 44px;\n\t\t\t\tbackground: #F7F7F7;\n\t\t\t\tborder-radius: 4px;\n\t\t\t\tborder: 1px solid #E5E5E6;\n\t\t\t\tfont-size: 17px;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tcolor: #646464;\n\t\t\t\ttext-align: center;\n\t\t\t\tline-height: 44px;\n\t\t\t}\n\t\t\t\n\t\t\t.chat2 {\n\t\t\t\twidth: calc(217/375*100%);\n\t\t\t\theight: 44px;\n\t\t\t\tbackground: linear-gradient(331deg, #FF5E00 0%, #FF001A 100%);\n\t\t\t\tborder-radius: 4px;\n\t\t\t\tfont-size: 17px;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tcolor: #FFFFFF;\n\t\t\t\tline-height: 17px;\n\t\t\t\ttext-align: center;\n\t\t\t\tline-height: 44px;\n\t\t\t\tmargin-left: calc(20/375*100%);\n\t\t\t}\n\t\t\n\t\t}\n\t\t\n\t}\n</style>","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!./qa-list.vue?vue&type=style&index=0&id=3171ddf8&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!./qa-list.vue?vue&type=style&index=0&id=3171ddf8&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/set-myfocus.vue?7ccc","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/set-myfocus.vue?9174","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/set-myfocus.vue?0143","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/set-myfocus.vue?ed25","uni-app:///pages/main/home/set-myfocus.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/set-myfocus.vue?74de"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,4G,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,mBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoI;AACpI;AAC+D;AACL;AACsC;;;AAGhG;AACmN;AACnN,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,oLAEN;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;AAAw1B,CAAgB,yyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACsD52B,4D;AACA;AACA,MADA,kBACA;AACA;AACA,cADA;AAEA,cAFA;AAGA,qBAHA;AAIA;AACA,uBADA,EAJA;;AAOA,oDAPA;;AASA,GAXA;;AAaA;;AAEA,UAFA,oBAEA;AACA;AACA,KAJA;;AAMA,cANA,sBAMA,CANA,EAMA;AACA;AACA;AACA,wCADA;AAEA,uEAFA;;AAIA,OALA,MAKA;AACA;AACA,qDADA;AAEA,oDAFA;;AAIA;AACA,KAlBA;;AAoBA,UApBA,oBAoBA;AACA;AACA,gBADA;;AAGA,KAxBA;;AA0BA,cA1BA,wBA0BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAFA,MAEA;AACA;AACA,aAFA,MAEA;AACA;AACA,aAFA,MAEA;AACA;AACA,aAFA,MAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAtBA,MAsBA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAZA,MAYA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAjDA;AAkDA,KA7EA;;AA+EA,UA/EA,oBA+EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA;AACA;AACA,mCADA;AAEA,qCAFA;AAGA,oCAHA;;AAKA;AACA,8BADA;;AAGA,mBAVA;;AAYA,KAnHA,EAbA,E;;;;;;;;;;;;;ACvDA;AAAA;AAAA;AAAA;AAA2lD,CAAgB,g8CAAG,EAAC,C","file":"pages/main/home/set-myfocus.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/home/set-myfocus.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./set-myfocus.vue?vue&type=template&id=2b2e927e&scoped=true&\"\nvar renderjs\nimport script from \"./set-myfocus.vue?vue&type=script&lang=js&\"\nexport * from \"./set-myfocus.vue?vue&type=script&lang=js&\"\nimport style0 from \"./set-myfocus.vue?vue&type=style&index=0&id=2b2e927e&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 \"2b2e927e\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/home/set-myfocus.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!./set-myfocus.vue?vue&type=template&id=2b2e927e&scoped=true&\"","var components\ntry {\n components = {\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-icon/u-icon\" */ \"@/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}\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!./set-myfocus.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!./set-myfocus.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"page\">\n\t\t<view class=\"content\">\n\t\t\t<view class=\"title\">\n\t\t\t\t编辑您的职位推荐偏好\n\t\t\t</view>\n\t\t\t<view class=\"desc\">\n\t\t\t\t完善您的职位推荐偏好,会给您推荐更合适的职位信息!\n\t\t\t</view>\n\t\t</view>\n\t\t<view class=\"select\" @click=\"jumpSelect(1)\">\n\t\t\t<view class=\"left\">\n\t\t\t\t<view class=\"title\">\n\t\t\t\t\t推荐岗位的招聘城市\n\t\t\t\t</view>\n\t\t\t\t<view class=\"desc\">\n\t\t\t\t\t{{form.showCitys}}\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<u-icon class=\"arrowRight\" name=\"arrow-right\" color=\"#8c8c8c\" size=\"32\"></u-icon>\n\t\t</view>\n\t\t<view class=\"select\" @click=\"jumpSelect(2)\">\n\t\t\t<view class=\"left\">\n\t\t\t\t<view class=\"title\">\n\t\t\t\t\t推荐岗位的行业方向\n\t\t\t\t</view>\n\t\t\t\t<view class=\"desc\">\n\t\t\t\t\t{{hy}}\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<u-icon class=\"arrowRight\" name=\"arrow-right\" color=\"#8c8c8c\" size=\"32\"></u-icon>\n\t\t</view>\n\t\t<!-- <view class=\"botBtn\">\n\t\t\t<view style=\"width: 100%;height: 2rpx;background-color: #f0f0ff;\"></view>\n\t\t\t<view style=\"padding: 30rpx;display: flex;\">\n\t\t\t\t<view class=\"btn01\" @click=\"cancel\">取消</view>\n\t\t\t\t<view class=\"btn02\" @click=\"submit\">保存</view>\n\t\t\t</view>\n\t\t</view> -->\n\t\t\n\t\t<view class=\"bottom\">\n\t\t\t<view style=\"width: 100%;display: flex;top: 30rpx;position: absolute;\">\n\t\t\t\t<view class=\"chat1\" @click=\"cancel\">\n\t\t\t\t\t取消\n\t\t\t\t</view>\n\t\t\t\t<view class=\"chat2\" @click=\"submit\">\n\t\t\t\t\t保存\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\t\n\timport {positionTypeOptions} from '@/common/util.js'\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\thy: '--',\n\t\t\t\thyid: '',\n\t\t\t\treturnnCity: '',\n\t\t\t\tform: {\n\t\t\t\t\tshowCitys: '--',\n\t\t\t\t},\n\t\t\t\tpositionTypeOptions\n\t\t\t}\n\t\t},\n\n\t\tmethods: {\n\t\t\t\n\t\t\tonLoad() {\n\t\t\t\tthis.getMyFocus()\n\t\t\t},\n\t\t\t\n\t\t\tjumpSelect(i) {\n\t\t\t\tif (i == 1) {\n\t\t\t\t\tthis.$u.route({\n\t\t\t\t\t\turl: '/pages/common/city/city',\n\t\t\t\t\t\tparams: {names:this.form.showCitys,ids:this.returnnCity}\n\t\t\t\t\t})\n\t\t\t\t}else {\n\t\t\t\t\tthis.$u.route({\n\t\t\t\t\t\turl: '/pages/main/home/set-select-industry',\n\t\t\t\t\t\tparams: {ids:this.hyid,names:this.hy}\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t},\n\t\t\t\n\t\t\tcancel() {\n\t\t\t\tuni.navigateBack({\n\t\t\t\t\tdelta: 1\n\t\t\t\t});\n\t\t\t},\n\t\t\t\n\t\t\tgetMyFocus() {\n\t\t\t\tthis.$u.api.myFocusApi().then(data => {\n\t\t\t\t\tif (data.categories != '') {\n\t\t\t\t\t\tlet categories = data.categories.split(',')\n\t\t\t\t\t\tlet addpennd = ''\n\t\t\t\t\t\tfor (var i = 0; i < categories.length; i++) {\n\t\t\t\t\t\t\tif (categories[i] == 'manufacture') {\n\t\t\t\t\t\t\t\taddpennd += '智能制造'\n\t\t\t\t\t\t\t}else if (categories[i] == 'preschool') {\n\t\t\t\t\t\t\t\taddpennd += '学前教育'\n\t\t\t\t\t\t\t}else if (categories[i] == 'healthy') {\n\t\t\t\t\t\t\t\taddpennd += '智慧康养'\n\t\t\t\t\t\t\t}else if (categories[i] == 'software') {\n\t\t\t\t\t\t\t\taddpennd += '大数据与软件'\n\t\t\t\t\t\t\t}else if (categories[i] == 'other') {\n\t\t\t\t\t\t\t\taddpennd += '其他'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif (i != categories.length - 1) {\n\t\t\t\t\t\t\t\taddpennd += ','\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis.hy = addpennd\n\t\t\t\t\t\tthis.hyid = data.categories\n\t\t\t\t\t}else {\n\t\t\t\t\t\tthis.hy = '全部'\n\t\t\t\t\t\tthis.hyid = ''\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif (data.cityCodes != '') {\n\t\t\t\t\t\tlet cityCodes = JSON.parse(data.cityCodes)\n\t\t\t\t\t\tlet addpennd1 = ''\n\t\t\t\t\t\tfor (var i = 0; i < cityCodes.length; i++) {\n\t\t\t\t\t\t\taddpennd1 += cityCodes[i].city\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif (i != cityCodes.length - 1) {\n\t\t\t\t\t\t\t\taddpennd1 += ','\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis.form.showCitys = addpennd1\n\t\t\t\t\t\tthis.returnnCity = data.cityCodes\n\t\t\t\t\t}else {\n\t\t\t\t\t\tthis.form.showCitys = '全国'\n\t\t\t\t\t\tthis.returnnCity = ''\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tconsole.log(this.hy)\n\t\t\t\t\tconsole.log(this.hyid)\n\t\t\t\t\tconsole.log(this.form.showCitys)\n\t\t\t\t\tconsole.log(this.returnnCity)\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t\tsubmit() {\n\t\t\t\t// if (!this.returnnCity && !this.hyid) {\n\t\t\t\t// \tuni.showToast({\n\t\t\t\t// \t\ttitle: \"暂无新关注\",\n\t\t\t\t// \t\ticon: 'error',\n\t\t\t\t// \t\tduration: 1000\n\t\t\t\t// \t});\n\t\t\t\t// \treturn;\n\t\t\t\t// }\n\t\t\t\t\n\t\t\t\tconsole.log(this.returnnCity)\n\t\t\t\tconsole.log(this.hyid)\n\t\t\t\t\n\t\t\t\tlet params = {}\n\t\t\t\tif (this.returnnCity) {\n\t\t\t\t\tparams['cityCodes'] = this.returnnCity\n\t\t\t\t}else {\n\t\t\t\t\tparams['cityCodes'] = \"\"\n\t\t\t\t}\n\t\t\t\tif (this.hyid) {\n\t\t\t\t\tparams['categories'] = this.hyid\n\t\t\t\t}else {\n\t\t\t\t\tparams['categories'] = \"\"\n\t\t\t\t}\n\t\t\t\tthis.$u.api.focuscreateApi(params).then(async res => {\n\t\t\t\t\tif (res) {\n\t\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\t\ttitle: \"设置成功\",\n\t\t\t\t\t\t\ticon: 'success',\n\t\t\t\t\t\t\tduration: 1000\n\t\t\t\t\t\t});\n\t\t\t\t\t\tuni.navigateBack({\n\t\t\t\t\t\t\tdelta: 1\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t.page {\n\t\tbackground-color: #FAFAFB;\n\t\theight: 100%;\n\t\t\n\t\t.content {\n\t\t\tpadding: 44rpx 32rpx 72rpx;\n\t\t\tbackground-color: #fff;\n\t\t\t\n\t\t\t.title {\n\t\t\t\tfont-size: 20px;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tcolor: #121212;\n\t\t\t}\n\t\t\t\n\t\t\t.desc {\n\t\t\t\tmargin-top: 24rpx;\n\t\t\t\tfont-size: 13px;\n\t\t\t\tfont-weight: 300;\n\t\t\t\tcolor: #646464;\n\t\t\t}\n\t\t}\n\t\t\n\t\t.select {\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: space-between;\n\t\t\tbackground-color: #fff;\n\t\t\tpadding: 32rpx 32rpx;\n\t\t\t\n\t\t\t.left {\n\t\t\t\tdisplay: flex;\n\t\t\t\tflex-direction: column;\n\t\t\t\t\n\t\t\t\t.title {\n\t\t\t\t\tfont-size: 13px;\n\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\tcolor: #121212;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t.desc {\n\t\t\t\t\tmargin-top: 20rpx;\n\t\t\t\t\tfont-size: 16px;\n\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\tcolor: #121212;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\t.bottom {\n\t\t\twidth: 100%;\n\t\t\theight: 180rpx;\n\t\t\tposition: fixed;\n\t\t\tbackground-color: #FFFFFF;\n\t\t\tbottom: 0;\n\t\t\tpadding: 12px 32rpx 0;\n\t\t\n\t\t\t.chat1 {\n\t\t\t\twidth: calc(106/375*100%);\n\t\t\t\theight: 44px;\n\t\t\t\tbackground: #F7F7F7;\n\t\t\t\tborder-radius: 4px;\n\t\t\t\tborder: 1px solid #E5E5E6;\n\t\t\t\tfont-size: 17px;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tcolor: #646464;\n\t\t\t\ttext-align: center;\n\t\t\t\tline-height: 44px;\n\t\t\t}\n\t\t\t\n\t\t\t.chat2 {\n\t\t\t\twidth: calc(217/375*100%);\n\t\t\t\theight: 44px;\n\t\t\t\tbackground: linear-gradient(331deg, #FF5E00 0%, #FF001A 100%);\n\t\t\t\tborder-radius: 4px;\n\t\t\t\tfont-size: 17px;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tcolor: #FFFFFF;\n\t\t\t\tline-height: 17px;\n\t\t\t\ttext-align: center;\n\t\t\t\tline-height: 44px;\n\t\t\t\tmargin-left: calc(20/375*100%);\n\t\t\t}\n\t\t\n\t\t}\n\n\t}\n</style>","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!./set-myfocus.vue?vue&type=style&index=0&id=2b2e927e&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!./set-myfocus.vue?vue&type=style&index=0&id=2b2e927e&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/set-select-industry.vue?3c05","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/set-select-industry.vue?67f4","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/set-select-industry.vue?7ff0","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/set-select-industry.vue?60a8","uni-app:///pages/main/home/set-select-industry.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/set-select-industry.vue?dfcd"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,2H,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,0BAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA4I;AAC5I;AACuE;AACL;AACsC;;;AAGxG;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,yFAAM;AACR,EAAE,0GAAM;AACR,EAAE,mHAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,8GAAU;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;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5BA;AAAA;AAAA;AAAA;AAAg2B,CAAgB,izBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACmDp3B,4D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAGA,EACA,IADA,kBACA,CACA,SACA,8CADA,EAEA,WAFA,EAGA,cAHA,GAKA,CAPA,EASA,MATA,kBASA,CATA,EASA,CACA,YACA,gCACA,qCACA,CAHA,MAGA,CACA,sBACA,2BACA,CACA,iCACA,CAlBA,EAoBA,WACA,YADA,wBACA,CADA,EACA,CADA,EACA,CADA,EACA,CACA,iCACA,kBACA,qBACA,CACA,oCACA,OACA,CACA,+BACA,qCACA,8EACA,oFACA,CAHA,MAGA,CACA,2BACA,8BACA,CACA,CARA,MAQA,CACA,2BACA,8BACA,CACA,0BACA,6BACA,CAvBA,EAyBA,MAzBA,oBAyBA,CACA,kBACA;;AAEA;AACA;AACA,KA/BA;;AAiCA,UAjCA,oBAiCA;AACA;AACA,gBADA;;AAGA,KArCA;;AAuCA,UAvCA,oBAuCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBADA;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBADA;;AAGA,KAlEA,EApBA,E;;;;;;;;;;;;;ACtDA;AAAA;AAAA;AAAA;AAAmmD,CAAgB,w8CAAG,EAAC,C","file":"pages/main/home/set-select-industry.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/home/set-select-industry.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./set-select-industry.vue?vue&type=template&id=254f07e1&scoped=true&\"\nvar renderjs\nimport script from \"./set-select-industry.vue?vue&type=script&lang=js&\"\nexport * from \"./set-select-industry.vue?vue&type=script&lang=js&\"\nimport style0 from \"./set-select-industry.vue?vue&type=style&index=0&id=254f07e1&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 \"254f07e1\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/home/set-select-industry.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!./set-select-industry.vue?vue&type=template&id=254f07e1&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 l0 = _vm.__map(_vm.positionTypeOptions, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var g0 = item.label == \"全部\" ? _vm.selectsStr.includes(\"全部\") : null\n var g1 = !(item.label == \"全部\") ? _vm.selects.includes(item.value) : null\n return {\n $orig: $orig,\n g0: g0,\n g1: g1\n }\n })\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n l0: l0\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!./set-select-industry.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!./set-select-industry.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"page\">\r\n\t\t<view class=\"content\">\r\n\t\t\t<view class=\"title\">\r\n\t\t\t\t选择行业(3个)\r\n\t\t\t</view>\r\n\t\t\t<view class=\"desc\">\r\n\t\t\t\t请选择您关注的岗位行业\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"tag\">\r\n\t\t\t<view class=\"item\" v-for=\"(item, index) in positionTypeOptions\">\n\t\t\t\t<view v-if=\"item.label == '全部'\">\n\t\t\t\t\t<view v-if=\"selectsStr.includes('全部')\" class=\"selected\" @click=\"quanbu(item,index,false)\">\n\t\t\t\t\t\t{{item.label}}\n\t\t\t\t\t</view>\n\t\t\t\t\t<view v-else class=\"default\" @click=\"quanbu(item,index,true)\">\n\t\t\t\t\t\t{{item.label}}\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view v-else>\n\t\t\t\t\t<view v-if=\"selects.includes(item.value)\" class=\"selected\" @click=\"welfareClick(item,index,false)\">\n\t\t\t\t\t\t{{item.label}}\n\t\t\t\t\t</view>\n\t\t\t\t\t<view v-else class=\"default\" @click=\"welfareClick(item,index,true)\">\n\t\t\t\t\t\t{{item.label}}\n\t\t\t\t\t</view>\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- <view class=\"botBtn\">\r\n\t\t\t<view style=\"width: 100%;height: 2rpx;background-color: #f0f0ff;\"></view>\r\n\t\t\t<view style=\"padding: 30rpx;display: flex;\">\r\n\t\t\t\t<view class=\"btn01\" @click=\"cancel\">取消</view>\r\n\t\t\t\t<view class=\"btn02\" @click=\"submit\">保存</view>\r\n\t\t\t</view>\r\n\t\t</view> -->\n\t\t<view class=\"bottom\">\n\t\t\t<view style=\"width: 100%;display: flex;top: 30rpx;position: absolute;\">\n\t\t\t\t<view class=\"chat1\" @click=\"cancel\">\n\t\t\t\t\t取消\n\t\t\t\t</view>\n\t\t\t\t<view class=\"chat2\" @click=\"submit\">\n\t\t\t\t\t保存\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tpositionTypeOptions\r\n\t} from '@/common/util.js'\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tpositionTypeOptions,\n\t\t\t\tselects: [],\r\n\t\t\t\tselectsStr: [],\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tonLoad(e) {\n\t\t\tif (e.ids) {\n\t\t\t\tthis.selects = e.ids.split(\",\");\n\t\t\t\tthis.selectsStr = e.names.split(\",\");\n\t\t\t}else {\n\t\t\t\tthis.selects.push('')\n\t\t\t\tthis.selectsStr.push('全部')\n\t\t\t}\n\t\t\tconsole.log('123',this.selects)\r\n\t\t},\r\n\r\n\t\tmethods: {\r\n\t\t\twelfareClick(e, i, s) {\n\t\t\t\tif(this.selectsStr[0] == '全部') {\n\t\t\t\t\tthis.selects = []\n\t\t\t\t\tthis.selectsStr = []\n\t\t\t\t}\r\n\t\t\t\tif (this.selects.length >= 3 && s) {\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tif (this.selects.length != 0) {\r\n\t\t\t\t\tif (this.selects.includes(e.value)) {\r\n\t\t\t\t\t\tthis.selects = this.selects.filter(item => item != e.value)\r\n\t\t\t\t\t\tthis.selectsStr = this.selectsStr.filter(item => item != e.label)\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.selects.push(e.value)\r\n\t\t\t\t\t\tthis.selectsStr.push(e.label)\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.selects.push(e.value)\r\n\t\t\t\t\tthis.selectsStr.push(e.label)\r\n\t\t\t\t}\r\n\t\t\t\tconsole.log(this.selects)\r\n\t\t\t\tconsole.log(this.selectsStr)\r\n\t\t\t},\n\t\t\t\n\t\t\tquanbu() {\n\t\t\t\tthis.selects = []\n\t\t\t\tthis.selectsStr = []\n\t\t\t\t\n\t\t\t\tthis.selects.push('')\n\t\t\t\tthis.selectsStr.push('全部')\n\t\t\t},\r\n\r\n\t\t\tcancel() {\r\n\t\t\t\tuni.navigateBack({\r\n\t\t\t\t\tdelta: 1\r\n\t\t\t\t});\r\n\t\t\t},\r\n\r\n\t\t\tsubmit() {\r\n\t\t\t\tif (this.selects.length == 0) {\r\n\t\t\t\t\t// uni.showToast({\r\n\t\t\t\t\t// \ttitle: \"至少选择一个行业\",\r\n\t\t\t\t\t// \ticon: 'error',\r\n\t\t\t\t\t// \tduration: 1000\r\n\t\t\t\t\t// });\n\t\t\t\t\tlet pages = getCurrentPages();\n\t\t\t\t\tlet prevPage = pages[pages.length - 2];\n\t\t\t\t\tprevPage.$vm.hy = '全部';\n\t\t\t\t\tprevPage.$vm.hyid = '';\n\t\t\t\t\tuni.navigateBack({\n\t\t\t\t\t\tdelta: 1\n\t\t\t\t\t});\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tconsole.log(this.selects.toString());\r\n\t\t\t\tconsole.log(this.selectsStr.toString());\r\n\r\n\t\t\t\tlet pages = getCurrentPages();\r\n\t\t\t\tlet prevPage = pages[pages.length - 2];\r\n\t\t\t\tprevPage.$vm.hy = this.selectsStr.toString();\r\n\t\t\t\tprevPage.$vm.hyid = this.selects.toString();\r\n\t\t\t\tuni.navigateBack({\r\n\t\t\t\t\tdelta: 1\r\n\t\t\t\t});\r\n\t\t\t},\n\t\t\t\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.page {\r\n\t\tbackground-color: #FAFAFB;\r\n\t\theight: 100%;\r\n\r\n\t\t.content {\r\n\t\t\tpadding: 44rpx 32rpx 72rpx;\r\n\t\t\tbackground-color: #fff;\r\n\r\n\t\t\t.title {\r\n\t\t\t\tfont-size: 20px;\r\n\t\t\t\tfont-weight: 500;\r\n\t\t\t\tcolor: #121212;\r\n\t\t\t}\r\n\r\n\t\t\t.desc {\r\n\t\t\t\tmargin-top: 24rpx;\r\n\t\t\t\tfont-size: 13px;\r\n\t\t\t\tfont-weight: 300;\r\n\t\t\t\tcolor: #646464;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.tag {\r\n\t\t\tdisplay: flex;\r\n\t\t\tflex-wrap: wrap;\r\n\t\t\t// justify-content: space-between;\r\n\t\t\tpadding: 30rpx 32rpx;\r\n\t\t\twidth: 100%;\r\n\t\t\tbackground-color: #fff;\r\n\r\n\t\t\t.item {\r\n\t\t\t\twidth: 30%;\r\n\t\t\t\tmargin-right: 3.3%;\r\n\t\t\t\theight: 72rpx;\r\n\t\t\t\tmargin-bottom: 20rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.default {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 100%;\r\n\t\t\t\tborder-radius: 4rpx;\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\tbackground: #F7F7F7;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tcolor: #8C8E91;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tline-height: 72rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.selected {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 100%;\r\n\t\t\t\tbackground: rgba(255, 13, 22, 0.1);\r\n\t\t\t\tborder-radius: 4rpx;\r\n\t\t\t\tborder: 2rpx solid rgba(255, 13, 22, 0.6);\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tcolor: #FF0D16;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tline-height: 72rpx;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.bottom {\n\t\t\twidth: 100%;\n\t\t\theight: 180rpx;\n\t\t\tposition: fixed;\n\t\t\tbackground-color: #FFFFFF;\n\t\t\tbottom: 0;\n\t\t\tpadding: 12px 32rpx 0;\n\t\t\n\t\t\t.chat1 {\n\t\t\t\twidth: calc(106/375*100%);\n\t\t\t\theight: 44px;\n\t\t\t\tbackground: #F7F7F7;\n\t\t\t\tborder-radius: 4px;\n\t\t\t\tborder: 1px solid #E5E5E6;\n\t\t\t\tfont-size: 17px;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tcolor: #646464;\n\t\t\t\ttext-align: center;\n\t\t\t\tline-height: 44px;\n\t\t\t}\n\t\t\t\n\t\t\t.chat2 {\n\t\t\t\twidth: calc(217/375*100%);\n\t\t\t\theight: 44px;\n\t\t\t\tbackground: linear-gradient(331deg, #FF5E00 0%, #FF001A 100%);\n\t\t\t\tborder-radius: 4px;\n\t\t\t\tfont-size: 17px;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tcolor: #FFFFFF;\n\t\t\t\tline-height: 17px;\n\t\t\t\ttext-align: center;\n\t\t\t\tline-height: 44px;\n\t\t\t\tmargin-left: calc(20/375*100%);\n\t\t\t}\n\t\t\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!./set-select-industry.vue?vue&type=style&index=0&id=254f07e1&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!./set-select-industry.vue?vue&type=style&index=0&id=254f07e1&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/update-position.vue?e49f","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/update-position.vue?a777","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/update-position.vue?15d4","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/update-position.vue?d79f","uni-app:///pages/main/home/update-position.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/update-position.vue?199f"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,oH,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,uBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAwI;AACxI;AACmE;AACL;AACsC;;;AAGpG;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,qFAAM;AACR,EAAE,sGAAM;AACR,EAAE,+GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,0GAAU;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,oLAEN;AACP,KAAK;AACL;AACA,aAAa,sQAEN;AACP,KAAK;AACL;AACA,aAAa,sLAEN;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;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7DA;AAAA;AAAA;AAAA;AAA41B,CAAgB,6yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACoEh3B,4D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAGA,EACA,IADA,kBACA,CACA,SACA,WADA,EAEA,mFAFA,EAGA,8CAHA,EAIA,8CAJA,EAKA,0CALA,EAMA,QACA,YADA,EAEA,YAFA,EAGA,YAHA,EAIA,QAJA,EAKA,aALA,EAMA,aANA,EANA,EAcA,aAdA,GAgBA,CAlBA,EAoBA,MApBA,kBAoBA,CApBA,EAoBA,CACA,2BACA,cACA,qBACA,yCACA,CACA,CA1BA,EA4BA,WAEA,YAFA,wBAEA,CAFA,EAEA,CAFA,EAEA,CACA,+BACA,+BACA,wEACA,CAFA,MAEA,CACA,qBACA,CACA,CANA,MAMA,CACA,qBACA,CACA,yCACA,0BACA,CAdA,EAgBA,MAhBA,oBAgBA,CACA,mBACA,QADA,IAGA,CApBA,EAsBA,MAtBA,oBAsBA,CACA,+DACA,sEACA,0CACA,CACA,mDACA,gBACA,gBADA,IAGA,OACA,CACA,2FACA,gBACA,qBADA;AAGA;AACA;AACA,OAhBA,MAgBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBADA;;AAGA,KAlDA,EA5BA,E;;;;;;;;;;;;;ACvEA;AAAA;AAAA;AAAA;AAA+lD,CAAgB,o8CAAG,EAAC,C","file":"pages/main/home/update-position.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/home/update-position.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./update-position.vue?vue&type=template&id=7b06076a&scoped=true&\"\nvar renderjs\nimport script from \"./update-position.vue?vue&type=script&lang=js&\"\nexport * from \"./update-position.vue?vue&type=script&lang=js&\"\nimport style0 from \"./update-position.vue?vue&type=style&index=0&id=7b06076a&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 \"7b06076a\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/home/update-position.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!./update-position.vue?vue&type=template&id=7b06076a&scoped=true&\"","var components\ntry {\n components = {\n uForm: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-form/u-form\" */ \"@/uview-ui/components/u-form/u-form.vue\"\n )\n },\n cInputItem: function() {\n return import(\n /* webpackChunkName: \"components/c-input-item/c-input-item\" */ \"@/components/c-input-item/c-input-item.vue\"\n )\n },\n uInput: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-input/u-input\" */ \"@/uview-ui/components/u-input/u-input.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 l0 = _vm.__map(_vm.welfareTag, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var g0 = _vm.selects.includes(item)\n return {\n $orig: $orig,\n g0: g0\n }\n })\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n l0: l0\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!./update-position.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!./update-position.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"\">\n\t\t<view style=\"padding: 20rpx 30rpx;\">\n\t\t\t<u-form :model=\"form\" :error-type=\"errorType\" ref=\"uForm\">\n\t\t\t\t<c-input-item label=\"岗位类别\" type=\"select\" name=\"category\" :options=\"positionTypeOptions\"\n\t\t\t\t\tv-model=\"form.category\" :rightIcon=\"true\">\n\t\t\t\t</c-input-item>\n\t\t\t\t<c-input-item label=\"岗位性质\" type=\"select\" name=\"property\" :options=\"positionPropOptions\"\n\t\t\t\t\tv-model=\"form.property\" :rightIcon=\"true\">\n\t\t\t\t</c-input-item>\n\t\t\t\t<c-input-item label=\"薪资类型\" type=\"select\" name=\"wageType\" :options=\"salaryTypeOptions\"\n\t\t\t\t\tv-model=\"form.wageType\" :rightIcon=\"true\" >\n\t\t\t\t</c-input-item>\n\t\t\t\t<view v-if=\"form.wageType=='daily'||form.wageType=='hourly'\" style=\"margin-top: 32rpx;\">\n\t\t\t\t\t<view class=\"text1\">{{form.wageType=='daily'?\"日薪\":\"时薪\"}}</view>\n\t\t\t\t\t<view style=\"display: flex;\">\n\t\t\t\t\t\t<view class=\"textValue\" style=\"width: 36%;\">\n\t\t\t\t\t\t\t<u-input v-model=\"form.wageLower\" type=\"number\" maxlength=\"12\" placeholder=\"请输入金额\" />\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view class=\"textValue\" style=\"padding-top:16rpx\">元/{{form.wageType=='daily'?\"天\":\"小时\"}}\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view v-else-if=\"form.wageType=='monthly'\" style=\"margin-top: 32rpx;\">\n\t\t\t\t\t<view class=\"text1\" >综合月薪</view>\n\t\t\t\t\t<view style=\"display: flex;\">\n\t\t\t\t\t\t<view class=\"textValue\" style=\"width: 36%;text-align-last: center;\">\n\t\t\t\t\t\t\t<u-input v-model=\"form.wageLower\" type=\"number\" maxlength=\"12\" placeholder=\"请输入金额\" />\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view class=\"textValue\" style=\"padding-top:16rpx;\">~\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view class=\"textValue\" style=\"width: 36%;text-align-last: center;\">\n\t\t\t\t\t\t\t<u-input v-model=\"form.wageUpper\" type=\"number\" maxlength=\"12\" placeholder=\"请输入金额\" />\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view class=\"textValue\" style=\"padding-top:16rpx\">元/月\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</u-form>\n\t\t</view>\n\t\t<view style=\"font-size: 13px;font-weight: 400;color: #121212;margin-top: 20rpx;margin-left: 20rpx;;\">公司福利</view>\n\t\t<view class=\"tag\">\n\t\t\t<view class=\"item\" v-for=\"(item, index) in welfareTag\">\n\t\t\t\t<!-- <view v-if=\"selects.includes(item)\" class=\"selected\" @click=\"welfareClick(item,index,false)\">\n\t\t\t\t\t{{item}}\n\t\t\t\t</view>\n\t\t\t\t<view v-else class=\"default\" @click=\"welfareClick(item,index,true)\">\n\t\t\t\t\t{{item}}\n\t\t\t\t</view> -->\n\t\t\t\t<view v-if=\"selects.includes(item)\" class=\"selected\" @click=\"welfareClick(item,index,false)\">\n\t\t\t\t\t{{item}}\n\t\t\t\t</view>\n\t\t\t\t<view v-else class=\"default\" @click=\"welfareClick(item,index,true)\">\n\t\t\t\t\t{{item}}\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t</view>\n\t\t<view class=\"botBtn\">\n\t\t\t<view style=\"width: 100%;height: 2rpx;background-color: #f0f0ff;\"></view>\n\t\t\t<view class=\"btn_wrap\">\n\t\t\t\t<view class=\"btn01\" @click=\"cancel\">取消</view>\n\t\t\t\t<view class=\"btn02\" @click=\"submit\">保存</view>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\timport {\n\tpositionTypeOptions,positionPropOptions,salaryTypeOptions\n\t} from '@/common/util.js'\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tselects: [],\n\t\t\t\twelfareTag: [\"五险\", \"五险一金\", \"五险二金\", \"餐补\", \"房补\", \"加班费\", \"交通补贴\", \"法定节假日\", \"话补\", \"全勤奖\"],\n\t\t\t\tpositionTypeOptions,\n\t\t\t\tpositionPropOptions,\n\t\t\t\tsalaryTypeOptions,\n\t\t\t\tform: {\n\t\t\t\t\tcategory: '',\n\t\t\t\t\tproperty: '',\n\t\t\t\t\twageType: '',\n\t\t\t\t\tflag:'',\n\t\t\t\t\twageLower:'',\n\t\t\t\t\twageUpper:''\n\t\t\t\t},\n\t\t\t\ttypeTitle:\"\",\n\t\t\t}\n\t\t},\n\t\t\n\t\tonLoad(e) {\n\t\t\tconsole.log(\"onLoad..\",e)\n\t\t\tthis.form = e\n\t\t\tif(this.form.flag){\n\t\t\t\tthis.selects = this.form.flag.split(',')\n\t\t\t}\n\t\t},\n\n\t\tmethods: {\n\t\t\t\n\t\t\twelfareClick(e, i) {\n\t\t\t\tif (this.selects.length != 0) {\n\t\t\t\t\tif (this.selects.includes(e)) {\n\t\t\t\t\t\tthis.selects = this.selects.filter(item => item != e)\n\t\t\t\t\t}else {\n\t\t\t\t\t\tthis.selects.push(e)\n\t\t\t\t\t}\n\t\t\t\t}else {\n\t\t\t\t\tthis.selects.push(e)\n\t\t\t\t}\n\t\t\t\tthis.form.flag = this.selects.toString();\n\t\t\t\tconsole.log(this.selects)\n\t\t\t},\n\t\t\t\n\t\t\tcancel(){\n\t\t\t\tuni.navigateBack({\n\t\t\t\t\tdelta:1\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t\tsubmit(){\n\t\t\t\tif(this.form.wageType&&this.form.wageType!='negotiable'){\n\t\t\t\t\tif(this.form.wageType=='daily'||this.form.wageType=='hourly'){\n\t\t\t\t\t\tthis.form.wageUpper = this.form.wageLower \n\t\t\t\t\t}\n\t\t\t\t\tif(!this.form.wageLower||!this.form.wageUpper){\n\t\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\t\ttitle:\"请完善薪资金额\"\n\t\t\t\t\t\t})\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tif(this.form.wageType=='monthly'&&(this.form.wageLower-0)>(this.form.wageUpper-0)){\n\t\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\t\ttitle:\"薪资下限不能大于薪资上限\"\n\t\t\t\t\t\t})\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tthis.form.wageLower = ''\n\t\t\t\t\tthis.form.wageUpper = ''\n\t\t\t\t}\n\t\t\t\tlet pages = getCurrentPages();\n\t\t\t\tlet prevPage = pages[pages.length - 2];\n\t\t\t\tprevPage.$vm.subform = this.form\n\t\t\t\tconsole.log(this.form,prevPage.$vm.subform)\n\t\t\t\tuni.navigateBack({\n\t\t\t\t\tdelta:1\n\t\t\t\t})\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t.page {}\n\n\t.tag {\n\t\tdisplay: flex;\n\t\tflex-wrap: wrap;\n\t\t// justify-content: space-between;\n\t\tpadding: 30rpx 32rpx;\n\t\twidth: 100%;\n\t\tbackground-color: #fff;\n\t\n\t\t.item {\n\t\t\twidth: 30%;\n\t\t\tmargin-right: 3.3%;\n\t\t\theight: 72rpx;\n\t\t\tmargin-bottom: 20rpx;\n\t\t}\n\t\n\t\t.default {\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tborder-radius: 4rpx;\n\t\t\tfont-size: 28rpx;\n\t\t\tbackground: #F7F7F7;\n\t\t\tfont-weight: 400;\n\t\t\tcolor: #8C8E91;\n\t\t\ttext-align: center;\n\t\t\tline-height: 72rpx;\n\t\t}\n\t\n\t\t.selected {\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tbackground: rgba(255, 13, 22, 0.1);\n\t\t\tborder-radius: 4rpx;\n\t\t\tborder: 2rpx solid rgba(255, 13, 22, 0.6);\n\t\t\tfont-size: 28rpx;\n\t\t\tfont-weight: 400;\n\t\t\tcolor: #FF0D16;\n\t\t\ttext-align: center;\n\t\t\tline-height: 72rpx;\n\t\t}\n\t}\n\n\t.botBtn {\n\t\twidth: 100%;\n\t\theight: 180rpx;\n\t\tposition: fixed;\n\t\tbackground-color: #FFFFFF;\n\t\tbottom: 0;\n\t\tz-index: 99;\n\t\t\n\t\t.btn_wrap{\n\t\t\tpadding: 32rpx;\n\t\t\tdisplay: flex\n\t\t}\n\t\t\n\t\t.btn01 {\n\t\t\tflex: 1;\n\t\t\theight: 44px;\n\t\t\tbackground: #F7F7F7;\n\t\t\tborder-radius: 4px;\n\t\t\tfont-size: 17px;\n\t\t\tfont-weight: 500;\n\t\t\tcolor: #646464;\n\t\t\ttext-align: center;\n\t\t\tline-height: 44px;\n\t\t}\n\t\n\t\t.btn02 {\n\t\t\tflex: 2;\n\t\t\theight: 44px;\n\t\t\tbackground: linear-gradient(331deg, #FF5E00 0%, #FF001A 100%);\n\t\t\tborder-radius: 4px;\n\t\t\tfont-size: 17px;\n\t\t\tfont-weight: 400;\n\t\t\tcolor: #FFFFFF;\n\t\t\tline-height: 17px;\n\t\t\ttext-align: center;\n\t\t\tline-height: 44px;\n\t\t\tmargin-left: 40rpx;\n\t\t}\n\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!./update-position.vue?vue&type=style&index=0&id=7b06076a&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!./update-position.vue?vue&type=style&index=0&id=7b06076a&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/work-hb-share.vue?359b","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/work-hb-share.vue?a002","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/work-hb-share.vue?745e","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/work-hb-share.vue?2567","uni-app:///pages/main/home/work-hb-share.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/home/work-hb-share.vue?391c"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,+G,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,oBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAsI;AACtI;AACiE;AACL;AACsC;;;AAGlG;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,mFAAM;AACR,EAAE,oGAAM;AACR,EAAE,6GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,wGAAU;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,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrBA;AAAA;AAAA;AAAA;AAA01B,CAAgB,2yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACsD92B;AACA,+H;AACA;AACA,MADA,kBACA;AACA;AACA,cADA;AAEA,mBAFA;AAGA,4BAHA;AAIA,gDAJA;AAKA,sBALA;AAMA;AACA,iBADA;AAEA,oBAFA;AAGA,mBAHA,EANA;;AAWA,mBAXA;AAYA,eAZA;;AAcA,GAhBA;;AAkBA,mBAlBA,6BAkBA,GAlBA,EAkBA;AACA;AACA;AACA;AACA;AACA,mBADA;AAEA,qEAFA;;AAIA,GA1BA;;AA4BA;AACA,UADA,kBACA,CADA,EACA;AACA;AACA;AACA;;AAEA;AACA,KAPA;;AASA,WATA,qBASA;AACA;AACA;AACA;AACA,+CADA;AAEA,uBAFA,EADA;;AAKA,SALA;;AAOA;AACA;AACA,KApBA;;AAsBA,YAtBA,sBAsBA;AACA;AACA;AACA;;AAEA,6BAHA,GAGA,kCAHA;AAIA,6BAJA,GAIA,EAJA;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,mBAnBA;;;AAsBA;AACA,wBADA;;AAGA;AACA;AACA;;AAEA;AACA,0BADA,GACA;AACA,qCADA;AAEA,qDAFA,EADA;;AAKA;AACA;;AAEA;AACA,mBAbA;;;AAgBA,KAhEA;;AAkEA,cAlEA,sBAkEA,KAlEA,EAkEA;AACA;AACA,KApEA;;AAsEA,eAtEA,uBAsEA,GAtEA,EAsEA;AACA;AACA;AACA;AACA,KA1EA;;AA4EA,WA5EA,mBA4EA,IA5EA,EA4EA;AACA;AACA;AACA,4CADA,CACA;AACA,SAFA,MAEA;AACA,mEADA,CACA;AACA,SAFA,MAEA;AACA;AACA;AACA,OARA,MAQA;AACA;AACA;AACA,KAxFA,EA5BA,E;;;;;;;;;;;;;ACxDA;AAAA;AAAA;AAAA;AAA6lD,CAAgB,k8CAAG,EAAC,C","file":"pages/main/home/work-hb-share.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/home/work-hb-share.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./work-hb-share.vue?vue&type=template&id=72bffe05&scoped=true&\"\nvar renderjs\nimport script from \"./work-hb-share.vue?vue&type=script&lang=js&\"\nexport * from \"./work-hb-share.vue?vue&type=script&lang=js&\"\nimport style0 from \"./work-hb-share.vue?vue&type=style&index=0&id=72bffe05&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 \"72bffe05\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/home/work-hb-share.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!./work-hb-share.vue?vue&type=template&id=72bffe05&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 m0 = _vm.item.startTime ? _vm.timeFormat(_vm.item.startTime) : null\n var m1 = _vm.getName(_vm.item.contactName)\n var m2 = _vm.phoneHandel(_vm.item.contactPhone)\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n m0: m0,\n m1: m1,\n m2: m2\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!./work-hb-share.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!./work-hb-share.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"page\">\n\t\t<img class='bg1' :src=\"vuex_baseImgUrl+'/poster-bg.png'\" alt=\"\">\n\t\t<view class=\"bg2\">\n\t\t\t<img src=\"/static/img/page/hbbg.png\" alt=\"\">\n\t\t\t<view class=\"son_content\">\n\t\t\t\t<view class=\"text\">\n\t\t\t\t\t<text>我们是:</text>\n\t\t\t\t\t<text class=\"write\">{{schoolType?schoolType:'_____'}}</text>\n\t\t\t\t\t<text>,</text>\n\t\t\t\t\t<text>有</text>\n\t\t\t\t\t<text class=\"write\">{{item.number?item.number:'_____'}}</text>\n\t\t\t\t\t<text>名</text>\n\t\t\t\t\t<text class=\"write\">{{item.professional?item.professional:'_____'}}</text>\n\t\t\t\t\t<text>专业学生</text>\n\t\t\t\t\t<text class=\"write\">{{item.startTime?timeFormat(item.startTime):'_____'}}</text>\n\t\t\t\t\t<text>后,可以参与</text>\n\t\t\t\t\t<text class=\"write\">{{item.duration?item.duration:'_____'}}</text>\n\t\t\t\t\t<text>的实习。</text>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"text_list\">\n\t\t\t\t\t<view class=\"item\">\n\t\t\t\t\t\t<view class=\"label1\">要求:</view>\n\t\t\t\t\t\t<view class=\"label2\">{{item.requirement?item.requirement=='professional_counterparts'?'专业对口':'其他':'_____'}}</view>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"item\">\n\t\t\t\t\t\t<view class=\"label1\">学校所在地:</view>\n\t\t\t\t\t\t<view class=\"label2\">{{item.province}}/{{item.city}}</view>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"item\">\n\t\t\t\t\t\t<view class=\"label1\">可实习地区:</view>\n\t\t\t\t\t\t<view class=\"label2\">{{internableLocation}}</view>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"item\">\n\t\t\t\t\t\t<view class=\"label1\">联系人:</view>\n\t\t\t\t\t\t<view class=\"label2\">{{getName(item.contactName)}}</view>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"item\">\n\t\t\t\t\t\t<view class=\"label1\">联系电话:</view>\n\t\t\t\t\t\t<view class=\"label2\">{{phoneHandel(item.contactPhone)}}</view>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"code\">\n\t\t\t\t\t<canvas id=\"qrcode\" canvas-id=\"qrcode\" :style=\"{ width: `${size}px`, height: `${size}px`, position: 'relative',left: '50%',marginLeft: '-60px'}\"></canvas>\n\t\t\t\t\t<view class=\"code_desc\">\n\t\t\t\t\t\t识别二维码沟通联系\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\t\n\timport {schoolTypeOptions} from '@/common/util.js'\n\timport uQRCode from '@/uni_modules/Sansnn-uQRCode/js_sdk/u-qrcode/u-qrcode.js';\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\titem: {},\n\t\t\t\tquestions: [],\n\t\t\t\tinternableLocation:'',\n\t\t\t\tschoolTypeOptions,\n\t\t\t\tschoolType: null,\n\t\t\t\tkeys: {\n\t\t\t\t\tdo:'未处理',\n\t\t\t\t\tdoing: '处理中',\n\t\t\t\t\tdone: '已办结'\n\t\t\t\t},\n\t\t\t\tqcodeText: '',\n\t\t\t\tsize: 120\n\t\t\t}\n\t\t},\n\t\t\n\t\tonShareAppMessage(res) {\n\t\t\tif (res.from === 'button') {\n\t\t\t\tconsole.log(res.target)\n\t\t\t}\n\t\t\treturn {\n\t\t\t\ttitle: '海报分享',\n\t\t\t\tpath: `pages/main/resource/resource-detail?id=${this.id}`,\n\t\t\t}\n\t\t},\n\n\t\tmethods: {\n\t\t\tonLoad(e) {\n\t\t\t\tthis.id = e.id\n\t\t\t\tthis.qcodeText = this.vuex_internshipDetailUrl\n\t\t\t\tthis.loadData()\n\t\t\t\t\n\t\t\t\tconsole.log('123123qw',this.qcodeText + '?id=' + this.id)\n\t\t\t},\n\t\t\t\n\t\t\tonReady() {\n\t\t\t const ctx = uni.createCanvasContext('qrcode');\n\t\t\t const uqrcode = new uQRCode(\n\t\t\t {\n\t\t\t text: this.qcodeText + '?id=' + this.id,\n\t\t\t size: this.size\n\t\t\t },\n\t\t\t ctx\n\t\t\t );\n\t\t\t uqrcode.make();\n\t\t\t uqrcode.draw();\n\t\t\t},\n\t\t\t\n\t\t\tloadData() {\n\t\t\t\tthis.$u.api.internshipTrackdetailApi(this.id).then(async res => {\n\t\t\t\t\tif (res) {\n\t\t\t\t\t\tthis.item = res\n\t\t\t\t\t\t\n\t\t\t\t\t\tlet cityCodes = JSON.parse(res.internableLocation)\n\t\t\t\t\t\tlet addpennd1 = ''\n\t\t\t\t\t\tfor (var i = 0; i < cityCodes.length; i++) {\n\t\t\t\t\t\t\taddpennd1 += cityCodes[i].city\n\t\t\t\t\t\t\tif (i != cityCodes.length -1) {\n\t\t\t\t\t\t\t\taddpennd1 = addpennd1 += '/'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis.internableLocation = addpennd1\n\t\t\t\t\t\t\n\t\t\t\t\t\tfor (var i = 0; i < this.schoolTypeOptions.length; i++) {\n\t\t\t\t\t\t\tif (this.schoolTypeOptions[i].value == res.schoolType) {\n\t\t\t\t\t\t\t\tthis.schoolType = this.schoolTypeOptions[i].label\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\n\t\t\t\tlet dic = {\n\t\t\t\t\ttrackId: this.id\n\t\t\t\t}\n\t\t\t\tthis.$u.api.trackRecordApi(dic).then(async res => {\n\t\t\t\t\tif (res) {\n\t\t\t\t\t\tthis.questions = this.questions.concat(res.records)\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (this.questions.length == 0) {\n\t\t\t\t\t\t\tlet dic1 = {\n\t\t\t\t\t\t\t\tstatus: '未处理',\n\t\t\t\t\t\t\t\tcomment: '您提交的请求正在审核中,请耐心等待~',\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tthis.questions.push(dic1)\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tconsole.log(this.questions)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\n\t\t\t},\n\t\t\t\n\t\t\ttimeFormat(value, format = \"yyyy/mm/dd\") {\n\t\t\t\treturn this.$u.timeFormat(value, format);\n\t\t\t},\n\t\t\t\n\t\t\tphoneHandel(tel) {\n\t\t\t if(!tel) return tel;\n\t\t\t const phone = tel.replace(tel.substring(3,7),'****')\n\t\t\t return phone\n\t\t\t},\n\t\t\t \n\t\t\tgetName(name) {\n\t\t\t if(null != name && name != undefined) {\n\t\t\t if(name.length == 2) {\n\t\t\t return name.substring(0,1) + '*' // 截取name的第一个字符,第二个字符变成*\n\t\t\t } else if(name.length == 3) {\n\t\t\t return name.substring(0,1) + '*' + name.substring(2,3) // 截取name的第一个和第三个字符,第二个字符变成*\n\t\t\t } else if(name.length > 3) {\n\t\t\t return name.substring(0,1) + '*' + '*' + name.substring(3,name.length)\n\t\t\t }\n\t\t\t } else {\n\t\t\t return ''\n\t\t\t }\n\t\t\t},\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t.page {\n\t\tposition: relative;\n\t\t\n\t\t.bg1 {\n\t\t\twidth: 100%;\n\t\t\theight: 1642rpx;\n\t\t\tbackground-color: #121212;\n\t\t}\n\t\t\n\t\t.bg2 {\n\t\t\tposition: absolute;\n\t\t\tbottom: 36rpx;\n\t\t\tleft: 20rpx;\n\t\t\twidth: calc(100% - 20px);\n\t\t\theight: 1030rpx;\n\t\t\t\n\t\t\timg {\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t}\n\t\t\t\n\t\t\t.son_content {\n\t\t\t\tposition: absolute;\n\t\t\t\tleft: 0;\n\t\t\t\ttop: 0;\n\t\t\t\twidth: 100%;\n\t\t\t\tmin-height: 403px;\n\t\t\t\tpadding: 52rpx 60rpx 30rpx;\n\t\t\t\n\t\t\t\t.text {\n\t\t\t\t\ttext {\n\t\t\t\t\t\tfont-size: 13px;\n\t\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\t\tcolor: #121212;\n\t\t\t\t\t\tmargin-left: 10rpx;\n\t\t\t\t\t\tline-height: 64rpx;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t.write {\n\t\t\t\t\t\tcolor: #D2791C;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t.text_list {\n\t\t\t\t\t.item {\n\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\tmargin-top: 26rpx;\n\t\t\t\t\t\t\n\t\t\t\t\t\t.label1 {\n\t\t\t\t\t\t\tfont-size: 13px;\n\t\t\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\t\t\tcolor: #121212;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t.label2 {\n\t\t\t\t\t\t\tmargin-left: 10rpx;\n\t\t\t\t\t\t\tfont-size: 13px;\n\t\t\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\t\t\tcolor: #D2791C;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t.code {\n\t\t\t\t\tmargin-top: 30rpx;\n\t\t\t\t\t\n\t\t\t\t\t.code_desc {\n\t\t\t\t\t\tmargin-top: 30rpx;\n\t\t\t\t\t\ttext-align: center;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n</style>","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!./work-hb-share.vue?vue&type=style&index=0&id=72bffe05&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!./work-hb-share.vue?vue&type=style&index=0&id=72bffe05&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/again-remove.vue?2a08","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/again-remove.vue?df12","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/again-remove.vue?bd02","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/again-remove.vue?0602","uni-app:///pages/main/my/again-remove.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/again-remove.vue?4922"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,4G,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,oBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqI;AACrI;AACgE;AACL;AACsC;;;AAGjG;AACmN;AACnN,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,aAAa,oLAEN;AACP,KAAK;AACL;AACA,aAAa,sMAEN;AACP,KAAK;AACL;AACA,aAAa,8MAEN;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;;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAAy1B,CAAgB,0yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiJ72B;;;AAGA,gD;;;;;AAKA;AACA,MADA,kBACA;AACA;AACA,sBADA;AAEA;AACA,4BADA;AAEA,uDAFA;AAGA,0BAHA;AAIA,0BAJA,EAFA;;AAQA,cARA;AASA,qBATA;;AAWA,GAbA;;AAeA;AACA;AACA;AACA,YAFA,oBAEA,KAFA,EAEA;AACA;AACA;AACA,KALA,GADA,CAfA;;;;AAyBA;AACA,UADA,oBACA;AACA;AACA,gBADA;;AAGA,KALA;;AAOA,WAPA,qBAOA;AACA;AACA;AACA;AACA;AACA,0BADA;;;AAIA;AACA,gCADA;AAEA,YAFA,CAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,SAXA;AAYA,OAlBA,MAkBA;AACA;AACA;AACA,KA9BA;;AAgCA,cAhCA,wBAgCA;AACA;AACA;AACA;AACA;AACA;AACA,KAtCA;;AAwCA,UAxCA,kBAwCA,CAxCA,EAwCA;AACA;AACA,KA1CA;;AA4CA,cA5CA,sBA4CA,IA5CA,EA4CA;AACA;AACA,KA9CA;;AAgDA,UAhDA,kBAgDA,CAhDA,EAgDA;AACA;;AAEA;AACA,8BADA;AAEA,eAFA;AAGA,UAHA,iGAGA;AACA,0CADA;AAEA;AACA,iCADA;;AAGA,sCALA;;AAOA,gDAPA;AAQA,iDARA;AASA,sDATA;;AAWA;AACA;AACA;AACA;AACA;AAfA,yEAHA;;AAqBA,KAxEA,EAzBA,E;;;;;;;;;;;;;ACzJA;AAAA;AAAA;AAAA;AAA4lD,CAAgB,i8CAAG,EAAC,C","file":"pages/main/my/again-remove.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/again-remove.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./again-remove.vue?vue&type=template&id=18abb892&scoped=true&\"\nvar renderjs\nimport script from \"./again-remove.vue?vue&type=script&lang=js&\"\nexport * from \"./again-remove.vue?vue&type=script&lang=js&\"\nimport style0 from \"./again-remove.vue?vue&type=style&index=0&id=18abb892&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 \"18abb892\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/my/again-remove.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!./again-remove.vue?vue&type=template&id=18abb892&scoped=true&\"","var components\ntry {\n components = {\n uMask: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-mask/u-mask\" */ \"@/uview-ui/components/u-mask/u-mask.vue\"\n )\n },\n uMessageInput: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-message-input/u-message-input\" */ \"@/uview-ui/components/u-message-input/u-message-input.vue\"\n )\n },\n uVerificationCode: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-verification-code/u-verification-code\" */ \"@/uview-ui/components/u-verification-code/u-verification-code.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!./again-remove.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!./again-remove.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n\t\t<view style=\"width: 100%;height: 100%;\">\r\n\t\t\t<view class=\"title\" style=\"margin: 32rpx;\">账户注销协议</view>\r\n\t\t\t<view class=\"content\">\r\n\t\t\t\t<text class=\"text\" :user-select=\"true\">\r\n\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\t\r\n\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\t\r\n\t\t\t\t\t1.账号一旦注销,您将无法登录、使用该账号(也包括无法再使用第三方登录方式),也就是说您将无法再以此账号(亦包括第三方账号绑定的账号)登录/使用/继续使用我们的产品与服务;\r\n\t\t\t\t\t\r\n\t\t\t\t\t2.账号一旦注销,您曾通过该账号登录、使用的产品与服务下的所有内容、信息、数据、记录将会被全部删除或匿名化处理,您也无法再检索、访问、获取、继续使用和找回,也无权要求我们找回(但法律法规另有约定的除外),包括但不限于:\r\n\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\t•该账号下的您的个人隐私信息(同时您亦不再享有《用户隐私保护政策》中约定的您的用户权利,但法律法规另有约定的除外);\r\n\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\t•其他所有内容、信息、数据、记录。\r\n\t\t\t\t\t\r\n\t\t\t\t\t3. 您同意通过注销账号的方式放弃该账号下的产品与服务使用期间已产生的但未消耗完毕的权益及未来的逾期利益。即账号一旦注销,我们将会对该账号下的全部权益做清除处理,包括但不限于:\r\n\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\t•您尚未使用的学豆、积分、成长值等;\r\n\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\t•您在账号下的产品与/或服务中的各类身份权益;\r\n\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\t•其他已产生但未消耗完毕的权益或未来预期的收益。\r\n\t\t\t\t\t\r\n\t\t\t\t\t4.账号一旦注销,将无法恢复(即使您在注销后以相同手机号码再次向我们申请注册账号,此时该账号将默认为新的用户账号。因此,我们善意地提醒您在申请注销前对需要备份的内容提前自行做好备份);\r\n\t\t\t\t\t\r\n\t\t\t\t\t5.账号一旦注销,您与我们曾签署过的相关用户协议、其他权利义务性文件等相应终止(但已约定继续生效的或法律法规另有规定的除外);\r\n\t\t\t\t\t\r\n\t\t\t\t\t6. 其他因账号注销(可能)产生的结果。\r\n\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\t1. 该账号是通过我们的官方渠道注册、符合优学乐业相关平台说明规范的账号;且为您本人注册的账号;\r\n\t\t\t\t\t\r\n\t\t\t\t\t2. 需按照我们的官方渠道提供的注销流程和操作指引进行注销操作;\r\n\t\t\t\t\t\r\n\t\t\t\t\t3. 该账号处于安全状态,包括但不限于:\r\n\t\t\t\t\t\r\n\t\t\t\t\t•最近1个月内无异常登录记录;\r\n\t\t\t\t\t\r\n\t\t\t\t\t•最近1个月内未换绑注册手机、邮箱;\r\n\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\t•该账号在申请注销期间未处于非法的被检查状态、被限制的状态;\r\n\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\t4. 该账号内无余额/资金 学豆,包括但不限于:\r\n\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\t•账号内的其他余额/资金均已被提现或消费完毕。\r\n\t\t\t\t\t\r\n\t\t\t\t\t5. 该账号内无未处理完毕的交易,包括但不限于:\r\n\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\t•无其他未处理完毕的订单或已提供服务但未支付的订单/服务。\r\n\t\t\t\t\t\r\n\t\t\t\t\t5. 其他应满足的条件。\r\n\t\t\t\t\t\r\n\t\t\t\t\t上述问题您可首先尝试自行处理,如您无法处理的或在处理过程中有任何疑惑的,可联系客服协助处理(客服电话:400-8227611 ) \r\n\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\t1. 您需按照我们的官方渠道提供的注销流程和操作指引,在相关功能设置页面进行注销操作;\r\n\t\t\t\t\t\r\n\t\t\t\t\t2. 您已经仔细阅读与充分理解、且同意本《账号注销协议》的全部内容;同时,您已经检查与确认满足了本协议第二条的要求;\r\n\t\t\t\t\t\r\n\t\t\t\t\t3. 在您完成上述第2点后,我们将根据您的账号安全状态以及您的相关产品与服务的使用情况等综合判断您的账号是否符合注销条件。如满足注销条件,为保障您的账号安全和财产权益,我们需要进行注销申请的身份验证以确保您真的是账号的有权使用人(如注册手机验证方式等)。如我们在综合判断后发现账号不符合注销条件的,或者身份验证失败的,您的注销可能会失败,您可以按照我们的指引进行后续操作或联系客服协助处理;\r\n\t\t\t\t\t\r\n\t\t\t\t\t3. 我们在您成功完成上述第3点的“身份验证”后,视为您已成功向我们提交了账号注销申请,在此期间内,我们为您的该账号提供2个月60天的保留期限(即“锁定期”)。在该锁定期内,您无法登录与使用该账号,该账号下的相关信息我们也暂时不会作删除或匿名化处理。在锁定期内,您在提供相关身份信息后可以通过客服允许的方式随时向我们提出恢复该账号;如超过锁定期后,我们未收到您恢复账号的请求或者未出现任何其他不得注销事由的,该账号将被永久注销。\r\n\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\t本协议未尽事宜,请参考《用户协议》、《用户隐私保护政策》及优学乐业平台相关规则、说明等。同时,您知悉并同意:即使您的账号被注销了,也并不减轻或免除您应根据相关法律法规、相关协议、规则等(可能)需要承担的相关责任。\r\n\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\t本协议之效力、解释、变更、执行与争议解决均适用中华人民共和国法律。因本协议产生之争议,双方尽最大诚意进行友好协商,如果双方不能协商一致,均应依照中华人民共和国法律予以处理,并由北京市朝阳区有管辖权的人民法院管辖。\r\n\t\t\t\t</text>\r\n\t\t\t</view>\r\n\t\t\t<view style=\"position: fixed;bottom: 0;width: 100%;\">\r\n\t\t\t\t<view class=\"divide_line\"></view>\r\n\t\t\t\t<view class=\"bottom\">\r\n\t\t\t\t\t<view class=\"bd1\">\r\n\t\t\t\t\t\t<text class=\"text1\" @click=\"giveUp\">放弃注销</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"bd2\">\r\n\t\t\t\t\t\t<text class=\"text2\" @click=\"getCode\">同意注销</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- <u-modal class=\"modal\" v-model=\"showModal\" title=\"请输入验证码\" title-style=\"title_style\" :show-confirm-button=\"false\">\r\n\t\t\t<view class=\"text1\" style=\"margin: 32rpx;\">已发送至手机号:177****8888</view>\r\n\t\t\t<view class=\"\" style=\"margin: 48rpx 0;width: 100%;\">\r\n\t\t\t\t<u-message-input :maxlength=\"6\" value=\"\" :focus=\"true\" :breathe=\"true\"\r\n\t\t\t\t:dot-fill=\"true\" :width=\"76\" @finish=\"goNext\"></u-message-input>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"\">\r\n\t\t\t\t<u-verification-code @end=\"end\" @start=\"start\" ref=\"uCode\"\r\n\t\t\t\t\t\t@change=\"codeChange\"></u-verification-code>\t\r\n\t\t\t\t<view class=\"text2\" style=\"margin-bottom: 60rpx;\" @click=\"getCode\">{{tips}}</view>\r\n\t\t\t</view>\r\n\t\t\t\r\n\t\t</u-modal> -->\r\n\t\t<u-mask :show=\"showModal\">\r\n\t\t\t<view class=\"modal\" v-show=\"showModal\">\r\n\t\t\t\t<image src=\"/static/img/my/delete.png\" class=\"close\" @click=\"closeModal\"></image>\r\n\t\t\t\t<view class=\"text0\" style=\"margin-top:64rpx\">请输入验证码</view>\r\n\t\t\t\t<view class=\"text1\" style=\"margin: 32rpx;\">已发送至手机号:{{getPhone}}</view>\r\n\t\t\t\t<view style=\"margin: 32rpx 0;width: 100%;\">\r\n\t\t\t\t\t<u-message-input :maxlength=\"4\" :value=\"currentCode\" :focus=\"false\" :breathe=\"true\" :dot-fill=\"true\"\r\n\t\t\t\t\t\t:width=\"76\" @change=\"change\" @finish=\"goNext\"></u-message-input>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view style=\"margin-top: 32rpx;\">\r\n\t\t\t\t\t<u-verification-code ref=\"uCode\" @change=\"codeChange\">\r\n\t\t\t\t\t</u-verification-code>\r\n\t\t\t\t\t<view class=\"text2\" @click=\"getCode\">{{tips}}</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</u-mask>\r\n\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\treplaceTextToStar\r\n\t} from '@/common/commonUtil.js'\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 {\r\n\t\t\t\tshowModal: false,\r\n\t\t\t\ttitle_style: {\r\n\t\t\t\t\t\"font-size\": \"34rpx\",\r\n\t\t\t\t\t\"font-family\": \"PingFangSC-Medium, PingFang SC\",\r\n\t\t\t\t\t\"font-weight\": 500,\r\n\t\t\t\t\t\"color\": \"#000000\"\r\n\t\t\t\t},\r\n\t\t\t\ttips: '',\r\n\t\t\t\tcurrentCode: \"\"\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tcomputed: {\r\n\t\t\t...mapState({\r\n\t\t\t\t// phone: (state) => state.vuex_user.phone,\r\n\t\t\t\tgetPhone(state) {\r\n\t\t\t\t\tlet phone = state.vuex_user.phone;\r\n\t\t\t\t\treturn replaceTextToStar(phone);\r\n\t\t\t\t},\r\n\t\t\t}),\r\n\t\t},\r\n\r\n\t\tmethods: {\r\n\t\t\tgiveUp() {\r\n\t\t\t\tuni.navigateBack({\r\n\t\t\t\t\tdelta: 2\r\n\t\t\t\t});\r\n\t\t\t},\r\n\r\n\t\t\tgetCode() { //获取验证码\r\n\t\t\t\tthis.showModal = true;\r\n\t\t\t\tif (this.$refs.uCode.canGetCode) {\r\n\t\t\t\t\t// 模拟向后端请求验证码\r\n\t\t\t\t\tuni.showLoading({\r\n\t\t\t\t\t\ttitle: '正在获取验证码'\r\n\t\t\t\t\t})\r\n\r\n\t\t\t\t\tthis.$u.api.getSmsCodeApi({\r\n\t\t\t\t\t\tphone: this.vuex_phone\r\n\t\t\t\t\t}).then(data => {\r\n\t\t\t\t\t\tconsole.log(data)\r\n\r\n\t\t\t\t\t\tuni.hideLoading();\r\n\t\t\t\t\t\t// 这里此提示会被this.start()方法中的提示覆盖\r\n\t\t\t\t\t\tthis.$u.toast('验证码已发送');\r\n\t\t\t\t\t\t// 通知验证码组件内部开始倒计时\r\n\t\t\t\t\t\tthis.$refs.uCode.start();\r\n\r\n\t\t\t\t\t})\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.$u.toast('倒计时结束后再发送');\r\n\t\t\t\t}\r\n\t\t\t},\r\n\r\n\t\t\tcloseModal() {\r\n\t\t\t\tif (this.showModal) {\r\n\t\t\t\t\tthis.showModal = false;\r\n\t\t\t\t\tthis.$refs.uCode.reset();\r\n\t\t\t\t\tthis.currentCode = \"\";\r\n\t\t\t\t}\r\n\t\t\t},\r\n\r\n\t\t\tchange(e) {\r\n\t\t\t\tthis.currentCode = e;\r\n\t\t\t},\r\n\r\n\t\t\tcodeChange(text) {\r\n\t\t\t\tthis.tips = text;\r\n\t\t\t},\r\n\r\n\t\t\tgoNext(e) {\r\n\t\t\t\tconsole.log('输入结束,当前值为:' + e);\r\n\r\n\t\t\t\tthis.$u.api.delAccountApi({\r\n\t\t\t\t\tphone: this.vuex_phone,\r\n\t\t\t\t\tcode: e,\r\n\t\t\t\t}).then(async data => {\r\n\t\t\t\t\tif (data && data.code == 200) {\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle: '注销成功'\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\tthis.closeModal();\n\t\t\t\t\t\t\n\t\t\t\t\t\tawait uni.$u.vuex('vuex_user', '');\n\t\t\t\t\t\tawait uni.$u.vuex('vuex_token', '');\n\t\t\t\t\t\tawait uni.setStorageSync('lifeData', {})\n\t\t\t\t\t\t\n\t\t\t\t\t\tuni.$u.route('/pages/common/login/login');\n\t\t\t\t\t\t// this.$u.route({\n\t\t\t\t\t\t// \turl: '/pages/student/my/freezing/freezing',\n\t\t\t\t\t\t\t// type: 'reLaunch',\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\t.title {\r\n\t\tfont-size: 48rpx;\r\n\t\tfont-family: PingFangSC-Medium, PingFang SC;\r\n\t\tfont-weight: 500;\r\n\t\tcolor: #26292F;\r\n\t\tmargin-top: 66rpx;\r\n\t}\r\n\r\n\t.content {\r\n\t\twidth: 100%;\r\n\t\tpadding: 12rpx 32rpx;\r\n\t\tmargin-bottom: 180rpx;\r\n\r\n\t\t.text {\r\n\t\t\tfont-size: 28rpx;\r\n\t\t\tfont-family: PingFangSC-Regular, PingFang SC;\r\n\t\t\tfont-weight: 400;\r\n\t\t\tcolor: #26292F;\r\n\t\t\tline-height: 40rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t.divide_line {\r\n\t\twidth: 100%;\r\n\t\theight: 2rpx;\r\n\t\tborder: 2rpx solid #F0F0F1;\r\n\t}\r\n\r\n\t.bottom {\r\n\t\theight: 144rpx;\r\n\t\tbackground-color: #fff;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: row;\r\n\r\n\t\t.bd1 {\r\n\t\t\theight: 96rpx;\r\n\t\t\tborder-radius: 8rpx;\r\n\t\t\tbackground-color: rgba(0, 0, 0, 0.03);\r\n\t\t\tmargin: auto 30rpx;\r\n\t\t\twidth: 30%;\r\n\t\t\tdisplay: flex;\r\n\t\t}\r\n\r\n\t\t.bd2 {\r\n\t\t\theight: 96rpx;\r\n\t\t\tborder-radius: 8rpx;\r\n\t\t\tbackground-color: rgba(12, 177, 122, 1);\r\n\t\t\tmargin: auto 30rpx;\r\n\t\t\twidth: 60%;\r\n\t\t\tdisplay: flex;\r\n\t\t}\r\n\r\n\t\t.text1 {\r\n\t\t\tcolor: rgba(0, 0, 0, 0.45);\r\n\t\t\tfont-size: 34rpx;\r\n\t\t\tfont-family: PingFangSC-Medium;\r\n\t\t\tline-height: 48rpx;\r\n\t\t\tmargin: auto;\r\n\t\t}\r\n\r\n\t\t.text2 {\r\n\t\t\tcolor: #ffff;\r\n\t\t\tfont-size: 34rpx;\r\n\t\t\tline-height: 48rpx;\r\n\t\t\tmargin: auto;\r\n\t\t}\r\n\t}\r\n\r\n\t.modal {\r\n\t\twidth: 88%;\r\n\t\tposition: relative;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\tmargin: 200rpx auto;\r\n\t\tpadding-bottom: 64rpx;\r\n\t\tborder-radius: 12rpx;\r\n\t\tbackground-color: #fff;\r\n\r\n\t\t.close {\r\n\t\t\twidth: 48rpx;\r\n\t\t\theight: 48rpx;\r\n\t\t\tpadding: 12rpx;\r\n\t\t\tposition: fixed;\r\n\t\t\tright: 40rpx;\r\n\t\t}\r\n\r\n\t\t.text0 {\r\n\t\t\tfont-size: 34rpx;\r\n\t\t\tfont-family: PingFangSC-Medium, PingFang SC;\r\n\t\t\tfont-weight: 500;\r\n\t\t\tcolor: #000000;\r\n\t\t\ttext-align: center;\r\n\t\t}\r\n\r\n\t\t.text1 {\r\n\t\t\tfont-size: 34rpx;\r\n\t\t\tfont-family: PingFangSC-Regular, PingFang SC;\r\n\t\t\tfont-weight: 400;\r\n\t\t\tcolor: rgba(0, 0, 0, 0.45);\r\n\t\t\ttext-align: center;\r\n\t\t}\r\n\r\n\t\t.text2 {\r\n\t\t\tfont-size: 30rpx;\r\n\t\t\tfont-family: PingFangSC-Regular, PingFang SC;\r\n\t\t\tfont-weight: 400;\r\n\t\t\tcolor: rgba(0, 0, 0, 0.5);\r\n\t\t\tline-height: 48rpx;\r\n\t\t\ttext-align: center;\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!./again-remove.vue?vue&type=style&index=0&id=18abb892&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!./again-remove.vue?vue&type=style&index=0&id=18abb892&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/bank-work-list.vue?a236","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/bank-work-list.vue?2f09","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/bank-work-list.vue?d06c","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/bank-work-list.vue?a391","uni-app:///pages/main/my/bank-work-list.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/bank-work-list.vue?6a5e"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,8G,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,qBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAuI;AACvI;AACkE;AACL;AACsC;;;AAGnG;AACmN;AACnN,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;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA21B,CAAgB,4yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACgC/2B;AACA,MADA,kBACA;AACA;AACA,qBADA;;AAGA,GALA;;AAOA,QAPA,kBAOA,CAPA,EAOA;AACA;AACA,GATA;;AAWA;AACA,kBADA,4BACA;AACA;AACA;AACA;AACA;AACA;AACA,OAJA;AAKA,KARA;;AAUA,gBAVA,0BAUA;AACA;AACA,uCADA;;AAGA,KAdA,EAXA,E;;;;;;;;;;;;AChCA;AAAA;AAAA;AAAA;AAA8lD,CAAgB,m8CAAG,EAAC,C","file":"pages/main/my/bank-work-list.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/bank-work-list.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./bank-work-list.vue?vue&type=template&id=38d4d7a2&scoped=true&\"\nvar renderjs\nimport script from \"./bank-work-list.vue?vue&type=script&lang=js&\"\nexport * from \"./bank-work-list.vue?vue&type=script&lang=js&\"\nimport style0 from \"./bank-work-list.vue?vue&type=style&index=0&id=38d4d7a2&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 \"38d4d7a2\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/my/bank-work-list.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!./bank-work-list.vue?vue&type=template&id=38d4d7a2&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!./bank-work-list.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!./bank-work-list.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"page\">\n\t\t<view class=\"content\">\n\t\t\t<view class=\"title\">\n\t\t\t\t我绑定的企业\n\t\t\t</view>\n\t\t</view>\n\t\t<view class=\"list\">\n\t\t\t<view v-if=\"companyList.length>0\">\n\t\t\t\t<view class=\"item\" v-for=\"(item, index) in companyList\">\n\t\t\t\t\t<img class='icon' src=\"/static/img/page/qiye.png\" >\n\t\t\t\t\t<view class=\"name\">\n\t\t\t\t\t\t{{item.name}}\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view v-else style=\"width: 100%; height: 100%;\">\n\t\t\t\t<view style=\"margin: 200px auto 0; width: 187px;height: 110px;\">\n\t\t\t\t\t<image style=\"width: 187px;height: 110px;\" :src=\"vuex_baseImgUrl+'/nodata.png'\"></image>\n\t\t\t\t</view>\n\t\t\t\t<view style=\"width: 100%; margin-top: 10px; text-align: center; font-size: 13px; color: #121212;\">暂未数据</view>\n\t\t\t</view>\n\t\t</view>\n\t\t<view style=\"height: 200rpx;\"></view>\n\t\t<view class=\"btView\">\n\t\t\t<view class=\"botBtn\" @click=\"oneselfClick()\">新增企业绑定</view>\n\t\t\t<view class=\"line\"></view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\t\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tcompanyList: [],\n\t\t\t}\n\t\t},\n\t\t\n\t\tonShow(e) {\n\t\t\tthis.getCompanyList()\n\t\t},\n\n\t\tmethods: {\n\t\t\tgetCompanyList() {\t\n\t\t\t\tthis.companyList = [];\n\t\t\t\tthis.$u.api.getCompanyListApi().then(data => {\n\t\t\t\t\tif (data && data.records) {\n\t\t\t\t\t\tthis.companyList = this.companyList.concat(data.records)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t\toneselfClick() {\n\t\t\t\tthis.$u.route({\n\t\t\t\t\turl: '/pages/main/my/bank-work',\n\t\t\t\t})\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t.page {\n\t\t.content {\n\t\t\tpadding: 44rpx 32rpx 0rpx;\n\t\t\tbackground-color: #fff;\n\t\t\t\n\t\t\t.title {\n\t\t\t\tfont-size: 20px;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tcolor: #121212;\n\t\t\t}\n\t\t\t\n\t\t\t.desc {\n\t\t\t\tmargin-top: 24rpx;\n\t\t\t\tfont-size: 13px;\n\t\t\t\tfont-weight: 300;\n\t\t\t\tcolor: #646464;\n\t\t\t}\n\t\t}\n\t\t\n\t\t.list {\n\t\t\tmargin-top: 16px;\n\t\t\t\n\t\t\t.item {\n\t\t\t\tpadding: 0 34rpx;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 146rpx;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\t\n\t\t\t\t.icon {\n\t\t\t\t\twidth: 16px;\n\t\t\t\t\theight: 16px;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t.name {\n\t\t\t\t\tmargin-left: 11px;\n\t\t\t\t\tfont-size: 16px;\n\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\tcolor: #121212;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\t.btView {\n\t\t\tposition: fixed;\n\t\t\tbottom: 0;\n\t\t\tleft: 0;\n\t\t\twidth: 100%;\n\t\t\theight: 180rpx;\n\t\t\tbackground-color: #fff;\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: space-between;\n\t\t\tpadding: 24rpx 50rpx 0;\n\t\t\t\n\t\t\t.botBtn {\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 44px;\n\t\t\t\tbackground: linear-gradient(331deg, #FF5E00 0%, #FF001A 100%);\n\t\t\t\tborder-radius: 4px;\n\t\t\t\tfont-size: 17px;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tcolor: #FFFFFF;\n\t\t\t\ttext-align: center;\n\t\t\t\tline-height: 44px;\n\t\t\t}\n\t\t\t\n\t\t\t.line {\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 0;\n\t\t\t\tleft: 0;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 1px;\n\t\t\t\tborder: 1px solid #F0F0F1;\n\t\t\t}\n\t\t}\n\t}\n</style>","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!./bank-work-list.vue?vue&type=style&index=0&id=38d4d7a2&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!./bank-work-list.vue?vue&type=style&index=0&id=38d4d7a2&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/bank-work.vue?8e03","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/bank-work.vue?85d1","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/bank-work.vue?8993","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/bank-work.vue?9fd8","uni-app:///pages/main/my/bank-work.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/bank-work.vue?4011","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/bank-work.vue?f0bc","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/bank-work.vue?8e28"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":"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","file":"pages/main/my/bank-work.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/bank-work.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./bank-work.vue?vue&type=template&id=c9429368&scoped=true&\"\nvar renderjs\nimport script from \"./bank-work.vue?vue&type=script&lang=js&\"\nexport * from \"./bank-work.vue?vue&type=script&lang=js&\"\nimport style0 from \"./bank-work.vue?vue&type=style&index=0&lang=css&\"\nimport style1 from \"./bank-work.vue?vue&type=style&index=1&id=c9429368&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 \"c9429368\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/my/bank-work.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!./bank-work.vue?vue&type=template&id=c9429368&scoped=true&\"","var components\ntry {\n components = {\n uForm: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-form/u-form\" */ \"@/uview-ui/components/u-form/u-form.vue\"\n )\n },\n cInputItem: function() {\n return import(\n /* webpackChunkName: \"components/c-input-item/c-input-item\" */ \"@/components/c-input-item/c-input-item.vue\"\n )\n },\n uInput: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-input/u-input\" */ \"@/uview-ui/components/u-input/u-input.vue\"\n )\n },\n uPopup: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-popup/u-popup\" */ \"@/uview-ui/components/u-popup/u-popup.vue\"\n )\n },\n uSearch: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-search/u-search\" */ \"@/uview-ui/components/u-search/u-search.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!./bank-work.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!./bank-work.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"page\">\n\t\t<view style=\"background-color: #fff; padding: 32rpx 32rpx 0;\">\n\t\t\t<u-form :model=\"form\" :error-type=\"errorType\" ref=\"uForm\">\n\t\t\t\t<view style=\"position: relative;\">\n\t\t\t\t\t<c-input-item label=\"企业名称\" type=\"text\" name=\"name\" v-model=\"form.name\"\n\t\t\t\t\t\t:rightIcon=\"true\" :disabled=\"true\" :placeholder=\"'实习企业查询'\">\n\t\t\t\t\t</c-input-item>\n\t\t\t\t\t<view @click=\"searchPop()\"\n\t\t\t\t\t\tstyle=\"position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 999;\"></view>\n\t\t\t\t</view>\n\t\t\t\t<c-input-item label=\"是否是人力资源公司(HRO)\" type=\"select\" name=\"select\" v-model=\"form.select\" :rightIcon=\"true\" :options=\"seles\">\n\t\t\t\t</c-input-item>\n\t\t\t</u-form>\n\t\t</view>\n\t\t<view style=\"background-color: #fff; margin-top: 40rpx;padding: 32rpx;\">\n\t\t\t<u-input v-model=\"form.area\" type=\"textarea\" placeholder='备注,请输入绑定申请理由' :height=\"328\" :auto-height=\"true\"/>\n\t\t</view>\n\t\t<view class=\"mark\" style=\"margin-left: 32rpx;\">\n\t\t\t注意企业绑定之后,允许您代企业发布岗位。\n\t\t</view>\n\t\t<view class=\"btView\">\n\t\t\t<view class=\"flow\" @click=\"callPhone()\">\n\t\t\t\t<img class=\"flowIcon\" src=\"/static/img/common/call-phone.png\" alt=\"\">\n\t\t\t\t<view>打电话</view>\n\t\t\t</view>\n\t\t\t<view class=\"flow\" @click=\"goChat()\">\n\t\t\t\t<img class=\"flowIcon\" src=\"/static/img/common/chat.png\" alt=\"\">\n\t\t\t\t<view>直聊</view>\n\t\t\t</view>\n\t\t\t<view class=\"botBtn\" @click=\"oneselfClick()\">提交</view>\n\t\t\t<view class=\"line\"></view>\n\t\t</view>\n\t\t<view>\n\t\t\t<u-popup v-model=\"show\" mode=\"bottom\" border-radius=\"20\" height=\"1000rpx\" closeable=\"true\">\n\t\t\t\t<view class=\"popup\">\n\t\t\t\t\t<view class=\"title\">企业查询</view>\n\t\t\t\t\t<view class=\"search\">\n\t\t\t\t\t\t<u-search v-model=\"keyword\" placeholder=\"请输入企业名称\" placeholder-color=\"rgba(0,0,0,0.65)\"\n\t\t\t\t\t\t\tinput-align=\"left\" :clearabled=\"true\" :show-action=\"true\" :action-text=\"'搜索'\" :focus=focus @custom=\"workSearch()\" @search=\"workSearch()\"></u-search>\n\t\t\t\t\t</view>\n\t\t\t\t\t<scroll-view v-if=\"works.length>0\" scroll-y=\"true\" style=\"height: 70%; margin-top: 40rpx;\" @scrolltolower=\"lower()\">\n\t\t\t\t\t\t<view class=\"item_box\" v-for=\"(item,index) in works\" :key=\"index\" @click=\"popupSelItem(item)\">\n\t\t\t\t\t\t\t<view class=\"item_title\">\n\t\t\t\t\t\t\t\t{{item.name}}\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</scroll-view>\n\t\t\t\t\t<view v-else class=\"no_data\" @click=\"jumpVerified\">\n\t\t\t\t\t\t<image class=\"img\" :src=\"vuex_baseImgUrl+'/nodata.png'\"></image>\n\t\t\t\t\t\t<view style=\"\n\t\t\t\t\t font-size: 16px;\n\t\t\t\t\t color: #333333;\n\t\t\t\t\t margin-top: 60rpx;\n\t\t\t\t\t text-align: center;\n\t\t\t\t\t\">暂无数据</view>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</u-popup>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\t\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tkeyword:'',\n\t\t\t\tfocus: false,\n\t\t\t\tshow: false,\n\t\t\t\tworks: [],\n\t\t\t\tqiyename: '',\n\t\t\t\tform: {\n\t\t\t\t\tname: '',\n\t\t\t\t\tselect: '',\n\t\t\t\t\tarea: '',\n\t\t\t\t},\n\t\t\t\tseles: [{\r\n\t\t\t\t\t\tlabel: '是',\r\n\t\t\t\t\t\tvalue: 'HRO'\r\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: '否',\n\t\t\t\t\t\tvalue: 'HR'\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t},\n\n\t\tmethods: {\n\t\t\tlower() {\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthis.loadData(true);\n\t\t\t\t}, 200)\n\t\t\t},\n\t\t\t\n\t\t\tsearchPop() {\n\t\t\t\tuni.hideKeyboard();\n\t\t\t\tthis.show = true\n\t\t\t\tthis.focus = true\n\t\t\t},\n\t\t\t\n\t\t\tworkSearch() {\n\t\t\t\tuni.hideKeyboard();\n\t\t\t\tthis.works = []\n\t\t\t\tthis.loadData()\n\t\t\t},\n\t\t\t\n\t\t\tpopupSelItem(item) {\n\t\t\t\tthis.form.name = item.name\n\t\t\t\t// this.form.creditNo = item.credit_no\n\t\t\t\t// this.form.externalId = item.id\n\t\t\t\tthis.show = false\n\t\t\t},\n\t\t\t\n\t\t\tloadData(e) {\n\t\t\t\tlet params = {}\n\t\t\t\t// this.loading = 'loading'\n\t\t\t\t\n\t\t\t\tif (e) {\n\t\t\t\t\tif (this.total <= this.works.length) {\n\t\t\t\t\t\t// this.loading = 'nomore'\n\t\t\t\t\t\treturn\n\t\t\t\t\t}\n\t\t\t\t\tthis.page++\n\t\t\t\t}else {\n\t\t\t\t\tthis.page = 0\n\t\t\t\t}\n\t\t\t\tparams['pageNumber'] = this.page\n\t\t\t\tparams['keyWord'] = this.keyword\n\t\t\t\tthis.$u.api.getadvSearchAPI(params).then(async res => {\n\t\t\t\t\tif (res) {\n\t\t\t\t\t\tthis.total = res.total\n\t\t\t\t\t\t// this.loading = 'loadmore'\n\t\t\t\t\t\tthis.works = this.works.concat(res.records)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t\toneselfClick() {\n\t\t\t\tif (!this.form.name) {\n\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\ttitle: \"请输入企业名称\",\n\t\t\t\t\t\ticon: 'error',\n\t\t\t\t\t\tduration: 1000\n\t\t\t\t\t});\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (!this.form.select) {\n\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\ttitle: \"请选择\",\n\t\t\t\t\t\ticon: 'error',\n\t\t\t\t\t\tduration: 1000\n\t\t\t\t\t});\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tlet params = {}\n\t\t\t\tparams['category'] = this.form.select\n\t\t\t\tparams['name'] = this.form.name\n\t\t\t\tparams['remark'] = this.form.area\n\t\t\t\tparams['phone'] = this.vuex_user.broker.phone\n\t\t\t\tthis.$u.api.companyTrackUrlAPI(params).then(async res => {\n\t\t\t\t\tif (res) {\n\t\t\t\t\t\t// uni.showToast({\n\t\t\t\t\t\t// \ttitle: \"绑定成功\",\n\t\t\t\t\t\t// \ticon: 'success',\n\t\t\t\t\t\t// \tduration: 1000\n\t\t\t\t\t\t// });\n\t\t\t\t\t\tuni.navigateBack({\n\t\t\t\t\t\t\tdelta: 1\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t\tcallPhone() {\n\t\t\t\tuni.makePhoneCall({\n\t\t\t\t\tphoneNumber: this.vuex_customer_phone\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t\tgoChat() {\n\t\t\t\twx.openCustomerServiceChat({\n\t\t\t\t\textInfo: {\n\t\t\t\t\t\turl: this.vuex_customer_chatUrl\n\t\t\t\t\t},\n\t\t\t\t\tcorpId: this.vuex_corpId,\n\t\t\t\t\tsuccess(res) {\n\t\t\t\t\t\tconsole.log(\"chat..\", res)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style>\n\tpage {\n\t\tbackground-color: #FAFAFB;\n\t}\n</style>\n\n<style lang=\"scss\" scoped>\n\t.page {\n\t\t\n\t\t.mark {\n\t\t\tmargin-top: 20rpx;\n\t\t\tfont-size: 13px;\n\t\t\tfont-family: PingFangSC-Regular, PingFang SC;\n\t\t\tfont-weight: 400;\n\t\t\tcolor: #646464;\n\t\t}\n\t\t\n\t\t.btView {\n\t\t\tposition: fixed;\n\t\t\tbottom: 0;\n\t\t\twidth: 100%;\n\t\t\theight: 180rpx;\n\t\t\tbackground-color: #fff;\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: space-between;\n\t\t\tpadding: 30rpx 0;\n\n\t\t\t.flow {\n\t\t\t\tdisplay: flex;\n\t\t\t\tflex-direction: column;\n\t\t\t\t flex: 1;\n\t\t\t\t align-items: center;\n\t\t\t\t\n\t\t\t\t.flowIcon {\n\t\t\t\t\twidth: 48rpx;\n\t\t\t\t\theight: 48rpx;\n\t\t\t\t\tmargin-bottom: 8rpx;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tview {\n\t\t\t\t\tfont-size: 10px;\n\t\t\t\t\tfont-weight: 300;\n\t\t\t\t\tcolor: #121212;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t.botBtn {\n\t\t\t\theight: 44px;\n\t\t\t\tflex: 5;\n\t\t\t\tbackground: linear-gradient(331deg, #FF5E00 0%, #FF001A 100%);\n\t\t\t\tborder-radius: 4px;\n\t\t\t\tfont-size: 17px;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tcolor: #FFFFFF;\n\t\t\t\ttext-align: center;\n\t\t\t\tline-height: 44px;\n\t\t\t\tmargin-right: 40rpx;\n\t\t\t}\n\t\t\t\n\t\t\t.line {\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 0;\n\t\t\t\tleft: 0;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 1px;\n\t\t\t\tborder: 1px solid #F0F0F1;\n\t\t\t}\n\t\t}\n\t\t\n\t\t.popup {\n\t\t\theight: 100%;\n\t\t\tpadding: 19px 16px;\n\t\t\n\t\t\t.title {\n\t\t\t\tmargin-bottom: 28px;\n\t\t\t\theight: 19px;\n\t\t\t\tfont-size: 16px;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tcolor: #000000;\n\t\t\t\tline-height: 19px;\n\t\t\t}\n\t\t\n\t\t\t.item_box {\n\t\t\t\tborder-radius: 4px;\n\t\t\t\tmargin: 0 0 48rpx;\n\t\t\n\t\t\t\t.item_title {\n\t\t\t\t\theight: 20px;\n\t\t\t\t\tfont-size: 14px;\n\t\t\t\t\tfont-family: PingFangSC-Regular, PingFang SC;\n\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\tcolor: rgba(0, 0, 0, 0.65);\n\t\t\t\t\tline-height: 20px;\n\t\t\t\t}\n\t\t\n\t\t\t}\n\t\t\t\n\t\t\t.no_data {\n\t\t\t\twidth: 100%;\n\t\t\t\n\t\t\t\t.img {\n\t\t\t\t\tdisplay: block;\n\t\t\t\t\tmargin: 0 auto;\n\t\t\t\t\tmargin-top: 200rpx;\n\t\t\t\t\twidth: 260rpx;\n\t\t\t\t\theight: 200rpx;\n\t\t\t\t}\n\t\t\t\n\t\t\t\t.text_black_28 {\n\t\t\t\t\tfont-family: PingFangSC-Regular, PingFang SC;\n\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\tcolor: #000000;\n\t\t\t\t\tmargin-top: 48rpx;\n\t\t\t\t\ttext-align: center;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n</style>","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../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!./bank-work.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../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!./bank-work.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657611032630\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 ","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!./bank-work.vue?vue&type=style&index=1&id=c9429368&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!./bank-work.vue?vue&type=style&index=1&id=c9429368&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///common/md5.js"],"names":["hexcase","b64pad","chrsz","hex_md5","s","binl2hex","core_md5","str2binl","length","b64_md5","binl2b64","str_md5","binl2str","hex_hmac_md5","key","data","core_hmac_md5","b64_hmac_md5","str_hmac_md5","md5_vm_test","x","len","a","b","c","d","i","olda","oldb","oldc","oldd","md5_ff","md5_gg","md5_hh","md5_ii","safe_add","Array","md5_cmn","q","t","bit_rol","bkey","ipad","opad","hash","concat","y","lsw","msw","num","cnt","str","bin","mask","charCodeAt","String","fromCharCode","binarray","hex_tab","charAt","tab","triplet","j","module","exports"],"mappings":"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","file":"pages/main/my/common/vendor.js","sourcesContent":["/*\n * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message\n * Digest Algorithm, as defined in RFC 1321.\n * Version 2.1 Copyright (C) Paul Johnston 1999 - 2002.\n * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet\n * Distributed under the BSD License\n * See http://pajhome.org.uk/crypt/md5 for more info.\n */\n\n/*\n * Configurable variables. You may need to tweak these to be compatible with\n * the server-side, but the defaults work in most cases.\n */\nvar hexcase = 0; /* hex output format. 0 - lowercase; 1 - uppercase */\nvar b64pad = \"\"; /* base-64 pad character. \"=\" for strict RFC compliance */\nvar chrsz = 8; /* bits per input character. 8 - ASCII; 16 - Unicode */\n\n/*\n * These are the functions you'll usually want to call\n * They take string arguments and return either hex or base-64 encoded strings\n */\nfunction hex_md5(s){ return binl2hex(core_md5(str2binl(s), s.length * chrsz));}\nfunction b64_md5(s){ return binl2b64(core_md5(str2binl(s), s.length * chrsz));}\nfunction str_md5(s){ return binl2str(core_md5(str2binl(s), s.length * chrsz));}\nfunction hex_hmac_md5(key, data) { return binl2hex(core_hmac_md5(key, data)); }\nfunction b64_hmac_md5(key, data) { return binl2b64(core_hmac_md5(key, data)); }\nfunction str_hmac_md5(key, data) { return binl2str(core_hmac_md5(key, data)); }\n\n/*\n * Perform a simple self-test to see if the VM is working\n */\nfunction md5_vm_test()\n{\n return hex_md5(\"abc\") == \"900150983cd24fb0d6963f7d28e17f72\";\n}\n\n/*\n * Calculate the MD5 of an array of little-endian words, and a bit length\n */\nfunction core_md5(x, len)\n{\n /* append padding */\n x[len >> 5] |= 0x80 << ((len) % 32);\n x[(((len + 64) >>> 9) << 4) + 14] = len;\n\n var a = 1732584193;\n var b = -271733879;\n var c = -1732584194;\n var d = 271733878;\n\n for(var i = 0; i < x.length; i += 16)\n {\n var olda = a;\n var oldb = b;\n var oldc = c;\n var oldd = d;\n\n a = md5_ff(a, b, c, d, x[i+ 0], 7 , -680876936);\n d = md5_ff(d, a, b, c, x[i+ 1], 12, -389564586);\n c = md5_ff(c, d, a, b, x[i+ 2], 17, 606105819);\n b = md5_ff(b, c, d, a, x[i+ 3], 22, -1044525330);\n a = md5_ff(a, b, c, d, x[i+ 4], 7 , -176418897);\n d = md5_ff(d, a, b, c, x[i+ 5], 12, 1200080426);\n c = md5_ff(c, d, a, b, x[i+ 6], 17, -1473231341);\n b = md5_ff(b, c, d, a, x[i+ 7], 22, -45705983);\n a = md5_ff(a, b, c, d, x[i+ 8], 7 , 1770035416);\n d = md5_ff(d, a, b, c, x[i+ 9], 12, -1958414417);\n c = md5_ff(c, d, a, b, x[i+10], 17, -42063);\n b = md5_ff(b, c, d, a, x[i+11], 22, -1990404162);\n a = md5_ff(a, b, c, d, x[i+12], 7 , 1804603682);\n d = md5_ff(d, a, b, c, x[i+13], 12, -40341101);\n c = md5_ff(c, d, a, b, x[i+14], 17, -1502002290);\n b = md5_ff(b, c, d, a, x[i+15], 22, 1236535329);\n\n a = md5_gg(a, b, c, d, x[i+ 1], 5 , -165796510);\n d = md5_gg(d, a, b, c, x[i+ 6], 9 , -1069501632);\n c = md5_gg(c, d, a, b, x[i+11], 14, 643717713);\n b = md5_gg(b, c, d, a, x[i+ 0], 20, -373897302);\n a = md5_gg(a, b, c, d, x[i+ 5], 5 , -701558691);\n d = md5_gg(d, a, b, c, x[i+10], 9 , 38016083);\n c = md5_gg(c, d, a, b, x[i+15], 14, -660478335);\n b = md5_gg(b, c, d, a, x[i+ 4], 20, -405537848);\n a = md5_gg(a, b, c, d, x[i+ 9], 5 , 568446438);\n d = md5_gg(d, a, b, c, x[i+14], 9 , -1019803690);\n c = md5_gg(c, d, a, b, x[i+ 3], 14, -187363961);\n b = md5_gg(b, c, d, a, x[i+ 8], 20, 1163531501);\n a = md5_gg(a, b, c, d, x[i+13], 5 , -1444681467);\n d = md5_gg(d, a, b, c, x[i+ 2], 9 , -51403784);\n c = md5_gg(c, d, a, b, x[i+ 7], 14, 1735328473);\n b = md5_gg(b, c, d, a, x[i+12], 20, -1926607734);\n\n a = md5_hh(a, b, c, d, x[i+ 5], 4 , -378558);\n d = md5_hh(d, a, b, c, x[i+ 8], 11, -2022574463);\n c = md5_hh(c, d, a, b, x[i+11], 16, 1839030562);\n b = md5_hh(b, c, d, a, x[i+14], 23, -35309556);\n a = md5_hh(a, b, c, d, x[i+ 1], 4 , -1530992060);\n d = md5_hh(d, a, b, c, x[i+ 4], 11, 1272893353);\n c = md5_hh(c, d, a, b, x[i+ 7], 16, -155497632);\n b = md5_hh(b, c, d, a, x[i+10], 23, -1094730640);\n a = md5_hh(a, b, c, d, x[i+13], 4 , 681279174);\n d = md5_hh(d, a, b, c, x[i+ 0], 11, -358537222);\n c = md5_hh(c, d, a, b, x[i+ 3], 16, -722521979);\n b = md5_hh(b, c, d, a, x[i+ 6], 23, 76029189);\n a = md5_hh(a, b, c, d, x[i+ 9], 4 , -640364487);\n d = md5_hh(d, a, b, c, x[i+12], 11, -421815835);\n c = md5_hh(c, d, a, b, x[i+15], 16, 530742520);\n b = md5_hh(b, c, d, a, x[i+ 2], 23, -995338651);\n\n a = md5_ii(a, b, c, d, x[i+ 0], 6 , -198630844);\n d = md5_ii(d, a, b, c, x[i+ 7], 10, 1126891415);\n c = md5_ii(c, d, a, b, x[i+14], 15, -1416354905);\n b = md5_ii(b, c, d, a, x[i+ 5], 21, -57434055);\n a = md5_ii(a, b, c, d, x[i+12], 6 , 1700485571);\n d = md5_ii(d, a, b, c, x[i+ 3], 10, -1894986606);\n c = md5_ii(c, d, a, b, x[i+10], 15, -1051523);\n b = md5_ii(b, c, d, a, x[i+ 1], 21, -2054922799);\n a = md5_ii(a, b, c, d, x[i+ 8], 6 , 1873313359);\n d = md5_ii(d, a, b, c, x[i+15], 10, -30611744);\n c = md5_ii(c, d, a, b, x[i+ 6], 15, -1560198380);\n b = md5_ii(b, c, d, a, x[i+13], 21, 1309151649);\n a = md5_ii(a, b, c, d, x[i+ 4], 6 , -145523070);\n d = md5_ii(d, a, b, c, x[i+11], 10, -1120210379);\n c = md5_ii(c, d, a, b, x[i+ 2], 15, 718787259);\n b = md5_ii(b, c, d, a, x[i+ 9], 21, -343485551);\n\n a = safe_add(a, olda);\n b = safe_add(b, oldb);\n c = safe_add(c, oldc);\n d = safe_add(d, oldd);\n }\n return Array(a, b, c, d);\n\n}\n\n/*\n * These functions implement the four basic operations the algorithm uses.\n */\nfunction md5_cmn(q, a, b, x, s, t)\n{\n return safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s),b);\n}\nfunction md5_ff(a, b, c, d, x, s, t)\n{\n return md5_cmn((b & c) | ((~b) & d), a, b, x, s, t);\n}\nfunction md5_gg(a, b, c, d, x, s, t)\n{\n return md5_cmn((b & d) | (c & (~d)), a, b, x, s, t);\n}\nfunction md5_hh(a, b, c, d, x, s, t)\n{\n return md5_cmn(b ^ c ^ d, a, b, x, s, t);\n}\nfunction md5_ii(a, b, c, d, x, s, t)\n{\n return md5_cmn(c ^ (b | (~d)), a, b, x, s, t);\n}\n\n/*\n * Calculate the HMAC-MD5, of a key and some data\n */\nfunction core_hmac_md5(key, data)\n{\n var bkey = str2binl(key);\n if(bkey.length > 16) bkey = core_md5(bkey, key.length * chrsz);\n\n var ipad = Array(16), opad = Array(16);\n for(var i = 0; i < 16; i++)\n {\n ipad[i] = bkey[i] ^ 0x36363636;\n opad[i] = bkey[i] ^ 0x5C5C5C5C;\n }\n\n var hash = core_md5(ipad.concat(str2binl(data)), 512 + data.length * chrsz);\n return core_md5(opad.concat(hash), 512 + 128);\n}\n\n/*\n * Add integers, wrapping at 2^32. This uses 16-bit operations internally\n * to work around bugs in some JS interpreters.\n */\nfunction safe_add(x, y)\n{\n var lsw = (x & 0xFFFF) + (y & 0xFFFF);\n var msw = (x >> 16) + (y >> 16) + (lsw >> 16);\n return (msw << 16) | (lsw & 0xFFFF);\n}\n\n/*\n * Bitwise rotate a 32-bit number to the left.\n */\nfunction bit_rol(num, cnt)\n{\n return (num << cnt) | (num >>> (32 - cnt));\n}\n\n/*\n * Convert a string to an array of little-endian words\n * If chrsz is ASCII, characters >255 have their hi-byte silently ignored.\n */\nfunction str2binl(str)\n{\n var bin = Array();\n var mask = (1 << chrsz) - 1;\n for(var i = 0; i < str.length * chrsz; i += chrsz)\n bin[i>>5] |= (str.charCodeAt(i / chrsz) & mask) << (i%32);\n return bin;\n}\n\n/*\n * Convert an array of little-endian words to a string\n */\nfunction binl2str(bin)\n{\n var str = \"\";\n var mask = (1 << chrsz) - 1;\n for(var i = 0; i < bin.length * 32; i += chrsz)\n str += String.fromCharCode((bin[i>>5] >>> (i % 32)) & mask);\n return str;\n}\n\n/*\n * Convert an array of little-endian words to a hex string.\n */\nfunction binl2hex(binarray)\n{\n var hex_tab = hexcase ? \"0123456789ABCDEF\" : \"0123456789abcdef\";\n var str = \"\";\n for(var i = 0; i < binarray.length * 4; i++)\n {\n str += hex_tab.charAt((binarray[i>>2] >> ((i%4)*8+4)) & 0xF) +\n hex_tab.charAt((binarray[i>>2] >> ((i%4)*8 )) & 0xF);\n }\n return str;\n}\n\n/*\n * Convert an array of little-endian words to a base-64 string\n */\nfunction binl2b64(binarray)\n{\n var tab = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\";\n var str = \"\";\n for(var i = 0; i < binarray.length * 4; i += 3)\n {\n var triplet = (((binarray[i >> 2] >> 8 * ( i %4)) & 0xFF) << 16)\n | (((binarray[i+1 >> 2] >> 8 * ((i+1)%4)) & 0xFF) << 8 )\n | ((binarray[i+2 >> 2] >> 8 * ((i+2)%4)) & 0xFF);\n for(var j = 0; j < 4; j++)\n {\n if(i * 8 + j * 6 > binarray.length * 32) str += b64pad;\n else str += tab.charAt((triplet >> 6*(3-j)) & 0x3F);\n }\n }\n return str;\n}\n\nmodule.exports = {\n hex_md5\n}"],"sourceRoot":""} |
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 // 1657699073498\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":""} |
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 // 1657699073504\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":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/my-card.vue?be2c","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/my-card.vue?012b","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/my-card.vue?6122","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/my-card.vue?82b6","uni-app:///pages/main/my/my-card.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/my-card.vue?7d79"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,iG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,eAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AACmN;AACnN,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,wLAEN;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;AAAo1B,CAAgB,qyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkDx2B,+H;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eACA,EACA,IADA,kBACA,CACA,SACA,YADA,EAEA,YAFA,EAGA,aAHA,EAIA,SAJA,GAMA,CARA,EAUA,iBAVA,6BAUA,GAVA,EAUA,CACA,4BACA,wBACA,CACA,SACA,kBADA,EAEA,8BAFA,GAIA,CAlBA,EAoBA,eApBA,2BAoBA,GApBA,EAoBA,CACA,4BACA,wBACA,CACA,SACA,kBADA,EAEA,8BAFA,GAIA,CA5BA,EA8BA,MA9BA,kBA8BA,CA9BA,EA8BA,CACA,mCACA,yCACA,CAjCA,EAmCA,MAnCA,oBAmCA,CACA,uDACA,4CACA,CAFA,MAEA,CACA,2CACA,CAEA,yCACA,CA3CA,EA6CA,OA7CA,qBA6CA,CACA,4CACA,mCACA;AACA,0BADA;AAEA,qBAFA,EADA;;AAKA,OALA;;AAOA;AACA;AACA,GAxDA;;AA0DA,aA1DA,E;;;;;;;;;;;;;ACnDA;AAAA;AAAA;AAAA;AAAulD,CAAgB,47CAAG,EAAC,C","file":"pages/main/my/my-card.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/my-card.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./my-card.vue?vue&type=template&id=ea27a44a&scoped=true&\"\nvar renderjs\nimport script from \"./my-card.vue?vue&type=script&lang=js&\"\nexport * from \"./my-card.vue?vue&type=script&lang=js&\"\nimport style0 from \"./my-card.vue?vue&type=style&index=0&id=ea27a44a&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 \"ea27a44a\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/my/my-card.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!./my-card.vue?vue&type=template&id=ea27a44a&scoped=true&\"","var components\ntry {\n components = {\n uNavbar: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-navbar/u-navbar\" */ \"@/uview-ui/components/u-navbar/u-navbar.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!./my-card.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!./my-card.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"playbill\">\r\n\t\t<u-navbar :is-back=\"true\" back-icon-color=\"#FFFFFF\" title=\" \" :borderBottom=\"false\" :background=\"background\"\r\n\t\t\ttitle-color=\"#ffffff\">\r\n\t\t</u-navbar>\n\t\t<view class=\"content\">\n\t\t\t<img class=\"bg\" src=\"/static/img/page/mycard.png\" alt=\"\">\n\t\t\t<view class=\"name\">\n\t\t\t\t推荐ID\n\t\t\t</view>\n\t\t\t<view class=\"id\">\n\t\t\t\t{{brokerId}}\n\t\t\t</view>\n\t\t\t<view class=\"title\">\n\t\t\t\t扫码加入\n\t\t\t</view>\n\t\t\t<view class=\"desc\">\n\t\t\t\t推荐实习生,发布岗位需求\n\t\t\t</view>\n\t\t\t<view class=\"code\">\n\t\t\t\t<canvas id=\"qrcode\" canvas-id=\"qrcode\" :style=\"{ width: `${size}px`, height: `${size}px`}\"></canvas>\n\t\t\t</view>\n\t\t\t<img class=\"bg1\" src=\"/static/img/page/mcardB.png\" alt=\"\">\n\t\t</view>\n\t\t<view class=\"desc1\">\n\t\t\t微信扫一扫,加入人人推,海量学生资源和\n\t\t</view>\n\t\t<view class=\"desc2\">\n\t\t\t实习岗位,供您选择\n\t\t</view>\r\n\t\t<!-- <view class=\"share\">\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<u-image width=\"68rpx\" height=\"70rpx\" src=\"/static/img/page/share_weixin.png\" />\r\n\t\t\t\t</view>\r\n\t\t\t\t<text>分享到微信</text>\n\t\t\t\t<button class=\"openChat\" open-type='share'></button>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<u-image width=\"68rpx\" height=\"70rpx\" src=\"/static/img/page/share_moments.png\" />\r\n\t\t\t\t</view>\r\n\t\t\t\t<text>分享到朋友圈</text>\n\t\t\t\t<button class=\"openChat\" open-type='share'></button>\r\n\t\t\t</view>\r\n\t\t</view> -->\r\n\t</view>\r\n</template>\r\n\r\n<script>\n\timport uQRCode from '@/uni_modules/Sansnn-uQRCode/js_sdk/u-qrcode/u-qrcode.js';\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tbrokerId: '',\n\t\t\t\tuserName: '',\n\t\t\t\tqcodeText: '',\n\t\t\t\tsize: 246\r\n\t\t\t}\r\n\t\t},\n\t\t\n\t\tonShareAppMessage(res) {\n\t\t if (res.from === 'button') {\n\t\t console.log(res.target)\n\t\t }\n\t\t return {\n\t\t title: '快来加入“人人推”',\n\t\t path: 'pages/tabBar/home/home',\n\t\t }\n\t\t},\n\t\t\n\t\tonShareTimeline(res) {\n\t\t if (res.from === 'button') {\n\t\t console.log(res.target)\n\t\t }\n\t\t return {\n\t\t title: '快来加入“人人推”',\n\t\t path: 'pages/tabBar/home/home',\n\t\t }\n\t\t},\n\t\t\n\t\tonLoad(e) {\n\t\t\tthis.qcodeText = this.vuex_homeUrl\n\t\t\tconsole.log('123123',this.vuex_homeUrl)\n\t\t},\n\t\t\n\t\tonShow() {\n\t\t\tif (this.vuex_user.broker.authStatus == \"unverified\") {\n\t\t\t\tthis.userName = this.vuex_user.broker.phone\n\t\t\t}else {\n\t\t\t\tthis.userName = this.vuex_user.broker.name\n\t\t\t}\n\t\t\t\n\t\t\tthis.brokerId = this.vuex_user.broker.id\n\t\t},\n\t\t\n\t\tonReady() {\n\t\t const ctx = uni.createCanvasContext('qrcode');\n\t\t const uqrcode = new uQRCode(\n\t\t {\n\t\t text: this.qcodeText,\n\t\t size: this.size\n\t\t },\n\t\t ctx\n\t\t );\n\t\t uqrcode.make();\n\t\t uqrcode.draw();\n\t\t},\n\t\t\r\n\t\tmethods: {\n\t\t\t\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.playbill {\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t\tbackground: linear-gradient(331deg, #FF5E00 0%, #FF001A 100%);\r\n\r\n\t\t.content {\n\t\t\tposition: relative;\n\t\t\tmargin: 100rpx 60rpx 0;\n\t\t\t\n\t\t\t.bg {\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 956rpx;\n\t\t\t}\n\t\t\t\n\t\t\t.name {\n\t\t\t\tposition: absolute;\n\t\t\t\tleft: 50rpx;\n\t\t\t\ttop: 60rpx;\n\t\t\t\tfont-size: 14px;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tcolor: #121212;\n\t\t\t}\n\t\t\t\n\t\t\t.id {\n\t\t\t\tposition: absolute;\n\t\t\t\tleft: 50rpx;\n\t\t\t\ttop: 48px;\n\t\t\t\tfont-size: 22px;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tcolor: #121212;\n\t\t\t}\n\t\t\t\n\t\t\t.title {\n\t\t\t\tposition: absolute;\n\t\t\t\tleft: 0;\n\t\t\t\ttop: 104px;\n\t\t\t\twidth: 100%;\n\t\t\t\ttext-align: center;\n\t\t\t\tfont-size: 20px;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tcolor: #121212;\n\t\t\t}\n\t\t\t\n\t\t\t.desc {\n\t\t\t\tposition: absolute;\n\t\t\t\tleft: 0;\n\t\t\t\ttop: 135px;\n\t\t\t\tfont-size: 13px;\n\t\t\t\tfont-weight: 300;\n\t\t\t\tcolor: #646464;\n\t\t\t\twidth: 100%;\n\t\t\t\ttext-align: center;\n\t\t\t}\n\t\t\t\n\t\t\t.code {\n\t\t\t\tposition: absolute;\n\t\t\t\tleft: 50%;\n\t\t\t\ttop: 169px;\n\t\t\t\tmargin-left: -123px;\n\t\t\t}\n\t\t\t\n\t\t\t.bg1 {\n\t\t\t\tposition: absolute;\n\t\t\t\tleft: 50%;\n\t\t\t\ttop: 435px;\n\t\t\t\twidth: 170px;\n\t\t\t\theight: 18px;\n\t\t\t\tmargin-left: -85px;\n\t\t\t}\n\t\t}\n\t\t\n\t\t.desc1 {\n\t\t\twidth: 100%;\n\t\t\ttext-align: center;\n\t\t\tmargin-top: 40rpx;\n\t\t\tfont-size: 12px;\n\t\t\tfont-weight: 400;\n\t\t\tcolor: #FFFFFF;\n\t\t}\n\t\t\n\t\t.desc2 {\n\t\t\twidth: 100%;\n\t\t\ttext-align: center;\n\t\t\tmargin-top: 20rpx;\n\t\t\tfont-size: 12px;\n\t\t\tfont-weight: 400;\n\t\t\tcolor: #FFFFFF;\n\t\t}\r\n\r\n\t\t.share {\r\n\t\t\tdisplay: flex;\r\n\t\t\tflex-flow: row nowrap;\r\n\t\t\tjustify-content: space-around;\r\n\t\t\tpadding: 20rpx 0 40rpx 0;\n\t\t\tmargin-top: 50px;\n\t\t\t\n\t\t\t.item {\n\t\t\t\tposition: relative;\n\t\t\t\t\n\t\t\t\tview {\n\t\t\t\t\twidth: 68rpx;\n\t\t\t\t\tmargin: 0 auto;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\ttext {\n\t\t\t\t\tmargin: 12rpx 0 0 0;\n\t\t\t\t\tfont-size: 24rpx;\n\t\t\t\t\tline-height: 34rpx;\n\t\t\t\t\tcolor: #FFFFFF;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t.openChat {\n\t\t\t\t\ttop: 0;\n\t\t\t\t\tleft: 0;\n\t\t\t\t\tposition: absolute;\n\t\t\t\t\twidth: 100%;\n\t\t\t\t\theight: 100%;\n\t\t\t\t\topacity: 0;\n\t\t\t\t\tz-index: 999;\n\t\t\t\t}\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!./my-card.vue?vue&type=style&index=0&id=ea27a44a&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!./my-card.vue?vue&type=style&index=0&id=ea27a44a&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/no-authentication.vue?90c0","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/no-authentication.vue?1dd3","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/no-authentication.vue?0102","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/no-authentication.vue?7345","uni-app:///pages/main/my/no-authentication.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/no-authentication.vue?9ad7"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,sH,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,yBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA0I;AAC1I;AACqE;AACL;AACsC;;;AAGtG;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,uFAAM;AACR,EAAE,wGAAM;AACR,EAAE,iHAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,4GAAU;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;AAA81B,CAAgB,+yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACuBl3B;AACA,MADA,kBACA;AACA;;;AAGA,GALA;;AAOA;AACA,UADA,oBACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BADA;;AAGA,mBAVA;;AAYA,KAdA,EAPA,E;;;;;;;;;;;;;ACvBA;AAAA;AAAA;AAAA;AAAimD,CAAgB,s8CAAG,EAAC,C","file":"pages/main/my/no-authentication.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/no-authentication.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./no-authentication.vue?vue&type=template&id=3a805964&scoped=true&\"\nvar renderjs\nimport script from \"./no-authentication.vue?vue&type=script&lang=js&\"\nexport * from \"./no-authentication.vue?vue&type=script&lang=js&\"\nimport style0 from \"./no-authentication.vue?vue&type=style&index=0&id=3a805964&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 \"3a805964\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/my/no-authentication.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!./no-authentication.vue?vue&type=template&id=3a805964&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!./no-authentication.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!./no-authentication.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"page\">\n\t\t<view class=\"no-au\">\n\t\t\t<img class=\"img\" :src=\"vuex_baseImgUrl+'/nobank.png'\" alt=\"\">\n\t\t</view>\n\t\t<view class=\"text1\">\n\t\t\t暂未认证\n\t\t</view>\n\t\t<view class=\"content\">\n\t\t\t<view>\n\t\t\t\t<img class='icon' src=\"/static/img/page/tx.png\" alt=\"\">\n\t\t\t</view>\n\t\t\t<view class=\"text2\">\n\t\t\t\t根据《共享经济灵活用工新人力服务平台管理规范》《共享经济平台灵活就业人员互联网管理与服务指南》,您在本平台所得奖励,均以灵活用工/推荐奖金的形式发放,为了您能正常的获取推荐奖金,请尽快完成认证!\n\t\t\t</view>\n\t\t</view>\n\t\t<view class=\"btn\" @click=\"getUrl\">\n\t\t\t点击认证\n\t\t</view>\n\t</view>\n</template>\n\n<script>\t\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\n\t\t\t}\n\t\t},\n\n\t\tmethods: {\n\t\t\tgetUrl() {\n\t\t\t\tthis.$u.api.getAuthApi().then(async res => {\n\t\t\t\t\tif (res) {\n\t\t\t\t\t\t// uni.showToast({\n\t\t\t\t\t\t// \ttitle: \"绑定成功\",\n\t\t\t\t\t\t// \ticon: 'success',\n\t\t\t\t\t\t// \tduration: 1000\n\t\t\t\t\t\t// });\n\t\t\t\t\t\tuni.navigateBack({\n\t\t\t\t\t\t\tdelta: 1\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t.page {\n\t\twidth: 100%;\n\t\t\n\t\t.no-au {\n\t\t\tmargin: 103px auto 0;\n\t\t\twidth: 374rpx;\n\t\t\theight: 310rpx;\n\t\t\t\n\t\t\t.img {\n\t\t\t\twidth: 374rpx;\n\t\t\t\theight: 310rpx;\n\t\t\t}\n\t\t}\n\t\t\n\t\t.text1 {\n\t\t\tmargin: 6px 0 0;\n\t\t\tfont-size: 13px;\n\t\t\tfont-weight: 400;\n\t\t\tcolor: #121212;\n\t\t\ttext-align: center;\n\t\t}\n\t\t\n\t\t.content {\n\t\t\tdisplay: flex;\n\t\t\tpadding: 0 40rpx;\n\t\t\tmargin-top: 132rpx;\n\t\t\t\n\t\t\t.icon {\n\t\t\t\twidth: 32rpx;\n\t\t\t\theight: 32rpx;\n\t\t\t}\n\t\t\t\n\t\t\t.text2 {\t\t\n\t\t\t\tmargin-left: 8rpx;\n\t\t\t\tfont-size: 12px;\n\t\t\t\tfont-weight: 300;\n\t\t\t\tcolor: #000000;\n\t\t\t}\n\t\t}\n\t\t\n\t\t.btn {\n\t\t\tmargin: 40rpx 60rpx 0;\n\t\t\theight: 48px;\n\t\t\tbackground: linear-gradient(331deg, #FF5E00 0%, #FF001A 100%);\n\t\t\tborder-radius: 27px;\n\t\t\tfont-size: 18px;\n\t\t\tfont-weight: 400;\n\t\t\tcolor: #FFFFFF;\n\t\t\tline-height: 48px;\n\t\t\ttext-align: center;\n\t\t}\n\t}\n</style>","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!./no-authentication.vue?vue&type=style&index=0&id=3a805964&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!./no-authentication.vue?vue&type=style&index=0&id=3a805964&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/ready-authentication.vue?e05f","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/ready-authentication.vue?60d7","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/ready-authentication.vue?2ddd","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/ready-authentication.vue?c38a","uni-app:///pages/main/my/ready-authentication.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/ready-authentication.vue?09c1"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,4H,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,4BAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA6I;AAC7I;AACwE;AACL;AACsC;;;AAGzG;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,0FAAM;AACR,EAAE,2GAAM;AACR,EAAE,oHAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,+GAAU;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;AAAi2B,CAAgB,kzBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACoBr3B;AACA,MADA,kBACA;AACA;;;AAGA,GALA;;AAOA,aAPA,E;;;;;;;;;;;;ACpBA;AAAA;AAAA;AAAA;AAAomD,CAAgB,y8CAAG,EAAC,C","file":"pages/main/my/ready-authentication.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/ready-authentication.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./ready-authentication.vue?vue&type=template&id=ee0644f0&scoped=true&\"\nvar renderjs\nimport script from \"./ready-authentication.vue?vue&type=script&lang=js&\"\nexport * from \"./ready-authentication.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ready-authentication.vue?vue&type=style&index=0&id=ee0644f0&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 \"ee0644f0\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/my/ready-authentication.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!./ready-authentication.vue?vue&type=template&id=ee0644f0&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!./ready-authentication.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!./ready-authentication.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"page\">\n\t\t<view class=\"content\">\n\t\t\t<view class=\"title\">\n\t\t\t\t点击认证\n\t\t\t</view>\n\t\t\t<view class=\"name\">\n\t\t\t\t姓 名:张*\n\t\t\t</view>\n\t\t\t<view class=\"card\">\n\t\t\t\t身份证:110**************11889\n\t\t\t</view>\n\t\t\t<view class=\"look\">\n\t\t\t\t查看协议\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\t\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\n\t\t\t}\n\t\t},\n\n\t\tmethods: {\n\t\t\t\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t.page {\n\t\t\n\t\t.content {\n\t\t\tposition: relative;\n\t\t\tmargin: 20rpx 40rpx 0;\n\t\t\tpadding: 40rpx;\n\t\t\theight: 145px;\n\t\t\tbackground: linear-gradient(331deg, #FF5E00 0%, #FF001A 100%);\n\t\t\tborder-radius: 8px;\n\t\t\t\n\t\t\t.title {\n\t\t\t\tfont-size: 18px;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tcolor: #FFFFFF;\n\t\t\t}\n\t\t\t\n\t\t\t.name {\n\t\t\t\tmargin-top: 20rpx;\n\t\t\t\tfont-size: 14px;\n\t\t\t\tfont-weight: 300;\n\t\t\t\tcolor: #FFFFFF;\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t.card {\n\t\t\t\tmargin-top: 10rpx;\n\t\t\t\tfont-size: 14px;\n\t\t\t\tfont-weight: 300;\n\t\t\t\tcolor: #FFFFFF;\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t.look {\n\t\t\t\tposition: absolute;\n\t\t\t\tbottom: 30rpx;\n\t\t\t\tright: 40rpx;\n\t\t\t\tfont-size: 14px;\n\t\t\t\tfont-weight: 300;\n\t\t\t\tcolor: #FFFFFF;\n\t\t\t}\n\t\t}\n\t}\n</style>","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!./ready-authentication.vue?vue&type=style&index=0&id=ee0644f0&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!./ready-authentication.vue?vue&type=style&index=0&id=ee0644f0&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/remove-account.vue?2081","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/remove-account.vue?1de5","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/remove-account.vue?40d5","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/remove-account.vue?d03b","uni-app:///pages/main/my/remove-account.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/remove-account.vue?037c"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,gH,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,sBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAuI;AACvI;AACkE;AACL;AACsC;;;AAGnG;AACmN;AACnN,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,aAAa,wLAEN;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;AAA21B,CAAgB,4yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACqB/2B;;;AAGA,gD;;;;;AAKA;AACA,MADA,kBACA;AACA;;;AAGA,GALA;;AAOA;AACA;AACA,YADA,oBACA,KADA,EACA;AACA;AACA;AACA,KAJA,GADA,CAPA;;;;AAgBA;AACA,iBADA,2BACA;AACA;AACA,KAHA,EAhBA,E;;;;;;;;;;;;AC7BA;AAAA;AAAA;AAAA;AAA8lD,CAAgB,m8CAAG,EAAC,C","file":"pages/main/my/remove-account.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/remove-account.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./remove-account.vue?vue&type=template&id=074c750a&scoped=true&\"\nvar renderjs\nimport script from \"./remove-account.vue?vue&type=script&lang=js&\"\nexport * from \"./remove-account.vue?vue&type=script&lang=js&\"\nimport style0 from \"./remove-account.vue?vue&type=style&index=0&id=074c750a&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 \"074c750a\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/my/remove-account.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!./remove-account.vue?vue&type=template&id=074c750a&scoped=true&\"","var components\ntry {\n components = {\n cButton: function() {\n return import(\n /* webpackChunkName: \"components/c-button/c-button\" */ \"@/components/c-button/c-button.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!./remove-account.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!./remove-account.vue?vue&type=script&lang=js&\"","<template>\n\t<view style=\"min-height: 100%;\">\n\t\t<view class=\"title\">账户注销</view>\n\t\t<view class=\"sub_title\" style=\"margin-top: 20rpx;\" >账号主体:{{getPhone}}</view>\n\t\t<view class=\"content\">\n\t\t\t<text class=\"text\">\n\t\t\t如您注销人人推服务,则当前服务在APP\n\t\t\t小程序、等留存的信息均将被清空且无法被找回。具体包括一下信息:\n\t\t\t\n\t\t\t· 人人推注册账号及状态信息\n\t\t\t\n\t\t\t· 订阅消息、短信等通知不再进行推送\n\t\t\t</text>\n\t\t</view>\n\t\t<view class=\"footer\">\n\t\t\t<c-button type=\"confirm\" shape=\"circle\" @click=\"removeAccount\" :disabled=\"false\" text=\"注销申请\"></c-button>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\timport {\n\t\treplaceTextToStar\n\t} from '@/common/commonUtil.js'\n\timport {\n\t\tmapState,\n\t\tmapActions\n\t} from 'vuex'\n\t\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\t\n\t\t\t}\n\t\t},\n\t\t\n\t\tcomputed: {\n\t\t\t...mapState({\n\t\t\t\tgetPhone(state) {\n\t\t\t\t\tlet phone = state.vuex_user.phone;\n\t\t\t\t\treturn replaceTextToStar(phone);\n\t\t\t\t},\n\t\t\t}),\n\t\t},\n\t\t\n\t\tmethods: {\n\t\t\tremoveAccount() {\n\t\t\t\tthis.$u.route('/pages/main/my/again-remove');\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t.title{\n\t\tfont-size: 44rpx;\n\t\tfont-family: PingFangSC-Medium, PingFang SC;\n\t\tfont-weight: 500;\n\t\tcolor: #000000;\n\t\tmargin-top: 48rpx;\n\t\ttext-align: center;\n\t}\n\t\n\t.sub_title{\n\t\tfont-size: 17px;\n\t\tfont-family: PingFangSC-Regular, PingFang SC;\n\t\tfont-weight: 400;\n\t\tcolor: rgba(0, 0, 0, 0.65);\n\t\tline-height: 24px;\n\t\ttext-align: center;\n\t}\n\t\n\t.content{\n\t\twidth: 88%;\n\t\tbackground: rgba(0, 0, 0, 0.03);\n\t\tpadding: 48rpx;\n\t\tmargin:48rpx auto;\n\t\t\n\t\t.text{\n\t\t\tfont-size: 30rpx;\n\t\t\tfont-family: PingFangSC-Regular, PingFang SC;\n\t\t\tfont-weight: 400;\n\t\t\tcolor: rgba(0, 0, 0, 0.65);\n\t\t\tline-height: 42rpx;\n\t\t}\n\t}\n\t\n\t.footer {\n\t\twidth: 100%;\n\t\theight: 130rpx;\n\t\tpadding: 20rpx 40rpx;\n\t\tbackground: #FFFFFF;\n\t\tposition: fixed;\n\t\tbottom: 0;\n\t\tleft: 0;\n\t\tz-index: 99;\n\t\tborder-top: 2rpx solid #F0F0F1;\n\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!./remove-account.vue?vue&type=style&index=0&id=074c750a&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!./remove-account.vue?vue&type=style&index=0&id=074c750a&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/setting-container.vue?75d0","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/setting-container.vue?dcaf","uni-app:///pages/main/my/setting-container.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/setting-container.vue?ee24","uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/setting-container.vue?57d4","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/my/setting-container.vue?3388"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,gMAEN;AACP,KAAK;AACL;AACA,aAAa,8LAEN;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;;;;;;;;;;;;;;ACtCA;AAAA;AAAA;AAAA;AAA81B,CAAgB,+yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACgCl3B;AACA,MADA,kBACA;AACA;AACA,6IADA;AAEA,4IAFA;;AAIA,GANA;AAOA;AACA,eADA,yBACA;AACA;AACA;AACA,wGADA;;AAGA,KANA;;AAQA,cARA,wBAQA;AACA;AACA,uGADA;;AAGA,KAZA;;AAcA,QAdA,gBAcA,IAdA,EAcA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,gBAfA;;;AAkBA,KAlCA,EAPA,E;;;;;;;;;;;;AChCA;AAAA;AAAA;AAAA;AAAimD,CAAgB,s8CAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;kDCArnD;;AAE2D;AAC3D;AACA,qH,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,yBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA0I;AAC1I;AACqE;AACL;AACsC;;;AAGtG;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,uFAAM;AACR,EAAE,wGAAM;AACR,EAAE,iHAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,4GAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","file":"pages/main/my/setting-container.js","sourcesContent":["var components\ntry {\n components = {\n uCellGroup: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-cell-group/u-cell-group\" */ \"@/uview-ui/components/u-cell-group/u-cell-group.vue\"\n )\n },\n uCellItem: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-cell-item/u-cell-item\" */ \"@/uview-ui/components/u-cell-item/u-cell-item.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!./setting-container.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!./setting-container.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"setting\">\r\n\t\t<view class=\"cell top\">\r\n\t\t\t<u-cell-group :border=\"false\">\r\n\t\t\t\t<u-cell-item @tap=\"link('policy')\" :border-bottom=\"true\" title=\"用户政策\"\r\n\t\t\t\t\t:title-style=\"{padding:'0 0 0 14rpx', color:'rgba(0,0,0,0.9)', fontSize:'34rpx'}\" :arrow=\"true\"\r\n\t\t\t\t\tarrow-direction=\"right\">\r\n\t\t\t\t</u-cell-item>\r\n\t\t\t\t<u-cell-item @tap=\"link('agreement')\" :border-bottom=\"true\" title=\"隐私协议\"\r\n\t\t\t\t\t:title-style=\"{padding:'0 0 0 14rpx', color:'rgba(0,0,0,0.9)', fontSize:'34rpx'}\" :arrow=\"true\"\r\n\t\t\t\t\tarrow-direction=\"right\">\r\n\t\t\t\t</u-cell-item>\r\n\t\t\t\t<u-cell-item @tap=\"link('cancel')\" :border-bottom=\"true\" title=\"注销账号\"\r\n\t\t\t\t\t:title-style=\"{padding:'0 0 0 14rpx', color:'rgba(0,0,0,0.9)', fontSize:'34rpx'}\" :arrow=\"true\"\r\n\t\t\t\t\tarrow-direction=\"right\">\r\n\t\t\t\t</u-cell-item>\r\n\t\t\t</u-cell-group>\r\n\t\t</view>\r\n\r\n\t\t<view class=\"cell bottom\">\r\n\t\t\t<u-cell-group :border=\"false\">\r\n\t\t\t\t<u-cell-item :border-bottom=\"true\" title=\"版本号:V1.0\"\r\n\t\t\t\t\t:title-style=\"{padding:'0 0 0 14rpx', color:'rgba(0,0,0,0.9)', fontSize:'34rpx'}\" :arrow=\"false\">\r\n\t\t\t\t</u-cell-item>\r\n\r\n\t\t\t</u-cell-group>\r\n\t\t</view>\r\n\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tservice: \"https://hropublic.oss-cn-beijing.aliyuncs.com/agreement/%E4%BA%BA%E4%BA%BA%E6%8E%A8%E6%9C%8D%E5%8A%A1%E5%8D%8F%E8%AE%AE.html\",\r\n\t\t\t\tpolicy: \"https://hropublic.oss-cn-beijing.aliyuncs.com/agreement/%E4%BA%BA%E4%BA%BA%E6%8E%A8%E9%9A%90%E7%A7%81%E5%8D%8F%E8%AE%AE.html\",\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\n\t\t\tlinkService() {\n\t\t\t\tconsole.log(this)\n\t\t\t\tthis.$u.route({\n\t\t\t\t\turl: `/pages/common/webview/webview?navtitle=服务协议&url=${this.service}`,\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t\tlinkPolicy() {\n\t\t\t\tthis.$u.route({\n\t\t\t\t\turl: `/pages/common/webview/webview?navtitle=隐私政策&url=${this.policy}`,\n\t\t\t\t})\n\t\t\t},\n\t\t\t\r\n\t\t\tlink(type) {\r\n\r\n\t\t\t\tswitch (type) {\r\n\t\t\t\t\tcase 'account':\r\n\t\t\t\t\t\tthis.$u.route('/pages/student/my/account-center/account-center');\r\n\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\tcase 'policy':\r\n\t\t\t\t\t\tthis.$u.route(`/pages/common/webview/webview?navtitle=服务协议&url=${this.service}`);\r\n\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\tcase 'agreement':\r\n\t\t\t\t\t\tthis.$u.route(`/pages/common/webview/webview?navtitle=隐私政策&url=${this.policy}`);\r\n\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\tcase 'cancel':\r\n\t\t\t\t\t\tthis.$u.route('/pages/main/my/remove-account');\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\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\t.setting {\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t\tbackground-color: #F7F7F7;\r\n\r\n\t\t.top {\r\n\t\t\tmargin: 32rpx 0;\r\n\t\t}\n\t\t\n\t\t.cell /deep/ .u-cell {\n\t\t\tpadding: 56rpx 32rpx;\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!./setting-container.vue?vue&type=style&index=0&id=1ef6a48e&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!./setting-container.vue?vue&type=style&index=0&id=1ef6a48e&lang=scss&scoped=true&\"","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/setting-container.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./setting-container.vue?vue&type=template&id=1ef6a48e&scoped=true&\"\nvar renderjs\nimport script from \"./setting-container.vue?vue&type=script&lang=js&\"\nexport * from \"./setting-container.vue?vue&type=script&lang=js&\"\nimport style0 from \"./setting-container.vue?vue&type=style&index=0&id=1ef6a48e&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 \"1ef6a48e\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/my/setting-container.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!./setting-container.vue?vue&type=template&id=1ef6a48e&scoped=true&\""],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/pages/main/position/applyFinish/applyFinish.js.map
已删除
100644 → 0
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/position/applyFinish/applyFinish.vue?5264","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/position/applyFinish/applyFinish.vue?ed9c","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/position/applyFinish/applyFinish.vue?8242","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/position/applyFinish/applyFinish.vue?b988","uni-app:///pages/main/position/applyFinish/applyFinish.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/position/applyFinish/applyFinish.vue?cddf"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,6H,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,sLAEN;AACP,KAAK;AACL;AACA,aAAa,wLAEN;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;;;;;;;;;;;;;;ACtCA;AAAA;AAAA;AAAA;AAAu2B,CAAgB,yyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC8B33B;AACA,MADA,kBACA;AACA;;;;AAIA,GANA;;AAQA,QARA,oBAQA;;AAEA,GAVA;;AAYA,QAZA,oBAYA;;AAEA,GAdA;;AAgBA;AACA,kBADA,4BACA;AACA;AACA,6CADA;;AAGA,KALA;;AAOA,UAPA,oBAOA;AACA;AACA;AACA,yCADA,EADA;;AAIA,gCAJA;AAKA,eALA,mBAKA,GALA,EAKA;AACA;AACA,SAPA;;AASA,KAjBA,EAhBA,E;;;;;;;;;;;;;AC9BA;AAAA;AAAA;AAAA;AAAsnD,CAAgB,g8CAAG,EAAC,C","file":"pages/main/position/applyFinish/applyFinish.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/position/applyFinish/applyFinish.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./applyFinish.vue?vue&type=template&id=0123828c&scoped=true&\"\nvar renderjs\nimport script from \"./applyFinish.vue?vue&type=script&lang=js&\"\nexport * from \"./applyFinish.vue?vue&type=script&lang=js&\"\nimport style0 from \"./applyFinish.vue?vue&type=style&index=0&id=0123828c&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 \"0123828c\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/position/applyFinish/applyFinish.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!./applyFinish.vue?vue&type=template&id=0123828c&scoped=true&\"","var components\ntry {\n components = {\n uImage: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-image/u-image\" */ \"@/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 }\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!./applyFinish.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!./applyFinish.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"apply_finish\">\r\n\t\t<view class=\"content\">\r\n\t\t\t<view class=\"image\">\r\n\t\t\t\t<u-image width=\"120rpx\" height=\"120rpx\" src=\"/static/img/page/finish.png\" />\r\n\t\t\t</view>\r\n\t\t\t<view class=\"title\">您已报名成功!</view>\r\n\t\t\t<view class=\"describe\">\r\n\t\t\t\t<text>您可以微信搜索“优学乐业”</text>\r\n\t\t\t\t<text>登录“校企职通车-优学乐业”小程序,查看您的报名信息。</text>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\r\n\t\t<view class=\"footer\">\r\n\t\t\t<view class=\"left_btn\">\r\n\t\t\t\t<c-button type=\"cancel\" text=\"打电话\" @click=\"popPhoneNumber\">\r\n\t\t\t\t</c-button>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"right_btn\">\r\n\t\t\t\t<c-button type=\"confirm\" text=\"直聊\" @click=\"goChat\">\r\n\t\t\t\t</c-button>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\t\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\t\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tonLoad() {\n\t\t\t\r\n\t\t},\r\n\r\n\t\tonShow() {\r\n\t\t\t\r\n\t\t},\r\n\r\n\t\tmethods: {\n\t\t\tpopPhoneNumber(){\n\t\t\t\tuni.makePhoneCall({\n\t\t\t\t\tphoneNumber:this.vuex_customer_phone\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t\tgoChat() {\n\t\t\t\twx.openCustomerServiceChat({\n\t\t\t\t\textInfo: {\n\t\t\t\t\t\turl: this.vuex_customer_chatUrl\n\t\t\t\t\t},\n\t\t\t\t\tcorpId: this.vuex_corpId,\n\t\t\t\t\tsuccess(res) {\n\t\t\t\t\t\tconsole.log(\"chat..\", res)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\t\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.apply_finish {\r\n\t\tbackground-color: #FFFFFF;\r\n\t\theight: 100%;\r\n\r\n\t\t.content {\r\n\t\t\tpadding: 0 64rpx;\n\t\t\t\n\t\t\t.image {\n\t\t\t\twidth: 120rpx;\n\t\t\t\tpadding: 238rpx 0 36rpx 0;\n\t\t\t\tmargin: 0 auto;\n\t\t\t}\n\t\t\t\n\t\t\t.title {\n\t\t\t\tfont-size: 34rpx;\n\t\t\t\tline-height: 48rpx;\n\t\t\t\tcolor: #121212;\n\t\t\t\ttext-align: center;\n\t\t\t\tmargin: 0 0 10rpx 0;\n\t\t\t}\n\t\t\t\n\t\t\t.describe {\n\t\t\t\tfont-size: 32rpx;\n\t\t\t\tline-height: 44rpx;\n\t\t\t\tcolor: #999999;\n\t\t\t\ttext-align: center;\n\t\t\t\ttext {\n\t\t\t\t\tdisplay: block;\n\t\t\t\t}\n\t\t\t}\r\n\r\n\t\t\t\r\n\t\t}\r\n\r\n\t\t.footer {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 144rpx;\r\n\t\t\tpadding: 24rpx 32rpx;\r\n\t\t\tbackground: #FFFFFF;\r\n\t\t\tposition: fixed;\r\n\t\t\tbottom: 0;\r\n\t\t\tleft: 0;\r\n\t\t\tz-index: 99;\r\n\t\t\tborder-top: 2rpx solid #F0F0F1;\r\n\r\n\t\t\tview {\r\n\t\t\t\tdisplay: inline-block;\r\n\t\t\t}\r\n\r\n\t\t\t.left_btn {\r\n\t\t\t\twidth: 212rpx;\r\n\t\t\t\tmargin: 0 40rpx 0 0;\r\n\t\t\t}\r\n\r\n\t\t\t.right_btn {\r\n\t\t\t\twidth: 434rpx;\r\n\t\t\t}\r\n\t\t}\r\n\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!./applyFinish.vue?vue&type=style&index=0&id=0123828c&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!./applyFinish.vue?vue&type=style&index=0&id=0123828c&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///common/nation.js"],"names":["nation","label","value"],"mappings":"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","file":"pages/main/position/common/vendor.js","sourcesContent":["//民族\nconst nation = [{\n\t\tlabel: '汉族',\n\t\tvalue: '汉族'\n\t},\n\t{\n\t\tlabel: '回族',\n\t\tvalue: '回族'\n\t},\n\t{\n\t\tlabel: '蒙古族',\n\t\tvalue: '蒙古族'\n\t},\n\t{\n\t\tlabel: '藏族',\n\t\tvalue: '藏族'\n\t},\n\t{\n\t\tlabel: '维吾尔族',\n\t\tvalue: '维吾尔族'\n\t},\n\t{\n\t\tlabel: '苗族',\n\t\tvalue: '苗族'\n\t},\n\t{\n\t\tlabel: '彝族',\n\t\tvalue: '彝族'\n\t},\n\t{\n\t\tlabel: '壮族',\n\t\tvalue: '壮族'\n\t},\n\t{\n\t\tlabel: '布依族',\n\t\tvalue: '布依族'\n\t},\n\t{\n\t\tlabel: '朝鲜族',\n\t\tvalue: '朝鲜族'\n\t},\n\t{\n\t\tlabel: '满族',\n\t\tvalue: '满族'\n\t},\n\t{\n\t\tlabel: '侗族',\n\t\tvalue: '侗族'\n\t},\n\t{\n\t\tlabel: '瑶族',\n\t\tvalue: '瑶族'\n\t},\n\t{\n\t\tlabel: '白族',\n\t\tvalue: '白族'\n\t},\n\t{\n\t\tlabel: '土家族',\n\t\tvalue: '土家族'\n\t},\n\t{\n\t\tlabel: '哈尼族',\n\t\tvalue: '哈尼族'\n\t},\n\t{\n\t\tlabel: '哈萨克族',\n\t\tvalue: '哈萨克族'\n\t},\n\t{\n\t\tlabel: '傣族',\n\t\tvalue: '傣族'\n\t},\n\t{\n\t\tlabel: '黎族',\n\t\tvalue: '黎族'\n\t},\n\t{\n\t\tlabel: '傈僳族',\n\t\tvalue: '傈僳族'\n\t},\n\t{\n\t\tlabel: '佤族',\n\t\tvalue: '佤族'\n\t},\n\t{\n\t\tlabel: '畲族',\n\t\tvalue: '畲族'\n\t},\n\t{\n\t\tlabel: '高山族',\n\t\tvalue: '高山族'\n\t},\n\t{\n\t\tlabel: '拉祜族',\n\t\tvalue: '拉祜族'\n\t},\n\t{\n\t\tlabel: '水族',\n\t\tvalue: '水族'\n\t},\n\t{\n\t\tlabel: '东乡族',\n\t\tvalue: '东乡族'\n\t},\n\t{\n\t\tlabel: '纳西族',\n\t\tvalue: '纳西族'\n\t},\n\t{\n\t\tlabel: '景颇族',\n\t\tvalue: '景颇族'\n\t},\n\t{\n\t\tlabel: '柯尔克孜族',\n\t\tvalue: '柯尔克孜族'\n\t},\n\t{\n\t\tlabel: '土族',\n\t\tvalue: '土族'\n\t},\n\t{\n\t\tlabel: '达斡尔族',\n\t\tvalue: '达斡尔族'\n\t},\n\t{\n\t\tlabel: '仫佬族',\n\t\tvalue: '仫佬族'\n\t},\n\t{\n\t\tlabel: '羌族',\n\t\tvalue: '羌族'\n\t},\n\t{\n\t\tlabel: '布朗族',\n\t\tvalue: '布朗族'\n\t},\n\t{\n\t\tlabel: '撒拉族',\n\t\tvalue: '撒拉族'\n\t},\n\t{\n\t\tlabel: '毛南族',\n\t\tvalue: '毛南族'\n\t},\n\t{\n\t\tlabel: '仡佬族',\n\t\tvalue: '仡佬族'\n\t},\n\t{\n\t\tlabel: '锡伯族',\n\t\tvalue: '锡伯族'\n\t},\n\t{\n\t\tlabel: '阿昌族',\n\t\tvalue: '阿昌族'\n\t},\n\t{\n\t\tlabel: '普米族',\n\t\tvalue: '普米族'\n\t},\n\t{\n\t\tlabel: '塔吉克族',\n\t\tvalue: '塔吉克族'\n\t},\n\t{\n\t\tlabel: '怒族',\n\t\tvalue: '怒族'\n\t},\n\t{\n\t\tlabel: '乌孜别克族',\n\t\tvalue: '乌孜别克族'\n\t},\n\t{\n\t\tlabel: '俄罗斯族',\n\t\tvalue: '俄罗斯族'\n\t},\n\t{\n\t\tlabel: '鄂温克族',\n\t\tvalue: '鄂温克族'\n\t},\n\t{\n\t\tlabel: '德昂族',\n\t\tvalue: '德昂族'\n\t},\n\t{\n\t\tlabel: '保安族',\n\t\tvalue: '保安族'\n\t},\n\t{\n\t\tlabel: '裕固族',\n\t\tvalue: '裕固族'\n\t},\n\t{\n\t\tlabel: '京族',\n\t\tvalue: '京族'\n\t},\n\t{\n\t\tlabel: '塔塔尔族',\n\t\tvalue: '塔塔尔族'\n\t},\n\t{\n\t\tlabel: '独龙族',\n\t\tvalue: '独龙族'\n\t},\n\t{\n\t\tlabel: '鄂伦春族',\n\t\tvalue: '鄂伦春族'\n\t},\n\t{\n\t\tlabel: '赫哲族',\n\t\tvalue: '赫哲族'\n\t},\n\t{\n\t\tlabel: '门巴族',\n\t\tvalue: '门巴族'\n\t},\n\t{\n\t\tlabel: '珞巴族',\n\t\tvalue: '珞巴族'\n\t},\n\t{\n\t\tlabel: '基诺族',\n\t\tvalue: '基诺族'\n\t},\n]\n\nexport default nation;\n"],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/position/internshipApply/internshipApply.vue?afa6","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/position/internshipApply/internshipApply.vue?36d7","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/position/internshipApply/internshipApply.vue?528f","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/position/internshipApply/internshipApply.vue?5fe3","uni-app:///pages/main/position/internshipApply/internshipApply.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/position/internshipApply/internshipApply.vue?c562"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,yI,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,wBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAwI;AACxI;AACmE;AACL;AACsC;;;AAGpG;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,qFAAM;AACR,EAAE,sGAAM;AACR,EAAE,+GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,0GAAU;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,oLAEN;AACP,KAAK;AACL;AACA,aAAa,sQAEN;AACP,KAAK;AACL;AACA,aAAa,sLAEN;AACP,KAAK;AACL;AACA,aAAa,wLAEN;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;AAA22B,CAAgB,6yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC6C/3B;AACA,sF;;AAEA;AACA,MADA,kBACA;;;;;;;;;;AAUA,mBAVA,CAEA,QAFA,oBAEA,QAFA,CAGA,WAHA,oBAGA,WAHA,CAIA,IAJA,oBAIA,IAJA,CAKA,MALA,oBAKA,MALA,CAMA,MANA,oBAMA,MANA,CAOA,MAPA,oBAOA,MAPA,CAQA,SARA,oBAQA,SARA,CASA,MATA,oBASA,MATA;;AAYA;AACA,eADA;AAEA,kBAFA;AAGA,yBAHA;AAIA,6BAJA;AAKA,0BALA;AAMA;AACA,uBADA;AAEA,oBAFA;AAGA,kBAHA;AAIA,wBAJA;AAKA,sBALA;AAMA,4BANA,EANA;;AAcA;AACA,mEADA;AAEA,+CAFA;AAGA,mCAHA;AAIA,mDAJA;AAKA,sDALA;AAMA,8DANA,EAdA;;;AAuBA,GApCA;;AAsCA,QAtCA,kBAsCA,MAtCA,EAsCA;AACA;AACA;AACA;AACA,GA1CA;;AA4CA,QA5CA,kBA4CA,CA5CA,EA4CA;;AAEA,GA9CA;;AAgDA,SAhDA,qBAgDA;AACA;AACA,GAlDA;;AAoDA;;AAEA,UAFA,oBAEA;AACA;AACA;AACA,yCADA,EADA;;AAIA,gCAJA;AAKA,eALA,mBAKA,GALA,EAKA;AACA;AACA,SAPA;;AASA,KAZA;;AAcA,UAdA,oBAcA;;;AAGA,UAHA,CAEA,IAFA,CAEA,IAFA,2BAEA,EAFA;;AAKA;AACA;AACA;AACA;AACA,8BADA;AAEA,oCAFA;AAGA,oBAHA;AAIA,cAJA,iGAIA;AACA;;AAEA;AACA,yCADA;AAEA,yCAFA;AAGA,wCAHA;;;AAMA;AACA;;;AAGA,yBAJA,EAIA,IAJA;AAKA,uBAdA,wDAJA;;AAoBA,SArBA,MAqBA;AACA;AACA;AACA,OA1BA;AA2BA,KA9CA,EApDA,E;;;;;;;;;;;;;AChDA;AAAA;AAAA;AAAA;AAA0nD,CAAgB,o8CAAG,EAAC,C","file":"pages/main/position/internshipApply/internshipApply.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/position/internshipApply/internshipApply.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./internshipApply.vue?vue&type=template&id=15c22df8&scoped=true&\"\nvar renderjs\nimport script from \"./internshipApply.vue?vue&type=script&lang=js&\"\nexport * from \"./internshipApply.vue?vue&type=script&lang=js&\"\nimport style0 from \"./internshipApply.vue?vue&type=style&index=0&id=15c22df8&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 \"15c22df8\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/position/internshipApply/internshipApply.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!./internshipApply.vue?vue&type=template&id=15c22df8&scoped=true&\"","var components\ntry {\n components = {\n uForm: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-form/u-form\" */ \"@/uview-ui/components/u-form/u-form.vue\"\n )\n },\n cInputItem: function() {\n return import(\n /* webpackChunkName: \"components/c-input-item/c-input-item\" */ \"@/components/c-input-item/c-input-item.vue\"\n )\n },\n uImage: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-image/u-image\" */ \"@/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 }\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!./internshipApply.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!./internshipApply.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"internship_apply\">\r\n\t\t<view class=\"title\">\r\n\t\t\t<view class=\"title_name\">报名参与实习</view>\r\n\t\t\t<view>\r\n\t\t\t\t<text>请认真填写以下信息,请注意甄别,实习不会收取学生费用,如企业存在收费行为,请及时</text>\r\n\t\t\t\t<text :style=\"{color:'red'}\">举报给我们</text>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"form\">\r\n\t\t\t<u-form :model=\"form\" :error-type=\"errorType\" ref=\"uForm\">\r\n\t\t\t\t<c-input-item label=\"姓名\" type=\"text\" name=\"contactName\" v-model=\"form.contactName\" :rightIcon=\"false\">\r\n\t\t\t\t</c-input-item>\r\n\t\t\t\t<c-input-item label=\"身份证号\" type=\"text\" name=\"idNumber\" v-model=\"form.idNumber\" :rightIcon=\"false\">\r\n\t\t\t\t</c-input-item>\r\n\t\t\t\t<c-input-item label=\"民族\" type=\"select\" name=\"nation\" v-model=\"form.nation\" :required=\"false\"\r\n\t\t\t\t\t:options=\"nation\">\r\n\t\t\t\t</c-input-item>\r\n\t\t\t\t<c-input-item label=\"手机号码\" type=\"number\" name=\"contactPhone\" v-model=\"form.contactPhone\"\r\n\t\t\t\t\t:rightIcon=\"false\">\r\n\t\t\t\t</c-input-item>\r\n\t\t\t\t<c-input-item label=\"学校\" type=\"text\" name=\"schoolName\" v-model=\"form.schoolName\" :rightIcon=\"false\">\r\n\t\t\t\t</c-input-item>\r\n\t\t\t\t<c-input-item label=\"所学专业\" type=\"text\" name=\"professionalName\" v-model=\"form.professionalName\"\r\n\t\t\t\t\t:rightIcon=\"false\">\r\n\t\t\t\t</c-input-item>\r\n\t\t\t</u-form>\r\n\t\t</view>\r\n\r\n\t\t<view class=\"referrer_id\">推荐人ID:{{brokerId}}</view>\r\n\r\n\t\t<view class=\"footer\">\n\t\t\t<view class=\"weixin\" @click=\"goChat\">\n\t\t\t\t<view ><u-image width=\"48rpx\" height=\"48rpx\" src=\"/static/img/page/weixin.png\" /></view>\n\t\t\t\t<text>在线咨询</text>\n\t\t\t</view>\r\n\t\t\t<view class=\"btn\">\n\t\t\t\t<c-button @click=\"submit\" text=\"提交报名\"></c-button>\n\t\t\t</view>\r\n\t\t</view>\r\n\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport area from '@/common/area';\r\n\timport nation from '@/common/nation'\r\n\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\tconst {\r\n\t\t\t\trequired,\r\n\t\t\t\trangeLength,\r\n\t\t\t\tname,\r\n\t\t\t\tidCard,\r\n\t\t\t\theight,\r\n\t\t\t\tweight,\r\n\t\t\t\tmaxLehgth,\r\n\t\t\t\tmobile,\r\n\t\t\t} = this.$u.cusTest;\r\n\r\n\t\t\treturn {\n\t\t\t\tjobId: '',\r\n\t\t\t\tbrokerId: '',\r\n\t\t\t\tarea,\r\n\t\t\t\tnation,\r\n\t\t\t\terrorType: ['toast'],\r\n\t\t\t\tform: {\r\n\t\t\t\t\tcontactName: '',\r\n\t\t\t\t\tidNumber: '',\r\n\t\t\t\t\tnation: '',\r\n\t\t\t\t\tcontactPhone: '',\r\n\t\t\t\t\tschoolName: '',\r\n\t\t\t\t\tprofessionalName: '',\r\n\t\t\t\t},\r\n\t\t\t\trules: {\r\n\t\t\t\t\tcontactName: [required('请填写姓名'), name, rangeLength([2, 5])],\r\n\t\t\t\t\tidNumber: [required('请填写身份证号'), idCard],\r\n\t\t\t\t\tnation: [required('请选择民族')],\r\n\t\t\t\t\tcontactPhone: [required('请填写手机号码'), mobile],\r\n\t\t\t\t\tschoolName: [required('请填写学校'), maxLehgth(20)],\r\n\t\t\t\t\tprofessionalName: [required('请填写所学专业'), maxLehgth(20)],\r\n\t\t\t\t},\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tonLoad(option) {\n\t\t\tconsole.log(option)\r\n\t\t\tthis.jobId = option.jobId;\r\n\t\t\tthis.brokerId = option.brokerId;\r\n\t\t},\r\n\r\n\t\tonShow(e) {\r\n\r\n\t\t},\r\n\r\n\t\tonReady() {\r\n\t\t\tthis.$refs.uForm.setRules(this.rules);\r\n\t\t},\r\n\r\n\t\tmethods: {\n\t\t\t\n\t\t\tgoChat() {\n\t\t\t\twx.openCustomerServiceChat({\n\t\t\t\t\textInfo: {\n\t\t\t\t\t\turl: this.vuex_customer_chatUrl\n\t\t\t\t\t},\n\t\t\t\t\tcorpId: this.vuex_corpId,\n\t\t\t\t\tsuccess(res) {\n\t\t\t\t\t\tconsole.log(\"chat..\", res)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\r\n\r\n\t\t\tsubmit() {\r\n\t\t\t\tconst {\r\n\t\t\t\t\tform = {},\r\n\t\t\t\t} = this;\r\n\r\n\t\t\t\tthis.$refs.uForm.validate(valid => {\r\n\t\t\t\t\tconsole.log(valid)\r\n\t\t\t\t\tif (valid) {\n\t\t\t\t\t\tthis.$u.api.postInternshipApi({\r\n\t\t\t\t\t\t\tjobId: this.jobId,\r\n\t\t\t\t\t\t\tbrokerId: this.brokerId,\r\n\t\t\t\t\t\t\t...this.form,\r\n\t\t\t\t\t\t}).then(async res => {\r\n\t\t\t\t\t\t\tif (res) {\r\n\r\n\t\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\t\ttitle: '提交报名成功',\r\n\t\t\t\t\t\t\t\t\ticon: 'success',\r\n\t\t\t\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\t\tthis.$u.route(\r\n\t\t\t\t\t\t\t\t\t\t`/pages/main/position/applyFinish/applyFinish`\r\n\t\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\t}, 2000)\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tconsole.log('验证失败');\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\t.internship_apply {\r\n\t\tbackground-color: #FAFAFB;\r\n\t\t// height: 3000rpx;\r\n\t\tpadding: 0 0 260rpx 0;\r\n\r\n\t\t.title {\r\n\t\t\tbackground-color: #FFFFFF;\r\n\t\t\tpadding: 40rpx 32rpx 20rpx;\r\n\r\n\t\t\t.title_name {\r\n\t\t\t\tfont-size: 40rpx;\r\n\t\t\t\tline-height: 40rpx;\r\n\t\t\t\tcolor: #121212;\r\n\t\t\t\tmargin: 0 0 16rpx 0;\r\n\t\t\t}\r\n\r\n\t\t\tview:last-child {\r\n\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\tline-height: 40rpx;\r\n\t\t\t\tcolor: #646464;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.form {\r\n\t\t\tbackground-color: #FFFFFF;\r\n\t\t\tpadding: 20rpx 32rpx;\r\n\t\t}\r\n\r\n\t\t.referrer_id {\r\n\t\t\tmargin: 20rpx 32rpx;\r\n\t\t\tfont-size: 26rpx;\r\n\t\t\tcolor: #646464;\r\n\t\t}\r\n\r\n\t\t.footer {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 144rpx;\r\n\t\t\tpadding: 24rpx 32rpx;\r\n\t\t\tbackground: #FFFFFF;\r\n\t\t\tposition: fixed;\r\n\t\t\tbottom: 0;\r\n\t\t\tleft: 0;\r\n\t\t\tz-index: 99;\r\n\t\t\tborder-top: 2rpx solid #F0F0F1;\n\t\t\tdisplay: flex;\n\t\t\tflex-flow: row nowrap;\n\t\t\t// justify-content: space-between;\n\t\t\t\n\t\t\t.weixin {\n\t\t\t\ttext-align: center;\n\t\t\t\tfont-size: 24rpx;\n\t\t\t\tcolor: #121212;\n\t\t\t\tmargin: 0 40rpx 0 0;\n\t\t\t\t\n\t\t\t\tview {\n\t\t\t\t\twidth: 48rpx;\n\t\t\t\t\tmargin: 0 auto;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\ttext{\n\t\t\t\t\tdisplay: block;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t.btn {\n\t\t\t\twidth: 542rpx;\n\t\t\t}\r\n\t\t}\r\n\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!./internshipApply.vue?vue&type=style&index=0&id=15c22df8&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!./internshipApply.vue?vue&type=style&index=0&id=15c22df8&lang=scss&scoped=true&\""],"sourceRoot":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/pages/main/position/positionDetail/positionDetail.js.map
已删除
100644 → 0
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/position/positionDetail/positionDetail.vue?9c06","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/position/positionDetail/positionDetail.vue?5705","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/position/positionDetail/positionDetail.vue?bcd4","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/position/positionDetail/positionDetail.vue?4f73","uni-app:///pages/main/position/positionDetail/positionDetail.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/position/positionDetail/positionDetail.vue?048a"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":"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","file":"pages/main/position/positionDetail/positionDetail.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/position/positionDetail/positionDetail.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./positionDetail.vue?vue&type=template&id=3b90edf6&scoped=true&\"\nvar renderjs\nimport script from \"./positionDetail.vue?vue&type=script&lang=js&\"\nexport * from \"./positionDetail.vue?vue&type=script&lang=js&\"\nimport style0 from \"./positionDetail.vue?vue&type=style&index=0&id=3b90edf6&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 \"3b90edf6\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/position/positionDetail/positionDetail.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!./positionDetail.vue?vue&type=template&id=3b90edf6&scoped=true&\"","var components\ntry {\n components = {\n uImage: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-image/u-image\" */ \"@/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 uMask: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-mask/u-mask\" */ \"@/uview-ui/components/u-mask/u-mask.vue\"\n )\n },\n uForm: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-form/u-form\" */ \"@/uview-ui/components/u-form/u-form.vue\"\n )\n },\n cInputItem: function() {\n return import(\n /* webpackChunkName: \"components/c-input-item/c-input-item\" */ \"@/components/c-input-item/c-input-item.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!./positionDetail.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!./positionDetail.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"position_detail\">\r\n\r\n\t\t<view class=\"survey\">\r\n\t\t\t<view class=\"position_name\">\r\n\t\t\t\t<text>{{positionDetail.name}}</text>\r\n\t\t\t\t<text>{{doneReleaseTime}}</text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"salary\">\r\n\t\t\t\t<!-- <text>5000</text> -->\r\n\t\t\t\t<text>{{doneSalary}}</text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"info\">\r\n\t\t\t\t<text>{{doneAddress}}</text>\r\n\t\t\t\t<text v-if=\"positionDetail.attendanceDay\">{{doneWorkHour}}</text>\r\n\t\t\t\t<text v-if=\"positionDetail.practicePeriod\">{{positionDetail.practicePeriod}}个月</text>\r\n\t\t\t\t<text v-if=\"positionDetail.recruitingNumber\">{{positionDetail.recruitingNumber}}人</text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"label\" v-if=\"positionDetail.flag\">\r\n\t\t\t\t<text v-for=\"(item, index) in doneFlag\" :key=\"index\">{{item}}</text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"company\">\r\n\t\t\t\t<text>{{positionDetail.company}}</text>\r\n\t\t\t\t<!-- <text>浏览次数:0</text> -->\r\n\t\t\t</view>\r\n\t\t\t<view class=\"tips\">\r\n\t\t\t\t<u-image width=\"36rpx\" height=\"36rpx\" src=\"/static/img/page/wallet.png\" />\r\n\t\t\t\t<text>推荐实习生入职,可得乐业币奖励!</text>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\r\n\t\t<view class=\"content\">\r\n\t\t\t<view class=\"box base_info\">\r\n\t\t\t\t<view class=\"title\">基本信息</view>\r\n\t\t\t\t<view class=\"tr\">\r\n\t\t\t\t\t<view class=\"td\">\r\n\t\t\t\t\t\t<text>工作性质</text>\r\n\t\t\t\t\t\t<text>{{doneProperty}}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"td\">\r\n\t\t\t\t\t\t<text>职位类别</text>\r\n\t\t\t\t\t\t<text>{{doneCategory}}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"tr\">\r\n\t\t\t\t\t<view class=\"td\">\r\n\t\t\t\t\t\t<text>招聘人数</text>\r\n\t\t\t\t\t\t<text v-if=\"positionDetail.recruitingNumber\">{{positionDetail.recruitingNumber}}人</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"td\">\r\n\t\t\t\t\t\t<text>薪资待遇</text>\r\n\t\t\t\t\t\t<text>{{doneSalary}}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"tr\">\r\n\t\t\t\t\t<view class=\"td\">\r\n\t\t\t\t\t\t<text>联系人</text>\r\n\t\t\t\t\t\t<text>{{positionDetail.contactName}}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"td\">\r\n\t\t\t\t\t\t<text>联系电话</text>\r\n\t\t\t\t\t\t<text>{{positionDetail.contactPhone}}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"tr\">\r\n\t\t\t\t\t<view class=\"td\" :style=\"{width:'100%'}\">\r\n\t\t\t\t\t\t<text>招聘城市</text>\r\n\t\t\t\t\t\t<text>{{doneAddress}}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"tr\">\r\n\t\t\t\t\t<view class=\"td\" :style=\"{width:'100%'}\">\r\n\t\t\t\t\t\t<text>工作地点</text>\r\n\t\t\t\t\t\t<text>{{positionDetail.workSite}}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"box\">\r\n\t\t\t\t<view class=\"title\">岗位要求</view>\r\n\t\t\t\t<view class=\"tr\">\r\n\t\t\t\t\t<view class=\"td\">\r\n\t\t\t\t\t\t<text>学历要求</text>\r\n\t\t\t\t\t\t<text>{{doneDegree}}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"td\">\r\n\t\t\t\t\t\t<text>出勤要求</text>\r\n\t\t\t\t\t\t<text>{{doneWorkHour}}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"tr\">\r\n\t\t\t\t\t<view class=\"td\">\r\n\t\t\t\t\t\t<text>实习周期</text>\r\n\t\t\t\t\t\t<text>{{ positionDetail.practicePeriod ? `${positionDetail.practicePeriod}个月` : \"\"}}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"td\">\r\n\t\t\t\t\t\t<text>工作经验</text>\r\n\t\t\t\t\t\t<text>{{doneWorkExp}}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"tr\">\r\n\t\t\t\t\t<view class=\"td\" :style=\"{width:'100%'}\">\r\n\t\t\t\t\t\t<text>职业资格或技能证书</text>\r\n\t\t\t\t\t\t<text>{{positionDetail.pqSkill}}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"tr\">\r\n\t\t\t\t\t<view class=\"td\" :style=\"{width:'100%'}\">\r\n\t\t\t\t\t\t<text>专业要求</text>\r\n\t\t\t\t\t\t<text>{{positionDetail.majorRequires?positionDetail.majorRequires=='professional_counterparts'?'专业对口':'其他':'_____'}}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"box\">\r\n\t\t\t\t<view class=\"title\">职位详情</view>\r\n\t\t\t\t<view :style=\"{margin:'40rpx 0 0 0'}\">{{positionDetail.jobDescription}}</view>\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"box company_address\">\r\n\t\t\t\t<view class=\"title\">公司地址</view>\r\n\t\t\t\t<view class=\"map\">\r\n\t\t\t\t\t<map style=\"width: 100%;\" scale=\"10\" :latitude=\"latitude\" :longitude=\"longitude\"\r\n\t\t\t\t\t\t:markers=\"covers\"></map>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\r\n\t\t</view>\r\n\r\n\t\t<view class=\"footer\">\r\n\t\t\t<c-button type=\"confirm\" :text=\"!brokerId ? '保存生成职位推荐海报' : '报名参加实习'\" @click=\"handelLink\"></c-button>\r\n\t\t</view>\r\n\r\n\t\t<u-mask :show=\"showModal\">\r\n\t\t\t<view class=\"modal\" v-show=\"showModal\">\r\n\t\t\t\t<image src=\"/static/img/page/delete.png\" class=\"close\" @click=\"closeModal\"></image>\r\n\t\t\t\t<view class=\"title\">推荐理由</view>\r\n\t\t\t\t<view class=\"form\">\r\n\t\t\t\t\t<u-form :model=\"form\" :error-type=\"errorType\" ref=\"uForm\">\r\n\t\t\t\t\t\t<c-input-item label=\" \" :border=\"false\" :borderBottom=\"false\" type=\"textarea\" name=\"reason\"\r\n\t\t\t\t\t\t\tv-model=\"form.reason\" :rightIcon=\"false\" placeholder=\"请输入推荐理由,同步生成在海报中\">\r\n\t\t\t\t\t\t</c-input-item>\r\n\r\n\t\t\t\t\t</u-form>\r\n\t\t\t\t</view>\r\n\r\n\t\t\t\t<view class=\"footer\">\r\n\t\t\t\t\t<view class=\"left_btn\">\r\n\t\t\t\t\t\t<c-button type=\"cancel\" text=\"取消\" @click=\"closeModal\">\r\n\t\t\t\t\t\t</c-button>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"right_btn\">\r\n\t\t\t\t\t\t<c-button type=\"confirm\" text=\"确认\" @click=\"submit\">\r\n\t\t\t\t\t\t</c-button>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\r\n\t\t\t</view>\r\n\t\t</u-mask>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\tconst QQMapWX = require('@/common/qqmap-wx-jssdk.js')\r\n\timport {\r\n\t\tmapGetters,\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\tconst {\r\n\t\t\t\trequired,\r\n\t\t\t\tmaxLehgth,\r\n\t\t\t} = this.$u.cusTest;\r\n\r\n\t\t\treturn {\r\n\t\t\t\tjobId: '',\r\n\t\t\t\tbrokerId: '',\r\n\t\t\t\tlatitude: '',\r\n\t\t\t\tlongitude: '',\r\n\t\t\t\tcovers: [],\r\n\t\t\t\tshowModal: false,\r\n\t\t\t\terrorType: ['toast'],\r\n\t\t\t\tform: {\r\n\t\t\t\t\treason: '',\r\n\r\n\t\t\t\t},\r\n\t\t\t\trules: {\r\n\t\t\t\t\treason: [maxLehgth(100)],\r\n\t\t\t\t},\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(option) {\r\n\t\t\tconst {\r\n\t\t\t\tdispatch\r\n\t\t\t} = this.$store;\r\n\r\n\t\t\tconsole.log('option...', option);\r\n\r\n\t\t\tlet jobId = '',\r\n\t\t\t\tbrokerId = '';\r\n\r\n\t\t\tif (option.q !== undefined) {\r\n\t\t\t\t// 扫码后接收到的参数\r\n\t\t\t\tlet url = decodeURIComponent(option.q)\r\n\r\n\t\t\t\tconsole.log(url)\r\n\t\t\t\tlet obj = {};\r\n\t\t\t\tif (url.indexOf('?') < 0) return obj;\r\n\t\t\t\tlet arr = url.split('?')\r\n\t\t\t\turl = arr[1]\r\n\t\t\t\tlet array = url.split('&')\r\n\t\t\t\tfor (let i = 0; i < array.length; i++) {\r\n\t\t\t\t\tlet str = array[i]\r\n\t\t\t\t\tlet strArr = str.split('=')\r\n\t\t\t\t\tobj[strArr[0]] = strArr[1]\r\n\t\t\t\t}\r\n\r\n\t\t\t\tjobId = obj.jobId;\r\n\t\t\t\tbrokerId = obj.brokerId;\r\n\r\n\t\t\t} else {\r\n\t\t\t\tjobId = option.jobId;\r\n\t\t\t\tbrokerId = option.brokerId;\r\n\t\t\t}\r\n\r\n\t\t\tthis.jobId = jobId;\r\n\t\t\tthis.brokerId = brokerId;\r\n\r\n\t\t\tdispatch(`position/getPositionDetail`, {\r\n\t\t\t\tid: jobId\r\n\t\t\t}).then(data => {\r\n\t\t\t\tif (data) {\r\n\t\t\t\t\tlet {\r\n\t\t\t\t\t\tprovince = '', district = '', city = '', workSite = '',\r\n\t\t\t\t\t} = data;\r\n\r\n\t\t\t\t\tlet address = province + district + city + workSite;\r\n\t\t\t\t\tlet covers = [];\r\n\r\n\t\t\t\t\tlet qqmapsdk = new QQMapWX({\r\n\t\t\t\t\t\tkey: 'S7NBZ-VHDED-G6D4X-HSEPQ-TWY2V-4GBX4'\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\tqqmapsdk.geocoder({\r\n\t\t\t\t\t\taddress: address,\r\n\t\t\t\t\t\tsuccess: (res) => {\r\n\r\n\t\t\t\t\t\t\tconsole.log(res)\r\n\r\n\t\t\t\t\t\t\tconst {\r\n\t\t\t\t\t\t\t\tlocation = {}\r\n\t\t\t\t\t\t\t} = res.result;\r\n\r\n\t\t\t\t\t\t\tthis.latitude = location.lat;\r\n\t\t\t\t\t\t\tthis.longitude = location.lng;\r\n\r\n\t\t\t\t\t\t\tcovers.push({\r\n\t\t\t\t\t\t\t\tid: 0,\r\n\t\t\t\t\t\t\t\twidth: 50,\r\n\t\t\t\t\t\t\t\theight: 50,\r\n\t\t\t\t\t\t\t\tlatitude: location.lat,\r\n\t\t\t\t\t\t\t\tlongitude: location.lng,\r\n\t\t\t\t\t\t\t\ticonPath: '../../../../static/img/common/location.png'\r\n\t\t\t\t\t\t\t})\r\n\r\n\t\t\t\t\t\t\tthis.covers = covers\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t})\r\n\r\n\t\t\t\t}\r\n\t\t\t})\r\n\r\n\r\n\t\t},\r\n\t\tonShow() {\r\n\r\n\t\t},\r\n\t\tonReady() {\r\n\t\t\tthis.$refs.uForm.setRules(this.rules);\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\t...mapGetters('position', [\r\n\t\t\t\t'doneReleaseTime',\r\n\t\t\t\t'doneSalary',\r\n\t\t\t\t'doneAddress',\r\n\t\t\t\t'doneProperty',\r\n\t\t\t\t'doneCategory',\r\n\t\t\t\t'doneDegree',\r\n\t\t\t\t'doneWorkHour',\r\n\t\t\t\t'doneWorkExp',\r\n\t\t\t\t'doneFlag',\r\n\t\t\t]),\r\n\t\t\t...mapState('position', [\r\n\t\t\t\t'positionDetail'\r\n\t\t\t]),\r\n\t\t},\r\n\t\tmethods: {\r\n\r\n\t\t\tcloseModal() {\r\n\t\t\t\tthis.showModal = false;\r\n\t\t\t},\r\n\r\n\t\t\thandelLink() {\r\n\t\t\t\tif (this.brokerId) {\r\n\t\t\t\t\tthis.$u.route(\r\n\t\t\t\t\t\t`/pages/main/position/internshipApply/internshipApply`, {\r\n\t\t\t\t\t\t\tjobId: this.jobId,\r\n\t\t\t\t\t\t\tbrokerId: this.brokerId,\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.showModal = true;\r\n\t\t\t\t}\r\n\t\t\t},\r\n\r\n\t\t\tsubmit() {\r\n\t\t\t\tconst {\r\n\t\t\t\t\tform = {},\r\n\t\t\t\t} = this;\r\n\t\t\t\tconst {\r\n\t\t\t\t\tbroker = {}\r\n\t\t\t\t} = this.vuex_user;\r\n\r\n\t\t\t\tconsole.log('submit...', form)\r\n\t\t\t\tconsole.log('this.$refs.uForm...', this.$refs.uForm)\r\n\r\n\t\t\t\tthis.$refs.uForm.validate(valid => {\r\n\t\t\t\t\tif (valid) {\r\n\r\n\t\t\t\t\t\tthis.$store.commit('position/setPositionReason', form.reason);\r\n\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle: '保存成功',\r\n\t\t\t\t\t\t\ticon: 'success',\r\n\t\t\t\t\t\t\tduration: 1000\r\n\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\tthis.$u.route(\r\n\t\t\t\t\t\t\t\t`/pages/main/position/recommendPlaybill/recommendPlaybill`, {\r\n\t\t\t\t\t\t\t\t\tjobId: this.jobId,\r\n\t\t\t\t\t\t\t\t\tbrokerId: broker.id,\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}, 1000)\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tconsole.log('验证失败');\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\t.position_detail {\r\n\t\twidth: 100%;\r\n\t\theight: auto;\r\n\t\tposition: relative;\r\n\t\tbackground-color: #FAFAFB;\r\n\r\n\t\t.survey {\r\n\t\t\tbackground: linear-gradient(331deg, #FF5E00 0%, #FF001A 100%);\r\n\t\t\tpadding: 40rpx 40rpx 100rpx 40rpx;\r\n\r\n\t\t\t.position_name {\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tflex-flow: row nowrap;\r\n\t\t\t\tjustify-content: space-between;\r\n\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\tline-height: 26rpx;\r\n\r\n\t\t\t\ttext:first-child {\r\n\t\t\t\t\tfont-size: 36rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.salary {\r\n\t\t\t\tmargin: 24rpx 0 0 0;\r\n\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\tcolor: #FFFFFF;\r\n\r\n\t\t\t\t// text:first-child {\r\n\t\t\t\t// \tmargin: 0 8rpx 0 0;\r\n\t\t\t\t// \tfont-size: 36rpx;\r\n\t\t\t\t// \tline-height: 42rpx;\r\n\t\t\t\t// }\r\n\t\t\t}\r\n\r\n\t\t\t.info {\r\n\t\t\t\tmargin: 30rpx 0 0 0;\r\n\r\n\t\t\t\ttext {\r\n\t\t\t\t\tdisplay: inline-block;\r\n\t\t\t\t\tpadding: 0 8rpx;\r\n\t\t\t\t\tborder-left: 2rpx solid rgba(255, 255, 255, 0.5);\r\n\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t\tline-height: 24rpx;\r\n\t\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\t}\r\n\r\n\t\t\t\ttext:first-child {\r\n\t\t\t\t\tborder: none;\r\n\t\t\t\t\tpadding-left: 0rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.label {\r\n\t\t\t\tmargin: 20rpx 0 0 0;\r\n\r\n\t\t\t\ttext {\r\n\t\t\t\t\tdisplay: inline-block;\r\n\t\t\t\t\tpadding: 8rpx 16rpx;\r\n\t\t\t\t\tmargin: 0 8rpx 8rpx 0;\r\n\t\t\t\t\tbackground: rgba($color: #ffffff, $alpha: 0.15);\r\n\t\t\t\t\tborder-radius: 4rpx;\r\n\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\tline-height: 24rpx;\r\n\t\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.company {\r\n\t\t\t\tmargin: 30rpx 0 0 0;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tflex-flow: row nowrap;\r\n\t\t\t\tjustify-content: space-between;\r\n\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\tline-height: 26rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.tips {\r\n\t\t\t\twidth: 670rpx;\r\n\t\t\t\theight: 68rpx;\r\n\t\t\t\tmargin: 36rpx auto 0;\r\n\t\t\t\tpadding: 14rpx 36rpx;\r\n\t\t\t\tborder-radius: 34rpx;\r\n\t\t\t\tbackground-color: #FFFFFF;\r\n\t\t\t\tcolor: #FF0D16;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tflex-flow: row nowrap;\r\n\r\n\t\t\t\tu-image {\r\n\t\t\t\t\tmargin: 0 8rpx 0 0;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t\t.content {\r\n\t\t\tborder-top-left-radius: 16rpx;\r\n\t\t\tborder-top-right-radius: 16rpx;\r\n\t\t\tmargin: -60rpx 0 0 0;\r\n\t\t\tpadding: 0 0 260rpx 0;\r\n\r\n\t\t\t.box {\r\n\t\t\t\tpadding: 40rpx 32rpx;\r\n\t\t\t\tmargin: 0 0 20rpx 0;\r\n\t\t\t\tbackground-color: #FFFFFF;\r\n\r\n\t\t\t\t.title {\r\n\t\t\t\t\tfont-size: 36rpx;\r\n\t\t\t\t\tline-height: 36rpx;\r\n\t\t\t\t\tcolor: #121212;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.tr {\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\tflex-flow: row nowrap;\r\n\r\n\t\t\t\t\t// justify-content: space-around;\r\n\t\t\t\t\t.td {\r\n\t\t\t\t\t\tmargin: 40rpx 0 0 0;\r\n\t\t\t\t\t\twidth: 50%;\r\n\r\n\t\t\t\t\t\ttext {\r\n\t\t\t\t\t\t\tdisplay: block;\r\n\t\t\t\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\t\t\t\tline-height: 28rpx;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\ttext:last-child {\r\n\t\t\t\t\t\t\tmargin: 20rpx 0 0 0;\r\n\t\t\t\t\t\t\tfont-size: 34rpx;\r\n\t\t\t\t\t\t\tline-height: 34rpx;\r\n\t\t\t\t\t\t\tcolor: #121212;\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\t.base_info {\r\n\t\t\t\tborder-top-left-radius: 16rpx;\r\n\t\t\t\tborder-top-right-radius: 16rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.company_address {\r\n\t\t\t\t.map {\r\n\t\t\t\t\tmargin: 40rpx 0 0 0;\r\n\t\t\t\t\theight: 300rpx;\r\n\t\t\t\t\tborder-radius: 16rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.footer {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 130rpx;\r\n\t\t\tpadding: 20rpx 40rpx;\r\n\t\t\tbackground: #FFFFFF;\r\n\t\t\tposition: fixed;\r\n\t\t\tbottom: 0;\r\n\t\t\tleft: 0;\r\n\t\t\tz-index: 99;\r\n\t\t\tborder-top: 2rpx solid #F0F0F1;\r\n\t\t}\r\n\r\n\t\t.modal {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 474rpx;\r\n\t\t\tposition: fixed;\r\n\t\t\tbottom: 0;\r\n\t\t\tborder-top-left-radius: 24rpx;\r\n\t\t\tborder-top-right-radius: 24rpx;\r\n\t\t\tbackground-color: #fff;\r\n\t\t\tpadding: 40rpx 32rpx;\r\n\r\n\t\t\t.close {\r\n\t\t\t\twidth: 24rpx;\r\n\t\t\t\theight: 24rpx;\r\n\t\t\t\tposition: absolute;\r\n\t\t\t\ttop: 50rpx;\r\n\t\t\t\tright: 50rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.title {\r\n\t\t\t\tfont-size: 34rpx;\r\n\t\t\t\tline-height: 48rpx;\r\n\t\t\t\tcolor: #121212;\r\n\t\t\t}\r\n\r\n\t\t\t.footer {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 160rpx;\r\n\t\t\t\tpadding: 40rpx 120rpx;\r\n\t\t\t\tbackground: #FFFFFF;\r\n\t\t\t\tposition: fixed;\r\n\t\t\t\tbottom: 0;\r\n\t\t\t\tleft: 0;\r\n\t\t\t\tz-index: 99;\r\n\t\t\t\tborder-top: 2rpx solid #F0F0F1;\r\n\r\n\t\t\t\tview {\r\n\t\t\t\t\tdisplay: inline-block;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.left_btn {\r\n\t\t\t\t\twidth: 240rpx;\r\n\t\t\t\t\tmargin: 0 30rpx 0 0;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.right_btn {\r\n\t\t\t\t\twidth: 240rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\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!./positionDetail.vue?vue&type=style&index=0&id=3b90edf6&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!./positionDetail.vue?vue&type=style&index=0&id=3b90edf6&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/position/recommendPlaybill/recommendPlaybill.vue?3e87","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/position/recommendPlaybill/recommendPlaybill.vue?ceea","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/position/recommendPlaybill/recommendPlaybill.vue?bae6","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/position/recommendPlaybill/recommendPlaybill.vue?4936","uni-app:///pages/main/position/recommendPlaybill/recommendPlaybill.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/position/recommendPlaybill/recommendPlaybill.vue?745d"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,+I,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,0BAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA0I;AAC1I;AACqE;AACL;AACsC;;;AAGtG;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,uFAAM;AACR,EAAE,wGAAM;AACR,EAAE,iHAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,4GAAU;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,wLAEN;AACP,KAAK;AACL;AACA,aAAa,sLAEN;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;;;;;;;;;;;;;;ACtCA;AAAA;AAAA;AAAA;AAA62B,CAAgB,+yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC6Ej4B;AACA,gD;;;;;;AAMA;AACA,MADA,kBACA;AACA;AACA;AACA,kCADA,EADA;;AAIA,eAJA;AAKA,eALA;;AAOA,GATA;AAUA,QAVA,kBAUA,MAVA,EAUA;;AAEA,YAFA;AAGA,eAHA,CAEA,QAFA;;AAKA;;AAEA;AACA;;AAEA;AACA,sBADA;;;;;;AAOA,GA3BA;AA4BA,QA5BA,oBA4BA;;AAEA,GA9BA;AA+BA,SA/BA,qBA+BA;;AAEA;AACA;;AAEA;;AAEA,qBAJA,GAIA,iCAJA;AAKA,yBALA,GAKA;AACA,gGADA;AAEA,oCAFA;;AAIA,qBAJA,CALA;;AAWA;AACA;AACA,iBAdA;;;;AAkBA,GAnDA;;AAqDA,UArDA,sBAqDA;AACA;AACA,GAvDA;;AAyDA;AACA;AACA,mBADA;AAEA,cAFA;AAGA,eAHA;AAIA,gBAJA;AAKA,gBALA;AAMA,cANA;AAOA,gBAPA;AAQA,eARA;AASA,YATA,EADA;;AAYA;AACA,kBADA;AAEA,UAFA,EAZA;;AAgBA;AACA,iBADA;AAEA,aAFA,EAhBA,CAzDA;;;;AA+EA,mBA/EA,+BA+EA;AACA;AACA,2CADA;AAEA,6HAFA;;AAIA,GApFA;;AAsFA,iBAtFA,6BAsFA;AACA;AACA,2CADA;AAEA,4EAFA;;AAIA,GA3FA,E;;;;;;;;;;;;;ACpFA;AAAA;AAAA;AAAA;AAA4nD,CAAgB,s8CAAG,EAAC,C","file":"pages/main/position/recommendPlaybill/recommendPlaybill.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/position/recommendPlaybill/recommendPlaybill.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./recommendPlaybill.vue?vue&type=template&id=50b9e7b4&scoped=true&\"\nvar renderjs\nimport script from \"./recommendPlaybill.vue?vue&type=script&lang=js&\"\nexport * from \"./recommendPlaybill.vue?vue&type=script&lang=js&\"\nimport style0 from \"./recommendPlaybill.vue?vue&type=style&index=0&id=50b9e7b4&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 \"50b9e7b4\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/position/recommendPlaybill/recommendPlaybill.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!./recommendPlaybill.vue?vue&type=template&id=50b9e7b4&scoped=true&\"","var components\ntry {\n components = {\n uNavbar: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-navbar/u-navbar\" */ \"@/uview-ui/components/u-navbar/u-navbar.vue\"\n )\n },\n uImage: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-image/u-image\" */ \"@/uview-ui/components/u-image/u-image.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!./recommendPlaybill.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!./recommendPlaybill.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"playbill\">\r\n\t\t<u-navbar :is-back=\"true\" back-icon-color=\"#FFFFFF\" title=\"海报\" :borderBottom=\"false\" :background=\"background\"\r\n\t\t\ttitle-color=\"#ffffff\">\r\n\t\t</u-navbar>\r\n\t\t<view class=\"content\">\r\n\t\t\t<view class=\"survey\">\r\n\t\t\t\t<view class=\"position_name\">\r\n\t\t\t\t\t<text>{{positionDetail.name}}</text>\r\n\t\t\t\t\t<text>{{doneReleaseTime}}</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"salary\">\r\n\t\t\t\t\t<!-- <text>5000</text> -->\r\n\t\t\t\t\t<text>{{doneSalary}}</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"info\">\r\n\t\t\t\t\t<text>{{doneAddress}}</text>\r\n\t\t\t\t\t<text v-if=\"positionDetail.attendanceDay\">{{doneWorkHour}}</text>\r\n\t\t\t\t\t<text v-if=\"positionDetail.practicePeriod\">{{positionDetail.practicePeriod}}个月</text>\r\n\t\t\t\t<text v-if=\"positionDetail.recruitingNumber\">{{positionDetail.recruitingNumber}}人</text>\r\n\t\t\t\t</view>\n\t\t\t\t<view class=\"label\" v-if=\"positionDetail.flag\">\n\t\t\t\t\t<text v-for=\"(item, index) in doneFlag\" :key=\"index\">{{item}}</text>\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"company\">\r\n\t\t\t\t\t<text>{{positionDetail.company}}</text>\r\n\t\t\t\t\t<!-- <text>浏览次数:0</text> -->\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"bg\">\r\n\t\t\t\t<u-image width=\"710rpx\" height=\"60rpx\" src=\"/static/img/page/playbillBg.png\" />\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"bottom\">\r\n\t\t\t\t<view class=\"code\">\r\n\t\t\t\t\t<canvas id=\"qrcode\" canvas-id=\"qrcode\"\r\n\t\t\t\t\t\t:style=\"{ width: `${size}px`, height: `${size}px` }\"></canvas>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"reason\">\r\n\t\t\t\t\t<text>推荐理由:</text>\r\n\t\t\t\t\t<text>{{reason || '大企业,岗位多,福利好!欢迎报名!'}}</text>\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\r\n\t\t<!-- <view class=\"share\">\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<button type=\"default\" data-name=\"shareBtn\" open-type=\"share\">\r\n\t\t\t\t\t<view>\r\n\t\t\t\t\t\t<u-image width=\"68rpx\" height=\"70rpx\" src=\"/static/img/page/share_weixin.png\" />\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<text>分享到微信</text>\r\n\t\t\t\t</button>\r\n\r\n\t\t\t</view>\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<button type=\"default\" data-name=\"shareBtn\" open-type=\"share\">\r\n\t\t\t\t\t<view>\r\n\t\t\t\t\t\t<u-image width=\"68rpx\" height=\"70rpx\" src=\"/static/img/page/share_moments.png\" />\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<text>分享到朋友圈</text>\r\n\t\t\t\t</button>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"item\">\r\n\t\t\t\t<button type=\"default\" data-name=\"shareBtn\" open-type=\"share\">\r\n\t\t\t\t\t<view>\r\n\t\t\t\t\t\t<u-image width=\"68rpx\" height=\"70rpx\" src=\"/static/img/page/share_dowload.png\" />\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<text>保存到相册</text>\r\n\t\t\t\t</button>\r\n\t\t\t</view>\r\n\t\t</view> -->\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport uQRCode from '@/uni_modules/Sansnn-uQRCode/js_sdk/u-qrcode/u-qrcode.js';\r\n\timport {\r\n\t\tmapGetters,\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 {\r\n\t\t\t\tbackground: {\r\n\t\t\t\t\tbackgroundColor: '#FF0E17',\r\n\t\t\t\t},\r\n\t\t\t\tjobId: '',\r\n\t\t\t\tsize: 250\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(option) {\r\n\t\t\tconst {\r\n\t\t\t\tdispatch\r\n\t\t\t} = this.$store;\n\t\t\t\n\t\t\tconsole.log(option)\r\n\r\n\t\t\tthis.jobId = option.jobId;\r\n\t\t\tthis.brokerId = option.brokerId;\r\n\t\t\t\r\n\t\t\tdispatch(`position/getPositionDetail`, {\r\n\t\t\t\tid: option.jobId\r\n\t\t\t})\n\t\t\t\n\t\t\t\r\n\r\n\r\n\t\t},\r\n\t\tonShow() {\r\n\r\n\t\t},\r\n\t\tonReady() {\n\t\t\t\n\t\t\tthis.$u.api.getWechatAppApi().then(async res => {\n\t\t\t\tif (res) {\n\t\t\t\t\t\n\t\t\t\t\tconsole.log(res.applyUrl + '?brokerId=' + this.brokerId + '&jobId=' + this.jobId)\n\t\t\t\t\t\n\t\t\t\t\tconst ctx = uni.createCanvasContext('qrcode');\n\t\t\t\t\tconst uqrcode = new uQRCode({\n\t\t\t\t\t\t\ttext: res.applyUrl + '?brokerId=' + this.brokerId + '&jobId=' + this.jobId,\n\t\t\t\t\t\t\tsize: this.size\n\t\t\t\t\t\t},\n\t\t\t\t\t\tctx\n\t\t\t\t\t);\n\t\t\t\t\tuqrcode.make();\n\t\t\t\t\tuqrcode.draw();\n\t\t\t\t}\n\t\t\t})\r\n\t\t\t\r\n\t\t\t\r\n\t\t},\n\t\t\n\t\tonUnload() {\n\t\t\tthis.$store.commit('position/setPositionReason', '');\n\t\t},\n\t\t\r\n\t\tcomputed: {\r\n\t\t\t...mapGetters('position', [\r\n\t\t\t\t'doneReleaseTime',\r\n\t\t\t\t'doneSalary',\r\n\t\t\t\t'doneAddress',\r\n\t\t\t\t'doneProperty',\r\n\t\t\t\t'doneCategory',\r\n\t\t\t\t'doneDegree',\r\n\t\t\t\t'doneWorkHour',\r\n\t\t\t\t'doneWorkExp',\n\t\t\t\t'doneFlag',\r\n\t\t\t]),\r\n\t\t\t...mapState('position', [\r\n\t\t\t\t'positionDetail',\r\n\t\t\t\t'reason',\r\n\t\t\t]),\r\n\t\t\t...mapState([\r\n\t\t\t\t\"vuex_applyUrl\",\r\n\t\t\t\t'vuex_user'\r\n\t\t\t]),\r\n\t\t},\r\n\r\n\t\tonShareAppMessage() {\n\t\t\treturn {\r\n\t\t\t\ttitle: this.positionDetail.name || '',\n\t\t\t\tpath: `pages/main/position/positionDetail/positionDetail?brokerId=${this.brokerId}&jobId=${this.jobId}`,\r\n\t\t\t};\r\n\t\t},\n\t\t\n\t\tonShareTimeline() {\n\t\t\treturn {\n\t\t\t\ttitle: this.positionDetail.name || '',\n\t\t\t\tquery: `brokerId=${this.brokerId}&jobId=${this.jobId}`,\n\t\t\t};\n\t\t},\r\n\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.playbill {\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t\tbackground: linear-gradient(331deg, #FF5E00 0%, #FF001A 100%);\r\n\t\t// display: flex;\r\n\t\t// flex-flow: column nowrap;\r\n\t\t// justify-content: center;\r\n\t\tpadding: 40rpx 0 0 0;\r\n\r\n\t\t.content {\r\n\t\t\twidth: 710rpx;\r\n\t\t\tborder-radius: 16rpx;\r\n\t\t\tmargin: 0 auto;\r\n\r\n\r\n\t\t\t.survey {\r\n\t\t\t\tpadding: 40rpx 40rpx 40rpx 40rpx;\r\n\t\t\t\tbackground-color: #FFFFFF;\r\n\t\t\t\tborder-top-left-radius: 16rpx;\r\n\t\t\t\tborder-top-right-radius: 16rpx;\r\n\r\n\t\t\t\t.position_name {\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\tflex-flow: row nowrap;\r\n\t\t\t\t\tjustify-content: space-between;\r\n\t\t\t\t\tcolor: #646464;\r\n\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t\tline-height: 26rpx;\r\n\r\n\t\t\t\t\ttext:first-child {\r\n\t\t\t\t\t\tfont-size: 36rpx;\r\n\t\t\t\t\t\tcolor: #121212;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.salary {\r\n\t\t\t\t\tmargin: 24rpx 0 0 0;\r\n\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\tcolor: #FF0D16;\r\n\r\n\t\t\t\t\t// text:first-child {\r\n\t\t\t\t\t// \tmargin: 0 8rpx 0 0;\r\n\t\t\t\t\t// \tfont-size: 36rpx;\r\n\t\t\t\t\t// \tline-height: 42rpx;\r\n\t\t\t\t\t// }\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.info {\r\n\t\t\t\t\tmargin: 30rpx 0 0 0;\r\n\r\n\t\t\t\t\ttext {\r\n\t\t\t\t\t\tdisplay: inline-block;\r\n\t\t\t\t\t\tpadding: 0 8rpx;\r\n\t\t\t\t\t\tborder-left: 2rpx solid rgba(255, 255, 255, 0.5);\r\n\t\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t\t\tline-height: 24rpx;\r\n\t\t\t\t\t\tcolor: #646464;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\ttext:first-child {\r\n\t\t\t\t\t\tborder: none;\r\n\t\t\t\t\t\tpadding-left: 0rpx;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.label {\r\n\t\t\t\t\tmargin: 20rpx 0 0 0;\r\n\r\n\t\t\t\t\ttext {\r\n\t\t\t\t\t\tdisplay: inline-block;\r\n\t\t\t\t\t\tpadding: 8rpx 16rpx;\r\n\t\t\t\t\t\tmargin: 0 8rpx 0 0;\r\n\t\t\t\t\t\tbackground: #F0F0F1;\r\n\t\t\t\t\t\tborder-radius: 4rpx;\r\n\t\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\t\tline-height: 24rpx;\r\n\t\t\t\t\t\tcolor: #646464;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.company {\r\n\t\t\t\t\tmargin: 30rpx 0 0 0;\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\tflex-flow: row nowrap;\r\n\t\t\t\t\tjustify-content: space-between;\r\n\t\t\t\t\tcolor: #646464;\r\n\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t\tline-height: 26rpx;\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\r\n\t\t\t.bg {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t}\r\n\r\n\t\t\t.bottom {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\tbackground-color: #FFFFFF;\r\n\t\t\t\tpadding: 30rpx 0 0 0;\r\n\t\t\t\tborder-bottom-left-radius: 16rpx;\r\n\t\t\t\tborder-bottom-right-radius: 16rpx;\r\n\r\n\t\t\t\t.code {\r\n\t\t\t\t\tmargin: 0 auto 30rpx;\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.reason {\r\n\t\t\t\t\tpadding: 0 40rpx 60rpx;\r\n\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\tcolor: rgba(0, 0, 0, 0.45);\r\n\t\t\t\t\tmin-height: 200rpx;\r\n\r\n\t\t\t\t\ttext:first-child {\r\n\t\t\t\t\t\tdisplay: block;\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\t.share {\r\n\t\t\tdisplay: flex;\r\n\t\t\tflex-flow: row nowrap;\r\n\t\t\tjustify-content: space-around;\r\n\t\t\tpadding: 20rpx 0 40rpx 0;\r\n\r\n\t\t\t.item {\r\n\t\t\t\tbutton {\r\n\t\t\t\t\tbackground: transparent;\r\n\r\n\t\t\t\t\tview {\r\n\t\t\t\t\t\twidth: 68rpx;\r\n\t\t\t\t\t\tmargin: 0 auto;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\ttext {\r\n\t\t\t\t\t\t// margin: 12rpx 0 0 0;\r\n\t\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\t\tline-height: 34rpx;\r\n\t\t\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tbutton::after {\r\n\t\t\t\t\tborder: none;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\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!./recommendPlaybill.vue?vue&type=style&index=0&id=50b9e7b4&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!./recommendPlaybill.vue?vue&type=style&index=0&id=50b9e7b4&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/resource/resource-detail.vue?d13e","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/resource/resource-detail.vue?d53e","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/resource/resource-detail.vue?f20e","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/resource/resource-detail.vue?9ab2","uni-app:///pages/main/resource/resource-detail.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/main/resource/resource-detail.vue?96aa"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,wH,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,uBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAwI;AACxI;AACmE;AACL;AACsC;;;AAGpG;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,qFAAM;AACR,EAAE,sGAAM;AACR,EAAE,+GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,0GAAU;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,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrBA;AAAA;AAAA;AAAA;AAA41B,CAAgB,6yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC6Fh3B,4D;AACA;AACA,MADA,kBACA;AACA;AACA,YADA;AAEA,cAFA;AAGA,4BAHA;AAIA,gDAJA;AAKA,sBALA;AAMA,qBANA;;AAQA,GAVA;;AAYA,QAZA,kBAYA,MAZA,EAYA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAlBA,MAkBA;AACA;AACA;;AAEA;AACA,GAvCA;;AAyCA,QAzCA,oBAyCA;AACA;AACA,GA3CA;;AA6CA;AACA,cADA,sBACA,IADA,EACA;AACA;AACA,KAHA;;AAKA,YALA,sBAKA;AACA;AACA;AACA;;AAEA,6BAHA,GAGA,kCAHA;AAIA,6BAJA,GAIA,EAJA;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,mBAnBA;;AAqBA,KA3BA;;AA6BA,aA7BA,uBA6BA;;AAEA;AACA;AACA,0CADA;;AAGA;AACA;;AAEA;AACA;AACA,yCADA;;AAGA;AACA;;AAEA;AACA,4CADA;;AAGA,KAhDA;;AAkDA,eAlDA,uBAkDA,GAlDA,EAkDA;AACA;AACA;AACA;AACA,KAtDA;;AAwDA,WAxDA,mBAwDA,IAxDA,EAwDA;AACA;AACA;AACA,4CADA,CACA;AACA,SAFA,MAEA;AACA,mEADA,CACA;AACA,SAFA,MAEA;AACA;AACA;AACA,OARA,MAQA;AACA;AACA;AACA,KApEA;;AAsEA,aAtEA,uBAsEA;AACA;AACA,wCADA;;AAGA,KA1EA;;AA4EA,kBA5EA,4BA4EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OALA;AAMA,KArFA,EA7CA,E;;;;;;;;;;;;AC9FA;AAAA;AAAA;AAAA;AAA+lD,CAAgB,o8CAAG,EAAC,C","file":"pages/main/resource/resource-detail.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/resource/resource-detail.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./resource-detail.vue?vue&type=template&id=76629a5c&scoped=true&\"\nvar renderjs\nimport script from \"./resource-detail.vue?vue&type=script&lang=js&\"\nexport * from \"./resource-detail.vue?vue&type=script&lang=js&\"\nimport style0 from \"./resource-detail.vue?vue&type=style&index=0&id=76629a5c&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 \"76629a5c\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/resource/resource-detail.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!./resource-detail.vue?vue&type=template&id=76629a5c&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 m0 = _vm.item.startTime ? _vm.timeFormat(_vm.item.startTime) : null\n var m1 = _vm.getName(_vm.item.contactName)\n var m2 = _vm.phoneHandel(_vm.item.contactPhone)\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n m0: m0,\n m1: m1,\n m2: m2\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!./resource-detail.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!./resource-detail.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"page\">\n\t\t<view class=\"content\">\n\t\t\t<img class=\"tjbg\" src=\"/static/img/page/tjbg.png\" alt=\"\">\n\t\t\t<view class=\"titleV\">\n\t\t\t\t<img class=\"icon\" src=\"/static/img/page/tjbgicon.png\" alt=\"\">\n\t\t\t\t<view class=\"title\">\n\t\t\t\t\t实习需求\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<!-- <view class=\"t1\">\n\t\t\t\t我们是:{{schoolType}},有{{item.number}}名{{item.professional}}专业学生{{timeFormat(item.startTime)}}后,可以参与{{item.duration}}的实习。\n\t\t\t</view> -->\n\t\t\t<view class=\"son_content\">\n\t\t\t\t<view class=\"text\">\n\t\t\t\t\t<text>我们是:</text>\n\t\t\t\t\t<text class=\"write\">{{schoolType?schoolType:'_____'}}</text>\n\t\t\t\t\t<text>,</text>\n\t\t\t\t\t<text>有</text>\n\t\t\t\t\t<text class=\"write\">{{item.number?item.number:'_____'}}</text>\n\t\t\t\t\t<text>名</text>\n\t\t\t\t\t<text class=\"write\">{{item.professional?item.professional:'_____'}}</text>\n\t\t\t\t\t<text>专业学生</text>\n\t\t\t\t\t<text class=\"write\">{{item.startTime?timeFormat(item.startTime):'_____'}}</text>\n\t\t\t\t\t<text>后,可以参与</text>\n\t\t\t\t\t<text class=\"write\">{{item.duration?item.duration:'_____'}}</text>\n\t\t\t\t\t<text>的实习。</text>\n\t\t\t\t\t<text>要求:</text>\n\t\t\t\t\t<text class=\"write\">{{item.requirement?item.requirement=='professional_counterparts'?'专业对口':'其他':'_____'}}</text>\n\t\t\t\t\t<text>,学校所在地:</text>\n\t\t\t\t\t<text class=\"write\">{{item.province}}/{{item.city}}</text>\n\t\t\t\t\t<text>,可实习地区:</text>\n\t\t\t\t\t<text class=\"write\">{{internableLocation}}</text>\n\t\t\t\t</view>\n\t\t\t\t<!-- <view class=\"text_list\">\n\t\t\t\t\t<view class=\"item\">\n\t\t\t\t\t\t<view class=\"label1\">要求:</view>\n\t\t\t\t\t\t<view class=\"label2\">{{item.requirement?item.requirement=='professional_counterparts'?'专业对口':'其他':'_____'}}</view>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"item\">\n\t\t\t\t\t\t<view class=\"label1\">学校所在地:</view>\n\t\t\t\t\t\t<view class=\"label2\">{{item.province}}/{{item.city}}</view>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"item\">\n\t\t\t\t\t\t<view class=\"label1\">可实习地区:</view>\n\t\t\t\t\t\t<view class=\"label2\">{{internableLocation}}</view>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"item\">\n\t\t\t\t\t\t<view class=\"label1\">联系人:</view>\n\t\t\t\t\t\t<view class=\"label2\">{{getName(item.contactName)}}</view>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"item\">\n\t\t\t\t\t\t<view class=\"label1\">联系电话:</view>\n\t\t\t\t\t\t<view class=\"label2\">{{phoneHandel(item.contactPhone)}}</view>\n\t\t\t\t\t</view>\n\t\t\t\t</view> -->\n\t\t\t\t<!-- <view class=\"wv\">\n\t\t\t\t\t<view class=\"nortext\">\n\t\t\t\t\t\t描述内容\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"nortext\" style=\"margin-top: 20rpx;\">\n\t\t\t\t\t\t{{item.description}}\n\t\t\t\t\t</view>\n\t\t\t\t</view> -->\n\t\t\t</view>\n\t\t\t<img class=\"tjly\" src=\"/static/img/page/tjbg1.png\" alt=\"\">\n\t\t\t<view class=\"nortext\">\n\t\t\t\t{{item.description}}\n\t\t\t</view>\n\t\t\t<view class=\"tjitem\">\n\t\t\t\t<view class=\"item\">\n\t\t\t\t\t<view class=\"label1\">联系人:</view>\n\t\t\t\t\t<view class=\"label2\">{{getName(item.contactName)}}</view>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"item\">\n\t\t\t\t\t<view class=\"label1\">联系电话:</view>\n\t\t\t\t\t<view class=\"label2\">{{phoneHandel(item.contactPhone)}}</view>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t</view>\n\t\t<view class=\"extra\">\n\t\t\t您有岗位能够提供,可联系平台帮您匹配需求!\n\t\t</view>\n\t\t<view class=\"botBtn\">\n\t\t\t<view style=\"width: 100%;height: 2rpx;background-color: #f0f0ff;\"></view>\n\t\t\t<view style=\"padding: 30rpx;\" >\n\t\t\t\t<view class=\"btn01\" @click=\"recommend\">我有岗位可以提供</view>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\timport {schoolTypeOptions} from '@/common/util.js'\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tid: \"\",\n\t\t\t\titem: {},\n\t\t\t\tinternableLocation: '',\n\t\t\t\tschoolTypeOptions,\n\t\t\t\tschoolType: null,\n\t\t\t\tcompanyList: []\n\t\t\t}\n\t\t},\n\n\t\tonLoad(option) {\n\t\t\t\n\t\t\tconsole.log('option...',option)\n\t\t\t\n\t\t\tif (option.q !== undefined) {\n\t\t\t\t// 扫码后接收到的参数\n\t\t\t\tlet url = decodeURIComponent(option.q)\n\t\t\t\n\t\t\t\tconsole.log(url)\n\t\t\t\tlet obj = {};\n\t\t\t\tif (url.indexOf('?') < 0) return obj;\n\t\t\t\tlet arr = url.split('?')\n\t\t\t\turl = arr[1]\n\t\t\t\tlet array = url.split('&')\n\t\t\t\tfor (let i = 0; i < array.length; i++) {\n\t\t\t\t\tlet str = array[i]\n\t\t\t\t\tlet strArr = str.split('=')\n\t\t\t\t\tobj[strArr[0]] = strArr[1]\n\t\t\t\t}\n\t\t\t\n\t\t\t\tconsole.log('obj...', obj)\n\t\t\t\tthis.id = obj.id;\n\t\t\t} else {\n\t\t\t\tthis.id = option.id\n\t\t\t}\n\t\t\t\n\t\t\tthis.loadData()\n\t\t},\n\t\t\n\t\tonShow() {\n\t\t\tthis.getCompanyList()\n\t\t},\n\n\t\tmethods: {\n\t\t\ttimeFormat(time) {\n\t\t\t\treturn this.$u.timeFormat(time, 'yyyy/mm/dd')\n\t\t\t},\n\t\t\t\n\t\t\tloadData() {\n\t\t\t\tthis.$u.api.internshipTrackdetailApi(this.id).then(async res => {\n\t\t\t\t\tif (res) {\n\t\t\t\t\t\tthis.item = res\n\n\t\t\t\t\t\tlet cityCodes = JSON.parse(res.internableLocation)\n\t\t\t\t\t\tlet addpennd1 = ''\n\t\t\t\t\t\tfor (var i = 0; i < cityCodes.length; i++) {\n\t\t\t\t\t\t\taddpennd1 += cityCodes[i].city\n\t\t\t\t\t\t\tif (i != cityCodes.length - 1) {\n\t\t\t\t\t\t\t\taddpennd1 = addpennd1 += '/'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis.internableLocation = addpennd1\n\t\t\t\t\t\t\n\t\t\t\t\t\tfor (var i = 0; i < this.schoolTypeOptions.length; i++) {\n\t\t\t\t\t\t\tif (this.schoolTypeOptions[i].value == res.schoolType) {\n\t\t\t\t\t\t\t\tthis.schoolType = this.schoolTypeOptions[i].label\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t\trecommend(){\n\t\t\t\t\n\t\t\t\tif (this.vuex_user == '') {\n\t\t\t\t\tthis.$u.route({\n\t\t\t\t\t\turl: '/pages/common/login/login',\n\t\t\t\t\t})\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (this.companyList.length == 0 && this.companyList) {\n\t\t\t\t\tthis.$u.route({\n\t\t\t\t\t\turl: '/pages/main/my/bank-work',\n\t\t\t\t\t})\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tthis.$u.route({\n\t\t\t\t\turl: '/pages/main/home/add-position',\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t\tphoneHandel(tel) {\n\t\t\t if(!tel) return tel;\n\t\t\t const phone = tel.replace(tel.substring(3,7),'****')\n\t\t\t return phone\n\t\t\t},\n\t\t\t \n\t\t\tgetName(name) {\n\t\t\t if(null != name && name != undefined) {\n\t\t\t if(name.length == 2) {\n\t\t\t return name.substring(0,1) + '*' // 截取name的第一个字符,第二个字符变成*\n\t\t\t } else if(name.length == 3) {\n\t\t\t return name.substring(0,1) + '*' + name.substring(2,3) // 截取name的第一个和第三个字符,第二个字符变成*\n\t\t\t } else if(name.length > 3) {\n\t\t\t return name.substring(0,1) + '*' + '*' + name.substring(3,name.length)\n\t\t\t }\n\t\t\t } else {\n\t\t\t return ''\n\t\t\t }\n\t\t\t},\n\t\t\t\n\t\t\tjumpLogin() {\n\t\t\t\tthis.$u.route({\n\t\t\t\t\turl: '/pages/common/login/login',\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t\tgetCompanyList() {\n\t\t\t\tvar that = this\n\t\t\t\tthis.companyList = []\n\t\t\t\tthis.$u.api.getCompanyListApi().then(data => {\n\t\t\t\t\tif (data && data.records) {\n\t\t\t\t\t\tthat.companyList = data.records\n\t\t\t\t\t\tconsole.log(data, that.companyList)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t}\n\t\t},\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t.page {\n\n\t\t.content {\n\t\t\twidth: 100%;\n\t\t\tposition: relative;\n\t\t\t\n\t\t\t.tjbg {\n\t\t\t\tposition: relative;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 420px;\n\t\t\t\tleft: 0;\n\t\t\t\ttop: 0;\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t.titleV {\n\t\t\t\tposition: absolute;\n\t\t\t\tleft: 20px;\n\t\t\t\ttop: 31px;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\t\n\t\t\t\t.icon {\n\t\t\t\t\twidth: 25px;\n\t\t\t\t\theight: 25px;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t.title {\n\t\t\t\t\tfont-size: 18px;\n\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\tcolor: #121212;\n\t\t\t\t\tmargin-left: 3px;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t.son_content {\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 68px;\n\t\t\t\tleft: 20px;\n\t\t\t\twidth: calc(100% - 40px);\n\t\t\t\theight: 100px;\n\t\t\t\t\n\t\t\t\t.text {\n\t\t\t\t\ttext {\n\t\t\t\t\t\tfont-size: 14px;\n\t\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\t\tcolor: #121212;\n\t\t\t\t\t\tline-height: 24px;\n\t\t\t\t\t\tmargin-left: 10rpx;\n\t\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\t.write {\n\t\t\t\t\t\tcolor: #D2791C;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t.tjly {\n\t\t\t\tposition: absolute;\n\t\t\t\twidth: calc(100% - 24px);\n\t\t\t\theight: 246px;\n\t\t\t\ttop: 174px;\n\t\t\t\tleft: 12px;\n\t\t\t}\n\t\t\t\n\t\t\t.nortext {\n\t\t\t\tposition: absolute;\n\t\t\t\twidth: calc(100% - 62px);\n\t\t\t\theight: 78px;\n\t\t\t\ttop: 230px;\n\t\t\t\tleft: 31px;\n\t\t\t}\n\t\t\t\n\t\t\t.tjitem {\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 330px;\n\t\t\t\tleft: 45px;\n\t\t\t\n\t\t\t\t.item {\n\t\t\t\t\tdisplay: flex;\n\t\t\t\t\tmargin-top: 7px;\n\t\t\t\t\t\n\t\t\t\t\t.label1 {\n\t\t\t\t\t\tfont-size: 13px;\n\t\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\t\tcolor: #121212;\n\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t.label2 {\n\t\t\t\t\t\tmargin-left: 10rpx;\n\t\t\t\t\t\tfont-size: 13px;\n\t\t\t\t\t\tfont-weight: 400;\n\t\t\t\t\t\tcolor: #D2791C;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\t.extra{\n\t\t\tpadding:20rpx;\n\t\t\tfont-size: 26rpx;\n\t\t\tfont-family: PingFangSC-Light, PingFang SC;\n\t\t\tfont-weight: 300;\n\t\t\tcolor: #121212;\n\t\t}\n\t\t\n\t\t.botBtn {\n\t\t\twidth: 100%;\n\t\t\theight: 180rpx;\n\t\t\tposition: fixed;\n\t\t\tbackground-color: #FFFFFF;\n\t\t\tbottom: 0;\n\t\t\tz-index: 10;\n\t\t}\n\t\t\n\t\t.btn01 {\n\t\t\tpadding: 28rpx ;\n\t\t\tbackground: linear-gradient(331deg, #FF5E00 0%, #FF001A 100%);\n\t\t\tborder-radius: 8rpx;\n\t\t\tfont-family: PingFangSC-Medium, PingFang SC;\n\t\t\tcolor: #FFF;\n\t\t\ttext-align: center;\n\t\t}\n\t\t\n\t\t.noLoginView {\n\t\t\tposition: fixed;\n\t\t\tleft: 0;\n\t\t\ttop: 0;\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tbackground-color: #fff;\n\t\t\topacity: 0;\n\t\t\tz-index: 999;\n\t\t}\n\t\t\n\t\t.noLoginView1 {\n\t\t\tposition: fixed;\n\t\t\tleft: 0;\n\t\t\ttop: 0;\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tbackground-color: #fff;\n\t\t\topacity: 0;\n\t\t\tz-index: 888;\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!./resource-detail.vue?vue&type=style&index=0&id=76629a5c&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!./resource-detail.vue?vue&type=style&index=0&id=76629a5c&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,gG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,cAAD,CAAV,C","file":"pages/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/my/login/login.vue'\ncreatePage(Page)"],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/home/home.vue?f93d","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/home/home.vue?696d","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/home/home.vue?a2e6","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/home/home.vue?c435","uni-app:///pages/tabBar/home/home.vue"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,iG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,aAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAA6H;AAC7H;AACwD;AACL;;;AAGnD;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,0EAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,+FAAU;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;AAAi1B,CAAgB,kyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;ACQr2B;AACA,MADA,kBACA;AACA;;;AAGA,GALA;;AAOA,QAPA,oBAOA;;AAEA,GATA;;AAWA,QAXA,oBAWA;;AAEA,GAbA;;AAeA,aAfA,E","file":"pages/tabBar/home/home.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/home/home.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./home.vue?vue&type=template&id=3d3a40f7&scoped=true&\"\nvar renderjs\nimport script from \"./home.vue?vue&type=script&lang=js&\"\nexport * from \"./home.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 \"3d3a40f7\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/tabBar/home/home.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!./home.vue?vue&type=template&id=3d3a40f7&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!./home.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!./home.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view style=\"height: 100%;\">\r\n\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\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tonLoad() {\r\n\t\t\t\r\n\t\t},\r\n\r\n\t\tonShow() {\r\n\r\n\t\t},\r\n\r\n\t\tmethods: {\r\n\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\r\n</style>\n"],"sourceRoot":""} |
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":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/my/my.vue?59e3","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/my/my.vue?5877","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/my/my.vue?26d4","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/my/my.vue?c96b","uni-app:///pages/tabBar/my/my.vue"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;AAE2D;AAC3D;AACA,2F,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,WAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAA2H;AAC3H;AACsD;AACL;;;AAGjD;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,wEAAM;AACR,EAAE,yFAAM;AACR,EAAE,kGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,6FAAU;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;AAA+0B,CAAgB,gyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;ACQn2B;AACA,MADA,kBACA;AACA;;;AAGA,GALA;;AAOA,QAPA,oBAOA;;AAEA,GATA;;AAWA,aAXA,E","file":"pages/tabBar/my/my.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/my/my.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./my.vue?vue&type=template&id=22ae75d7&scoped=true&\"\nvar renderjs\nimport script from \"./my.vue?vue&type=script&lang=js&\"\nexport * from \"./my.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 \"22ae75d7\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/tabBar/my/my.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!./my.vue?vue&type=template&id=22ae75d7&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!./my.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!./my.vue?vue&type=script&lang=js&\"","<template>\n\t<view>\n\t\t\n\t</view>\n</template>\n\n<script>\t\n\t\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\t\n\t\t\t}\n\t\t},\n\t\t\n\t\tonShow() {\n\t\t\t\n\t\t},\n\n\t\tmethods: {\n\t\t\t\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t\n</style>\n"],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/position/position.vue?2314","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/position/position.vue?7109","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/position/position.vue?c161","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/position/position.vue?1244","uni-app:///pages/tabBar/position/position.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/position/position.vue?3b3f","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/position/position.vue?acf9","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/position/position.vue?c66a"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":"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","file":"pages/tabBar/position/position.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/position/position.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./position.vue?vue&type=template&id=3c982792&scoped=true&\"\nvar renderjs\nimport script from \"./position.vue?vue&type=script&lang=js&\"\nexport * from \"./position.vue?vue&type=script&lang=js&\"\nimport style0 from \"./position.vue?vue&type=style&index=0&lang=css&\"\nimport style1 from \"./position.vue?vue&type=style&index=1&id=3c982792&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 \"3c982792\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/tabBar/position/position.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!./position.vue?vue&type=template&id=3c982792&scoped=true&\"","var components\ntry {\n components = {\n uImage: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-image/u-image\" */ \"@/uview-ui/components/u-image/u-image.vue\"\n )\n },\n uSearch: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-search/u-search\" */ \"@/uview-ui/components/u-search/u-search.vue\"\n )\n },\n uTabsSwiper: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-tabs-swiper/u-tabs-swiper\" */ \"@/uview-ui/components/u-tabs-swiper/u-tabs-swiper.vue\"\n )\n },\n cLoading: function() {\n return import(\n /* webpackChunkName: \"components/c-loading/c-loading\" */ \"@/components/c-loading/c-loading.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 m0 = _vm.splitCity(_vm.form.showCitys)\n\n var l1 = _vm.__map(_vm.tabs, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var l0 = _vm.shownoData\n ? _vm.__map(_vm.list, function(item, i) {\n var $orig = _vm.__get_orig(item)\n\n var m1 = _vm.getCategory(item.category)\n var m2 = _vm.timeFormat(item.createdTime, \"mm/dd\")\n return {\n $orig: $orig,\n m1: m1,\n m2: m2\n }\n })\n : null\n return {\n $orig: $orig,\n l0: l0\n }\n })\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n m0: m0,\n l1: l1\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!./position.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!./position.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"internship\">\r\n\r\n\t\t<view class=\"sticky\">\r\n\t\t\t<!-- <u-sticky :offset-top=\"0\" bg-color=\"linear-gradient(#FF5E00 100%, #FF001A 100%)\"> -->\r\n\t\t\t<view class=\"search\" :style=\"{width:searchWidth, height:searchHeight, paddingTop:marginTop}\">\r\n\t\t\t\t<view class=\"address\" @click=\"handelLink('city')\">\r\n\t\t\t\t\t<text>{{splitCity(form.showCitys)}}</text>\r\n\t\t\t\t\t<u-image :style=\"{margin:'0 20rpx 0 8rpx'}\" width=\"20rpx\" height=\"20rpx\"\r\n\t\t\t\t\t\tsrc=\"/static/img/page/arrow.png\" />\r\n\t\t\t\t</view>\r\n\r\n\t\t\t\t<u-search :style=\"{width:'560rpx'}\" v-model=\"keyword\" bg-color=\"#F7F7F7\" placeholder=\"搜索岗位\"\r\n\t\t\t\t\tsearch-icon-color=\"#BFC0C2\" placeholder-color=\"#BFC0C2\" input-align=\"left\" :clearabled=\"true\"\r\n\t\t\t\t\t:show-action=\"false\" @search=\"handelSearch\">\r\n\t\t\t\t</u-search>\r\n\t\t\t</view>\r\n\r\n\t\t\t<view class=\"tab\">\r\n\t\t\t\t<u-tabs-swiper ref=\"uTabs\" :list=\"tabs\" :current=\"current\" @change=\"tabsChange\" :is-scroll=\"true\"\r\n\t\t\t\t\tactive-color=\"#FFF\" bar-width=\"60\" bar-height=\"4\" fontSize=\"30\"\r\n\t\t\t\t\t:bar-style=\"{ borderRadius: '0rpx', bottom: '0rpx' }\"\r\n\t\t\t\t\t:active-item-style=\"{ fontSize: '34rpx', color: '#FFF' }\" bg-color=\"rgba(255,255,255, 0)\"\r\n\t\t\t\t\tswiperWidth=\"750\" inactive-color=\"#FFF\">\r\n\t\t\t\t</u-tabs-swiper>\r\n\t\t\t</view>\r\n\t\t\t<!-- </u-sticky> -->\r\n\t\t</view>\r\n\r\n\t\t<swiper :style=\"{height: getHeight, paddingTop: paddingTop}\" class=\"swiper\" :current=\"swiperCurrent\"\r\n\t\t\t@transition=\"transition\" @animationfinish=\"animationfinish\">\r\n\t\t\t<swiper-item class=\"swiper-item\" v-for=\"(item, index) in tabs\" :key=\"index\">\r\n\t\t\t\t<view v-if=\"shownoData\">\r\n\t\t\t\t\t<view class=\"list\" v-for=\"(item, i) in list\" :key=\"i\">\r\n\t\t\t\t\t\t<view class=\"item\" @click=\"handelLink('list',item)\">\r\n\t\t\t\t\t\t\t<view class=\"top\">\r\n\t\t\t\t\t\t\t\t<view class=\"name\">{{item.name}}</view>\r\n\t\t\t\t\t\t\t\t<view class=\"city\">\r\n\t\t\t\t\t\t\t\t\t{{(item.city == '市辖区'||item.city == '县')?item.province:item.city}}</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"label\">\r\n\t\t\t\t\t\t\t\t<text>{{getCategory(item.category)}}</text>\r\n\t\t\t\t\t\t\t\t<text>招{{item.recruitingNumber}}人</text>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"requirement\">\r\n\t\t\t\t\t\t\t\t要求:{{item.jobDescription || ''}}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"date\">\r\n\t\t\t\t\t\t\t\t<text>{{item.company}}</text>\r\n\t\t\t\t\t\t\t\t<text>{{timeFormat(item.createdTime, 'mm/dd')}}</text>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"recommend\">\r\n\t\t\t\t\t\t\t\t<u-image width=\"100rpx\" height=\"94rpx\" src=\"/static/img/page/avator.png\" />\r\n\t\t\t\t\t\t\t\t<text>推荐入职一起拿乐业币</text>\r\n\t\t\t\t\t\t\t\t<text @click.stop=\"handelLink('recommend',item)\">立即推荐</text>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<c-loading :loading=\"loading\"></c-loading>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view v-else class=\"no_data\">\r\n\t\t\t\t\t<image class=\"img\" :src=\"vuex_baseImgUrl+'/nodata.png'\"></image>\r\n\t\t\t\t\t<view style=\"\r\n\t\t\t\t\t font-size: 26rpxpx;\r\n\t\t\t\t\t color: #121212;\r\n\t\t\t\t\t margin-top: 20rpx;\r\n\t\t\t\t\t text-align: center;\r\n\t\t\t\t\t\">暂无数据</view>\r\n\t\t\t\t</view>\r\n\t\t\t</swiper-item>\r\n\t\t</swiper>\r\n\t\t<view v-if=\"vuex_user == ''\" class=\"noLoginView\" @click=\"jumpLogin\"></view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport listMixin from \"@/common/mixins/list-mixin.js\";\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\tmixins: [listMixin],\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tsearchWidth: 0,\r\n\t\t\t\theight: 0,\r\n\t\t\t\tmarginTop: 0,\r\n\t\t\t\tpaddingTop: 0,\r\n\t\t\t\tbackgroundImage: {\r\n\t\t\t\t\tbackgroundImage: 'linear-gradient(#FF5E00 100%, #FF001A 100%)'\r\n\t\t\t\t},\r\n\t\t\t\treturnnCity: '',\r\n\t\t\t\tform: {\r\n\t\t\t\t\tshowCitys: '全国',\r\n\t\t\t\t},\r\n\t\t\t\ttabs: [{\r\n\t\t\t\t\t\tname: \"推荐岗位\",\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tname: \"智能制造\",\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tname: \"学前教育\",\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tname: \"智慧康养\",\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tname: \"大数据与软件\",\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tname: \"其他\",\r\n\t\t\t\t\t},\r\n\t\t\t\t],\r\n\t\t\t\tkeyword: \"\",\r\n\t\t\t\tlist: [], //列表必须为key list的数组\r\n\t\t\t\tsearch: {\r\n\t\t\t\t\t//搜索对象必须为key search的对象\r\n\t\t\t\t\tkeySearch: \"\",\r\n\t\t\t\t\tcategories: \"\",\r\n\t\t\t\t\tcityCodes: \"\",\r\n\t\t\t\t\tcategory: \"\",\r\n\t\t\t\t\tcityCode: \"\",\r\n\t\t\t\t},\r\n\t\t\t\tcurrent: 0, // tabs组件的current值,表示当前活动的tab选项\r\n\t\t\t\tswiperCurrent: 0, // swiper组件的current值,表示当前那个swiper-item是活动的\r\n\t\t\t\tswiperHeight: 0,\r\n\r\n\t\t\t\tverified: true,\r\n\t\t\t\tshownoData: false,\r\n\t\t\t};\r\n\t\t},\r\n\r\n\t\tonLoad() {\r\n\t\t\tthis.$u.api.myFocusApi().then(async data => {\r\n\r\n\t\t\t\tlet categories = '',\r\n\t\t\t\t\tcityCodes = '';\r\n\r\n\t\t\t\tif (data) {\r\n\t\t\t\t\tcategories = data.categories;\r\n\r\n\t\t\t\t\tif (data.cityCodes) {\r\n\t\t\t\t\t\tcityCodes = JSON.parse(data.cityCodes)\r\n\r\n\t\t\t\t\t\tlet cityCodesArr = [];\r\n\r\n\t\t\t\t\t\tcityCodes.map((item, index) => {\r\n\t\t\t\t\t\t\tcityCodesArr.push(item.city_code)\r\n\t\t\t\t\t\t})\r\n\r\n\t\t\t\t\t\tcityCodes = cityCodesArr.join(',')\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t}\r\n\r\n\t\t\t\tthis.search = {\r\n\t\t\t\t\tkeySearch: \"\",\r\n\t\t\t\t\tcategories: categories,\r\n\t\t\t\t\tcityCodes: cityCodes,\r\n\t\t\t\t}\r\n\r\n\t\t\t\tthis.finished = false;\r\n\t\t\t\tthis.loading = \"loadmore\";\r\n\t\t\t\tthis.page = 0;\r\n\t\t\t\tthis.list = [];\r\n\t\t\t\tawait this._getList();\r\n\r\n\t\t\t})\r\n\t\t},\r\n\r\n\t\tonShow() {\r\n\r\n\t\t\tlet pages = getCurrentPages();\r\n\r\n\t\t\tconsole.log(pages)\r\n\r\n\t\t\tuni.getSystemInfo({\r\n\t\t\t\tsuccess: (res) => {\r\n\r\n\t\t\t\t\tlet menuButtonInfo = uni.getMenuButtonBoundingClientRect();\r\n\t\t\t\t\tlet menuLeft = menuButtonInfo.left\r\n\t\t\t\t\tlet menuHeight = menuButtonInfo.height\r\n\t\t\t\t\tlet menuTop = menuButtonInfo.top\r\n\r\n\t\t\t\t\t// 状态栏高度\r\n\t\t\t\t\tlet statusBarHeight = res.statusBarHeight;\r\n\t\t\t\t\tlet platform = res.platform;\r\n\t\t\t\t\tlet winWidth = res.windowWidth;\r\n\r\n\t\t\t\t\tlet excludeStatusBarHeight = 44;\r\n\t\t\t\t\tif (platform == \"android\") {\r\n\t\t\t\t\t\texcludeStatusBarHeight = 48;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tlet paddingTop = menuTop + menuHeight;\r\n\r\n\t\t\t\t\tlet proportion = 750 / winWidth;\r\n\r\n\t\t\t\t\tthis.searchWidth = (menuLeft * proportion) + 'rpx';\r\n\t\t\t\t\tthis.searchHeight = (menuHeight * proportion) + 'rpx';\r\n\t\t\t\t\tthis.marginTop = (menuTop * proportion) + 'rpx';\r\n\t\t\t\t\tthis.paddingTop = (paddingTop * proportion + 82) + 'rpx';\r\n\r\n\t\t\t\t},\r\n\t\t\t\tcomplete: function(res) {},\r\n\t\t\t});\r\n\t\t},\r\n\r\n\t\twatch: {\r\n\t\t\tswiperCurrent: function(val, oldVal) {\r\n\t\t\t\tlet keys = [\"\", \"manufacture\", \"preschool\", \"healthy\", \"software\", \"other\"];\r\n\t\t\t\tthis.search.category = keys[val];\r\n\r\n\t\t\t\tthis.page = 0;\r\n\t\t\t\tthis.finished = false;\r\n\t\t\t\tthis.loading = \"loadmore\";\r\n\r\n\t\t\t\tthis.current = val;\r\n\t\t\t\tthis._getList();\r\n\t\t\t},\r\n\r\n\t\t\treturnnCity: function(newVal, oldVal) {\r\n\t\t\t\tconsole.log(newVal, oldVal)\r\n\t\t\t\tthis.search.cityCode = newVal;\r\n\r\n\t\t\t\tthis.page = 0;\r\n\t\t\t\tthis.finished = false;\r\n\t\t\t\tthis.loading = \"loadmore\";\r\n\r\n\t\t\t\tthis._getList();\r\n\t\t\t},\r\n\t\t},\r\n\r\n\t\tcomputed: {\r\n\t\t\t// 计算属性的 getter\r\n\t\t\tgetHeight() {\r\n\t\t\t\tconst len = this.list.length;\r\n\r\n\t\t\t\treturn len <= 1 ? \"100%\" : `${len * 440 + 480}rpx`;\r\n\t\t\t},\r\n\r\n\t\t\tgetCategory() {\r\n\t\t\t\treturn function(val) {\r\n\t\t\t\t\tlet categoryOptions = {\r\n\t\t\t\t\t\t\"0\": \"不限\",\r\n\t\t\t\t\t\t\"manufacture\": \"智能制造\",\r\n\t\t\t\t\t\t\"preschool\": \"学前教育\",\r\n\t\t\t\t\t\t\"healthy\": \"智慧康养\",\r\n\t\t\t\t\t\t\"software\": \"大数据与软件\",\r\n\t\t\t\t\t\t\"other\": \"其他\",\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\treturn categoryOptions[val];\r\n\t\t\t\t}\r\n\t\t\t},\r\n\r\n\t\t},\r\n\r\n\t\tmethods: {\r\n\r\n\t\t\tsplitCity(params) {\r\n\t\t\t\tif (params && params.length > 2) {\r\n\t\t\t\t\tparams = params.substring(0, 2) + \"...\";\r\n\t\t\t\t}\r\n\t\t\t\treturn params;\r\n\t\t\t},\r\n\r\n\t\t\ttimeFormat(value, format = \"yyyy/mm/dd\") {\r\n\t\t\t\treturn value > 0 ? this.$u.timeFormat(value, format) : '';\r\n\t\t\t},\r\n\r\n\t\t\thandelLink(type, item) {\n\t\t\t\tconst {\n\t\t\t\t\tbroker = {}\n\t\t\t\t} = this.vuex_user;\n\t\t\t\t\r\n\t\t\t\tswitch (type) {\r\n\t\t\t\t\tcase 'city':\r\n\t\t\t\t\t\tthis.$u.route({\r\n\t\t\t\t\t\t\turl: '/pages/common/city/city',\r\n\t\t\t\t\t\t\tparams: {\r\n\t\t\t\t\t\t\t\ttype: 1,\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\tcase 'list':\r\n\t\t\t\t\t\tthis.$u.route({\r\n\t\t\t\t\t\t\turl: '/pages/main/position/positionDetail/positionDetail',\r\n\t\t\t\t\t\t\tparams: {\r\n\t\t\t\t\t\t\t\tjobId: item.id,\n\t\t\t\t\t\t\t\tbrokerId: broker.id,\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\tcase 'recommend':\r\n\t\t\t\t\t\tthis.$u.route(\r\n\t\t\t\t\t\t\t`/pages/main/position/recommendPlaybill/recommendPlaybill`, {\r\n\t\t\t\t\t\t\t\tjobId: item.id,\n\t\t\t\t\t\t\t\tbrokerId: broker.id,\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t);\r\n\t\t\t\t\t\tbreak;\r\n\r\n\r\n\t\t\t\t}\r\n\t\t\t},\r\n\r\n\t\t\thandelSearch(value) {\r\n\r\n\t\t\t\tthis.page = 0;\r\n\t\t\t\tthis.finished = false;\r\n\t\t\t\tthis.loading = \"loadmore\";\r\n\r\n\t\t\t\tthis._getList();\r\n\t\t\t},\r\n\r\n\t\t\thandelClick(item) {\r\n\t\t\t\tlet params = {\r\n\t\t\t\t\tid: item.id,\r\n\t\t\t\t\tprojectId: item.projectId,\r\n\t\t\t\t\tpracticeForm: item.practiceForm,\r\n\t\t\t\t\tplanId: item.planId,\r\n\t\t\t\t};\r\n\r\n\t\t\t\tif (this.current == 0) {\r\n\t\t\t\t\tthis.$u.route({\r\n\t\t\t\t\t\turl: \"/pages/student/internship/intership-detail/intership-detail\",\r\n\t\t\t\t\t\tparams: params,\r\n\t\t\t\t\t});\r\n\t\t\t\t} else if (this.current == 1) {\r\n\t\t\t\t\tthis.$u.route({\r\n\t\t\t\t\t\turl: \"/pages/student/internship/my-intership-detail/my-intership-detail\",\r\n\t\t\t\t\t\tparams: params,\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// tabs通知swiper切换\r\n\t\t\ttabsChange(index) {\n\t\t\t\tconsole.log(index)\r\n\t\t\t\tthis.swiperCurrent = index;\r\n\t\t\t\t// this.$u.route({\r\n\t\t\t\t// \turl: \"/pages/student/internship/record-edit/record-edit\",\r\n\t\t\t\t// });\r\n\t\t\t},\r\n\r\n\t\t\t// swiper-item左右移动,通知tabs的滑块跟随移动\r\n\t\t\ttransition(e) {\r\n\t\t\t\tlet dx = e.detail.dx;\r\n\t\t\t\tthis.$refs.uTabs.setDx(dx);\r\n\t\t\t},\r\n\t\t\t// 由于swiper的内部机制问题,快速切换swiper不会触发dx的连续变化,需要在结束时重置状态\r\n\t\t\t// swiper滑动结束,分别设置tabs和swiper的状态\r\n\t\t\tanimationfinish(e) {\r\n\t\t\t\tlet current = e.detail.current;\r\n\t\t\t\tthis.$refs.uTabs.setFinishCurrent(current);\r\n\t\t\t\tthis.swiperCurrent = current;\r\n\t\t\t\tthis.current = current;\r\n\t\t\t},\r\n\t\t\t// scroll-view到底部加载更多\r\n\t\t\tonreachBottom() {},\r\n\t\t\t// 搜索\r\n\t\t\tsearchSubmit() {\r\n\t\t\t\t// 调用混合搜索\r\n\t\t\t\tthis._searchData();\r\n\t\t\t},\r\n\t\t\t// 模拟后端分页\r\n\t\t\tasync getData(requestParams) {\r\n\t\t\t\tconst {\r\n\t\t\t\t\tsearch = {}\r\n\t\t\t\t} = requestParams;\r\n\r\n\t\t\t\tlet params = {};\r\n\t\t\t\tparams.pageNumber = requestParams.page + 1;\r\n\t\t\t\tparams.pageSize = 5;\r\n\r\n\t\t\t\tif (!(search.cityCode || search.category)) {\r\n\t\t\t\t\tif (search.categories) {\r\n\t\t\t\t\t\tparams.categories = search.categories;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tif (search.cityCodes) {\r\n\t\t\t\t\t\tparams.cityCodes = search.cityCodes;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (search.category) {\r\n\t\t\t\t\tparams.category = search.category;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (search.cityCode) {\r\n\t\t\t\t\tparams.cityCode = search.cityCode;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (this.keyword) {\r\n\t\t\t\t\tparams.keySearch = this.keyword\r\n\t\t\t\t}\r\n\r\n\t\t\t\treturn await this.$u.api.getPosListApi(params);\r\n\t\t\t},\r\n\t\t\t// 数据请求(没错就是这么少的代码)\r\n\t\t\tasync _getList() {\r\n\t\t\t\tif (this.page == 0) {\r\n\t\t\t\t\tthis.list = [];\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// 根据实际情况修改自己修改key\r\n\t\t\t\tlet result = await this.getData({\r\n\t\t\t\t\tpage: this.page, // 传入页码\r\n\t\t\t\t\tsize: this.size, // 传入每页条数\r\n\t\t\t\t\tsearch: this.search, // 传入搜索的对象\r\n\t\t\t\t});\r\n\r\n\t\t\t\tthis.total = result.total;\r\n\r\n\t\t\t\tif (this.list.length == 0 && result.records.length == 0) {\r\n\t\t\t\t\tthis.shownoData = false\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.shownoData = true\r\n\t\t\t\t}\r\n\r\n\t\t\t\tthis.list = this.list.concat(result.records)\r\n\r\n\t\t\t},\r\n\r\n\t\t\tjumpLogin() {\r\n\t\t\t\tthis.$u.route({\r\n\t\t\t\t\turl: '/pages/common/login/login',\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>\r\n\tpage {\r\n\t\tbackground-color: #f7f7f7;\r\n\t}\r\n</style>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.list /deep/ .u-cell {\r\n\t\tpadding: 8rpx 36rpx;\r\n\r\n\t\t.u-flex {\r\n\t\t\tposition: relative;\r\n\t\t\ttop: -2rpx;\r\n\t\t}\r\n\r\n\t\t.u-cell_title {\r\n\t\t\tmargin: 0 16rpx;\r\n\t\t\tcolor: rgba(0, 0, 0, 0.65);\r\n\t\t}\r\n\t}\r\n\r\n\t.internship {\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\r\n\t\t.sticky {\r\n\t\t\tposition: fixed;\r\n\t\t\ttop: 0;\r\n\t\t\tz-index: 99;\r\n\t\t\tbackground: linear-gradient(331deg, #FF5E00 0%, #FF001A 100%);\n\t\t\twidth: 100%;\r\n\r\n\t\t\t.search {\r\n\t\t\t\tpadding: 0 32rpx;\r\n\t\t\t\t// width: 100%;\r\n\t\t\t\t// margin: 0 auto;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tflex-flow: row nowrap;\r\n\r\n\t\t\t\t.address {\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\tflex-flow: row nowrap;\r\n\t\t\t\t\tjustify-content: left;\r\n\t\t\t\t\tpadding: 12rpx 0 0 0;\r\n\r\n\t\t\t\t\ttext {\r\n\t\t\t\t\t\t// width: 100rpx;\r\n\t\t\t\t\t\t// display: inline-block;\r\n\t\t\t\t\t\twhite-space: nowrap;\r\n\t\t\t\t\t\t// overflow: hidden;\r\n\t\t\t\t\t\t// text-overflow: ellipsis;\r\n\t\t\t\t\t\t// text-align: left;\r\n\t\t\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\t\t\tline-height: 42rpx;\r\n\t\t\t\t\t\tcolor: #FFFFFF;\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.tab {\r\n\t\t\t\tmargin: 40rpx 0 0 0;\n\t\t\t\twidth: 100%;\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t\t.swiper {\r\n\t\t\t// height: calc(100vh - 418rpx);\r\n\t\t\t// height: calc(100% - 282rpx);\r\n\t\t\t// height: max-content;\r\n\t\t\tbackground-color: #FBFBFB;\r\n\r\n\t\t\t.list {\r\n\t\t\t\t.item {\r\n\t\t\t\t\twidth: 710rpx;\r\n\t\t\t\t\tmargin: 20rpx auto;\r\n\t\t\t\t\tpadding: 40rpx 20rpx 10rpx;\r\n\t\t\t\t\tbackground-color: #FFFFFF;\r\n\t\t\t\t\tbox-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);\r\n\t\t\t\t\tborder-radius: 8rpx;\r\n\r\n\t\t\t\t\t.top {\n\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\tflex-flow: row nowrap;\n\t\t\t\t\t\tjustify-content: space-between;\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t.name {\n\t\t\t\t\t\t\tfont-size: 32rpx;\n\t\t\t\t\t\t\tcolor: #121212;\n\t\t\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t.city {\n\t\t\t\t\t\t\tfont-size: 24rpx;\n\t\t\t\t\t\t\tcolor: #999999;\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t.label {\r\n\t\t\t\t\t\tmargin: 40rpx 0 28rpx 0;\r\n\r\n\t\t\t\t\t\ttext {\r\n\t\t\t\t\t\t\tdisplay: inline-block;\r\n\t\t\t\t\t\t\tpadding: 8rpx 16rpx;\r\n\t\t\t\t\t\t\tmargin: 0 8rpx 0 0;\r\n\t\t\t\t\t\t\tbackground: #F7F7F7;\r\n\t\t\t\t\t\t\tborder-radius: 4rpx;\r\n\t\t\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\t\t\tline-height: 24rpx;\r\n\t\t\t\t\t\t\tcolor: #646464;\r\n\t\t\t\t\t\t\tbox-shadow: 0rpx 0rpx 20rpx 0rpx rgba(0, 0, 0, 0.1);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t.requirement {\r\n\t\t\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\t\t\tline-height: 42rpx;\r\n\t\t\t\t\t\tcolor: #121212;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t.date {\r\n\t\t\t\t\t\tmargin: 32rpx 0 40rpx 0;\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\tflex-flow: row nowrap;\r\n\t\t\t\t\t\tjustify-content: space-between;\r\n\t\t\t\t\t\tcolor: #999999;\r\n\t\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\t\tline-height: 24rpx;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t.recommend {\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\tflex-flow: row nowrap;\r\n\t\t\t\t\t\tborder-top: 2rpx solid #F5F5F5;\r\n\t\t\t\t\t\tpadding: 0 50rpx;\r\n\r\n\t\t\t\t\t\ttext {\r\n\t\t\t\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\t\t\t\tline-height: 42rpx;\r\n\t\t\t\t\t\t\tcolor: #121212;\r\n\t\t\t\t\t\t\tpadding: 28rpx 0 0 0;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\ttext:last-child {\r\n\t\t\t\t\t\t\tmargin: 0 0 0 32rpx;\r\n\t\t\t\t\t\t\tcolor: #FF0D16;\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\r\n\r\n\r\n\t\t.no_data {\r\n\t\t\twidth: 100%;\r\n\r\n\t\t\t.img {\r\n\t\t\t\tdisplay: block;\r\n\t\t\t\tmargin: 0 auto;\r\n\t\t\t\tmargin-top: 214rpx;\r\n\t\t\t\twidth: 374rpx;\r\n\t\t\t\theight: 220rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.text_black_28 {\r\n\t\t\t\tfont-family: PingFangSC-Regular, PingFang SC;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tcolor: #000000;\r\n\t\t\t\tmargin-top: 48rpx;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.noLoginView {\r\n\t\t\tposition: fixed;\r\n\t\t\tleft: 0;\r\n\t\t\ttop: 0;\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 100%;\r\n\t\t\tbackground-color: #fff;\r\n\t\t\topacity: 0;\r\n\t\t\tz-index: 999;\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--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../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!./position.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../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!./position.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657611217266\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 ","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!./position.vue?vue&type=style&index=1&id=3c982792&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!./position.vue?vue&type=style&index=1&id=3c982792&lang=scss&scoped=true&\""],"sourceRoot":""} |
1 | -{"version":3,"sources":["uni-app:///main.js","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/resource/resource.vue?466e","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/resource/resource.vue?abe8","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/resource/resource.vue?0706","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/resource/resource.vue?8bbf","uni-app:///pages/tabBar/resource/resource.vue","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/resource/resource.vue?1203","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/resource/resource.vue?33db","webpack:////Users/linon/work/workai/yxly-teacher/pages/tabBar/resource/resource.vue?baa9"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":"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","file":"pages/tabBar/resource/resource.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/resource/resource.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./resource.vue?vue&type=template&id=ee78e452&scoped=true&\"\nvar renderjs\nimport script from \"./resource.vue?vue&type=script&lang=js&\"\nexport * from \"./resource.vue?vue&type=script&lang=js&\"\nimport style0 from \"./resource.vue?vue&type=style&index=0&lang=css&\"\nimport style1 from \"./resource.vue?vue&type=style&index=1&id=ee78e452&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 \"ee78e452\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/tabBar/resource/resource.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!./resource.vue?vue&type=template&id=ee78e452&scoped=true&\"","var components\ntry {\n components = {\n uTag: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-tag/u-tag\" */ \"@/uview-ui/components/u-tag/u-tag.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 m0 = _vm.cityFormat(_vm.form.showCitys)\n var l0 =\n _vm.stuList.length > 0\n ? _vm.__map(_vm.stuList, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var m1 = _vm.timeFormat(item.createdTime)\n return {\n $orig: $orig,\n m1: m1\n }\n })\n : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n m0: m0,\n l0: l0\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!./resource.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!./resource.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"page\">\n\t\t<!-- 左上角自定义样式 -->\n\t\t<view class=\"tab_title\"\n\t\t\t:style=\"{'height':menuTop+menuHeight+12+ 'px','line-height':menuHeight + 'px','padding-top':menuTop + 'px','padding-bottom':'12px'}\">\n\t\t\t<view style=\"display: flex;position: absolute;margin-left: 40rpx;\" @click=\"chooseCity\">\n\t\t\t\t<view style=\"color: #fff;\">{{cityFormat(form.showCitys)}}</view>\n\t\t\t\t<image style=\" width: 22rpx;height:22rpx;margin-left:8rpx;align-self: center;\"\n\t\t\t\t\tsrc=\"/static/img/page/arrow.png\">\n\t\t\t\t</image>\n\t\t\t</view>\n\t\t\t<view class=\"title\">找学生资源</view>\n\t\t</view>\n\t\t<view class=\"\">\n\t\t\t<view v-if=\"stuList.length>0\" style=\"padding:40rpx 20rpx;\">\n\t\t\t\t<view :style=\"{'margin-top': margin+'px'}\">\n\t\t\t\t\t<view class=\"item_box\" v-for=\"(item,index) in stuList\" :key=\"index\">\n\t\t\t\t\t\t<view class=\"item\" @click=\"goDetail(item)\" style=\"padding:30rpx 24rpx ;\">\n\t\t\t\t\t\t\t<view class=\"item_title\">\n\t\t\t\t\t\t\t\t<text class=\"text\">{{item.contactName}}</text>\n\t\t\t\t\t\t\t\t<view class=\"right_title\" @click.stop=\"goContact(item.contactPhone)\">我要联系</view>\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t<view style=\"margin-top: 30rpx;display: flex;\">\n\t\t\t\t\t\t\t\t<view style=\"width: fit-content; \">\n\t\t\t\t\t\t\t\t\t<u-tag :text=\"item.requirement=='professional_counterparts'?'专业对口':'不限'\"\n\t\t\t\t\t\t\t\t\t\tborder-color=\"#f7f7f7\" bg-color=\"#f7f7f7\" color=\"#646464\" type=\"info\" />\n\t\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t\t<view style=\"margin-left: 12rpx; width: fit-content; \">\n\t\t\t\t\t\t\t\t\t<u-tag :text=\"item.number+'人'\" bg-color=\"#f7f7f7\" color=\"#646464\"\n\t\t\t\t\t\t\t\t\t\tborder-color=\"#f7f7f7\" type=\"info\" />\n\t\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t<view class=\"content\">{{item.description}}</view>\n\t\t\t\t\t\t\t<view style=\"width: 100%;display: flex;\">\n\t\t\t\t\t\t\t\t<text\n\t\t\t\t\t\t\t\t\tclass=\"gray_24\">{{(item.city == '市辖区'||item.city == '县')?item.province:item.city}}</text>\n\t\t\t\t\t\t\t\t<text class=\"gray_24\" style=\"margin-left: auto;\">{{timeFormat(item.createdTime)}}</text>\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view v-else class=\"no_data\">\n\t\t\t\t<image class=\"img\" :src=\"vuex_baseImgUrl+'/nodata.png'\"></image>\n\t\t\t\t<view style=\"\n\t\t\t font-size: 26rpxpx;\n\t\t\t color: #121212;\n\t\t\t margin-top: 20rpx;\n\t\t\t text-align: center;\n\t\t\t\">暂无数据</view>\n\t\t\t</view>\n\t\t</view>\n\t\t<view class=\"float_wrap\">\n\t\t\t<image class=\"phone\" src=\"/static/img/tabbar/float-phone.png\" @click=\"callPhone\"></image>\n\t\t\t<image class=\"chat\" src=\"/static/img/tabbar/float-chat.png\" @click=\"goChat\"></image>\n\t\t</view>\n\t\t<view v-if=\"vuex_user == ''\" class=\"noLoginView\" @click=\"jumpLogin\"></view>\n\t</view>\n</template>\n\n<script>\n\timport citys from '@/common/city.js'\n\tvar QQMapWX = require('@/common/qqmap-wx-jssdk.js')\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tstuList: [],\n\t\t\t\tstatusBarHeight: 44,\n\t\t\t\tmenuHeight: 32,\n\t\t\t\tmenuTop: 32,\n\t\t\t\tmargin: 92,\n\t\t\t\treturnnCity: '',\n\t\t\t\tform: {\n\t\t\t\t\tshowCitys: '全国',\n\t\t\t\t},\n\t\t\t\tcitys,\n\t\t\t}\n\t\t},\n\n\t\tonLoad() {\n\t\t\tthis.getSystemInfo()\n\t\t\t// this.getMyLocation()\n\t\t},\n\n\t\tonShow() {\n\t\t\tthis.getStuInfo()\n\t\t},\n\n\t\tmethods: {\n\t\t\tgetSystemInfo() {\n\t\t\t\tuni.getSystemInfo({\n\t\t\t\t\tsuccess: (res) => {\n\n\t\t\t\t\t\tlet menuButtonInfo = uni.getMenuButtonBoundingClientRect();\n\t\t\t\t\t\tthis.menuHeight = menuButtonInfo.height\n\t\t\t\t\t\tthis.menuTop = menuButtonInfo.top\n\t\t\t\t\t\t// 状态栏高度\n\t\t\t\t\t\tlet statusBarHeight = res.statusBarHeight;\n\t\t\t\t\t\tlet platform = res.platform;\n\t\t\t\t\t\tlet winWidth = res.windowWidth;\n\n\t\t\t\t\t\tlet excludeStatusBarHeight = 44;\n\t\t\t\t\t\tif (platform == \"android\") {\n\t\t\t\t\t\t\texcludeStatusBarHeight = 48;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tlet navigationBarHeight = statusBarHeight + excludeStatusBarHeight;\n\t\t\t\t\t\t// let proportion = 750 / winWidth;\n\t\t\t\t\t\t// this.navigationBarHeight = navigationBarHeight * proportion;\n\t\t\t\t\t\tthis.margin = navigationBarHeight;\n\n\t\t\t\t\t\tconsole.log(this.navigationBarHeight, this.menuHeight, this.menuTop,\n\t\t\t\t\t\t\tnavigationBarHeight)\n\t\t\t\t\t},\n\t\t\t\t\tcomplete: function(res) {},\n\t\t\t\t});\n\t\t\t},\n\n\t\t\ttimeFormat(value, format = \"yyyy-mm-dd\") {\n\t\t\t\treturn this.$u.timeFormat(value, format);\n\t\t\t},\n\n\t\t\tchooseCity() {\n\t\t\t\tthis.$u.route({\n\t\t\t\t\turl: '/pages/common/city/city',\n\t\t\t\t\tparams: {\n\t\t\t\t\t\ttype: 1\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\n\t\t\tcityFormat(str) {\n\t\t\t\tif (str && str.length > 5) {\n\t\t\t\t\tstr = str.substring(0, 5) + \"...\";\n\t\t\t\t}\n\t\t\t\treturn str\n\t\t\t},\n\n\t\t\tgetMyLocation() {\n\t\t\t\tlet _this = this\n\t\t\t\tuni.getLocation({\n\t\t\t\t\ttype: 'gcj02',\n\t\t\t\t\tisHighAccuracy: true,\n\t\t\t\t\tsuccess: (res) => {\n\t\t\t\t\t\tconsole.log(res);\n\t\t\t\t\t\tlet qqmapsdk = new QQMapWX({\n\t\t\t\t\t\t\tkey: 'S7NBZ-VHDED-G6D4X-HSEPQ-TWY2V-4GBX4'\n\t\t\t\t\t\t});\n\t\t\t\t\t\t_this.latitude = res.latitude\n\t\t\t\t\t\t_this.longitude = res.longitude\n\t\t\t\t\t\tqqmapsdk.reverseGeocoder({\n\t\t\t\t\t\t\tlocation: {\n\t\t\t\t\t\t\t\tlatitude: res.latitude,\n\t\t\t\t\t\t\t\tlongitude: res.longitude\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tsuccess: (re) => {\n\t\t\t\t\t\t\t\tconsole.log(re);\n\t\t\t\t\t\t\t\t_this.form.showCitys = re.result.address_component.city\n\t\t\t\t\t\t\t\t_this.findCode(_this.form.showCitys)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t})\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t},\n\n\t\t\tfindCode(str) {\n\t\t\t\tfor (let i = 0; i < this.citys.length; i++) {\n\t\t\t\t\tlet item = this.citys[i].cities\n\t\t\t\t\tfor (var j = 0; j < item.length; j++) {\n\t\t\t\t\t\tlet cityName = item[j].city\n\t\t\t\t\t\tif (str.indexOf(cityName) != -1) {\n\t\t\t\t\t\t\tthis.returnnCity = item[j].city_code\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tgoDetail(e) {\n\t\t\t\tthis.$u.route({\n\t\t\t\t\turl: '/pages/main/resource/resource-detail',\n\t\t\t\t\tparams: {\n\t\t\t\t\t\t'id': e.id\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\n\t\t\tgoContact(phone) { //我要联系\n\t\t\t\tuni.makePhoneCall({\n\t\t\t\t\tphoneNumber: phone\n\t\t\t\t})\n\t\t\t},\n\n\t\t\tcallPhone() {\n\t\t\t\tuni.makePhoneCall({\n\t\t\t\t\tphoneNumber: this.vuex_customer_phone\n\t\t\t\t})\n\t\t\t},\n\n\t\t\tgoChat() {\n\t\t\t\twx.openCustomerServiceChat({\n\t\t\t\t\textInfo: {\n\t\t\t\t\t\turl: this.vuex_customer_chatUrl\n\t\t\t\t\t},\n\t\t\t\t\tcorpId: this.vuex_corpId,\n\t\t\t\t\tsuccess(res) {\n\t\t\t\t\t\tconsole.log(\"chat..\", res)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\n\t\t\tgetStuInfo() {\n\t\t\t\tthis.stuList = []\n\t\t\t\tthis.loadData()\n\t\t\t},\n\n\t\t\tlower() {\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthis.loadData(true);\n\t\t\t\t}, 200)\n\t\t\t},\n\n\t\t\tloadData(e) {\n\t\t\t\tlet params = {\n\t\t\t\t\t\"status\": 'done',\n\t\t\t\t}\n\t\t\t\tif (e) {\n\t\t\t\t\tif (this.total <= this.stuList.length) {\n\t\t\t\t\t\treturn\n\t\t\t\t\t}\n\t\t\t\t\tthis.page++\n\t\t\t\t} else {\n\t\t\t\t\tthis.page = 1\n\t\t\t\t}\n\t\t\t\tparams['pageNumber'] = this.page\n\t\t\t\tif (this.returnnCity) {\n\t\t\t\t\tparams['cityCode'] = this.returnnCity\n\t\t\t\t}\n\t\t\t\tconsole.log(params)\n\t\t\t\tthis.$u.api.getStuListApi(params).then(async res => {\n\t\t\t\t\tif (res) {\n\t\t\t\t\t\tthis.total = res.total\n\t\t\t\t\t\tthis.stuList = this.stuList.concat(res.records)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t\tjumpLogin() {\n\t\t\t\tthis.$u.route({\n\t\t\t\t\turl: '/pages/common/login/login',\n\t\t\t\t})\n\t\t\t},\n\t\t},\n\n\t\t\n\t}\n</script>\n<style>\n\tpage {\n\t\tbackground-color: #FAFAFB;\n\t}\n</style>\n<style lang=\"scss\" scoped>\n\t.page {\n\t\twidth: 100%;\n\t\theight: 100%;\n\n\t\t.title {\n\t\t\twidth: 100%;\n\t\t\ttext-align: center;\n\t\t\tfont-size: 34rpx;\n\t\t\tfont-family: PingFangSC-Medium, PingFang SC;\n\t\t\tfont-weight: 500;\n\t\t\tcolor: #fff;\n\t\t}\n\n\t\t.tab_title {\n\t\t\twidth: 100%;\n\t\t\tdisplay: flex;\n\t\t\tposition: fixed;\n\t\t\ttop: 0;\n\t\t\tbackground: linear-gradient(331deg, #FF5E00 0%, #FF001A 100%);\n\t\t}\n\n\t\t.item_box {\n\t\t\tmargin: 30rpx 0;\n\n\t\t\t.item {\n\t\t\t\twidth: 686rpx;\n\t\t\t\tmargin: 0 auto;\n\t\t\t\tbackground: #FFFFFF;\n\t\t\t\tbox-shadow: 0px 0px 20rpx 0px rgba(0, 0, 0, 0.06);\n\t\t\t\tborder-radius: 8rpx;\n\n\t\t\t\t.item_title {\n\t\t\t\t\tdisplay: flex;\n\t\t\t\t}\n\n\t\t\t\t.text {\n\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t\twidth: 80%;\n\t\t\t\t\toverflow: hidden;\n\t\t\t\t\twhite-space: nowrap;\n\t\t\t\t\ttext-overflow: ellipsis;\n\t\t\t\t\tfont-size: 32rpx;\n\t\t\t\t\tfont-family: PingFangSC-Medium, PingFang SC;\n\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\tcolor: #121212;\n\t\t\t\t\tvertical-align: middle;\n\t\t\t\t}\n\n\t\t\t\t.right_title {\n\t\t\t\t\tbackground: rgba(255, 13, 22, 0.04);\n\t\t\t\t\tbox-shadow: 0px 0px 20rpx 0px rgba(0, 0, 0, 0.06);\n\t\t\t\t\tborder-radius: 8rpx;\n\t\t\t\t\tfont-size: 24rpx;\n\t\t\t\t\tfont-family: PingFangSC-Medium, PingFang SC;\n\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\tcolor: #FF0D16;\n\t\t\t\t\tline-height: 20rpx;\n\t\t\t\t\ttext-shadow: 0px 0px 20rpx rgba(0, 0, 0, 0.06);\n\t\t\t\t\tpadding: 12rpx;\n\t\t\t\t\twidth: fit-content;\n\t\t\t\t}\n\n\t\t\t\t.content {\n\t\t\t\t\tfont-size: 28rpx;\n\t\t\t\t\tfont-family: PingFangSC-Light, PingFang SC;\n\t\t\t\t\tfont-weight: 300;\n\t\t\t\t\tcolor: #121212;\n\t\t\t\t\tline-height: 40rpx;\n\t\t\t\t\ttext-shadow: 0px 0px 20rpx rgba(0, 0, 0, 0.06);\n\t\t\t\t\toverflow: hidden;\n\t\t\t\t\t-webkit-line-clamp: 2;\n\t\t\t\t\tdisplay: -webkit-box;\n\t\t\t\t\t-webkit-box-orient: vertical;\n\t\t\t\t\tmargin: 20rpx 0;\n\t\t\t\t}\n\n\t\t\t\t.recommend_wrap {\n\t\t\t\t\tdisplay: flex;\n\t\t\t\t\tjustify-content: center;\n\n\t\t\t\t\t.text {\n\t\t\t\t\t\tfont-size: 28rpx;\n\t\t\t\t\t\tfont-family: PingFangSC-Light, PingFang SC;\n\t\t\t\t\t\tfont-weight: 300;\n\t\t\t\t\t\tline-height: 28rpx;\n\t\t\t\t\t\talign-self: center;\n\t\t\t\t\t\twidth: auto;\n\t\t\t\t\t}\n\n\t\t\t\t\t.black {\n\t\t\t\t\t\tcolor: #121212;\n\t\t\t\t\t\ttext-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);\n\t\t\t\t\t}\n\n\t\t\t\t\t.red {\n\t\t\t\t\t\tcolor: #FF0D16;\n\t\t\t\t\t\ttext-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t.float_wrap {\n\t\t\tposition: fixed;\n\t\t\tright: 10rpx;\n\t\t\tbottom: 10rpx;\n\t\t\tdisplay: grid;\n\n\t\t\t.chat {\n\t\t\t\twidth: 172rpx;\n\t\t\t\theight: 172rpx;\n\t\t\t}\n\n\t\t\t.phone {\n\t\t\t\twidth: 172rpx;\n\t\t\t\theight: 172rpx;\n\t\t\t\tmargin-bottom: -48rpx;\n\t\t\t}\n\t\t}\n\n\t\t.no_data {\n\t\t\twidth: 100%;\n\t\t\tmargin-top: 400rpx;\n\n\t\t\t.img {\n\t\t\t\tdisplay: block;\n\t\t\t\tmargin: 0 auto;\n\t\t\t\tmargin-top: 214rpx;\n\t\t\t\twidth: 374rpx;\n\t\t\t\theight: 220rpx;\n\t\t\t}\n\n\t\t\t.text_black_28 {\n\t\t\t\tfont-family: PingFangSC-Regular, PingFang SC;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tcolor: #000000;\n\t\t\t\tmargin-top: 48rpx;\n\t\t\t\ttext-align: center;\n\t\t\t}\n\t\t}\n\n\t\t.noLoginView {\n\t\t\tposition: fixed;\n\t\t\tleft: 0;\n\t\t\ttop: 0;\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tbackground-color: #fff;\n\t\t\topacity: 0;\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--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../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!./resource.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../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!./resource.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657611032634\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 ","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!./resource.vue?vue&type=style&index=1&id=ee78e452&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!./resource.vue?vue&type=style&index=1&id=ee78e452&lang=scss&scoped=true&\""],"sourceRoot":""} |
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 // 1657699073729\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":""} |
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 // 1657699073643\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":""} |
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 // 1657699073673\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":""} |
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 // 1657699073756\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":""} |
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 // 1657699073711\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":""} |
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":""} |
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 // 1657699073823\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":""} |
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 // 1657699073780\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":""} |
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 // 1657699073658\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":""} |
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 // 1657699073690\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":""} |
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 // 1657699073813\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":""} |
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 // 1657699073801\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":""} |
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 // 1657699073764\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":""} |
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 // 1657699073749\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":""} |
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 // 1657699073870\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":""} |
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-badge/u-badge.vue?2940","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-badge/u-badge.vue?9e74","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-badge/u-badge.vue?c1e6","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-badge/u-badge.vue?f2d1","uni-app:///uview-ui/components/u-badge/u-badge.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-badge/u-badge.vue?36cf","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-badge/u-badge.vue?bc8f"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AACmN;AACnN,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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7BA;AAAA;AAAA;AAAA;AAAo1B,CAAgB,qyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACmBx2B;;;;;;;;;;;;;;;;;AAiBA;AACA,iBADA;AAEA;AACA;AACA;AACA,kBADA;AAEA,sBAFA,EAFA;;AAMA;AACA;AACA,kBADA;AAEA,wBAFA,EAPA;;AAWA;AACA;AACA,mBADA;AAEA,oBAFA,EAZA;;AAgBA;AACA;AACA,4BADA,EAjBA;;AAoBA;AACA;AACA,kBADA;AAEA,iBAFA,EArBA;;AAyBA;AACA;AACA,mBADA;AAEA,oBAFA,EA1BA;;AA8BA;AACA;AACA,iBADA;AAEA;AACA;AACA,OAJA,EA/BA;;AAqCA;AACA;AACA,mBADA;AAEA,mBAFA,EAtCA;;AA0CA;AACA;AACA,4BADA;AAEA,mBAFA,EA3CA;;AA+CA;AACA;AACA,kBADA;AAEA,wBAFA,EAhDA;;AAoDA;AACA;AACA,kBADA;AAEA,iBAFA,EArDA;;AAyDA;AACA;AACA,mBADA;AAEA,oBAFA,EA1DA,EAFA;;;AAiEA;AACA;AACA,YAFA,sBAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OALA,MAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAnBA;AAoBA;AACA,YArBA,sBAqBA;AACA;AACA;AACA;AACA;AACA;AACA,KA3BA;AA4BA;AACA,QA7BA,kBA6BA;AACA;AACA;AACA;AACA,KAjCA,EAjEA,E;;;;;;;;;;;;ACpCA;AAAA;AAAA;AAAA;AAAulD,CAAgB,47CAAG,EAAC,C;;;;;;;;;;;ACA3mD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-badge/u-badge.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-badge.vue?vue&type=template&id=2b1712d8&scoped=true&\"\nvar renderjs\nimport script from \"./u-badge.vue?vue&type=script&lang=js&\"\nexport * from \"./u-badge.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-badge.vue?vue&type=style&index=0&id=2b1712d8&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 \"2b1712d8\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-badge/u-badge.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-badge.vue?vue&type=template&id=2b1712d8&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\n ? _vm.__get_style([\n {\n top: _vm.offset[0] + \"rpx\",\n right: _vm.offset[1] + \"rpx\",\n fontSize: _vm.fontSize + \"rpx\",\n position: _vm.absolute ? \"absolute\" : \"static\",\n color: _vm.color,\n backgroundColor: _vm.bgColor\n },\n _vm.boxStyle\n ])\n : 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-badge.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-badge.vue?vue&type=script&lang=js&\"","<template>\n\t<view v-if=\"show\" class=\"u-badge\" :class=\"[\n\t\t\tisDot ? 'u-badge-dot' : '', \n\t\t\tsize == 'mini' ? 'u-badge-mini' : '',\n\t\t\ttype ? 'u-badge--bg--' + type : ''\n\t\t]\" :style=\"[{\n\t\t\ttop: offset[0] + 'rpx',\n\t\t\tright: offset[1] + 'rpx',\n\t\t\tfontSize: fontSize + 'rpx',\n\t\t\tposition: absolute ? 'absolute' : 'static',\n\t\t\tcolor: color,\n\t\t\tbackgroundColor: bgColor\n\t\t}, boxStyle]\"\n\t>\n\t\t{{showText}}\n\t</view>\n</template>\n\n<script>\n\t/**\n\t * badge 角标\n\t * @description 本组件一般用于展示头像的地方,如个人中心,或者评论列表页的用户头像展示等场所。\n\t * @tutorial https://www.uviewui.com/components/badge.html\n\t * @property {String Number} count 展示的数字,大于 overflowCount 时显示为 ${overflowCount}+,为0且show-zero为false时隐藏\n\t * @property {Boolean} is-dot 不展示数字,只有一个小点(默认false)\n\t * @property {Boolean} absolute 组件是否绝对定位,为true时,offset参数才有效(默认true)\n\t * @property {String Number} overflow-count 展示封顶的数字值(默认99)\n\t * @property {String} type 使用预设的背景颜色(默认error)\n\t * @property {Boolean} show-zero 当数值为 0 时,是否展示 Badge(默认false)\n\t * @property {String} size Badge的尺寸,设为mini会得到小一号的Badge(默认default)\n\t * @property {Array} offset 设置badge的位置偏移,格式为 [x, y],也即设置的为top和right的值,单位rpx。absolute为true时有效(默认[20, 20])\n\t * @property {String} color 字体颜色(默认#ffffff)\n\t * @property {String} bgColor 背景颜色,优先级比type高,如设置,type参数会失效\n\t * @property {Boolean} is-center 组件中心点是否和父组件右上角重合,优先级比offset高,如设置,offset参数会失效(默认false)\n\t * @example <u-badge type=\"error\" count=\"7\"></u-badge>\n\t */\n\texport default {\n\t\tname: 'u-badge',\n\t\tprops: {\n\t\t\t// primary,warning,success,error,info\n\t\t\ttype: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'error'\n\t\t\t},\n\t\t\t// default, mini\n\t\t\tsize: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'default'\n\t\t\t},\n\t\t\t//是否是圆点\n\t\t\tisDot: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: false\n\t\t\t},\n\t\t\t// 显示的数值内容\n\t\t\tcount: {\n\t\t\t\ttype: [Number, String],\n\t\t\t},\n\t\t\t// 展示封顶的数字值\n\t\t\toverflowCount: {\n\t\t\t\ttype: Number,\n\t\t\t\tdefault: 99\n\t\t\t},\n\t\t\t// 当数值为 0 时,是否展示 Badge\n\t\t\tshowZero: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: false\n\t\t\t},\n\t\t\t// 位置偏移\n\t\t\toffset: {\n\t\t\t\ttype: Array,\n\t\t\t\tdefault: () => {\n\t\t\t\t\treturn [20, 20]\n\t\t\t\t}\n\t\t\t},\n\t\t\t// 是否开启绝对定位,开启了offset才会起作用\n\t\t\tabsolute: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: true\n\t\t\t},\n\t\t\t// 字体大小\n\t\t\tfontSize: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: '24'\n\t\t\t},\n\t\t\t// 字体演示\n\t\t\tcolor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '#ffffff'\n\t\t\t},\n\t\t\t// badge的背景颜色\n\t\t\tbgColor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// 是否让badge组件的中心点和父组件右上角重合,配置的话,offset将会失效\n\t\t\tisCenter: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: false\n\t\t\t}\n\t\t},\n\t\tcomputed: {\n\t\t\t// 是否将badge中心与父组件右上角重合\n\t\t\tboxStyle() {\n\t\t\t\tlet style = {};\n\t\t\t\tif(this.isCenter) {\n\t\t\t\t\tstyle.top = 0;\n\t\t\t\t\tstyle.right = 0;\n\t\t\t\t\t// Y轴-50%,意味着badge向上移动了badge自身高度一半,X轴50%,意味着向右移动了自身宽度一半\n\t\t\t\t\tstyle.transform = \"translateY(-50%) translateX(50%)\";\n\t\t\t\t} else {\n\t\t\t\t\tstyle.top = this.offset[0] + 'rpx';\n\t\t\t\t\tstyle.right = this.offset[1] + 'rpx';\n\t\t\t\t\tstyle.transform = \"translateY(0) translateX(0)\";\n\t\t\t\t}\n\t\t\t\t// 如果尺寸为mini,后接上scal()\n\t\t\t\tif(this.size == 'mini') {\n\t\t\t\t\tstyle.transform = style.transform + \" scale(0.8)\";\n\t\t\t\t}\n\t\t\t\treturn style;\n\t\t\t},\n\t\t\t// isDot类型时,不显示文字\n\t\t\tshowText() {\n\t\t\t\tif(this.isDot) return '';\n\t\t\t\telse {\n\t\t\t\t\tif(this.count > this.overflowCount) return `${this.overflowCount}+`;\n\t\t\t\t\telse return this.count;\n\t\t\t\t}\n\t\t\t},\n\t\t\t// 是否显示组件\n\t\t\tshow() {\n\t\t\t\t// 如果count的值为0,并且showZero设置为false,不显示组件\n\t\t\t\tif(this.count == 0 && this.showZero == false) return false;\n\t\t\t\telse return true;\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t@import \"../../libs/css/style.components.scss\";\n\t\n\t.u-badge {\n\t\t/* #ifndef APP-NVUE */\n\t\tdisplay: inline-flex;\n\t\t/* #endif */\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\tline-height: 24rpx;\n\t\tpadding: 4rpx 8rpx;\n\t\tborder-radius: 100rpx;\n\t\tz-index: 9;\n\t\t\n\t\t&--bg--primary {\n\t\t\tbackground-color: $u-type-primary;\n\t\t}\n\t\t\n\t\t&--bg--error {\n\t\t\tbackground-color: $u-type-error;\n\t\t}\n\t\t\n\t\t&--bg--success {\n\t\t\tbackground-color: $u-type-success;\n\t\t}\n\t\t\n\t\t&--bg--info {\n\t\t\tbackground-color: $u-type-info;\n\t\t}\n\t\t\n\t\t&--bg--warning {\n\t\t\tbackground-color: $u-type-warning;\n\t\t}\n\t}\n\t\n\t.u-badge-dot {\n\t\theight: 16rpx;\n\t\twidth: 16rpx;\n\t\tborder-radius: 100rpx;\n\t\tline-height: 1;\n\t}\n\t\n\t.u-badge-mini {\n\t\ttransform: scale(0.8);\n\t\ttransform-origin: center center;\n\t}\n\t\n\t// .u-primary {\n\t// \tbackground: $u-type-primary;\n\t// \tcolor: #fff;\n\t// }\n\t\n\t// .u-error {\n\t// \tbackground: $u-type-error;\n\t// \tcolor: #fff;\n\t// }\n\t\n\t// .u-warning {\n\t// \tbackground: $u-type-warning;\n\t// \tcolor: #fff;\n\t// }\n\t\n\t// .u-success {\n\t// \tbackground: $u-type-success;\n\t// \tcolor: #fff;\n\t// }\n\t\n\t// .u-black {\n\t// \tbackground: #585858;\n\t// \tcolor: #fff;\n\t// }\n\t\n\t.u-info {\n\t\tbackground-color: $u-type-info;\n\t\tcolor: #fff;\n\t}\n</style>","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-badge.vue?vue&type=style&index=0&id=2b1712d8&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-badge.vue?vue&type=style&index=0&id=2b1712d8&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536258154\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":""} |
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-button/u-button.vue?9f49","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-button/u-button.vue?0d0a","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-button/u-button.vue?18c2","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-button/u-button.vue?7162","uni-app:///uview-ui/components/u-button/u-button.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-button/u-button.vue?6154","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-button/u-button.vue?d9e9"],"names":[],"mappings":"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","file":"uview-ui/components/u-button/u-button.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-button.vue?vue&type=template&id=6e15e680&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=6e15e680&scoped=true&lang=scss&\"\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 \"6e15e680\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"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=6e15e680&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([\n _vm.customStyle,\n {\n overflow: _vm.ripple ? \"hidden\" : \"visible\"\n }\n ])\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\t<button\n\t\tid=\"u-wave-btn\"\n\t\tclass=\"u-btn u-line-1 u-fix-ios-appearance\"\n\t\t:class=\"[\n\t\t\t'u-size-' + size,\n\t\t\tplain ? 'u-btn--' + type + '--plain' : '',\n\t\t\tloading ? 'u-loading' : '',\n\t\t\tshape == 'circle' ? 'u-round-circle' : '',\n\t\t\thairLine ? showHairLineBorder : 'u-btn--bold-border',\n\t\t\t'u-btn--' + type,\n\t\t\tdisabled ? `u-btn--${type}--disabled` : '',\n\t\t]\"\n\t\t:hover-start-time=\"Number(hoverStartTime)\"\n\t\t:hover-stay-time=\"Number(hoverStayTime)\"\n\t\t:disabled=\"disabled\"\n\t\t:form-type=\"formType\"\n\t\t:open-type=\"openType\"\n\t\t:app-parameter=\"appParameter\"\n\t\t:hover-stop-propagation=\"hoverStopPropagation\"\n\t\t:send-message-title=\"sendMessageTitle\"\n\t\tsend-message-path=\"sendMessagePath\"\n\t\t:lang=\"lang\"\n\t\t:data-name=\"dataName\"\n\t\t:session-from=\"sessionFrom\"\n\t\t:send-message-img=\"sendMessageImg\"\n\t\t:show-message-card=\"showMessageCard\"\n\t\t@getphonenumber=\"getphonenumber\"\n\t\t@getuserinfo=\"getuserinfo\"\n\t\t@error=\"error\"\n\t\t@opensetting=\"opensetting\"\n\t\t@launchapp=\"launchapp\"\n\t\t:style=\"[customStyle, {\n\t\t\toverflow: ripple ? 'hidden' : 'visible'\n\t\t}]\"\n\t\t@tap.stop=\"click($event)\"\n\t\t:hover-class=\"getHoverClass\"\n\t\t:loading=\"loading\"\n\t>\n\t\t<slot></slot>\n\t\t<view\n\t\t\tv-if=\"ripple\"\n\t\t\tclass=\"u-wave-ripple\"\n\t\t\t:class=\"[waveActive ? 'u-wave-active' : '']\"\n\t\t\t:style=\"{\n\t\t\t\ttop: rippleTop + 'px',\n\t\t\t\tleft: rippleLeft + 'px',\n\t\t\t\twidth: fields.targetWidth + 'px',\n\t\t\t\theight: fields.targetWidth + 'px',\n\t\t\t\t'background-color': rippleBgColor || 'rgba(0, 0, 0, 0.15)'\n\t\t\t}\"\n\t\t></view>\n\t</button>\n</template>\n\n<script>\n/**\n * button 按钮\n * @description Button 按钮\n * @tutorial https://www.uviewui.com/components/button.html\n * @property {String} size 按钮的大小\n * @property {Boolean} ripple 是否开启点击水波纹效果\n * @property {String} ripple-bg-color 水波纹的背景色,ripple为true时有效\n * @property {String} type 按钮的样式类型\n * @property {Boolean} plain 按钮是否镂空,背景色透明\n * @property {Boolean} disabled 是否禁用\n * @property {Boolean} hair-line 是否显示按钮的细边框(默认true)\n * @property {Boolean} shape 按钮外观形状,见文档说明\n * @property {Boolean} loading 按钮名称前是否带 loading 图标(App-nvue 平台,在 ios 上为雪花,Android上为圆圈)\n * @property {String} form-type 用于 <form> 组件,点击分别会触发 <form> 组件的 submit/reset 事件\n * @property {String} open-type 开放能力\n * @property {String} data-name 额外传参参数,用于小程序的data-xxx属性,通过target.dataset.name获取\n * @property {String} hover-class 指定按钮按下去的样式类。当 hover-class=\"none\" 时,没有点击态效果(App-nvue 平台暂不支持)\n * @property {Number} hover-start-time 按住后多久出现点击态,单位毫秒\n * @property {Number} hover-stay-time 手指松开后点击态保留时间,单位毫秒\n * @property {Object} custom-style 对按钮的自定义样式,对象形式,见文档说明\n * @event {Function} click 按钮点击\n * @event {Function} getphonenumber open-type=\"getPhoneNumber\"时有效\n * @event {Function} getuserinfo 用户点击该按钮时,会返回获取到的用户信息,从返回参数的detail中获取到的值同uni.getUserInfo\n * @event {Function} error 当使用开放能力时,发生错误的回调\n * @event {Function} opensetting 在打开授权设置页并关闭后回调\n * @event {Function} launchapp 打开 APP 成功的回调\n * @example <u-button>月落</u-button>\n */\nexport default {\n\tname: 'u-button',\n\tprops: {\n\t\t// 是否细边框\n\t\thairLine: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 按钮的预置样式,default,primary,error,warning,success\n\t\ttype: {\n\t\t\ttype: String,\n\t\t\tdefault: 'default'\n\t\t},\n\t\t// 按钮尺寸,default,medium,mini\n\t\tsize: {\n\t\t\ttype: String,\n\t\t\tdefault: 'default'\n\t\t},\n\t\t// 按钮形状,circle(两边为半圆),square(带圆角)\n\t\tshape: {\n\t\t\ttype: String,\n\t\t\tdefault: 'square'\n\t\t},\n\t\t// 按钮是否镂空\n\t\tplain: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 是否禁止状态\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 是否加载中\n\t\tloading: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 开放能力,具体请看uniapp稳定关于button组件部分说明\n\t\t// https://uniapp.dcloud.io/component/button\n\t\topenType: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 用于 <form> 组件,点击分别会触发 <form> 组件的 submit/reset 事件\n\t\t// 取值为submit(提交表单),reset(重置表单)\n\t\tformType: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 打开 APP 时,向 APP 传递的参数,open-type=launchApp时有效\n\t\t// 只微信小程序、QQ小程序有效\n\t\tappParameter: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 指定是否阻止本节点的祖先节点出现点击态,微信小程序有效\n\t\thoverStopPropagation: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 指定返回用户信息的语言,zh_CN 简体中文,zh_TW 繁体中文,en 英文。只微信小程序有效\n\t\tlang: {\n\t\t\ttype: String,\n\t\t\tdefault: 'en'\n\t\t},\n\t\t// 会话来源,open-type=\"contact\"时有效。只微信小程序有效\n\t\tsessionFrom: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 会话内消息卡片标题,open-type=\"contact\"时有效\n\t\t// 默认当前标题,只微信小程序有效\n\t\tsendMessageTitle: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 会话内消息卡片点击跳转小程序路径,open-type=\"contact\"时有效\n\t\t// 默认当前分享路径,只微信小程序有效\n\t\tsendMessagePath: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 会话内消息卡片图片,open-type=\"contact\"时有效\n\t\t// 默认当前页面截图,只微信小程序有效\n\t\tsendMessageImg: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 是否显示会话内消息卡片,设置此参数为 true,用户进入客服会话会在右下角显示\"可能要发送的小程序\"提示,\n\t\t// 用户点击后可以快速发送小程序消息,open-type=\"contact\"时有效\n\t\tshowMessageCard: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 手指按(触摸)按钮时按钮时的背景颜色\n\t\thoverBgColor: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 水波纹的背景颜色\n\t\trippleBgColor: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 是否开启水波纹效果\n\t\tripple: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 按下的类名\n\t\thoverClass: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 自定义样式,对象形式\n\t\tcustomStyle: {\n\t\t\ttype: Object,\n\t\t\tdefault() {\n\t\t\t\treturn {};\n\t\t\t}\n\t\t},\n\t\t// 额外传参参数,用于小程序的data-xxx属性,通过target.dataset.name获取\n\t\tdataName: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 节流,一定时间内只能触发一次\n\t\tthrottleTime: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: 1000\n\t\t},\n\t\t// 按住后多久出现点击态,单位毫秒\n\t\thoverStartTime: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: 20\n\t\t},\n\t\t// 手指松开后点击态保留时间,单位毫秒\n\t\thoverStayTime: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: 150\n\t\t},\n\t},\n\tcomputed: {\n\t\t// 当没有传bgColor变量时,按钮按下去的颜色类名\n\t\tgetHoverClass() {\n\t\t\t// 如果开启水波纹效果,则不启用hover-class效果\n\t\t\tif (this.loading || this.disabled || this.ripple || this.hoverClass) return '';\n\t\t\tlet hoverClass = '';\n\t\t\thoverClass = this.plain ? 'u-' + this.type + '-plain-hover' : 'u-' + this.type + '-hover';\n\t\t\treturn hoverClass;\n\t\t},\n\t\t// 在'primary', 'success', 'error', 'warning'类型下,不显示边框,否则会造成四角有毛刺现象\n\t\tshowHairLineBorder() {\n\t\t\tif (['primary', 'success', 'error', 'warning'].indexOf(this.type) >= 0 && !this.plain) {\n\t\t\t\treturn '';\n\t\t\t} else {\n\t\t\t\treturn 'u-hairline-border';\n\t\t\t}\n\t\t}\n\t},\n\tdata() {\n\t\treturn {\n\t\t\trippleTop: 0, // 水波纹的起点Y坐标到按钮上边界的距离\n\t\t\trippleLeft: 0, // 水波纹起点X坐标到按钮左边界的距离\n\t\t\tfields: {}, // 波纹按钮节点信息\n\t\t\twaveActive: false // 激活水波纹\n\t\t};\n\t},\n\tmethods: {\n\t\t// 按钮点击\n\t\tclick(e) {\n\t\t\t// 进行节流控制,每this.throttle毫秒内,只在开始处执行\n\t\t\tthis.$u.throttle(() => {\n\t\t\t\t// 如果按钮时disabled和loading状态,不触发水波纹效果\n\t\t\t\tif (this.loading === true || this.disabled === true) return;\n\t\t\t\t// 是否开启水波纹效果\n\t\t\t\tif (this.ripple) {\n\t\t\t\t\t// 每次点击时,移除上一次的类,再次添加,才能触发动画效果\n\t\t\t\t\tthis.waveActive = false;\n\t\t\t\t\tthis.$nextTick(function() {\n\t\t\t\t\t\tthis.getWaveQuery(e);\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tthis.$emit('click', e);\n\t\t\t}, this.throttleTime);\n\t\t},\n\t\t// 查询按钮的节点信息\n\t\tgetWaveQuery(e) {\n\t\t\tthis.getElQuery().then(res => {\n\t\t\t\t// 查询返回的是一个数组节点\n\t\t\t\tlet data = res[0];\n\t\t\t\t// 查询不到节点信息,不操作\n\t\t\t\tif (!data.width || !data.width) return;\n\t\t\t\t// 水波纹的最终形态是一个正方形(通过border-radius让其变为一个圆形),这里要保证正方形的边长等于按钮的最长边\n\t\t\t\t// 最终的方形(变换后的圆形)才能覆盖整个按钮\n\t\t\t\tdata.targetWidth = data.height > data.width ? data.height : data.width;\n\t\t\t\tif (!data.targetWidth) return;\n\t\t\t\tthis.fields = data;\n\t\t\t\tlet touchesX = '',\n\t\t\t\t\ttouchesY = '';\n\t\t\t\t// #ifdef MP-BAIDU\n\t\t\t\ttouchesX = e.changedTouches[0].clientX;\n\t\t\t\ttouchesY = e.changedTouches[0].clientY;\n\t\t\t\t// #endif\n\t\t\t\t// #ifdef MP-ALIPAY\n\t\t\t\ttouchesX = e.detail.clientX;\n\t\t\t\ttouchesY = e.detail.clientY;\n\t\t\t\t// #endif\n\t\t\t\t// #ifndef MP-BAIDU || MP-ALIPAY\n\t\t\t\ttouchesX = e.touches[0].clientX;\n\t\t\t\ttouchesY = e.touches[0].clientY;\n\t\t\t\t// #endif\n\t\t\t\t// 获取触摸点相对于按钮上边和左边的x和y坐标,原理是通过屏幕的触摸点(touchesY),减去按钮的上边界data.top\n\t\t\t\t// 但是由于`transform-origin`默认是center,所以这里再减去半径才是水波纹view应该的位置\n\t\t\t\t// 总的来说,就是把水波纹的矩形(变换后的圆形)的中心点,移动到我们的触摸点位置\n\t\t\t\tthis.rippleTop = touchesY - data.top - data.targetWidth / 2;\n\t\t\t\tthis.rippleLeft = touchesX - data.left - data.targetWidth / 2;\n\t\t\t\tthis.$nextTick(() => {\n\t\t\t\t\tthis.waveActive = true;\n\t\t\t\t});\n\t\t\t});\n\t\t},\n\t\t// 获取节点信息\n\t\tgetElQuery() {\n\t\t\treturn new Promise(resolve => {\n\t\t\t\tlet queryInfo = '';\n\t\t\t\t// 获取元素节点信息,请查看uniapp相关文档\n\t\t\t\t// https://uniapp.dcloud.io/api/ui/nodes-info?id=nodesrefboundingclientrect\n\t\t\t\tqueryInfo = uni.createSelectorQuery().in(this);\n\t\t\t\t//#ifdef MP-ALIPAY\n\t\t\t\tqueryInfo = uni.createSelectorQuery();\n\t\t\t\t//#endif\n\t\t\t\tqueryInfo.select('.u-btn').boundingClientRect();\n\t\t\t\tqueryInfo.exec(data => {\n\t\t\t\t\tresolve(data);\n\t\t\t\t});\n\t\t\t});\n\t\t},\n\t\t// 下面为对接uniapp官方按钮开放能力事件回调的对接\n\t\tgetphonenumber(res) {\n\t\t\tthis.$emit('getphonenumber', res);\n\t\t},\n\t\tgetuserinfo(res) {\n\t\t\tthis.$emit('getuserinfo', res);\n\t\t},\n\t\terror(res) {\n\t\t\tthis.$emit('error', res);\n\t\t},\n\t\topensetting(res) {\n\t\t\tthis.$emit('opensetting', res);\n\t\t},\n\t\tlaunchapp(res) {\n\t\t\tthis.$emit('launchapp', res);\n\t\t}\n\t}\n};\n</script>\n\n<style scoped lang=\"scss\">\n@import '../../libs/css/style.components.scss';\n.u-btn::after {\n\tborder: none;\n}\n\n.u-btn {\n\tposition: relative;\n\tborder: 0;\n\t//border-radius: 10rpx;\n\t/* #ifndef APP-NVUE */\n\tdisplay: inline-flex;\t\t\n\t/* #endif */\n\t// 避免边框某些场景可能被“裁剪”,不能设置为hidden\n\toverflow: visible;\n\tline-height: 1;\n\t@include vue-flex;\n\talign-items: center;\n\tjustify-content: center;\n\tcursor: pointer;\n\tpadding: 0 40rpx;\n\tz-index: 1;\n\tbox-sizing: border-box;\n\ttransition: all 0.15s;\n\t\n\t&--bold-border {\n\t\tborder: 1px solid #ffffff;\n\t}\n\t\n\t&--default {\n\t\tcolor: $u-content-color;\n\t\tborder-color: #c0c4cc;\n\t\tbackground-color: #ffffff;\n\t}\n\t\n\t&--primary {\n\t\tcolor: #ffffff;\n\t\tborder-color: $u-type-primary;\n\t\tbackground-color: $u-type-primary;\n\t}\n\t\n\t&--success {\n\t\tcolor: #ffffff;\n\t\tborder-color: $u-type-success;\n\t\tbackground-color: $u-type-success;\n\t}\n\t\n\t&--error {\n\t\tcolor: #ffffff;\n\t\tborder-color: $u-type-error;\n\t\tbackground-color: $u-type-error;\n\t}\n\t\n\t&--warning {\n\t\tcolor: #ffffff;\n\t\tborder-color: $u-type-warning;\n\t\tbackground-color: $u-type-warning;\n\t}\n\t\n\t&--default--disabled {\n\t\tcolor: #ffffff;\n\t\tborder-color: #e4e7ed;\n\t\tbackground-color: #ffffff;\n\t}\n\t\n\t&--primary--disabled {\n\t\tcolor: #ffffff!important;\n\t\tborder-color: $u-type-primary-disabled!important;\n\t\tbackground-color: $u-type-primary-disabled!important;\n\t}\n\t\n\t&--success--disabled {\n\t\tcolor: #ffffff!important;\n\t\tborder-color: $u-type-success-disabled!important;\n\t\tbackground-color: $u-type-success-disabled!important;\n\t}\n\t\n\t&--error--disabled {\n\t\tcolor: #ffffff!important;\n\t\tborder-color: $u-type-error-disabled!important;\n\t\tbackground-color: $u-type-error-disabled!important;\n\t}\n\t\n\t&--warning--disabled {\n\t\tcolor: #ffffff!important;\n\t\tborder-color: $u-type-warning-disabled!important;\n\t\tbackground-color: $u-type-warning-disabled!important;\n\t}\n\t\n\t&--primary--plain {\n\t\tcolor: $u-type-primary!important;\n\t\tborder-color: $u-type-primary-disabled!important;\n\t\tbackground-color: $u-type-primary-light!important;\n\t}\n\t\n\t&--success--plain {\n\t\tcolor: $u-type-success!important;\n\t\tborder-color: $u-type-success-disabled!important;\n\t\tbackground-color: $u-type-success-light!important;\n\t}\n\t\n\t&--error--plain {\n\t\tcolor: $u-type-error!important;\n\t\tborder-color: $u-type-error-disabled!important;\n\t\tbackground-color: $u-type-error-light!important;\n\t}\n\t\n\t&--warning--plain {\n\t\tcolor: $u-type-warning!important;\n\t\tborder-color: $u-type-warning-disabled!important;\n\t\tbackground-color: $u-type-warning-light!important;\n\t}\n}\n\n.u-hairline-border:after {\n\tcontent: ' ';\n\tposition: absolute;\n\tpointer-events: none;\n\t// 设置为border-box,意味着下面的scale缩小为0.5,实际上缩小的是伪元素的内容(border-box意味着内容不含border)\n\tbox-sizing: border-box;\n\t// 中心点作为变形(scale())的原点\n\t-webkit-transform-origin: 0 0;\n\ttransform-origin: 0 0;\n\tleft: 0;\n\ttop: 0;\n\twidth: 199.8%;\n\theight: 199.7%;\n\t-webkit-transform: scale(0.5, 0.5);\n\ttransform: scale(0.5, 0.5);\n\tborder: 1px solid currentColor;\n\tz-index: 1;\n}\n\n.u-wave-ripple {\n\tz-index: 0;\n\tposition: absolute;\n\tborder-radius: 100%;\n\tbackground-clip: padding-box;\n\tpointer-events: none;\n\tuser-select: none;\n\ttransform: scale(0);\n\topacity: 1;\n\ttransform-origin: center;\n}\n\n.u-wave-ripple.u-wave-active {\n\topacity: 0;\n\ttransform: scale(2);\n\ttransition: opacity 1s linear, transform 0.4s linear;\n}\n\n.u-round-circle {\n\tborder-radius: 100rpx;\n}\n\n.u-round-circle::after {\n\tborder-radius: 100rpx;\n}\n\n.u-loading::after {\n\tbackground-color: hsla(0, 0%, 100%, 0.35);\n}\n\n.u-size-default {\n\tfont-size: 30rpx;\n\theight: 80rpx;\n\tline-height: 80rpx;\n}\n\n.u-size-medium {\n\t/* #ifndef APP-NVUE */\n\tdisplay: inline-flex;\t\t\n\t/* #endif */\n\twidth: auto;\n\tfont-size: 26rpx;\n\theight: 70rpx;\n\tline-height: 70rpx;\n\tpadding: 0 80rpx;\n}\n\n.u-size-mini {\n\t/* #ifndef APP-NVUE */\n\tdisplay: inline-flex;\t\t\n\t/* #endif */\n\twidth: auto;\n\tfont-size: 22rpx;\n\tpadding-top: 1px;\n\theight: 50rpx;\n\tline-height: 50rpx;\n\tpadding: 0 20rpx;\n}\n\n.u-primary-plain-hover {\n\tcolor: #ffffff !important;\n\tbackground: $u-type-primary-dark !important;\n}\n\n.u-default-plain-hover {\n\tcolor: $u-type-primary-dark !important;\n\tbackground: $u-type-primary-light !important;\n}\n\n.u-success-plain-hover {\n\tcolor: #ffffff !important;\n\tbackground: $u-type-success-dark !important;\n}\n\n.u-warning-plain-hover {\n\tcolor: #ffffff !important;\n\tbackground: $u-type-warning-dark !important;\n}\n\n.u-error-plain-hover {\n\tcolor: #ffffff !important;\n\tbackground: $u-type-error-dark !important;\n}\n\n.u-info-plain-hover {\n\tcolor: #ffffff !important;\n\tbackground: $u-type-info-dark !important;\n}\n\n.u-default-hover {\n\tcolor: $u-type-primary-dark !important;\n\tborder-color: $u-type-primary-dark !important;\n\tbackground-color: $u-type-primary-light !important;\n}\n\n.u-primary-hover {\n\tbackground: $u-type-primary-dark !important;\n\tcolor: #fff;\n}\n\n.u-success-hover {\n\tbackground: $u-type-success-dark !important;\n\tcolor: #fff;\n}\n\n.u-info-hover {\n\tbackground: $u-type-info-dark !important;\n\tcolor: #fff;\n}\n\n.u-warning-hover {\n\tbackground: $u-type-warning-dark !important;\n\tcolor: #fff;\n}\n\n.u-error-hover {\n\tbackground: $u-type-error-dark !important;\n\tcolor: #fff;\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=6e15e680&scoped=true&lang=scss&\"; 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=6e15e680&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536258046\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":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-calendar/u-calendar.js.map
已删除
100644 → 0
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-calendar/u-calendar.vue?5370","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-calendar/u-calendar.vue?c607","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-calendar/u-calendar.vue?0a1b","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-calendar/u-calendar.vue?ce6e","uni-app:///uview-ui/components/u-calendar/u-calendar.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-calendar/u-calendar.vue?9214","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-calendar/u-calendar.vue?e78f"],"names":[],"mappings":"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A,IADA,EACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA,KAdA;AAeA,QAfA,kBAeA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAlCA;AAmCA;AACA,YApCA,oBAoCA,IApCA,EAoCA;AACA;AACA;AACA,sCADA;AAEA,oCAFA;AAGA,kCAHA;;AAKA,KA3CA;AA4CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAvDA;AAwDA;AACA;AACA,KA1DA;AA2DA;AACA;AACA,KA7DA;AA8DA;AACA,eA/DA,uBA+DA,IA/DA,EA+DA,KA/DA,EA+DA;AACA;AACA;AACA,KAlEA;AAmEA,cAnEA,sBAmEA,IAnEA,EAmEA,KAnEA,EAmEA;AACA;AACA;AACA,KAtEA;AAuEA,cAvEA,sBAuEA,IAvEA,EAuEA;AACA;AACA;AACA;AACA,2BADA;AAEA,sBAFA;;AAIA;AACA;AACA;AACA,KAjFA;AAkFA,sBAlFA,8BAkFA,KAlFA,EAkFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OATA,MASA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KArGA;AAsGA,qBAtGA,6BAsGA,KAtGA,EAsGA;AACA;AACA;AACA;AACA;AACA;AACA,KA5GA;AA6GA,cA7GA,wBA6GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAtHA;AAuHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAXA,MAWA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KApJA;AAqJA,SArJA,mBAqJA;AACA;AACA;AACA,KAxJA;AAyJA,eAzJA,uBAyJA,IAzJA,EAyJA;AACA;AACA;AACA;AACA,KA7JA;AA8JA,UA9JA,kBA8JA,IA9JA,EA8JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBADA;AAEA,sBAFA;AAGA,kBAHA;AAIA,oBAJA;AAKA,wBALA;AAMA,wBANA;AAOA;AACA;AARA;AAUA,OAxBA,MAwBA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,mCADA;AAEA,qCAFA;AAGA,iCAHA;AAIA,8BAJA;AAKA,8BALA;AAMA,+BANA;AAOA,iCAPA;AAQA,6BARA;AASA,0BATA;AAUA,0BAVA;;AAYA;AACA,KAlNA,EAtLA,E;;;;;;;;;;;;;AC3FA;AAAA;AAAA;AAAA;AAA0lD,CAAgB,+7CAAG,EAAC,C;;;;;;;;;;;ACA9mD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-calendar/u-calendar.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-calendar.vue?vue&type=template&id=5b667d40&scoped=true&\"\nvar renderjs\nimport script from \"./u-calendar.vue?vue&type=script&lang=js&\"\nexport * from \"./u-calendar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-calendar.vue?vue&type=style&index=0&id=5b667d40&scoped=true&lang=scss&\"\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 \"5b667d40\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-calendar/u-calendar.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-calendar.vue?vue&type=template&id=5b667d40&scoped=true&\"","var components\ntry {\n components = {\n uPopup: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-popup/u-popup\" */ \"@/uview-ui/components/u-popup/u-popup.vue\"\n )\n },\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-icon/u-icon\" */ \"@/uview-ui/components/u-icon/u-icon.vue\"\n )\n },\n uButton: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-button/u-button\" */ \"@/uview-ui/components/u-button/u-button.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 l0 = _vm.__map(_vm.daysArr, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var m0 = _vm.openDisAbled(_vm.year, _vm.month, index + 1)\n var m1 = _vm.getColor(index, 1)\n var m2 = _vm.getColor(index, 2)\n return {\n $orig: $orig,\n m0: m0,\n m1: m1,\n m2: m2\n }\n })\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n l0: l0\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-calendar.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-calendar.vue?vue&type=script&lang=js&\"","<template>\n\t<u-popup closeable :maskCloseAble=\"maskCloseAble\" mode=\"bottom\" :popup=\"false\" v-model=\"value\" length=\"auto\"\n\t :safeAreaInsetBottom=\"safeAreaInsetBottom\" @close=\"close\" :z-index=\"uZIndex\" :border-radius=\"borderRadius\" :closeable=\"closeable\">\n\t\t<view class=\"u-calendar\">\n\t\t\t<view class=\"u-calendar__header\">\n\t\t\t\t<view class=\"u-calendar__header__text\" v-if=\"!$slots['tooltip']\">\n\t\t\t\t\t{{toolTip}}\n\t\t\t\t</view>\n\t\t\t\t<slot v-else name=\"tooltip\" />\n\t\t\t</view>\n\t\t\t<view class=\"u-calendar__action u-flex u-row-center\">\n\t\t\t\t<view class=\"u-calendar__action__icon\">\n\t\t\t\t\t<u-icon v-if=\"changeYear\" name=\"arrow-left-double\" :color=\"yearArrowColor\" @click=\"changeYearHandler(0)\"></u-icon>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"u-calendar__action__icon\">\n\t\t\t\t\t<u-icon v-if=\"changeMonth\" name=\"arrow-left\" :color=\"monthArrowColor\" @click=\"changeMonthHandler(0)\"></u-icon>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"u-calendar__action__text\">{{ showTitle }}</view>\n\t\t\t\t<view class=\"u-calendar__action__icon\">\n\t\t\t\t\t<u-icon v-if=\"changeMonth\" name=\"arrow-right\" :color=\"monthArrowColor\" @click=\"changeMonthHandler(1)\"></u-icon>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"u-calendar__action__icon\">\n\t\t\t\t\t<u-icon v-if=\"changeYear\" name=\"arrow-right-double\" :color=\"yearArrowColor\" @click=\"changeYearHandler(1)\"></u-icon>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view class=\"u-calendar__week-day\">\n\t\t\t\t<view class=\"u-calendar__week-day__text\" v-for=\"(item, index) in weekDayZh\" :key=\"index\">{{item}}</view>\n\t\t\t</view>\n\t\t\t<view class=\"u-calendar__content\">\n\t\t\t\t<!-- 前置空白部分 -->\n\t\t\t\t<block v-for=\"(item, index) in weekdayArr\" :key=\"index\">\n\t\t\t\t\t<view class=\"u-calendar__content__item\"></view>\n\t\t\t\t</block>\n\t\t\t\t<view class=\"u-calendar__content__item\" :class=\"{\n\t\t\t\t\t'u-hover-class':openDisAbled(year,month,index+1),\n\t\t\t\t\t'u-calendar__content--start-date': (mode == 'range' && startDate==`${year}-${month}-${index+1}`) || mode== 'date',\n\t\t\t\t\t'u-calendar__content--end-date':(mode== 'range' && endDate==`${year}-${month}-${index+1}`) || mode == 'date'\n\t\t\t\t}\" :style=\"{backgroundColor: getColor(index,1)}\" v-for=\"(item, index) in daysArr\" :key=\"index\"\n\t\t\t\t @tap=\"dateClick(index)\">\n\t\t\t\t\t<view class=\"u-calendar__content__item__inner\" :style=\"{color: getColor(index,2)}\">\n\t\t\t\t\t\t<view>{{ index + 1 }}</view>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"u-calendar__content__item__tips\" :style=\"{color:activeColor}\" v-if=\"mode== 'range' && startDate==`${year}-${month}-${index+1}` && startDate!=endDate\">{{startText}}</view>\n\t\t\t\t\t<view class=\"u-calendar__content__item__tips\" :style=\"{color:activeColor}\" v-if=\"mode== 'range' && endDate==`${year}-${month}-${index+1}`\">{{endText}}</view>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"u-calendar__content__bg-month\">{{month}}</view>\n\t\t\t</view>\n\t\t\t<view class=\"u-calendar__bottom\">\n\t\t\t\t<view class=\"u-calendar__bottom__choose\">\n\t\t\t\t\t<text>{{mode == 'date' ? activeDate : startDate}}</text>\n\t\t\t\t\t<text v-if=\"endDate\">至{{endDate}}</text>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"u-calendar__bottom__btn\">\n\t\t\t\t\t<u-button :type=\"btnType\" shape=\"circle\" size=\"default\" @click=\"btnFix(false)\">确定</u-button>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t</view>\n\t</u-popup>\n</template>\n<script>\n\t/**\n\t * calendar 日历\n\t * @description 此组件用于单个选择日期,范围选择日期等,日历被包裹在底部弹起的容器中。\n\t * @tutorial http://uviewui.com/components/calendar.html\n\t * @property {String} mode 选择日期的模式,date-为单个日期,range-为选择日期范围\n\t * @property {Boolean} v-model 布尔值变量,用于控制日历的弹出与收起\n\t * @property {Boolean} safe-area-inset-bottom 是否开启底部安全区适配(默认false)\n\t * @property {Boolean} change-year 是否显示顶部的切换年份方向的按钮(默认true)\n\t * @property {Boolean} change-month 是否显示顶部的切换月份方向的按钮(默认true)\n\t * @property {String Number} max-year 可切换的最大年份(默认2050)\n\t * @property {String Number} min-year 可切换的最小年份(默认1950)\n\t * @property {String Number} min-date 最小可选日期(默认1950-01-01)\n\t * @property {String Number} max-date 最大可选日期(默认当前日期)\n\t * @property {String Number} 弹窗顶部左右两边的圆角值,单位rpx(默认20)\n\t * @property {Boolean} mask-close-able 是否允许通过点击遮罩关闭日历(默认true)\n\t * @property {String} month-arrow-color 月份切换按钮箭头颜色(默认#606266)\n\t * @property {String} year-arrow-color 年份切换按钮箭头颜色(默认#909399)\n\t * @property {String} color 日期字体的默认颜色(默认#303133)\n\t * @property {String} active-bg-color 起始/结束日期按钮的背景色(默认#2979ff)\n\t * @property {String Number} z-index 弹出时的z-index值(默认10075)\n\t * @property {String} active-color 起始/结束日期按钮的字体颜色(默认#ffffff)\n\t * @property {String} range-bg-color 起始/结束日期之间的区域的背景颜色(默认rgba(41,121,255,0.13))\n\t * @property {String} range-color 选择范围内字体颜色(默认#2979ff)\n\t * @property {String} start-text 起始日期底部的提示文字(默认 '开始')\n\t * @property {String} end-text 结束日期底部的提示文字(默认 '结束')\n\t * @property {String} btn-type 底部确定按钮的主题(默认 'primary')\n\t * @property {String} toolTip 顶部提示文字,如设置名为tooltip的slot,此参数将失效(默认 '选择日期')\n\t * @property {Boolean} closeable 是否显示右上角的关闭图标(默认true)\n\t * @example <u-calendar v-model=\"show\" :mode=\"mode\"></u-calendar>\n\t */\n\t\n\texport default {\n\t\tname: 'u-calendar',\n\t\tprops: {\n\t\t\tsafeAreaInsetBottom: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: false\n\t\t\t},\n\t\t\t// 是否允许通过点击遮罩关闭Picker\n\t\t\tmaskCloseAble: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: true\n\t\t\t},\n\t\t\t// 通过双向绑定控制组件的弹出与收起\n\t\t\tvalue: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: false\n\t\t\t},\n\t\t\t// 弹出的z-index值\n\t\t\tzIndex: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: 0\n\t\t\t},\n\t\t\t// 是否允许切换年份\n\t\t\tchangeYear: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: true\n\t\t\t},\n\t\t\t// 是否允许切换月份\n\t\t\tchangeMonth: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: true\n\t\t\t},\n\t\t\t// date-单个日期选择,range-开始日期+结束日期选择\n\t\t\tmode: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'date'\n\t\t\t},\n\t\t\t// 可切换的最大年份\n\t\t\tmaxYear: {\n\t\t\t\ttype: [Number, String],\n\t\t\t\tdefault: 2050\n\t\t\t},\n\t\t\t// 可切换的最小年份\n\t\t\tminYear: {\n\t\t\t\ttype: [Number, String],\n\t\t\t\tdefault: 1950\n\t\t\t},\n\t\t\t// 最小可选日期(不在范围内日期禁用不可选)\n\t\t\tminDate: {\n\t\t\t\ttype: [Number, String],\n\t\t\t\tdefault: '1950-01-01'\n\t\t\t},\n\t\t\t/**\n\t\t\t * 最大可选日期\n\t\t\t * 默认最大值为今天,之后的日期不可选\n\t\t\t * 2030-12-31\n\t\t\t * */\n\t\t\tmaxDate: {\n\t\t\t\ttype: [Number, String],\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// 弹窗顶部左右两边的圆角值\n\t\t\tborderRadius: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: 20\n\t\t\t},\n\t\t\t// 月份切换按钮箭头颜色\n\t\t\tmonthArrowColor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '#606266'\n\t\t\t},\n\t\t\t// 年份切换按钮箭头颜色\n\t\t\tyearArrowColor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '#909399'\n\t\t\t},\n\t\t\t// 默认日期字体颜色\n\t\t\tcolor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '#303133'\n\t\t\t},\n\t\t\t// 选中|起始结束日期背景色\n\t\t\tactiveBgColor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '#2979ff'\n\t\t\t},\n\t\t\t// 选中|起始结束日期字体颜色\n\t\t\tactiveColor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '#ffffff'\n\t\t\t},\n\t\t\t// 范围内日期背景色\n\t\t\trangeBgColor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'rgba(41,121,255,0.13)'\n\t\t\t}, \n\t\t\t// 范围内日期字体颜色\n\t\t\trangeColor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '#2979ff'\n\t\t\t},\n\t\t\t// mode=range时生效,起始日期自定义文案\n\t\t\tstartText: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '开始'\n\t\t\t},\n\t\t\t// mode=range时生效,结束日期自定义文案\n\t\t\tendText: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '结束'\n\t\t\t},\n\t\t\t//按钮样式类型\n\t\t\tbtnType: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'primary'\n\t\t\t},\n\t\t\t// 当前选中日期带选中效果\n\t\t\tisActiveCurrent: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: true\n\t\t\t},\n\t\t\t// 切换年月是否触发事件 mode=date时生效\n\t\t\tisChange: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: false\n\t\t\t},\n\t\t\t// 是否显示右上角的关闭图标\n\t\t\tcloseable: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: true\n\t\t\t},\n\t\t\t// 顶部的提示文字\n\t\t\ttoolTip: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '选择日期'\n\t\t\t}\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\t// 星期几,值为1-7\n\t\t\t\tweekday: 1, \n\t\t\t\tweekdayArr:[],\n\t\t\t\t// 当前月有多少天\n\t\t\t\tdays: 0, \n\t\t\t\tdaysArr:[],\n\t\t\t\tshowTitle: '',\n\t\t\t\tyear: 2020,\n\t\t\t\tmonth: 0,\n\t\t\t\tday: 0,\n\t\t\t\tstartYear: 0,\n\t\t\t\tstartMonth: 0,\n\t\t\t\tstartDay: 0,\n\t\t\t\tendYear: 0,\n\t\t\t\tendMonth: 0,\n\t\t\t\tendDay: 0,\n\t\t\t\ttoday: '',\n\t\t\t\tactiveDate: '',\n\t\t\t\tstartDate: '',\n\t\t\t\tendDate: '',\n\t\t\t\tisStart: true,\n\t\t\t\tmin: null,\n\t\t\t\tmax: null,\n\t\t\t\tweekDayZh: ['日', '一', '二', '三', '四', '五', '六']\n\t\t\t};\n\t\t},\n\t\tcomputed: {\n\t\t\tdataChange() {\n\t\t\t\treturn `${this.mode}-${this.minDate}-${this.maxDate}`;\n\t\t\t},\n\t\t\tuZIndex() {\n\t\t\t\t// 如果用户有传递z-index值,优先使用\n\t\t\t\treturn this.zIndex ? this.zIndex : this.$u.zIndex.popup;\n\t\t\t}\n\t\t},\n\t\twatch: {\n\t\t\tdataChange(val) {\n\t\t\t\tthis.init()\n\t\t\t}\n\t\t},\n\t\tcreated() {\n\t\t\tthis.init()\n\t\t},\n\t\tmethods: {\n\t\t\tgetColor(index, type) {\n\t\t\t\tlet color = type == 1 ? '' : this.color;\n\t\t\t\tlet day = index + 1\n\t\t\t\tlet date = `${this.year}-${this.month}-${day}`\n\t\t\t\tlet timestamp = new Date(date.replace(/\\-/g, '/')).getTime();\n\t\t\t\tlet start = this.startDate.replace(/\\-/g, '/')\n\t\t\t\tlet end = this.endDate.replace(/\\-/g, '/')\n\t\t\t\tif ((this.isActiveCurrent && this.activeDate == date) || this.startDate == date || this.endDate == date) {\n\t\t\t\t\tcolor = type == 1 ? this.activeBgColor : this.activeColor;\n\t\t\t\t} else if (this.endDate && timestamp > new Date(start).getTime() && timestamp < new Date(end).getTime()) {\n\t\t\t\t\tcolor = type == 1 ? this.rangeBgColor : this.rangeColor;\n\t\t\t\t}\n\t\t\t\treturn color;\n\t\t\t},\n\t\t\tinit() {\n\t\t\t\tlet now = new Date();\n\t\t\t\tthis.year = now.getFullYear();\n\t\t\t\tthis.month = now.getMonth() + 1;\n\t\t\t\tthis.day = now.getDate();\n\t\t\t\tthis.today = `${now.getFullYear()}-${now.getMonth() + 1}-${now.getDate()}`;\n\t\t\t\tthis.activeDate = this.today;\n\t\t\t\tthis.min = this.initDate(this.minDate);\n\t\t\t\tthis.max = this.initDate(this.maxDate || this.today);\n\t\t\t\tthis.startDate = \"\";\n\t\t\t\tthis.startYear = 0;\n\t\t\t\tthis.startMonth = 0;\n\t\t\t\tthis.startDay = 0;\n\t\t\t\tthis.endYear = 0;\n\t\t\t\tthis.endMonth = 0;\n\t\t\t\tthis.endDay = 0;\n\t\t\t\tthis.endDate = \"\";\n\t\t\t\tthis.isStart = true;\n\t\t\t\tthis.changeData();\n\t\t\t},\n\t\t\t//日期处理\n\t\t\tinitDate(date) {\n\t\t\t\tlet fdate = date.split('-');\n\t\t\t\treturn {\n\t\t\t\t\tyear: Number(fdate[0] || 1920),\n\t\t\t\t\tmonth: Number(fdate[1] || 1),\n\t\t\t\t\tday: Number(fdate[2] || 1)\n\t\t\t\t}\n\t\t\t},\n\t\t\topenDisAbled: function(year, month, day) {\n\t\t\t\tlet bool = true;\n\t\t\t\tlet date = `${year}/${month}/${day}`;\n\t\t\t\t// let today = this.today.replace(/\\-/g, '/');\n\t\t\t\tlet min = `${this.min.year}/${this.min.month}/${this.min.day}`;\n\t\t\t\tlet max = `${this.max.year}/${this.max.month}/${this.max.day}`;\n\t\t\t\tlet timestamp = new Date(date).getTime();\n\t\t\t\tif (timestamp >= new Date(min).getTime() && timestamp <= new Date(max).getTime()) {\n\t\t\t\t\tbool = false;\n\t\t\t\t}\n\t\t\t\treturn bool;\n\t\t\t},\n\t\t\tgenerateArray: function(start, end) {\n\t\t\t\treturn Array.from(new Array(end + 1).keys()).slice(start);\n\t\t\t},\n\t\t\tformatNum: function(num) {\n\t\t\t\treturn num < 10 ? '0' + num : num + '';\n\t\t\t},\n\t\t\t//一个月有多少天\n\t\t\tgetMonthDay(year, month) {\n\t\t\t\tlet days = new Date(year, month, 0).getDate();\n\t\t\t\treturn days;\n\t\t\t},\n\t\t\tgetWeekday(year, month) {\n\t\t\t\tlet date = new Date(`${year}/${month}/01 00:00:00`);\n\t\t\t\treturn date.getDay();\n\t\t\t},\n\t\t\tcheckRange(year) {\n\t\t\t\tlet overstep = false;\n\t\t\t\tif (year < this.minYear || year > this.maxYear) {\n\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\ttitle: \"日期超出范围啦~\",\n\t\t\t\t\t\ticon: 'none'\n\t\t\t\t\t})\n\t\t\t\t\toverstep = true;\n\t\t\t\t}\n\t\t\t\treturn overstep;\n\t\t\t},\n\t\t\tchangeMonthHandler(isAdd) {\n\t\t\t\tif (isAdd) {\n\t\t\t\t\tlet month = this.month + 1;\n\t\t\t\t\tlet year = month > 12 ? this.year + 1 : this.year;\n\t\t\t\t\tif (!this.checkRange(year)) {\n\t\t\t\t\t\tthis.month = month > 12 ? 1 : month;\n\t\t\t\t\t\tthis.year = year;\n\t\t\t\t\t\tthis.changeData();\n\t\t\t\t\t}\n\n\t\t\t\t} else {\n\t\t\t\t\tlet month = this.month - 1;\n\t\t\t\t\tlet year = month < 1 ? this.year - 1 : this.year;\n\t\t\t\t\tif (!this.checkRange(year)) {\n\t\t\t\t\t\tthis.month = month < 1 ? 12 : month;\n\t\t\t\t\t\tthis.year = year;\n\t\t\t\t\t\tthis.changeData();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\tchangeYearHandler(isAdd) {\n\t\t\t\tlet year = isAdd ? this.year + 1 : this.year - 1;\n\t\t\t\tif (!this.checkRange(year)) {\n\t\t\t\t\tthis.year = year;\n\t\t\t\t\tthis.changeData();\n\t\t\t\t}\n\t\t\t},\n\t\t\tchangeData() {\n\t\t\t\tthis.days = this.getMonthDay(this.year, this.month);\n\t\t\t\tthis.daysArr=this.generateArray(1,this.days)\n\t\t\t\tthis.weekday = this.getWeekday(this.year, this.month);\n\t\t\t\tthis.weekdayArr=this.generateArray(1,this.weekday)\n\t\t\t\tthis.showTitle = `${this.year}年${this.month}月`;\n\t\t\t\tif (this.isChange && this.mode == 'date') {\n\t\t\t\t\tthis.btnFix(true);\n\t\t\t\t}\n\t\t\t},\n\t\t\tdateClick: function(day) {\n\t\t\t\tday += 1;\n\t\t\t\tif (!this.openDisAbled(this.year, this.month, day)) {\n\t\t\t\t\tthis.day = day;\n\t\t\t\t\tlet date = `${this.year}-${this.month}-${day}`;\n\t\t\t\t\tif (this.mode == 'date') {\n\t\t\t\t\t\tthis.activeDate = date;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tlet compare = new Date(date.replace(/\\-/g, '/')).getTime() < new Date(this.startDate.replace(/\\-/g, '/')).getTime()\n\t\t\t\t\t\tif (this.isStart || compare) {\n\t\t\t\t\t\t\tthis.startDate = date;\n\t\t\t\t\t\t\tthis.startYear = this.year;\n\t\t\t\t\t\t\tthis.startMonth = this.month;\n\t\t\t\t\t\t\tthis.startDay = this.day;\n\t\t\t\t\t\t\tthis.endYear = 0;\n\t\t\t\t\t\t\tthis.endMonth = 0;\n\t\t\t\t\t\t\tthis.endDay = 0;\n\t\t\t\t\t\t\tthis.endDate = \"\";\n\t\t\t\t\t\t\tthis.activeDate = \"\";\n\t\t\t\t\t\t\tthis.isStart = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tthis.endDate = date;\n\t\t\t\t\t\t\tthis.endYear = this.year;\n\t\t\t\t\t\t\tthis.endMonth = this.month;\n\t\t\t\t\t\t\tthis.endDay = this.day;\n\t\t\t\t\t\t\tthis.isStart = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\tclose() {\n\t\t\t\t// 修改通过v-model绑定的父组件变量的值为false,从而隐藏日历弹窗\n\t\t\t\tthis.$emit('input', false);\n\t\t\t},\n\t\t\tgetWeekText(date) {\n\t\t\t\tdate = new Date(`${date.replace(/\\-/g, '/')} 00:00:00`);\n\t\t\t\tlet week = date.getDay();\n\t\t\t\treturn '星期' + ['日', '一', '二', '三', '四', '五', '六'][week];\n\t\t\t},\n\t\t\tbtnFix(show) {\n\t\t\t\tif (!show) {\n\t\t\t\t\tthis.close();\n\t\t\t\t}\n\t\t\t\tif (this.mode == 'date') {\n\t\t\t\t\tlet arr = this.activeDate.split('-')\n\t\t\t\t\tlet year = this.isChange ? this.year : Number(arr[0]);\n\t\t\t\t\tlet month = this.isChange ? this.month : Number(arr[1]);\n\t\t\t\t\tlet day = this.isChange ? this.day : Number(arr[2]);\n\t\t\t\t\t//当前月有多少天\n\t\t\t\t\tlet days = this.getMonthDay(year, month);\n\t\t\t\t\tlet result = `${year}-${this.formatNum(month)}-${this.formatNum(day)}`;\n\t\t\t\t\tlet weekText = this.getWeekText(result);\n\t\t\t\t\tlet isToday = false;\n\t\t\t\t\tif (`${year}-${month}-${day}` == this.today) {\n\t\t\t\t\t\t//今天\n\t\t\t\t\t\tisToday = true;\n\t\t\t\t\t}\n\t\t\t\t\tthis.$emit('change', {\n\t\t\t\t\t\tyear: year,\n\t\t\t\t\t\tmonth: month,\n\t\t\t\t\t\tday: day,\n\t\t\t\t\t\tdays: days,\n\t\t\t\t\t\tresult: result,\n\t\t\t\t\t\tweek: weekText,\n\t\t\t\t\t\tisToday: isToday,\n\t\t\t\t\t\t// switch: show //是否是切换年月操作\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\tif (!this.startDate || !this.endDate) return;\n\t\t\t\t\tlet startMonth = this.formatNum(this.startMonth);\n\t\t\t\t\tlet startDay = this.formatNum(this.startDay);\n\t\t\t\t\tlet startDate = `${this.startYear}-${startMonth}-${startDay}`;\n\t\t\t\t\tlet startWeek = this.getWeekText(startDate)\n\n\t\t\t\t\tlet endMonth = this.formatNum(this.endMonth);\n\t\t\t\t\tlet endDay = this.formatNum(this.endDay);\n\t\t\t\t\tlet endDate = `${this.endYear}-${endMonth}-${endDay}`;\n\t\t\t\t\tlet endWeek = this.getWeekText(endDate);\n\t\t\t\t\tthis.$emit('change', {\n\t\t\t\t\t\tstartYear: this.startYear,\n\t\t\t\t\t\tstartMonth: this.startMonth,\n\t\t\t\t\t\tstartDay: this.startDay,\n\t\t\t\t\t\tstartDate: startDate,\n\t\t\t\t\t\tstartWeek: startWeek,\n\t\t\t\t\t\tendYear: this.endYear,\n\t\t\t\t\t\tendMonth: this.endMonth,\n\t\t\t\t\t\tendDay: this.endDay,\n\t\t\t\t\t\tendDate: endDate,\n\t\t\t\t\t\tendWeek: endWeek\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n</script>\n\n<style scoped lang=\"scss\">\n\t@import \"../../libs/css/style.components.scss\";\n\t\n\t.u-calendar {\n\t\tcolor: $u-content-color;\n\t\t\n\t\t&__header {\n\t\t\twidth: 100%;\n\t\t\tbox-sizing: border-box;\n\t\t\tfont-size: 30rpx;\n\t\t\tbackground-color: #fff;\n\t\t\tcolor: $u-main-color;\n\t\t\t\n\t\t\t&__text {\n\t\t\t\tmargin-top: 30rpx;\n\t\t\t\tpadding: 0 60rpx;\n\t\t\t\t@include vue-flex;\n\t\t\t\tjustify-content: center;\n\t\t\t\talign-items: center;\n\t\t\t}\n\t\t}\n\t\t\n\t\t&__action {\n\t\t\tpadding: 40rpx 0 40rpx 0;\n\t\t\t\n\t\t\t&__icon {\n\t\t\t\tmargin: 0 16rpx;\n\t\t\t}\n\t\t\t\n\t\t\t&__text {\n\t\t\t\tpadding: 0 16rpx;\n\t\t\t\tcolor: $u-main-color;\n\t\t\t\tfont-size: 32rpx;\n\t\t\t\tline-height: 32rpx;\n\t\t\t\tfont-weight: bold;\n\t\t\t}\n\t\t}\n\t\n\t\t&__week-day {\n\t\t\t@include vue-flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\tpadding: 6px 0;\n\t\t\toverflow: hidden;\n\t\t\t\n\t\t\t&__text {\n\t\t\t\tflex: 1;\n\t\t\t\ttext-align: center;\n\t\t\t}\n\t\t}\n\t\n\t\t&__content {\n\t\t\twidth: 100%;\n\t\t\t@include vue-flex;\n\t\t\tflex-wrap: wrap;\n\t\t\tpadding: 6px 0;\n\t\t\tbox-sizing: border-box;\n\t\t\tbackground-color: #fff;\n\t\t\tposition: relative;\n\t\t\t\n\t\t\t&--end-date {\n\t\t\t\tborder-top-right-radius: 8rpx;\n\t\t\t\tborder-bottom-right-radius: 8rpx;\n\t\t\t}\n\t\t\t\n\t\t\t&--start-date {\n\t\t\t\tborder-top-left-radius: 8rpx;\n\t\t\t\tborder-bottom-left-radius: 8rpx;\n\t\t\t}\n\t\t\t\n\t\t\t&__item {\n\t\t\t\twidth: 14.2857%;\n\t\t\t\t@include vue-flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t\tpadding: 6px 0;\n\t\t\t\toverflow: hidden;\n\t\t\t\tposition: relative;\n\t\t\t\tz-index: 2;\n\t\t\t\t\n\t\t\t\t&__inner {\n\t\t\t\t\theight: 84rpx;\n\t\t\t\t\t@include vue-flex;\n\t\t\t\t\talign-items: center;\n\t\t\t\t\tjustify-content: center;\n\t\t\t\t\tflex-direction: column;\n\t\t\t\t\tfont-size: 32rpx;\n\t\t\t\t\tposition: relative;\n\t\t\t\t\tborder-radius: 50%;\n\t\t\t\t\t\n\t\t\t\t\t&__desc {\n\t\t\t\t\t\twidth: 100%;\n\t\t\t\t\t\tfont-size: 24rpx;\n\t\t\t\t\t\tline-height: 24rpx;\n\t\t\t\t\t\ttransform: scale(0.75);\n\t\t\t\t\t\ttransform-origin: center center;\n\t\t\t\t\t\tposition: absolute;\n\t\t\t\t\t\tleft: 0;\n\t\t\t\t\t\ttext-align: center;\n\t\t\t\t\t\tbottom: 2rpx;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t&__tips {\n\t\t\t\t\twidth: 100%;\n\t\t\t\t\tfont-size: 24rpx;\n\t\t\t\t\tline-height: 24rpx;\n\t\t\t\t\tposition: absolute;\n\t\t\t\t\tleft: 0;\n\t\t\t\t\ttransform: scale(0.8);\n\t\t\t\t\ttransform-origin: center center;\n\t\t\t\t\ttext-align: center;\n\t\t\t\t\tbottom: 8rpx;\n\t\t\t\t\tz-index: 2;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t&__bg-month {\n\t\t\t\tposition: absolute;\n\t\t\t\tfont-size: 130px;\n\t\t\t\tline-height: 130px;\n\t\t\t\tleft: 50%;\n\t\t\t\ttop: 50%;\n\t\t\t\ttransform: translate(-50%, -50%);\n\t\t\t\tcolor: #e4e7ed;\n\t\t\t\tz-index: 1;\n\t\t\t}\n\t\t}\n\t\n\t\t&__bottom {\n\t\t\twidth: 100%;\n\t\t\t@include vue-flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\tflex-direction: column;\n\t\t\tbackground-color: #fff;\n\t\t\tpadding: 0 40rpx 30rpx;\n\t\t\tbox-sizing: border-box;\n\t\t\tfont-size: 24rpx;\n\t\t\tcolor: $u-tips-color;\n\t\t\t\n\t\t\t&__choose {\n\t\t\t\theight: 50rpx;\n\t\t\t}\n\t\t\t\n\t\t\t&__btn {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t}\n\t}\n</style>","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-calendar.vue?vue&type=style&index=0&id=5b667d40&scoped=true&lang=scss&\"; 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-calendar.vue?vue&type=style&index=0&id=5b667d40&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536257954\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":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-cell-group/u-cell-group.js.map
已删除
100644 → 0
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-cell-group/u-cell-group.vue?e1f2","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-cell-group/u-cell-group.vue?d4d6","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-cell-group/u-cell-group.vue?78fd","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-cell-group/u-cell-group.vue?0e3c","uni-app:///uview-ui/components/u-cell-group/u-cell-group.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-cell-group/u-cell-group.vue?0e67","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-cell-group/u-cell-group.vue?4df2"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqI;AACrI;AACgE;AACL;AACsC;;;AAGjG;AACmN;AACnN,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;AAAy1B,CAAgB,0yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;ACY72B;;;;;;;;;AASA;AACA,sBADA;AAEA;AACA;AACA;AACA,kBADA;AAEA,iBAFA,EAFA;;AAMA;AACA;AACA,mBADA;AAEA,mBAFA,EAPA;;AAWA;AACA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAbA,EAFA;;;AAsBA,MAtBA,kBAsBA;AACA;AACA,cADA;;AAGA,GA1BA,E;;;;;;;;;;;;ACrBA;AAAA;AAAA;AAAA;AAA4lD,CAAgB,i8CAAG,EAAC,C;;;;;;;;;;;ACAhnD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-cell-group/u-cell-group.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-cell-group.vue?vue&type=template&id=5723aa40&scoped=true&\"\nvar renderjs\nimport script from \"./u-cell-group.vue?vue&type=script&lang=js&\"\nexport * from \"./u-cell-group.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-cell-group.vue?vue&type=style&index=0&id=5723aa40&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 \"5723aa40\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-cell-group/u-cell-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-cell-group.vue?vue&type=template&id=5723aa40&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.title ? _vm.__get_style([_vm.titleStyle]) : 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-cell-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-cell-group.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"u-cell-box\">\n\t\t<view class=\"u-cell-title\" v-if=\"title\" :style=\"[titleStyle]\">\n\t\t\t{{title}}\n\t\t</view>\n\t\t<view class=\"u-cell-item-box\" :class=\"{'u-border-bottom u-border-top': border}\">\n\t\t\t<slot />\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\t/**\n\t * cellGroup 单元格父组件Group\n\t * @description cell单元格一般用于一组列表的情况,比如个人中心页,设置页等。搭配u-cell-item\n\t * @tutorial https://www.uviewui.com/components/cell.html\n\t * @property {String} title 分组标题\n\t * @property {Boolean} border 是否显示外边框(默认true)\n\t * @property {Object} title-style 分组标题的的样式,对象形式,如{'font-size': '24rpx'} 或 {'fontSize': '24rpx'}\n\t * @example <u-cell-group title=\"设置喜好\">\n\t */\n\texport default {\n\t\tname: \"u-cell-group\",\n\t\tprops: {\n\t\t\t// 分组标题\n\t\t\ttitle: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// 是否显示分组list上下边框\n\t\t\tborder: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: true\n\t\t\t},\n\t\t\t// 分组标题的样式,对象形式,注意驼峰属性写法\n\t\t\t// 类似 {'font-size': '24rpx'} 和 {'fontSize': '24rpx'}\n\t\t\ttitleStyle: {\n\t\t\t\ttype: Object,\n\t\t\t\tdefault () {\n\t\t\t\t\treturn {};\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tindex: 0,\n\t\t\t}\n\t\t},\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t@import \"../../libs/css/style.components.scss\";\n\t\n\t.u-cell-box {\n\t\twidth: 100%;\n\t}\n\n\t.u-cell-title {\n\t\tpadding: 30rpx 32rpx 10rpx 32rpx;\n\t\tfont-size: 30rpx;\n\t\ttext-align: left;\n\t\tcolor: $u-tips-color;\n\t}\n\n\t.u-cell-item-box {\n\t\tbackground-color: #FFFFFF;\n\t\tflex-direction: row;\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-cell-group.vue?vue&type=style&index=0&id=5723aa40&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-cell-group.vue?vue&type=style&index=0&id=5723aa40&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536257846\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":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-cell-item/u-cell-item.js.map
已删除
100644 → 0
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-cell-item/u-cell-item.vue?3b9d","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-cell-item/u-cell-item.vue?9d71","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-cell-item/u-cell-item.vue?ca70","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-cell-item/u-cell-item.vue?6934","uni-app:///uview-ui/components/u-cell-item/u-cell-item.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-cell-item/u-cell-item.vue?cf62","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-cell-item/u-cell-item.vue?f2e6"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoI;AACpI;AAC+D;AACL;AACsC;;;AAGhG;AACmN;AACnN,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,uMAEN;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,KAAK;AACL;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzDA;AAAA;AAAA;AAAA;AAAw1B,CAAgB,yyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC6C52B;;;;;;;;;;;;;;;;;;;;;;;;;AAyBA;AACA,qBADA;AAEA;AACA;AACA;AACA,kBADA;AAEA,iBAFA,EAFA;;AAMA;AACA;AACA,4BADA;AAEA,iBAFA,EAPA;;AAWA;AACA;AACA,4BADA;AAEA,iBAFA,EAZA;;AAgBA;AACA;AACA,4BADA;AAEA,iBAFA,EAjBA;;AAqBA;AACA;AACA,mBADA;AAEA,mBAFA,EAtBA;;AA0BA;AACA;AACA,mBADA;AAEA,oBAFA,EA3BA;;AA+BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBADA;AAEA,6BAFA,EAtCA;;AA0CA;AACA;AACA,mBADA;AAEA,mBAFA,EA3CA;;AA+CA;AACA;AACA,mBADA;AAEA,oBAFA,EAhDA;;AAoDA;AACA;AACA,mBADA;AAEA,oBAFA,EArDA;;AAyDA;AACA;AACA,4BADA;AAEA,iBAFA,EA1DA;;AA8DA;AACA;AACA,kBADA;AAEA,sBAFA,EA/DA;;AAmEA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EApEA;;AA0EA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EA3EA;;AAiFA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAlFA;;AAwFA;AACA;AACA,kBADA;AAEA,4BAFA,EAzFA;;AA6FA;AACA;AACA,4BADA;AAEA,iBAFA,EA9FA;;AAkGA;AACA;AACA,mBADA;AAEA,oBAFA,EAnGA;;AAuGA;AACA;AACA,4BADA;AAEA,iBAFA,EAxGA;;AA4GA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EA7GA,EAFA;;;AAsHA,MAtHA,kBAsHA;AACA;;;AAGA,GA1HA;AA2HA;AACA,cADA,wBACA;AACA;AACA;AACA;AACA;AACA;AACA,KAPA,EA3HA;;AAoIA;AACA,SADA,mBACA;AACA;AACA,KAHA,EApIA,E;;;;;;;;;;;;ACtEA;AAAA;AAAA;AAAA;AAA2lD,CAAgB,g8CAAG,EAAC,C;;;;;;;;;;;ACA/mD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-cell-item/u-cell-item.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-cell-item.vue?vue&type=template&id=65423b64&scoped=true&\"\nvar renderjs\nimport script from \"./u-cell-item.vue?vue&type=script&lang=js&\"\nexport * from \"./u-cell-item.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-cell-item.vue?vue&type=style&index=0&id=65423b64&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 \"65423b64\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-cell-item/u-cell-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-cell-item.vue?vue&type=template&id=65423b64&scoped=true&\"","var components\ntry {\n components = {\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-icon/u-icon\" */ \"@/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([\n {\n width: _vm.titleWidth ? _vm.titleWidth + \"rpx\" : \"auto\"\n },\n _vm.titleStyle\n ])\n\n var s1 =\n _vm.label || _vm.$slots.label ? _vm.__get_style([_vm.labelStyle]) : null\n\n var s2 = _vm.__get_style([_vm.valueStyle])\n\n var s3 = _vm.arrow ? _vm.__get_style([_vm.arrowStyle]) : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n s1: s1,\n s2: s2,\n s3: s3\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-cell-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-cell-item.vue?vue&type=script&lang=js&\"","<template>\n\t<view\n\t\t@tap=\"click\"\n\t\tclass=\"u-cell\"\n\t\t:class=\"{ 'u-border-bottom': borderBottom, 'u-border-top': borderTop, 'u-col-center': center, 'u-cell--required': required }\"\n\t\thover-stay-time=\"150\"\n\t\t:hover-class=\"hoverClass\"\n\t\t:style=\"{\n\t\t\tbackgroundColor: bgColor\n\t\t}\"\n\t>\n\t\t<u-icon :size=\"iconSize\" :name=\"icon\" v-if=\"icon\" :custom-style=\"iconStyle\" class=\"u-cell__left-icon-wrap\"></u-icon>\n\t\t<view class=\"u-flex\" v-else>\n\t\t\t<slot name=\"icon\"></slot>\n\t\t</view>\n\t\t<view\n\t\t\tclass=\"u-cell_title\"\n\t\t\t:style=\"[\n\t\t\t\t{\n\t\t\t\t\twidth: titleWidth ? titleWidth + 'rpx' : 'auto'\n\t\t\t\t},\n\t\t\t\ttitleStyle\n\t\t\t]\"\n\t\t>\n\t\t\t<block v-if=\"title !== ''\">{{ title }}</block>\n\t\t\t<slot name=\"title\" v-else></slot>\n\n\t\t\t<view class=\"u-cell__label\" v-if=\"label || $slots.label\" :style=\"[labelStyle]\">\n\t\t\t\t<block v-if=\"label !== ''\">{{ label }}</block>\n\t\t\t\t<slot name=\"label\" v-else></slot>\n\t\t\t</view>\n\t\t</view>\n\n\t\t<view class=\"u-cell__value\" :style=\"[valueStyle]\">\n\t\t\t<block class=\"u-cell__value\" v-if=\"value !== ''\">{{ value }}</block>\n\t\t\t<slot v-else></slot>\n\t\t</view>\n\t\t<view class=\"u-flex u-cell_right\" v-if=\"$slots['right-icon']\">\n\t\t\t<slot name=\"right-icon\"></slot>\n\t\t</view>\n\t\t<u-icon v-if=\"arrow\" name=\"arrow-right\" :style=\"[arrowStyle]\" class=\"u-icon-wrap u-cell__right-icon-wrap\"></u-icon>\n\t</view>\n</template>\n\n<script>\n/**\n * cellItem 单元格Item\n * @description cell单元格一般用于一组列表的情况,比如个人中心页,设置页等。搭配u-cell-group使用\n * @tutorial https://www.uviewui.com/components/cell.html\n * @property {String} title 左侧标题\n * @property {String} icon 左侧图标名,只支持uView内置图标,见Icon 图标\n * @property {Object} icon-style 左边图标的样式,对象形式\n * @property {String} value 右侧内容\n * @property {String} label 标题下方的描述信息\n * @property {Boolean} border-bottom 是否显示cell的下边框(默认true)\n * @property {Boolean} border-top 是否显示cell的上边框(默认false)\n * @property {Boolean} center 是否使内容垂直居中(默认false)\n * @property {String} hover-class 是否开启点击反馈,none为无效果(默认true)\n * // @property {Boolean} border-gap border-bottom为true时,Cell列表中间的条目的下边框是否与左边有一个间隔(默认true)\n * @property {Boolean} arrow 是否显示右侧箭头(默认true)\n * @property {Boolean} required 箭头方向,可选值(默认right)\n * @property {Boolean} arrow-direction 是否显示左边表示必填的星号(默认false)\n * @property {Object} title-style 标题样式,对象形式\n * @property {Object} value-style 右侧内容样式,对象形式\n * @property {Object} label-style 标题下方描述信息的样式,对象形式\n * @property {String} bg-color 背景颜色(默认transparent)\n * @property {String Number} index 用于在click事件回调中返回,标识当前是第几个Item\n * @property {String Number} title-width 标题的宽度,单位rpx\n * @example <u-cell-item icon=\"integral-fill\" title=\"会员等级\" value=\"新版本\"></u-cell-item>\n */\nexport default {\n\tname: 'u-cell-item',\n\tprops: {\n\t\t// 左侧图标名称(只能uView内置图标),或者图标src\n\t\ticon: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 左侧标题\n\t\ttitle: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: ''\n\t\t},\n\t\t// 右侧内容\n\t\tvalue: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: ''\n\t\t},\n\t\t// 标题下方的描述信息\n\t\tlabel: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: ''\n\t\t},\n\t\t// 是否显示下边框\n\t\tborderBottom: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 是否显示上边框\n\t\tborderTop: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 多个cell中,中间的cell显示下划线时,下划线是否给一个到左边的距离\n\t\t// 1.4.0版本废除此参数,默认边框由border-top和border-bottom提供,此参数会造成干扰\n\t\t// borderGap: {\n\t\t// \ttype: Boolean,\n\t\t// \tdefault: true\n\t\t// },\n\t\t// 是否开启点击反馈,即点击时cell背景为灰色,none为无效果\n\t\thoverClass: {\n\t\t\ttype: String,\n\t\t\tdefault: 'u-cell-hover'\n\t\t},\n\t\t// 是否显示右侧箭头\n\t\tarrow: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 内容是否垂直居中\n\t\tcenter: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 是否显示左边表示必填的星号\n\t\trequired: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 标题的宽度,单位rpx\n\t\ttitleWidth: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: ''\n\t\t},\n\t\t// 右侧箭头方向,可选值:right|up|down,默认为right\n\t\tarrowDirection: {\n\t\t\ttype: String,\n\t\t\tdefault: 'right'\n\t\t},\n\t\t// 控制标题的样式\n\t\ttitleStyle: {\n\t\t\ttype: Object,\n\t\t\tdefault() {\n\t\t\t\treturn {};\n\t\t\t}\n\t\t},\n\t\t// 右侧显示内容的样式\n\t\tvalueStyle: {\n\t\t\ttype: Object,\n\t\t\tdefault() {\n\t\t\t\treturn {};\n\t\t\t}\n\t\t},\n\t\t// 描述信息的样式\n\t\tlabelStyle: {\n\t\t\ttype: Object,\n\t\t\tdefault() {\n\t\t\t\treturn {};\n\t\t\t}\n\t\t},\n\t\t// 背景颜色\n\t\tbgColor: {\n\t\t\ttype: String,\n\t\t\tdefault: 'transparent'\n\t\t},\n\t\t// 用于识别被点击的是第几个cell\n\t\tindex: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: ''\n\t\t},\n\t\t// 是否使用lable插槽\n\t\tuseLabelSlot: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 左边图标的大小,单位rpx,只对传入icon字段时有效\n\t\ticonSize: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: 34\n\t\t},\n\t\t// 左边图标的样式,对象形式\n\t\ticonStyle: {\n\t\t\ttype: Object,\n\t\t\tdefault() {\n\t\t\t\treturn {}\n\t\t\t}\n\t\t},\n\t},\n\tdata() {\n\t\treturn {\n\n\t\t};\n\t},\n\tcomputed: {\n\t\tarrowStyle() {\n\t\t\tlet style = {};\n\t\t\tif (this.arrowDirection == 'up') style.transform = 'rotate(-90deg)';\n\t\t\telse if (this.arrowDirection == 'down') style.transform = 'rotate(90deg)';\n\t\t\telse style.transform = 'rotate(0deg)';\n\t\t\treturn style;\n\t\t}\n\t},\n\tmethods: {\n\t\tclick() {\n\t\t\tthis.$emit('click', this.index);\n\t\t}\n\t}\n};\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"../../libs/css/style.components.scss\";\n.u-cell {\n\t@include vue-flex;\n\talign-items: center;\n\tposition: relative;\n\t/* #ifndef APP-NVUE */\n\tbox-sizing: border-box;\n\t/* #endif */\n\twidth: 100%;\n\tpadding: 26rpx 32rpx;\n\tfont-size: 28rpx;\n\tline-height: 54rpx;\n\tcolor: $u-content-color;\n\tbackground-color: #fff;\n\ttext-align: left;\n}\n\n.u-cell_title {\n\tfont-size: 28rpx;\n}\n\n.u-cell__left-icon-wrap {\n\tmargin-right: 10rpx;\n\tfont-size: 32rpx;\n}\n\n.u-cell__right-icon-wrap {\n\tmargin-left: 10rpx;\n\tcolor: #969799;\n\tfont-size: 28rpx;\n}\n\n.u-cell__left-icon-wrap,\n.u-cell__right-icon-wrap {\n\t@include vue-flex;\n\talign-items: center;\n\theight: 48rpx;\n}\n\n.u-cell-border:after {\n\tposition: absolute; \n\t/* #ifndef APP-NVUE */\n\tbox-sizing: border-box;\n\tcontent: ' ';\n\tpointer-events: none;\n\tborder-bottom: 1px solid $u-border-color;\n\t/* #endif */\n\tright: 0;\n\tleft: 0;\n\ttop: 0;\n\ttransform: scaleY(0.5);\n}\n\n.u-cell-border {\n\tposition: relative;\n}\n\n.u-cell__label {\n\tmargin-top: 6rpx;\n\tfont-size: 26rpx;\n\tline-height: 36rpx;\n\tcolor: $u-tips-color;\n\t/* #ifndef APP-NVUE */\n\tword-wrap: break-word;\n\t/* #endif */\n}\n\n.u-cell__value {\n\toverflow: hidden;\n\ttext-align: right;\n\t/* #ifndef APP-NVUE */\n\tvertical-align: middle;\n\t/* #endif */\n\tcolor: $u-tips-color;\n\tfont-size: 26rpx;\n}\n\n.u-cell__title,\n.u-cell__value {\n\tflex: 1;\n}\n\n.u-cell--required {\n\t/* #ifndef APP-NVUE */\n\toverflow: visible;\n\t/* #endif */\n\t@include vue-flex;\n\talign-items: center;\n}\n\n.u-cell--required:before {\n\tposition: absolute;\n\t/* #ifndef APP-NVUE */\n\tcontent: '*';\n\t/* #endif */\n\tleft: 8px;\n\tmargin-top: 4rpx;\n\tfont-size: 14px;\n\tcolor: $u-type-error;\n}\n\n.u-cell_right {\n\tline-height: 1;\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-cell-item.vue?vue&type=style&index=0&id=65423b64&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-cell-item.vue?vue&type=style&index=0&id=65423b64&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536257858\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":""} |
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-checkbox-group/u-checkbox-group.vue?9ed2","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-checkbox-group/u-checkbox-group.vue?adc1","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-checkbox-group/u-checkbox-group.vue?4fc8","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-checkbox-group/u-checkbox-group.vue?ab58","uni-app:///uview-ui/components/u-checkbox-group/u-checkbox-group.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-checkbox-group/u-checkbox-group.vue?66d7","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-checkbox-group/u-checkbox-group.vue?b2ee"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAyI;AACzI;AACoE;AACL;AACsC;;;AAGrG;AACmN;AACnN,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;AAA61B,CAAgB,8yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;ACOj3B,kG;;;;;;AACA;;;;;;;;;;;;;;;;kBAiBA,EACA,wBADA,EAEA,0BAFA,EAGA,SACA;AACA;AACA,4BADA;AAEA,kBAFA,EAFA;;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBADA;AAEA,oBAFA,EAdA;;AAkBA;AACA;AACA,6BADA;AAEA,iBAFA,EAnBA;;AAuBA;AACA;AACA,mBADA;AAEA,oBAFA,EAxBA;;AA4BA;AACA;AACA,kBADA;AAEA,uBAFA,EA7BA;;AAiCA;AACA;AACA,kBADA;AAEA,wBAFA,EAlCA;;AAsCA;AACA;AACA,4BADA;AAEA,iBAFA,EAvCA;;AA2CA;AACA;AACA,kBADA;AAEA,qBAFA,EA5CA;;AAgDA;AACA;AACA,mBADA;AAEA,oBAFA,EAjDA;;AAqDA;AACA;AACA,4BADA;AAEA,iBAFA,EAtDA,EAHA;;;AA8DA,MA9DA,kBA8DA;AACA;;AAEA,GAjEA;AAkEA,SAlEA,qBAkEA;AACA;AACA;AACA,GArEA;AAsEA;AACA,aADA,uBACA;AACA;AACA;AACA;AACA,OAFA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,OAHA,EAGA,EAHA;AAIA,KAbA,EAtEA,E;;;;;;;;;;;;ACzBA;AAAA;AAAA;AAAA;AAAgmD,CAAgB,q8CAAG,EAAC,C;;;;;;;;;;;ACApnD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"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=703eade0&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=703eade0&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 \"703eade0\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"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=703eade0&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 class=\"u-checkbox-group u-clearfix\">\n\t\t<slot></slot>\n\t</view>\n</template>\n\n<script>\n\timport Emitter from '../../libs/util/emitter.js';\n\t/**\n\t * checkboxGroup 开关选择器父组件Group\n\t * @description 复选框组件一般用于需要多个选择的场景,该组件功能完整,使用方便\n\t * @tutorial https://www.uviewui.com/components/checkbox.html\n\t * @property {String Number} max 最多能选中多少个checkbox(默认999)\n\t * @property {String Number} size 组件整体的大小,单位rpx(默认40)\n\t * @property {Boolean} disabled 是否禁用所有checkbox(默认false)\n\t * @property {String Number} icon-size 图标大小,单位rpx(默认20)\n\t * @property {Boolean} label-disabled 是否禁止点击文本操作checkbox(默认false)\n\t * @property {String} width 宽度,需带单位\n\t * @property {String} width 宽度,需带单位\n\t * @property {String} shape 外观形状,shape-方形,circle-圆形(默认circle)\n\t * @property {Boolean} wrap 是否每个checkbox都换行(默认false)\n\t * @property {String} active-color 选中时的颜色,应用到所有子Checkbox组件(默认#2979ff)\n\t * @event {Function} change 任一个checkbox状态发生变化时触发,回调为一个对象\n\t * @example <u-checkbox-group></u-checkbox-group>\n\t */\n\texport default {\n\t\tname: 'u-checkbox-group',\n\t\tmixins: [Emitter],\n\t\tprops: {\n\t\t\t// 最多能选中多少个checkbox\n\t\t\tmax: {\n\t\t\t\ttype: [Number, String],\n\t\t\t\tdefault: 999\n\t\t\t},\n\t\t\t// 所有选中项的 name\n\t\t\t// value: {\n\t\t\t// \tdefault: Array,\n\t\t\t// \tdefault() {\n\t\t\t// \t\treturn []\n\t\t\t// \t}\n\t\t\t// },\n\t\t\t// 是否禁用所有复选框\n\t\t\tdisabled: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: false\n\t\t\t},\n\t\t\t// 在表单内提交时的标识符\n\t\t\tname: {\n\t\t\t\ttype: [Boolean, String],\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// 是否禁止点击提示语选中复选框\n\t\t\tlabelDisabled: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: false\n\t\t\t},\n\t\t\t// 形状,square为方形,circle为原型\n\t\t\tshape: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'square'\n\t\t\t},\n\t\t\t// 选中状态下的颜色\n\t\t\tactiveColor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '#2979ff'\n\t\t\t},\n\t\t\t// 组件的整体大小\n\t\t\tsize: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: 34\n\t\t\t},\n\t\t\t// 每个checkbox占u-checkbox-group的宽度\n\t\t\twidth: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'auto'\n\t\t\t},\n\t\t\t// 是否每个checkbox都换行\n\t\t\twrap: { \n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: false\n\t\t\t},\n\t\t\t// 图标的大小,单位rpx\n\t\t\ticonSize: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: 20\n\t\t\t},\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t}\n\t\t},\n\t\tcreated() {\n\t\t\t// 如果将children定义在data中,在微信小程序会造成循环引用而报错\n\t\t\tthis.children = [];\n\t\t},\n\t\tmethods: {\n\t\t\temitEvent() {\n\t\t\t\tlet values = [];\n\t\t\t\tthis.children.map(val => {\n\t\t\t\t\tif(val.value) values.push(val.name);\n\t\t\t\t})\n\t\t\t\tthis.$emit('change', values);\n\t\t\t\t// 发出事件,用于在表单组件中嵌入checkbox的情况,进行验证\n\t\t\t\t// 由于头条小程序执行迟钝,故需要用几十毫秒的延时\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\t// 将当前的值发送到 u-form-item 进行校验\n\t\t\t\t\tthis.dispatch('u-form-item', 'on-form-change', values);\n\t\t\t\t}, 60)\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t@import \"../../libs/css/style.components.scss\";\n\n\t.u-checkbox-group {\n\t\t/* #ifndef MP || APP-NVUE */\n\t\tdisplay: inline-flex;\n\t\tflex-wrap: wrap;\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-checkbox-group.vue?vue&type=style&index=0&id=703eade0&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=703eade0&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536258005\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":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-checkbox/u-checkbox.js.map
已删除
100644 → 0
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-checkbox/u-checkbox.vue?3d59","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-checkbox/u-checkbox.vue?0db0","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-checkbox/u-checkbox.vue?771e","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-checkbox/u-checkbox.vue?06c8","uni-app:///uview-ui/components/u-checkbox/u-checkbox.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-checkbox/u-checkbox.vue?3bdd","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-checkbox/u-checkbox.vue?2415"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAmI;AACnI;AAC8D;AACL;AACsC;;;AAG/F;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;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,uMAEN;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;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChDA;AAAA;AAAA;AAAA;AAAu1B,CAAgB,wyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;ACc32B;;;;;;;;;;;;;;AAcA;AACA,oBADA;AAEA;AACA;AACA;AACA,4BADA;AAEA,iBAFA,EAFA;;AAMA;AACA;AACA,kBADA;AAEA,iBAFA,EAPA;;AAWA;AACA;AACA,mBADA;AAEA,oBAFA,EAZA;;AAgBA;AACA;AACA,6BADA;AAEA,iBAFA,EAjBA;;AAqBA;AACA;AACA,6BADA;AAEA,iBAFA,EAtBA;;AA0BA;AACA;AACA,kBADA;AAEA,iBAFA,EA3BA;;AA+BA;AACA;AACA,4BADA;AAEA,iBAFA,EAhCA;;AAoCA;AACA;AACA,4BADA;AAEA,iBAFA,EArCA;;AAyCA;AACA;AACA,4BADA;AAEA,iBAFA,EA1CA,EAFA;;;AAiDA,MAjDA,kBAiDA;AACA;AACA,2BADA;AAEA,mBAFA;;AAIA,GAtDA;AAuDA,SAvDA,qBAuDA;AACA;AACA;AACA;AACA;AACA,GA5DA;AA6DA;AACA;AACA,cAFA,wBAEA;AACA;AACA,KAJA;AAKA;AACA,mBANA,6BAMA;AACA;AACA,KARA;AASA;AACA,gBAVA,0BAUA;AACA;AACA,KAZA;AAaA;AACA,oBAdA,8BAcA;AACA;AACA,KAhBA;AAiBA;AACA,iBAlBA,2BAkBA;AACA;AACA,KApBA;AAqBA;AACA,WAtBA,qBAsBA;AACA;AACA,KAxBA;AAyBA,aAzBA,uBAyBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAnCA;AAoCA;AACA,aArCA,uBAqCA;AACA;AACA,KAvCA;AAwCA,aAxCA,uBAwCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAhDA;AAiDA,iBAjDA,2BAiDA;AACA;AACA;AACA;;AAEA;AACA;;;;;;AAMA;AACA;AACA;;;;;AAKA;AACA;AACA,KAtEA,EA7DA;;AAqIA;AACA,gBADA,0BACA;AACA;AACA;AACA;AACA,KALA;AAMA,UANA,oBAMA;AACA;AACA;AACA;AACA,KAVA;AAWA,aAXA,uBAWA;AACA;AACA,0BADA;AAEA,uBAFA;;AAIA;AACA;AACA;AACA;AACA,OAFA,EAEA,EAFA;AAGA,KArBA;AAsBA;AACA,YAvBA,sBAuBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAFA;AAGA;AACA;AACA;AACA;AACA;AACA,OAHA,MAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KA7CA,EArIA,E;;;;;;;;;;;;AC5BA;AAAA;AAAA;AAAA;AAA0lD,CAAgB,+7CAAG,EAAC,C;;;;;;;;;;;ACA9mD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-checkbox/u-checkbox.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-checkbox.vue?vue&type=template&id=54acf820&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=54acf820&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 \"54acf820\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"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=54acf820&scoped=true&\"","var components\ntry {\n components = {\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-icon/u-icon\" */ \"@/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.iconStyle])\n\n var g0 = _vm.$u.addUnit(_vm.labelSize)\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n s1: s1,\n g0: g0\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 class=\"u-checkbox\" :style=\"[checkboxStyle]\">\n\t\t<view class=\"u-checkbox__icon-wrap\" @tap=\"toggle\" :class=\"[iconClass]\" :style=\"[iconStyle]\">\n\t\t\t<u-icon class=\"u-checkbox__icon-wrap__icon\" name=\"checkbox-mark\" :size=\"checkboxIconSize\" :color=\"iconColor\"/>\n\t\t</view>\n\t\t<view class=\"u-checkbox__label\" @tap=\"onClickLabel\" :style=\"{\n\t\t\tfontSize: $u.addUnit(labelSize)\n\t\t}\">\n\t\t\t<slot />\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\t/**\n\t * checkbox 复选框\n\t * @description 该组件需要搭配checkboxGroup组件使用,以便用户进行操作时,获得当前复选框组的选中情况。\n\t * @tutorial https://www.uviewui.com/components/checkbox.html\n\t * @property {String Number} icon-size 图标大小,单位rpx(默认20)\n\t * @property {String Number} label-size label字体大小,单位rpx(默认28)\n\t * @property {String Number} name checkbox组件的标示符\n\t * @property {String} shape 形状,见官网说明(默认circle)\n\t * @property {Boolean} disabled 是否禁用\n\t * @property {Boolean} label-disabled 是否禁止点击文本操作checkbox\n\t * @property {String} active-color 选中时的颜色,如设置CheckboxGroup的active-color将失效\n\t * @event {Function} change 某个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\tprops: {\n\t\t\t// checkbox的名称\n\t\t\tname: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// 形状,square为方形,circle为原型\n\t\t\tshape: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// 是否为选中状态\n\t\t\tvalue: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: false\n\t\t\t},\n\t\t\t// 是否禁用\n\t\t\tdisabled: {\n\t\t\t\ttype: [String, Boolean],\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// 是否禁止点击提示语选中复选框\n\t\t\tlabelDisabled: {\n\t\t\t\ttype: [String, Boolean],\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// 选中状态下的颜色,如设置此值,将会覆盖checkboxGroup的activeColor值\n\t\t\tactiveColor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// 图标的大小,单位rpx\n\t\t\ticonSize: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// label的字体大小,rpx单位\n\t\t\tlabelSize: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// 组件的整体大小\n\t\t\tsize: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tparentDisabled: false,\n\t\t\t\tnewParams: {},\n\t\t\t};\n\t\t},\n\t\tcreated() {\n\t\t\t// 支付宝小程序不支持provide/inject,所以使用这个方法获取整个父组件,在created定义,避免循环应用\n\t\t\tthis.parent = this.$u.$parent.call(this, 'u-checkbox-group');\n\t\t\t// 如果存在u-checkbox-group,将本组件的this塞进父组件的children中\n\t\t\tthis.parent && this.parent.children.push(this);\n\t\t},\n\t\tcomputed: {\n\t\t\t// 是否禁用,如果父组件u-checkbox-group禁用的话,将会忽略子组件的配置\n\t\t\tisDisabled() {\n\t\t\t\treturn this.disabled !== '' ? this.disabled : this.parent ? this.parent.disabled : false;\n\t\t\t},\n\t\t\t// 是否禁用label点击\n\t\t\tisLabelDisabled() {\n\t\t\t\treturn this.labelDisabled !== '' ? this.labelDisabled : this.parent ? this.parent.labelDisabled : false;\n\t\t\t},\n\t\t\t// 组件尺寸,对应size的值,默认值为34rpx\n\t\t\tcheckboxSize() {\n\t\t\t\treturn this.size ? this.size : (this.parent ? this.parent.size : 34);\n\t\t\t},\n\t\t\t// 组件的勾选图标的尺寸,默认20\n\t\t\tcheckboxIconSize() {\n\t\t\t\treturn this.iconSize ? this.iconSize : (this.parent ? this.parent.iconSize : 20);\n\t\t\t},\n\t\t\t// 组件选中激活时的颜色\n\t\t\telActiveColor() {\n\t\t\t\treturn this.activeColor ? this.activeColor : (this.parent ? this.parent.activeColor : 'primary');\n\t\t\t},\n\t\t\t// 组件的形状\n\t\t\telShape() {\n\t\t\t\treturn this.shape ? this.shape : (this.parent ? this.parent.shape : 'square');\n\t\t\t},\n\t\t\ticonStyle() {\n\t\t\t\tlet style = {};\n\t\t\t\t// 既要判断是否手动禁用,还要判断用户v-model绑定的值,如果绑定为false,那么也无法选中\n\t\t\t\tif (this.elActiveColor && this.value && !this.isDisabled) {\n\t\t\t\t\tstyle.borderColor = this.elActiveColor; \n\t\t\t\t\tstyle.backgroundColor = this.elActiveColor;\n\t\t\t\t}\n\t\t\t\tstyle.width = this.$u.addUnit(this.checkboxSize);\n\t\t\t\tstyle.height = this.$u.addUnit(this.checkboxSize);\n\t\t\t\treturn style;\n\t\t\t},\n\t\t\t// checkbox内部的勾选图标,如果选中状态,为白色,否则为透明色即可\n\t\t\ticonColor() {\n\t\t\t\treturn this.value ? '#ffffff' : 'transparent';\n\t\t\t},\n\t\t\ticonClass() {\n\t\t\t\tlet classes = [];\n\t\t\t\tclasses.push('u-checkbox__icon-wrap--' + this.elShape);\n\t\t\t\tif (this.value == true) classes.push('u-checkbox__icon-wrap--checked');\n\t\t\t\tif (this.isDisabled) classes.push('u-checkbox__icon-wrap--disabled');\n\t\t\t\tif (this.value && this.isDisabled) classes.push('u-checkbox__icon-wrap--disabled--checked');\n\t\t\t\t// 支付宝小程序无法动态绑定一个数组类名,否则解析出来的结果会带有\",\",而导致失效\n\t\t\t\treturn classes.join(' ');\n\t\t\t},\n\t\t\tcheckboxStyle() {\n\t\t\t\tlet style = {};\n\t\t\t\tif(this.parent && this.parent.width) {\n\t\t\t\t\tstyle.width = this.parent.width;\n\t\t\t\t\t// #ifdef MP\n\t\t\t\t\t// 各家小程序因为它们特殊的编译结构,使用float布局\n\t\t\t\t\tstyle.float = 'left';\n\t\t\t\t\t// #endif\n\t\t\t\t\t// #ifndef MP\n\t\t\t\t\t// H5和APP使用flex布局\n\t\t\t\t\tstyle.flex = `0 0 ${this.parent.width}`;\n\t\t\t\t\t// #endif\n\t\t\t\t}\n\t\t\t\tif(this.parent && this.parent.wrap) {\n\t\t\t\t\tstyle.width = '100%';\n\t\t\t\t\t// #ifndef MP\n\t\t\t\t\t// H5和APP使用flex布局,将宽度设置100%,即可自动换行\n\t\t\t\t\tstyle.flex = '0 0 100%';\n\t\t\t\t\t// #endif\n\t\t\t\t}\n\t\t\t\treturn style;\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\tonClickLabel() {\n\t\t\t\tif (!this.isLabelDisabled && !this.isDisabled) {\n\t\t\t\t\tthis.setValue();\n\t\t\t\t}\n\t\t\t},\n\t\t\ttoggle() {\n\t\t\t\tif (!this.isDisabled) {\n\t\t\t\t\tthis.setValue();\n\t\t\t\t}\n\t\t\t},\n\t\t\temitEvent() {\n\t\t\t\tthis.$emit('change', {\n\t\t\t\t\tvalue: !this.value,\n\t\t\t\t\tname: this.name\n\t\t\t\t})\n\t\t\t\t// 执行父组件u-checkbox-group的事件方法\n\t\t\t\t// 等待下一个周期再执行,因为this.$emit('input')作用于父组件,再反馈到子组件内部,需要时间\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tif(this.parent && this.parent.emitEvent) this.parent.emitEvent();\n\t\t\t\t}, 80);\n\t\t\t},\n\t\t\t// 设置input的值,这里通过input事件,设置通过v-model绑定的组件的值\n\t\t\tsetValue() {\n\t\t\t\t// 判断是否超过了可选的最大数量\n\t\t\t\tlet checkedNum = 0;\n\t\t\t\tif(this.parent && this.parent.children) {\n\t\t\t\t\t// 只要父组件的某一个子元素的value为true,就加1(已有的选中数量)\n\t\t\t\t\tthis.parent.children.map(val => {\n\t\t\t\t\t\tif (val.value) checkedNum++;\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t\t// 如果原来为选中状态,那么可以取消\n\t\t\t\tif (this.value == true) {\n\t\t\t\t\tthis.emitEvent();\n\t\t\t\t\tthis.$emit('input', !this.value);\n\t\t\t\t} else {\n\t\t\t\t\t// 如果超出最多可选项,提示\n\t\t\t\t\tif(this.parent && checkedNum >= this.parent.max) {\n\t\t\t\t\t\treturn this.$u.toast(`最多可选${this.parent.max}项`);\n\t\t\t\t\t}\n\t\t\t\t\t// 如果原来为未选中状态,需要选中的数量少于父组件中设置的max值,才可以选中\n\t\t\t\t\tthis.emitEvent();\n\t\t\t\t\tthis.$emit('input', !this.value);\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/style.components.scss\";\n\n\t.u-checkbox {\n\t\t/* #ifndef APP-NVUE */\n\t\tdisplay: inline-flex;\n\t\t/* #endif */\n\t\talign-items: center;\n\t\toverflow: hidden;\n\t\tuser-select: none;\n\t\tline-height: 1.8;\n\t\t\n\t\t&__icon-wrap {\n\t\t\tcolor: $u-content-color;\n\t\t\tflex: none;\n\t\t\tdisplay: -webkit-flex;\n\t\t\t@include vue-flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\tbox-sizing: border-box;\n\t\t\twidth: 42rpx;\n\t\t\theight: 42rpx;\n\t\t\tcolor: transparent;\n\t\t\ttext-align: center;\n\t\t\ttransition-property: color, border-color, background-color;\n\t\t\tfont-size: 20px;\n\t\t\tborder: 1px solid #c8c9cc;\n\t\t\ttransition-duration: 0.2s;\n\t\t\t\n\t\t\t/* #ifdef MP-TOUTIAO */\n\t\t\t// 头条小程序兼容性问题,需要设置行高为0,否则图标偏下\n\t\t\t&__icon {\n\t\t\t\tline-height: 0;\n\t\t\t}\n\t\t\t/* #endif */\n\t\t\t\n\t\t\t&--circle {\n\t\t\t\tborder-radius: 100%;\n\t\t\t}\n\t\t\t\n\t\t\t&--square {\n\t\t\t\tborder-radius: 6rpx;\n\t\t\t}\n\t\t\t\n\t\t\t&--checked {\n\t\t\t\tcolor: #fff;\n\t\t\t\tbackground-color: $u-type-primary;\n\t\t\t\tborder-color: $u-type-primary;\n\t\t\t}\n\t\t\t\n\t\t\t&--disabled {\n\t\t\t\tbackground-color: #ebedf0;\n\t\t\t\tborder-color: #c8c9cc;\n\t\t\t}\n\t\t\t\n\t\t\t&--disabled--checked {\n\t\t\t\tcolor: #c8c9cc !important;\n\t\t\t}\n\t\t}\n\t\n\t\t&__label {\n\t\t\tword-wrap: break-word;\n\t\t\tmargin-left: 10rpx;\n\t\t\tmargin-right: 24rpx;\n\t\t\tcolor: $u-content-color;\n\t\t\tfont-size: 30rpx;\n\t\t\t\n\t\t\t&--disabled {\n\t\t\t\tcolor: #c8c9cc;\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=54acf820&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=54acf820&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536257992\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":""} |
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-column-notice/u-column-notice.vue?9718","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-column-notice/u-column-notice.vue?3e1b","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-column-notice/u-column-notice.vue?5f31","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-column-notice/u-column-notice.vue?b2dd","uni-app:///uview-ui/components/u-column-notice/u-column-notice.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-column-notice/u-column-notice.vue?d751","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-column-notice/u-column-notice.vue?3886"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAwI;AACxI;AACmE;AACL;AACsC;;;AAGpG;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,qFAAM;AACR,EAAE,sGAAM;AACR,EAAE,+GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,0GAAU;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,uMAEN;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;;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAA41B,CAAgB,6yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkCh3B;AACA;AACA;AACA;AACA,iBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAFA;;AAQA;AACA;AACA,kBADA;AAEA,wBAFA,EATA;;AAaA;AACA;AACA,mBADA;AAEA,mBAFA,EAdA;;AAkBA;AACA;AACA,mBADA;AAEA,oBAFA,EAnBA;;AAuBA;AACA;AACA,mBADA;AAEA,oBAFA,EAxBA;;AA4BA;AACA;AACA,mBADA;AAEA,mBAFA,EA7BA;;AAiCA;AACA;AACA,kBADA;AAEA,iBAFA,EAlCA;;AAsCA;AACA;AACA,kBADA;AAEA,iBAFA,EAvCA;;AA2CA;AACA;AACA,kBADA;AAEA,oBAFA,EA5CA;;AAgDA;AACA;AACA,mBADA;AAEA,mBAFA,EAjDA;;AAqDA;AACA;AACA,4BADA;AAEA,iBAFA,EAtDA;;AA0DA;AACA;AACA,4BADA;AAEA,mBAFA,EA3DA;;AA+DA;AACA;AACA,4BADA;AAEA,iBAFA,EAhEA;;AAoEA;AACA;AACA,kBADA;AAEA,kBAFA,EArEA;;AAyEA;AACA;AACA,mBADA;AAEA,mBAFA,EA1EA;;AA8EA;AACA;AACA,kBADA;AAEA,2BAFA,EA/EA;;AAmFA;AACA;AACA,kBADA;AAEA,qBAFA,EApFA;;AAwFA;AACA;AACA;AACA,mBADA;AAEA,mBAFA,EA1FA;;AA8FA;AACA;AACA,4BADA;AAEA,4BAFA,EA/FA,EADA;;;AAqGA;AACA;AACA,gBAFA,0BAEA;AACA;AACA;AADA,WAEA;AACA;AACA,KAPA;AAQA;AACA,aATA,uBASA;AACA;AACA;AACA;AACA;AACA;AACA,KAfA;AAgBA;AACA,YAjBA,sBAiBA;AACA;AACA;AACA,KApBA;AAqBA;AACA,kBAtBA,4BAsBA;AACA;AACA;AACA,KAzBA,EArGA;;AAgIA,MAhIA,kBAgIA;AACA;AACA;AADA;AAGA,GApIA;AAqIA;AACA;AACA,SAFA,iBAEA,KAFA,EAEA;AACA;AACA,KAJA;AAKA;AACA,SANA,mBAMA;AACA;AACA,KARA;AASA;AACA,WAVA,qBAUA;AACA;AACA,KAZA;AAaA,UAbA,kBAaA,CAbA,EAaA;AACA;AACA;AACA;AACA;AACA,KAlBA,EArIA,E;;;;;;;;;;;;AClCA;AAAA;AAAA;AAAA;AAA+lD,CAAgB,o8CAAG,EAAC,C;;;;;;;;;;;ACAnnD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-column-notice/u-column-notice.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-column-notice.vue?vue&type=template&id=475fdbf0&scoped=true&\"\nvar renderjs\nimport script from \"./u-column-notice.vue?vue&type=script&lang=js&\"\nexport * from \"./u-column-notice.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-column-notice.vue?vue&type=style&index=0&id=475fdbf0&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 \"475fdbf0\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-column-notice/u-column-notice.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-column-notice.vue?vue&type=template&id=475fdbf0&scoped=true&\"","var components\ntry {\n components = {\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-icon/u-icon\" */ \"@/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.textStyle])\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-column-notice.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-column-notice.vue?vue&type=script&lang=js&\"","<template>\n\t<view\n\t\tclass=\"u-notice-bar\"\n\t\t:style=\"{\n\t\t\tbackground: computeBgColor,\n\t\t\tpadding: padding\n\t\t}\"\n\t\t:class=\"[\n\t\t\ttype ? `u-type-${type}-light-bg` : ''\n\t\t]\"\n\t>\n\t\t<view class=\"u-icon-wrap\">\n\t\t\t<u-icon class=\"u-left-icon\" v-if=\"volumeIcon\" name=\"volume-fill\" :size=\"volumeSize\" :color=\"computeColor\"></u-icon>\n\t\t</view>\n\t\t<swiper :disable-touch=\"disableTouch\" @change=\"change\" :autoplay=\"autoplay && playState == 'play'\" :vertical=\"vertical\" circular :interval=\"duration\" class=\"u-swiper\">\n\t\t\t<swiper-item v-for=\"(item, index) in list\" :key=\"index\" class=\"u-swiper-item\">\n\t\t\t\t<view\n\t\t\t\t\tclass=\"u-news-item u-line-1\"\n\t\t\t\t\t:style=\"[textStyle]\"\n\t\t\t\t\t@tap=\"click(index)\"\n\t\t\t\t\t:class=\"['u-type-' + type]\"\n\t\t\t\t>\n\t\t\t\t\t{{ item }}\n\t\t\t\t</view>\n\t\t\t</swiper-item>\n\t\t</swiper>\n\t\t<view class=\"u-icon-wrap\">\n\t\t\t<u-icon @click=\"getMore\" class=\"u-right-icon\" v-if=\"moreIcon\" name=\"arrow-right\" :size=\"26\" :color=\"computeColor\"></u-icon>\n\t\t\t<u-icon @click=\"close\" class=\"u-right-icon\" v-if=\"closeIcon\" name=\"close\" :size=\"24\" :color=\"computeColor\"></u-icon>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\nexport default {\n\tprops: {\n\t\t// 显示的内容,数组\n\t\tlist: {\n\t\t\ttype: Array,\n\t\t\tdefault() {\n\t\t\t\treturn [];\n\t\t\t}\n\t\t},\n\t\t// 显示的主题,success|error|primary|info|warning\n\t\ttype: {\n\t\t\ttype: String,\n\t\t\tdefault: 'warning'\n\t\t},\n\t\t// 是否显示左侧的音量图标\n\t\tvolumeIcon: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 是否显示右侧的右箭头图标\n\t\tmoreIcon: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 是否显示右侧的关闭图标\n\t\tcloseIcon: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 是否自动播放\n\t\tautoplay: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 文字颜色,各图标也会使用文字颜色\n\t\tcolor: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 背景颜色\n\t\tbgColor: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 滚动方向,row-水平滚动,column-垂直滚动\n\t\tdirection: {\n\t\t\ttype: String,\n\t\t\tdefault: 'row'\n\t\t},\n\t\t// 是否显示\n\t\tshow: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 字体大小,单位rpx\n\t\tfontSize: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: 26\n\t\t},\n\t\t// 滚动一个周期的时间长,单位ms\n\t\tduration: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: 2000\n\t\t},\n\t\t// 音量喇叭的大小\n\t\tvolumeSize: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: 34\n\t\t},\n\t\t// 水平滚动时的滚动速度,即每秒滚动多少rpx,这有利于控制文字无论多少时,都能有一个恒定的速度\n\t\tspeed: {\n\t\t\ttype: Number,\n\t\t\tdefault: 160\n\t\t},\n\t\t// 水平滚动时,是否采用衔接形式滚动\n\t\tisCircular: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 滚动方向,horizontal-水平滚动,vertical-垂直滚动\n\t\tmode: {\n\t\t\ttype: String,\n\t\t\tdefault: 'horizontal'\n\t\t},\n\t\t// 播放状态,play-播放,paused-暂停\n\t\tplayState: {\n\t\t\ttype: String,\n\t\t\tdefault: 'play'\n\t\t},\n\t\t// 是否禁止用手滑动切换\n\t\t// 目前HX2.6.11,只支持App 2.5.5+、H5 2.5.5+、支付宝小程序、字节跳动小程序\n\t\tdisableTouch: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 通知的边距\n\t\tpadding: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: '18rpx 24rpx'\n\t\t}\n\t},\n\tcomputed: {\n\t\t// 计算字体颜色,如果没有自定义的,就用uview主题颜色\n\t\tcomputeColor() {\n\t\t\tif (this.color) return this.color;\n\t\t\t// 如果是无主题,就默认使用content-color\n\t\t\telse if(this.type == 'none') return '#606266';\n\t\t\telse return this.type;\n\t\t},\n\t\t// 文字内容的样式\n\t\ttextStyle() {\n\t\t\tlet style = {};\n\t\t\tif (this.color) style.color = this.color;\n\t\t\telse if(this.type == 'none') style.color = '#606266';\n\t\t\tstyle.fontSize = this.fontSize + 'rpx';\n\t\t\treturn style;\n\t\t},\n\t\t// 垂直或者水平滚动\n\t\tvertical() {\n\t\t\tif(this.mode == 'horizontal') return false;\n\t\t\telse return true;\n\t\t},\n\t\t// 计算背景颜色\n\t\tcomputeBgColor() {\n\t\t\tif (this.bgColor) return this.bgColor;\n\t\t\telse if(this.type == 'none') return 'transparent';\n\t\t}\n\t},\n\tdata() {\n\t\treturn {\n\t\t\t// animation: false\n\t\t};\n\t},\n\tmethods: {\n\t\t// 点击通告栏\n\t\tclick(index) {\n\t\t\tthis.$emit('click', index);\n\t\t},\n\t\t// 点击关闭按钮\n\t\tclose() {\n\t\t\tthis.$emit('close');\n\t\t},\n\t\t// 点击更多箭头按钮\n\t\tgetMore() {\n\t\t\tthis.$emit('getMore');\n\t\t},\n\t\tchange(e) {\n\t\t\tlet index = e.detail.current;\n\t\t\tif(index == this.list.length - 1) {\n\t\t\t\tthis.$emit('end');\n\t\t\t}\n\t\t}\n\t}\n};\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"../../libs/css/style.components.scss\";\n\n.u-notice-bar {\n\twidth: 100%;\n\t@include vue-flex;\n\talign-items: center;\n\tjustify-content: center;\n\tflex-wrap: nowrap;\n\tpadding: 18rpx 24rpx;\n\toverflow: hidden;\n}\n\n.u-swiper {\n\tfont-size: 26rpx;\n\theight: 32rpx;\n\t@include vue-flex;\n\talign-items: center;\n\tflex: 1;\n\tmargin-left: 12rpx;\n}\n\n.u-swiper-item {\n\t@include vue-flex;\n\talign-items: center;\n\toverflow: hidden;\n}\n\n.u-news-item {\n\toverflow: hidden;\n}\n\n.u-right-icon {\n\tmargin-left: 12rpx;\n\t/* #ifndef APP-NVUE */\n\tdisplay: inline-flex;\t\t\n\t/* #endif */\n\talign-items: center;\n}\n\n.u-left-icon {\n\t/* #ifndef APP-NVUE */\n\tdisplay: inline-flex;\t\t\n\t/* #endif */\n\talign-items: center;\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-column-notice.vue?vue&type=style&index=0&id=475fdbf0&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-column-notice.vue?vue&type=style&index=0&id=475fdbf0&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536258206\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":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-form-item/u-form-item.js.map
已删除
100644 → 0
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-form-item/u-form-item.vue?9996","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-form-item/u-form-item.vue?c5d0","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-form-item/u-form-item.vue?06c5","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-form-item/u-form-item.vue?980f","uni-app:///uview-ui/components/u-form-item/u-form-item.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-form-item/u-form-item.vue?c544","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-form-item/u-form-item.vue?3379"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoI;AACpI;AAC+D;AACL;AACsC;;;AAGhG;AACmN;AACnN,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,uMAEN;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;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;;;;;;;;;;;;;;AChEA;AAAA;AAAA;AAAA;AAAw1B,CAAgB,yyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC4C52B;AACA,8G;AACA;AACA;;AAEA;;;;;;;;;;;;;;;;;;;AAmBA;AACA,qBADA;AAEA,4BAFA;AAGA;AACA;AACA,aADA,sBACA;AACA;AACA,OAHA,EADA,EAHA;;;AAUA;AACA;AACA;AACA,kBADA;AAEA,iBAFA,EAFA;;AAMA;AACA;AACA,kBADA;AAEA,iBAFA,EAPA;;AAWA;AACA;AACA,6BADA;AAEA,iBAFA,EAZA;;AAgBA;AACA;AACA,kBADA;AAEA,iBAFA,EAjBA;;AAqBA;AACA;AACA,4BADA;AAEA,iBAFA,EAtBA;;AA0BA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EA3BA;;AAiCA;AACA;AACA,kBADA;AAEA,iBAFA,EAlCA;;AAsCA;AACA;AACA,kBADA;AAEA,iBAFA,EAvCA;;AA2CA;AACA;AACA,kBADA;AAEA,iBAFA,EA5CA;;AAgDA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAjDA;;AAuDA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAxDA;;AA8DA;AACA;AACA,mBADA;AAEA,oBAFA,EA/DA,EAVA;;;AA8EA,MA9EA,kBA8EA;AACA;AACA,sBADA,EACA;AACA;AACA,uBAHA,EAGA;AACA,yBAJA,EAIA;AACA;AACA,4BANA;AAOA,oBAPA,EAOA;AACA;AACA;AACA,0BADA;AAEA,sBAFA;AAGA,6BAHA;AAIA,sBAJA;AAKA,0BALA,EATA;;;AAiBA,GAhGA;AAiGA;AACA,iBADA,yBACA,GADA,EACA;AACA;AACA,KAHA;AAIA;AACA,qBALA,0BAKA,GALA,EAKA;AACA;AACA;AACA,KARA,EAjGA;;AA2GA;AACA;AACA,eAFA,yBAEA;AACA;AACA;AACA,kBADA,IACA,MADA;AAEA,KANA;AAOA,aAPA,uBAOA;AACA;AACA;AACA;AACA;AACA;AACA,OALA;AAMA,KAdA;AAeA;AACA,gBAhBA,0BAgBA;AACA;AACA;AACA,gBADA;AAEA,QAFA;AAGA,KArBA;AAsBA;AACA,gBAvBA,0BAuBA;AACA;AACA,QADA;AAEA,KA1BA;AA2BA;AACA,mBA5BA,6BA4BA;AACA;AACA,YADA;AAEA,KA/BA;AAgCA;AACA,gBAjCA,0BAiCA;AACA;AACA,KAnCA;AAoCA;AACA,kBArCA,4BAqCA;AACA;AACA;AACA,UADA;AAEA,KAzCA,EA3GA;;AAsJA;AACA,uBADA,iCACA;AACA;AACA;AACA,KAJA;AAKA;AACA,YANA,sBAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAtBA;;AAwBA;AACA,YAzBA,sBAyBA;AACA;AACA;AACA;AACA;AACA;AACA,KA/BA;;AAiCA;AACA,eAlCA,yBAkCA;AACA;AACA,KApCA;;AAsCA;AACA,iBAvCA,2BAuCA;AACA;AACA,KAzCA;;AA2CA;AACA,mBA5CA,6BA4CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KApDA;;AAsDA;AACA,cAvDA,sBAuDA,OAvDA,EAuDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eADA,EACA,KADA;;AAGA;AACA,eADA,EACA,eADA;AAEA;AACA,yBADA,EAFA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA,OAVA;AAWA,KAlFA;;AAoFA;AACA,cArFA,wBAqFA;AACA;AACA;AACA;AACA,KAzFA,EAtJA;;;AAkPA;AACA,SAnPA,qBAmPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAFA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAFA;AAGA;AACA;AACA,GAzQA;;AA2QA;AACA,eA5QA,2BA4QA;AACA;AACA;AACA;AACA;AACA,OAFA;AAGA;AACA,GAnRA,E;;;;;;;;;;;;ACpEA;AAAA;AAAA;AAAA;AAA2lD,CAAgB,g8CAAG,EAAC,C;;;;;;;;;;;ACA/mD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"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=006449ec&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=006449ec&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 \"006449ec\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"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=006449ec&scoped=true&\"","var components\ntry {\n components = {\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-icon/u-icon\" */ \"@/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 m0 = _vm.validateState === \"error\" && _vm.showError(\"border-bottom\")\n var s0 =\n _vm.required || _vm.leftIcon || _vm.label\n ? _vm.__get_style([\n _vm.elLabelStyle,\n {\n \"justify-content\":\n _vm.elLabelAlign == \"left\"\n ? \"flex-start\"\n : _vm.elLabelAlign == \"center\"\n ? \"center\"\n : \"flex-end\"\n }\n ])\n : null\n var m1 = _vm.validateState === \"error\" && _vm.showError(\"message\")\n var g0 =\n m1 && _vm.elLabelPosition == \"left\"\n ? _vm.$u.addUnit(_vm.elLabelWidth)\n : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n m0: m0,\n s0: s0,\n m1: m1,\n g0: g0\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\" :class=\"{'u-border-bottom': elBorderBottom, 'u-form-item__border-bottom--error': validateState === 'error' && showError('border-bottom')}\">\n\t\t<view class=\"u-form-item__body\" :style=\"{\n\t\t\tflexDirection: elLabelPosition == 'left' ? 'row' : 'column'\n\t\t}\">\n\t\t\t<!-- 微信小程序中,将一个参数设置空字符串,结果会变成字符串\"true\" -->\n\t\t\t<view class=\"u-form-item--left\" :style=\"{\n\t\t\t\twidth: uLabelWidth,\n\t\t\t\tflex: `0 0 ${uLabelWidth}`,\n\t\t\t\tmarginBottom: elLabelPosition == 'left' ? 0 : '0rpx',\n\t\t\t}\">\n\t\t\t\t<!-- 为了块对齐 -->\n\t\t\t\t<view class=\"u-form-item--left__content\" v-if=\"required || leftIcon || label\">\n\t\t\t\t\t<!-- nvue不支持伪元素before -->\n\t\t\t\t\t<text v-if=\"required\" class=\"u-form-item--left__content--required\">*</text>\n\t\t\t\t\t<view class=\"u-form-item--left__content__icon\" v-if=\"leftIcon\">\n\t\t\t\t\t\t<u-icon :name=\"leftIcon\" :custom-style=\"leftIconStyle\"></u-icon>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"u-form-item--left__content__label\" :style=\"[elLabelStyle, {\n\t\t\t\t\t\t'justify-content': elLabelAlign == 'left' ? 'flex-start' : elLabelAlign == 'center' ? 'center' : 'flex-end'\n\t\t\t\t\t}]\">\n\t\t\t\t\t\t{{label}}\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view class=\"u-form-item--right u-flex\">\n\t\t\t\t<view class=\"u-form-item--right__content\">\n\t\t\t\t\t<view class=\"u-form-item--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 class=\"u-form-item--right__content__icon u-flex\" v-if=\"$slots.right || rightIcon\">\n\t\t\t\t\t\t<u-icon :custom-style=\"rightIconStyle\" v-if=\"rightIcon\" :name=\"rightIcon\"></u-icon>\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<view class=\"u-form-item__message\" v-if=\"validateState === 'error' && showError('message')\" :style=\"{\n\t\t\tpaddingLeft: elLabelPosition == 'left' ? $u.addUnit(elLabelWidth) : '0',\n\t\t}\">{{validateMessage}}</view>\n\t</view>\n</template>\n\n<script>\n\timport Emitter from '../../libs/util/emitter.js';\n\timport schema from '../../libs/util/async-validator';\n\t// 去除警告信息\n\tschema.warning = function() {};\n\n\t/**\n\t * form-item 表单item\n\t * @description 此组件一般用于表单场景,可以配置Input输入框,Select弹出框,进行表单验证等。\n\t * @tutorial http://uviewui.com/components/form.html\n\t * @property {String} label 左侧提示文字\n\t * @property {Object} prop 表单域model对象的属性名,在使用 validate、resetFields 方法的情况下,该属性是必填的\n\t * @property {Boolean} border-bottom 是否显示表单域的下划线边框\n\t * @property {String} label-position 表单域提示文字的位置,left-左侧,top-上方\n\t * @property {String Number} label-width 提示文字的宽度,单位rpx(默认90)\n\t * @property {Object} label-style lable的样式,对象形式\n\t * @property {String} label-align lable的对齐方式\n\t * @property {String} right-icon 右侧自定义字体图标(限uView内置图标)或图片地址\n\t * @property {String} left-icon 左侧自定义字体图标(限uView内置图标)或图片地址\n\t * @property {Object} left-icon-style 左侧图标的样式,对象形式\n\t * @property {Object} right-icon-style 右侧图标的样式,对象形式\n\t * @property {Boolean} required 是否显示左边的\"*\"号,这里仅起展示作用,如需校验必填,请通过rules配置必填规则(默认false)\n\t * @example <u-form-item label=\"姓名\"><u-input v-model=\"form.name\" /></u-form-item>\n\t */\n\n\texport default {\n\t\tname: 'u-form-item',\n\t\tmixins: [Emitter],\n\t\tinject: {\n\t\t\tuForm: {\n\t\t\t\tdefault () {\n\t\t\t\t\treturn null\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tprops: {\n\t\t\t// input的label提示语\n\t\t\tlabel: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// 绑定的值\n\t\t\tprop: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// 是否显示表单域的下划线边框\n\t\t\tborderBottom: {\n\t\t\t\ttype: [String, Boolean],\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// label的位置,left-左边,top-上边\n\t\t\tlabelPosition: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// label的宽度,单位rpx\n\t\t\tlabelWidth: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// lable的样式,对象形式\n\t\t\tlabelStyle: {\n\t\t\t\ttype: Object,\n\t\t\t\tdefault () {\n\t\t\t\t\treturn {}\n\t\t\t\t}\n\t\t\t},\n\t\t\t// lable字体的对齐方式\n\t\t\tlabelAlign: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// 右侧图标\n\t\t\trightIcon: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// 左侧图标\n\t\t\tleftIcon: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// 左侧图标的样式\n\t\t\tleftIconStyle: {\n\t\t\t\ttype: Object,\n\t\t\t\tdefault () {\n\t\t\t\t\treturn {}\n\t\t\t\t}\n\t\t\t},\n\t\t\t// 左侧图标的样式\n\t\t\trightIconStyle: {\n\t\t\t\ttype: Object,\n\t\t\t\tdefault () {\n\t\t\t\t\treturn {}\n\t\t\t\t}\n\t\t\t},\n\t\t\t// 是否显示左边的必填星号,只作显示用,具体校验必填的逻辑,请在rules中配置\n\t\t\trequired: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: false\n\t\t\t}\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tinitialValue: '', // 存储的默认值\n\t\t\t\t// isRequired: false, // 是否必填,由于人性化考虑,必填\"*\"号通过props的required配置,不再通过rules的规则自动生成\n\t\t\t\tvalidateState: '', // 是否校验成功\n\t\t\t\tvalidateMessage: '', // 校验失败的提示语\n\t\t\t\t// 有错误时的提示方式,message-提示信息,border-如果input设置了边框,变成呈红色,\n\t\t\t\terrorType: ['message'],\n\t\t\t\tfieldValue: '', // 获取当前子组件input的输入的值\n\t\t\t\t// 父组件的参数,在computed计算中,无法得知this.parent发生变化,故将父组件的参数值,放到data中\n\t\t\t\tparentData: {\n\t\t\t\t\tborderBottom: true,\n\t\t\t\t\tlabelWidth: 90,\n\t\t\t\t\tlabelPosition: 'left',\n\t\t\t\t\tlabelStyle: {},\n\t\t\t\t\tlabelAlign: 'left',\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\twatch: {\n\t\t\tvalidateState(val) {\n\t\t\t\tthis.broadcastInputError();\n\t\t\t},\n\t\t\t// 监听u-form组件的errorType的变化\n\t\t\t\"uForm.errorType\"(val) {\n\t\t\t\tthis.errorType = val;\n\t\t\t\tthis.broadcastInputError();\n\t\t\t},\n\t\t},\n\t\tcomputed: {\n\t\t\t// 计算后的label宽度,由于需要多个判断,故放到computed中\n\t\t\tuLabelWidth() {\n\t\t\t\t// 如果用户设置label为空字符串(微信小程序空字符串最终会变成字符串的'true'),意味着要将label的位置宽度设置为auto\n\t\t\t\treturn this.elLabelPosition == 'left' ? (this.label === 'true' || this.label === '' ? 'auto' : this.$u.addUnit(this\n\t\t\t\t\t.elLabelWidth)) : '100%';\n\t\t\t},\n\t\t\tshowError() {\n\t\t\t\treturn type => {\n\t\t\t\t\t// 如果errorType数组中含有none,或者toast提示类型\n\t\t\t\t\tif (this.errorType.indexOf('none') >= 0) return false;\n\t\t\t\t\telse if (this.errorType.indexOf(type) >= 0) return true;\n\t\t\t\t\telse return false;\n\t\t\t\t}\n\t\t\t},\n\t\t\t// label的宽度\n\t\t\telLabelWidth() {\n\t\t\t\t// label默认宽度为90,优先使用本组件的值,如果没有(如果设置为0,也算是配置了值,依然起效),则用u-form的值\n\t\t\t\treturn (this.labelWidth != 0 || this.labelWidth != '') ? this.labelWidth : (this.parentData.labelWidth ? this.parentData\n\t\t\t\t\t.labelWidth :\n\t\t\t\t\t90);\n\t\t\t},\n\t\t\t// label的样式\n\t\t\telLabelStyle() {\n\t\t\t\treturn Object.keys(this.labelStyle).length ? this.labelStyle : (this.parentData.labelStyle ? this.parentData.labelStyle :\n\t\t\t\t\t{});\n\t\t\t},\n\t\t\t// label的位置,左侧或者上方\n\t\t\telLabelPosition() {\n\t\t\t\treturn this.labelPosition ? this.labelPosition : (this.parentData.labelPosition ? this.parentData.labelPosition :\n\t\t\t\t\t'left');\n\t\t\t},\n\t\t\t// label的对齐方式\n\t\t\telLabelAlign() {\n\t\t\t\treturn this.labelAlign ? this.labelAlign : (this.parentData.labelAlign ? this.parentData.labelAlign : 'left');\n\t\t\t},\n\t\t\t// label的下划线\n\t\t\telBorderBottom() {\n\t\t\t\t// 子组件的borderBottom默认为空字符串,如果不等于空字符串,意味着子组件设置了值,优先使用子组件的值\n\t\t\t\treturn this.borderBottom !== '' ? this.borderBottom : this.parentData.borderBottom ? this.parentData.borderBottom :\n\t\t\t\t\ttrue;\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\tbroadcastInputError() {\n\t\t\t\t// 子组件发出事件,第三个参数为true或者false,true代表有错误\n\t\t\t\tthis.broadcast('u-input', 'on-form-item-error', this.validateState === 'error' && this.showError('border'));\n\t\t\t},\n\t\t\t// 判断是否需要required校验\n\t\t\tsetRules() {\n\t\t\t\tlet that = this;\n\t\t\t\t// 由于人性化考虑,必填\"*\"号通过props的required配置,不再通过rules的规则自动生成\n\t\t\t\t// 从父组件u-form拿到当前u-form-item需要验证 的规则\n\t\t\t\t// let rules = this.getRules();\n\t\t\t\t// if (rules.length) {\n\t\t\t\t// \tthis.isRequired = rules.some(rule => {\n\t\t\t\t// \t\t// 如果有必填项,就返回,没有的话,就是undefined\n\t\t\t\t// \t\treturn rule.required;\n\t\t\t\t// \t});\n\t\t\t\t// }\n\n\t\t\t\t// blur事件\n\t\t\t\tthis.$on('on-form-blur', that.onFieldBlur);\n\t\t\t\t// change事件\n\t\t\t\tthis.$on('on-form-change', that.onFieldChange);\n\t\t\t},\n\n\t\t\t// 从u-form的rules属性中,取出当前u-form-item的校验规则\n\t\t\tgetRules() {\n\t\t\t\t// 父组件的所有规则\n\t\t\t\tlet rules = this.parent.rules;\n\t\t\t\trules = rules ? rules[this.prop] : [];\n\t\t\t\t// 保证返回的是一个数组形式\n\t\t\t\treturn [].concat(rules || []);\n\t\t\t},\n\n\t\t\t// blur事件时进行表单校验\n\t\t\tonFieldBlur() {\n\t\t\t\tthis.validation('blur');\n\t\t\t},\n\n\t\t\t// change事件进行表单校验\n\t\t\tonFieldChange() {\n\t\t\t\tthis.validation('change');\n\t\t\t},\n\n\t\t\t// 过滤出符合要求的rule规则\n\t\t\tgetFilteredRule(triggerType = '') {\n\t\t\t\tlet rules = this.getRules();\n\t\t\t\t// 整体验证表单时,triggerType为空字符串,此时返回所有规则进行验证\n\t\t\t\tif (!triggerType) return rules;\n\t\t\t\t// 历遍判断规则是否有对应的事件,比如blur,change触发等的事件\n\t\t\t\t// 使用indexOf判断,是因为某些时候设置的验证规则的trigger属性可能为多个,比如['blur','change']\n\t\t\t\t// 某些场景可能的判断规则,可能不存在trigger属性,故先判断是否存在此属性\n\t\t\t\treturn rules.filter(res => res.trigger && res.trigger.indexOf(triggerType) !== -1);\n\t\t\t},\n\n\t\t\t// 校验数据\n\t\t\tvalidation(trigger, callback = () => {}) {\n\t\t\t\t// 检验之间,先获取需要校验的值\n\t\t\t\tthis.fieldValue = this.parent.model[this.prop];\n\t\t\t\t// blur和change是否有当前方式的校验规则\n\t\t\t\tlet rules = this.getFilteredRule(trigger);\n\t\t\t\t// 判断是否有验证规则,如果没有规则,也调用回调方法,否则父组件u-form会因为\n\t\t\t\t// 对count变量的统计错误而无法进入上一层的回调\n\t\t\t\tif (!rules || rules.length === 0) {\n\t\t\t\t\treturn callback('');\n\t\t\t\t}\n\t\t\t\t// 设置当前的装填,标识为校验中\n\t\t\t\tthis.validateState = 'validating';\n\t\t\t\t// 调用async-validator的方法\n\t\t\t\tlet validator = new schema({\n\t\t\t\t\t[this.prop]: rules\n\t\t\t\t});\n\t\t\t\tvalidator.validate({\n\t\t\t\t\t[this.prop]: this.fieldValue\n\t\t\t\t}, {\n\t\t\t\t\tfirstFields: true\n\t\t\t\t}, (errors, fields) => {\n\t\t\t\t\t// 记录状态和报错信息\n\t\t\t\t\tthis.validateState = !errors ? 'success' : 'error';\n\t\t\t\t\tthis.validateMessage = errors ? errors[0].message : '';\n\t\t\t\t\t// 调用回调方法\n\t\t\t\t\tcallback(this.validateMessage);\n\t\t\t\t});\n\t\t\t},\n\n\t\t\t// 清空当前的u-form-item\n\t\t\tresetField() {\n\t\t\t\tthis.parent.model[this.prop] = this.initialValue;\n\t\t\t\t// 设置为`success`状态,只是为了清空错误标记\n\t\t\t\tthis.validateState = 'success';\n\t\t\t}\n\t\t},\n\n\t\t// 组件创建完成时,将当前实例保存到u-form中\n\t\tmounted() {\n\t\t\t// 支付宝、头条小程序不支持provide/inject,所以使用这个方法获取整个父组件,在created定义,避免循环应用\n\t\t\tthis.parent = this.$u.$parent.call(this, 'u-form');\n\t\t\tif (this.parent) {\n\t\t\t\t// 历遍parentData中的属性,将parent中的同名属性赋值给parentData\n\t\t\t\tObject.keys(this.parentData).map(key => {\n\t\t\t\t\tthis.parentData[key] = this.parent[key];\n\t\t\t\t});\n\t\t\t\t// 如果没有传入prop,或者uForm为空(如果u-form-input单独使用,就不会有uForm注入),就不进行校验\n\t\t\t\tif (this.prop) {\n\t\t\t\t\t// 将本实例添加到父组件中\n\t\t\t\t\tthis.parent.fields.push(this);\n\t\t\t\t\tthis.errorType = this.parent.errorType;\n\t\t\t\t\t// 设置初始值\n\t\t\t\t\tthis.initialValue = this.fieldValue;\n\t\t\t\t\t// 添加表单校验,这里必须要写在$nextTick中,因为u-form的rules是通过ref手动传入的\n\t\t\t\t\t// 不在$nextTick中的话,可能会造成执行此处代码时,父组件还没通过ref把规则给u-form,导致规则为空\n\t\t\t\t\tthis.$nextTick(() => {\n\t\t\t\t\t\tthis.setRules();\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\t// 组件销毁前,将实例从u-form的缓存中移除\n\t\tbeforeDestroy() {\n\t\t\t// 如果当前没有prop的话表示当前不要进行删除(因为没有注入)\n\t\t\tif (this.parent && this.prop) {\n\t\t\t\tthis.parent.fields.map((item, index) => {\n\t\t\t\t\tif (item === this) this.parent.fields.splice(index, 1);\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/style.components.scss\";\n\n\t.u-form-item {\n\t\t@include vue-flex;\n\t\t// align-items: flex-start;\n\t\tpadding: 20rpx 0;\n\t\tfont-size: 28rpx;\n\t\tcolor: $u-main-color;\n\t\tbox-sizing: border-box;\n\t\tline-height: $u-form-item-height;\n\t\tflex-direction: column;\n\n\t\t&__border-bottom--error:after {\n\t\t\tborder-color: $u-type-error;\n\t\t}\n\n\t\t&__body {\n\t\t\t@include vue-flex;\n\t\t}\n\n\t\t&--left {\n\t\t\t@include vue-flex;\n\t\t\talign-items: center;\n\n\t\t\t&__content {\n\t\t\t\tposition: relative;\n\t\t\t\t@include vue-flex;\n\t\t\t\talign-items: center;\n\t\t\t\tpadding-right: 10rpx;\n\t\t\t\tflex: 1;\n\t\t\t\tline-height: 28rpx;\n\t\t\t\tmargin-top: 16rpx;\n\n\t\t\t\t&__icon {\n\t\t\t\t\tmargin-right: 8rpx;\n\t\t\t\t}\n\n\t\t\t\t&--required {\n\t\t\t\t\tposition: absolute;\n\t\t\t\t\tleft: -16rpx;\n\t\t\t\t\tvertical-align: middle;\n\t\t\t\t\tcolor: $u-type-error;\n\t\t\t\t\tpadding-top: 6rpx;\n\t\t\t\t}\n\n\t\t\t\t&__label {\n\t\t\t\t\t@include vue-flex;\n\t\t\t\t\talign-items: center;\n\t\t\t\t\tflex: 1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t&--right {\n\t\t\tflex: 1;\n\n\t\t\t&__content {\n\t\t\t\t@include vue-flex;\n\t\t\t\talign-items: center;\n\t\t\t\tflex: 1;\n\n\t\t\t\t&__slot {\n\t\t\t\t\tflex: 1;\n\t\t\t\t\t/* #ifndef MP */\n\t\t\t\t\t@include vue-flex;\n\t\t\t\t\talign-items: center;\n\t\t\t\t\t/* #endif */\n\t\t\t\t}\n\n\t\t\t\t&__icon {\n\t\t\t\t\tmargin-left: 10rpx;\n\t\t\t\t\tcolor: $u-light-color;\n\t\t\t\t\tfont-size: 30rpx;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t&__message {\n\t\t\tfont-size: 24rpx;\n\t\t\tline-height: 24rpx;\n\t\t\tcolor: $u-type-error;\n\t\t\tmargin-top: 12rpx;\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=006449ec&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=006449ec&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536258056\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":""} |
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-form/u-form.vue?f50e","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-form/u-form.vue?24d9","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-form/u-form.vue?9a70","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-form/u-form.vue?e192","uni-app:///uview-ui/components/u-form/u-form.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-form/u-form.vue?d493","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-form/u-form.vue?ce60"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AACmN;AACnN,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;AAAm1B,CAAgB,oyBAAG,EAAC,C;;;;;;;;;;;;;;;;;ACKv2B;;;;;;;;;;;;;;;AAeA;AACA,gBADA;AAEA;AACA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAFA;;AAQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAjBA;;AAuBA;AACA;AACA,mBADA;AAEA,mBAFA,EAxBA;;AA4BA;AACA;AACA,kBADA;AAEA,qBAFA,EA7BA;;AAiCA;AACA;AACA,4BADA;AAEA,iBAFA,EAlCA;;AAsCA;AACA;AACA,kBADA;AAEA,qBAFA,EAvCA;;AA2CA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EA5CA,EAFA;;;AAqDA,SArDA,qBAqDA;AACA;AACA,iBADA;;AAGA,GAzDA;AA0DA,MA1DA,kBA0DA;AACA;AACA,eADA;;AAGA,GA9DA;AA+DA,SA/DA,qBA+DA;AACA;AACA;AACA;AACA,GAnEA;AAoEA;AACA,YADA,oBACA,KADA,EACA;AACA;AACA,KAHA;AAIA;AACA,eALA,yBAKA;AACA;AACA;AACA,OAFA;AAGA,KATA;AAUA;AACA,YAXA,oBAWA,QAXA,EAWA;AACA;AACA;AACA,yBAFA,CAEA;AACA,sBAHA,CAGA;AACA,0BAJA,CAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BADA,CACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAhBA;AAiBA,SAnBA;AAoBA,OAzBA;AA0BA,KAtCA,EApEA,E;;;;;;;;;;;;ACpBA;AAAA;AAAA;AAAA;AAAslD,CAAgB,27CAAG,EAAC,C;;;;;;;;;;;ACA1mD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-form/u-form.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-form.vue?vue&type=template&id=5dd1f800&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&\"\nimport style0 from \"./u-form.vue?vue&type=style&index=0&id=5dd1f800&scoped=true&lang=scss&\"\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 \"5dd1f800\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"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=5dd1f800&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>\n\t<view class=\"u-form\"><slot /></view>\n</template>\n\n<script>\n\t/**\n\t * form 表单\n\t * @description 此组件一般用于表单场景,可以配置Input输入框,Select弹出框,进行表单验证等。\n\t * @tutorial http://uviewui.com/components/form.html\n\t * @property {Object} model 表单数据对象\n\t * @property {Boolean} border-bottom 是否显示表单域的下划线边框\n\t * @property {String} label-position 表单域提示文字的位置,left-左侧,top-上方\n\t * @property {String Number} label-width 提示文字的宽度,单位rpx(默认90)\n\t * @property {Object} label-style lable的样式,对象形式\n\t * @property {String} label-align lable的对齐方式\n\t * @property {Object} rules 通过ref设置,见官网说明\n\t * @property {Array} error-type 错误的提示方式,数组形式,见上方说明(默认['message'])\n\t * @example <u-form :model=\"form\" ref=\"uForm\"></u-form>\n\t */\n\nexport default {\n\tname: 'u-form',\n\tprops: {\n\t\t// 当前form的需要验证字段的集合\n\t\tmodel: {\n\t\t\ttype: Object,\n\t\t\tdefault() {\n\t\t\t\treturn {};\n\t\t\t}\n\t\t},\n\t\t// 验证规则\n\t\t// rules: {\n\t\t// \ttype: [Object, Function, Array],\n\t\t// \tdefault() {\n\t\t// \t\treturn {};\n\t\t// \t}\n\t\t// },\n\t\t// 有错误时的提示方式,message-提示信息,border-如果input设置了边框,变成呈红色,\n\t\t// border-bottom-下边框呈现红色,none-无提示\n\t\terrorType: {\n\t\t\ttype: Array,\n\t\t\tdefault() {\n\t\t\t\treturn ['message', 'toast']\n\t\t\t}\n\t\t},\n\t\t// 是否显示表单域的下划线边框\n\t\tborderBottom: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// label的位置,left-左边,top-上边\n\t\tlabelPosition: {\n\t\t\ttype: String,\n\t\t\tdefault: 'left'\n\t\t},\n\t\t// label的宽度,单位rpx\n\t\tlabelWidth: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: 90\n\t\t},\n\t\t// lable字体的对齐方式\n\t\tlabelAlign: {\n\t\t\ttype: String,\n\t\t\tdefault: 'left'\n\t\t},\n\t\t// lable的样式,对象形式\n\t\tlabelStyle: {\n\t\t\ttype: Object,\n\t\t\tdefault() {\n\t\t\t\treturn {}\n\t\t\t}\n\t\t},\n\t},\n\tprovide() {\n\t\treturn {\n\t\t\tuForm: this\n\t\t};\n\t},\n\tdata() {\n\t\treturn {\n\t\t\trules: {}\n\t\t};\n\t},\n\tcreated() {\n\t\t// 存储当前form下的所有u-form-item的实例\n\t\t// 不能定义在data中,否则微信小程序会造成循环引用而报错\n\t\tthis.fields = [];\n\t},\n\tmethods: {\n\t\tsetRules(rules) {\n\t\t\tthis.rules = rules;\n\t\t},\n\t\t// 清空所有u-form-item组件的内容,本质上是调用了u-form-item组件中的resetField()方法\n\t\tresetFields() {\n\t\t\tthis.fields.map(field => {\n\t\t\t\tfield.resetField();\n\t\t\t});\n\t\t},\n\t\t// 校验全部数据\n\t\tvalidate(callback) {\n\t\t\treturn new Promise(resolve => {\n\t\t\t\t// 对所有的u-form-item进行校验\n\t\t\t\tlet valid = true; // 默认通过\n\t\t\t\tlet count = 0; // 用于标记是否检查完毕\n\t\t\t\tlet errorArr = []; // 存放错误信息\n\t\t\t\tthis.fields.map(field => {\n\t\t\t\t\t// 调用每一个u-form-item实例的validation的校验方法\n\t\t\t\t\tfield.validation('', error => {\n\t\t\t\t\t\t// 如果任意一个u-form-item校验不通过,就意味着整个表单不通过\n\t\t\t\t\t\tif (error) {\n\t\t\t\t\t\t\tvalid = false;\n\t\t\t\t\t\t\terrorArr.push(error);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// 当历遍了所有的u-form-item时,调用promise的then方法\n\t\t\t\t\t\tif (++count === this.fields.length) {\n\t\t\t\t\t\t\tresolve(valid); // 进入promise的then方法\n\t\t\t\t\t\t\t// 判断是否设置了toast的提示方式,只提示最前面的表单域的第一个错误信息\n\t\t\t\t\t\t\tif(this.errorType.indexOf('none') === -1 && this.errorType.indexOf('toast') >= 0 && errorArr.length) {\n\t\t\t\t\t\t\t\tthis.$u.toast(errorArr[0]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// 调用回调方法\n\t\t\t\t\t\t\tif (typeof callback == 'function') callback(valid);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t});\n\t\t}\n\t}\n};\n</script>\n\n<style scoped lang=\"scss\">\n@import \"../../libs/css/style.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-form.vue?vue&type=style&index=0&id=5dd1f800&scoped=true&lang=scss&\"; 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.vue?vue&type=style&index=0&id=5dd1f800&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536257867\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":""} |
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-icon/u-icon.vue?ec18","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-icon/u-icon.vue?1989","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-icon/u-icon.vue?3836","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-icon/u-icon.vue?a0da","uni-app:///uview-ui/components/u-icon/u-icon.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-icon/u-icon.vue?621a","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-icon/u-icon.vue?3119"],"names":[],"mappings":"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","file":"uview-ui/components/u-icon/u-icon.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-icon.vue?vue&type=template&id=6e20bb40&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=6e20bb40&scoped=true&lang=scss&\"\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 \"6e20bb40\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"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=6e20bb40&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.customStyle])\n\n var s1 = _vm.isImg ? _vm.__get_style([_vm.imgStyle]) : null\n var s2 = !_vm.isImg ? _vm.__get_style([_vm.iconStyle]) : null\n var s3 =\n !_vm.isImg && _vm.showDecimalIcon\n ? _vm.__get_style([_vm.decimalIconStyle])\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.marginLeft)\n : null\n var g2 =\n _vm.label !== \"\" && _vm.labelPos == \"bottom\"\n ? _vm.$u.addUnit(_vm.marginTop)\n : null\n var g3 =\n _vm.label !== \"\" && _vm.labelPos == \"left\"\n ? _vm.$u.addUnit(_vm.marginRight)\n : null\n var g4 =\n _vm.label !== \"\" && _vm.labelPos == \"top\"\n ? _vm.$u.addUnit(_vm.marginBottom)\n : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n s1: s1,\n s2: s2,\n s3: s3,\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 :style=\"[customStyle]\" class=\"u-icon\" @tap=\"click\" :class=\"['u-icon--' + labelPos]\">\n\t\t<image class=\"u-icon__img\" v-if=\"isImg\" :src=\"name\" :mode=\"imgMode\" :style=\"[imgStyle]\"></image>\n\t\t<text v-else class=\"u-icon__icon\" :class=\"customClass\" :style=\"[iconStyle]\" :hover-class=\"hoverClass\"\n\t\t\t @touchstart=\"touchstart\">\n\t\t\t<text v-if=\"showDecimalIcon\" :style=\"[decimalIconStyle]\" :class=\"decimalIconClass\" :hover-class=\"hoverClass\"\n\t\t\t\t class=\"u-icon__decimal\">\n\t\t\t</text>\n\t\t</text>\n\t\t<!-- 这里进行空字符串判断,如果仅仅是v-if=\"label\",可能会出现传递0的时候,结果也无法显示 -->\n\t\t<text v-if=\"label !== ''\" class=\"u-icon__label\" :style=\"{\n\t\t\tcolor: labelColor,\n\t\t\tfontSize: $u.addUnit(labelSize),\n\t\t\tmarginLeft: labelPos == 'right' ? $u.addUnit(marginLeft) : 0,\n\t\t\tmarginTop: labelPos == 'bottom' ? $u.addUnit(marginTop) : 0,\n\t\t\tmarginRight: labelPos == 'left' ? $u.addUnit(marginRight) : 0,\n\t\t\tmarginBottom: labelPos == 'top' ? $u.addUnit(marginBottom) : 0,\n\t\t}\">{{ label }}\n\t\t</text>\n\t</view>\n</template>\n\n<script>\n/**\n * icon 图标\n * @description 基于字体的图标集,包含了大多数常见场景的图标。\n * @tutorial https://www.uviewui.com/components/icon.html\n * @property {String} name 图标名称,见示例图标集\n * @property {String} color 图标颜色(默认inherit)\n * @property {String | Number} size 图标字体大小,单位rpx(默认32)\n * @property {String | Number} label-size label字体大小,单位rpx(默认28)\n * @property {String} label 图标右侧的label文字(默认28)\n * @property {String} label-pos label文字相对于图标的位置,只能right或bottom(默认right)\n * @property {String} label-color label字体颜色(默认#606266)\n * @property {Object} custom-style icon的样式,对象形式\n * @property {String} custom-prefix 自定义字体图标库时,需要写上此值\n * @property {String | Number} margin-left label在右侧时与图标的距离,单位rpx(默认6)\n * @property {String | Number} margin-top label在下方时与图标的距离,单位rpx(默认6)\n * @property {String | Number} margin-bottom label在上方时与图标的距离,单位rpx(默认6)\n * @property {String | Number} margin-right label在左侧时与图标的距离,单位rpx(默认6)\n * @property {String} label-pos label相对于图标的位置,只能right或bottom(默认right)\n * @property {String} index 一个用于区分多个图标的值,点击图标时通过click事件传出\n * @property {String} hover-class 图标按下去的样式类,用法同uni的view组件的hover-class参数,详情见官网\n * @property {String} width 显示图片小图标时的宽度\n * @property {String} height 显示图片小图标时的高度\n * @property {String} top 图标在垂直方向上的定位\n * @property {String} top 图标在垂直方向上的定位\n * @property {String} top 图标在垂直方向上的定位\n * @property {Boolean} show-decimal-icon 是否为DecimalIcon\n * @property {String} inactive-color 背景颜色,可接受主题色,仅Decimal时有效\n * @property {String | Number} percent 显示的百分比,仅Decimal时有效\n * @event {Function} click 点击图标时触发\n * @example <u-icon name=\"photo\" color=\"#2979ff\" size=\"28\"></u-icon>\n */\nexport default {\n\tname: 'u-icon',\n\tprops: {\n\t\t// 图标类名\n\t\tname: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 图标颜色,可接受主题色\n\t\tcolor: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 字体大小,单位rpx\n\t\tsize: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: 'inherit'\n\t\t},\n\t\t// 是否显示粗体\n\t\tbold: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 点击图标的时候传递事件出去的index(用于区分点击了哪一个)\n\t\tindex: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: ''\n\t\t},\n\t\t// 触摸图标时的类名\n\t\thoverClass: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 自定义扩展前缀,方便用户扩展自己的图标库\n\t\tcustomPrefix: {\n\t\t\ttype: String,\n\t\t\tdefault: 'uicon'\n\t\t},\n\t\t// 图标右边或者下面的文字\n\t\tlabel: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: ''\n\t\t},\n\t\t// label的位置,只能右边或者下边\n\t\tlabelPos: {\n\t\t\ttype: String,\n\t\t\tdefault: 'right'\n\t\t},\n\t\t// label的大小\n\t\tlabelSize: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: '28'\n\t\t},\n\t\t// label的颜色\n\t\tlabelColor: {\n\t\t\ttype: String,\n\t\t\tdefault: '#606266'\n\t\t},\n\t\t// label与图标的距离(横向排列)\n\t\tmarginLeft: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: '6'\n\t\t},\n\t\t// label与图标的距离(竖向排列)\n\t\tmarginTop: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: '6'\n\t\t},\n\t\t// label与图标的距离(竖向排列)\n\t\tmarginRight: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: '6'\n\t\t},\n\t\t// label与图标的距离(竖向排列)\n\t\tmarginBottom: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: '6'\n\t\t},\n\t\t// 图片的mode\n\t\timgMode: {\n\t\t\ttype: String,\n\t\t\tdefault: 'widthFix'\n\t\t},\n\t\t// 自定义样式\n\t\tcustomStyle: {\n\t\t\ttype: Object,\n\t\t\tdefault() {\n\t\t\t\treturn {}\n\t\t\t}\n\t\t},\n\t\t// 用于显示图片小图标时,图片的宽度\n\t\twidth: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: ''\n\t\t},\n\t\t// 用于显示图片小图标时,图片的高度\n\t\theight: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: ''\n\t\t},\n\t\t// 用于解决某些情况下,让图标垂直居中的用途\n\t\ttop: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: 0\n\t\t},\n\t\t// 是否为DecimalIcon\n\t\tshowDecimalIcon: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 背景颜色,可接受主题色,仅Decimal时有效\n\t\tinactiveColor: {\n\t\t\ttype: String,\n\t\t\tdefault: '#ececec'\n\t\t},\n\t\t// 显示的百分比,仅Decimal时有效\n\t\tpercent: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: '50'\n\t\t}\n\t},\n\tcomputed: {\n\t\tcustomClass() {\n\t\t\tlet classes = []\n\t\t\tclasses.push(this.customPrefix + '-' + this.name)\n\t\t\t// uView的自定义图标类名为u-iconfont\n\t\t\tif (this.customPrefix == 'uicon') {\n\t\t\t\tclasses.push('u-iconfont')\n\t\t\t} else {\n\t\t\t\tclasses.push(this.customPrefix)\n\t\t\t}\n\t\t\t// 主题色,通过类配置\n\t\t\tif (this.showDecimalIcon && this.inactiveColor && this.$u.config.type.includes(this.inactiveColor)) {\n\t\t\t\tclasses.push('u-icon__icon--' + this.inactiveColor)\n\t\t\t} else if (this.color && this.$u.config.type.includes(this.color)) classes.push('u-icon__icon--' + this.color)\n\t\t\t// 阿里,头条,百度小程序通过数组绑定类名时,无法直接使用[a, b, c]的形式,否则无法识别\n\t\t\t// 故需将其拆成一个字符串的形式,通过空格隔开各个类名\n\t\t\t//#ifdef MP-ALIPAY || MP-TOUTIAO || MP-BAIDU\n\t\t\tclasses = classes.join(' ')\n\t\t\t//#endif\n\t\t\treturn classes\n\t\t},\n\t\ticonStyle() {\n\t\t\tlet style = {}\n\t\t\tstyle = {\n\t\t\t\tfontSize: this.size == 'inherit' ? 'inherit' : this.$u.addUnit(this.size),\n\t\t\t\tfontWeight: this.bold ? 'bold' : 'normal',\n\t\t\t\t// 某些特殊情况需要设置一个到顶部的距离,才能更好的垂直居中\n\t\t\t\ttop: this.$u.addUnit(this.top)\n\t\t\t}\n\t\t\t// 非主题色值时,才当作颜色值\n\t\t\tif (this.showDecimalIcon && this.inactiveColor && !this.$u.config.type.includes(this.inactiveColor)) {\n\t\t\t\tstyle.color = this.inactiveColor\n\t\t\t} else if (this.color && !this.$u.config.type.includes(this.color)) style.color = this.color\n\n\t\t\treturn style\n\t\t},\n\t\t// 判断传入的name属性,是否图片路径,只要带有\"/\"均认为是图片形式\n\t\tisImg() {\n\t\t\treturn this.name.indexOf('/') !== -1\n\t\t},\n\t\timgStyle() {\n\t\t\tlet style = {}\n\t\t\t// 如果设置width和height属性,则优先使用,否则使用size属性\n\t\t\tstyle.width = this.width ? this.$u.addUnit(this.width) : this.$u.addUnit(this.size)\n\t\t\tstyle.height = this.height ? this.$u.addUnit(this.height) : this.$u.addUnit(this.size)\n\t\t\treturn style\n\t\t},\n\t\tdecimalIconStyle() {\n\t\t\tlet style = {}\n\t\t\tstyle = {\n\t\t\t\tfontSize: this.size == 'inherit' ? 'inherit' : this.$u.addUnit(this.size),\n\t\t\t\tfontWeight: this.bold ? 'bold' : 'normal',\n\t\t\t\t// 某些特殊情况需要设置一个到顶部的距离,才能更好的垂直居中\n\t\t\t\ttop: this.$u.addUnit(this.top),\n\t\t\t\twidth: this.percent + '%'\n\t\t\t}\n\t\t\t// 非主题色值时,才当作颜色值\n\t\t\tif (this.color && !this.$u.config.type.includes(this.color)) style.color = this.color\n\t\t\treturn style\n\t\t},\n\t\tdecimalIconClass() {\n\t\t\tlet classes = []\n\t\t\tclasses.push(this.customPrefix + '-' + this.name)\n\t\t\t// uView的自定义图标类名为u-iconfont\n\t\t\tif (this.customPrefix == 'uicon') {\n\t\t\t\tclasses.push('u-iconfont')\n\t\t\t} else {\n\t\t\t\tclasses.push(this.customPrefix)\n\t\t\t}\n\t\t\t// 主题色,通过类配置\n\t\t\tif (this.color && this.$u.config.type.includes(this.color)) classes.push('u-icon__icon--' + this.color)\n\t\t\telse classes.push('u-icon__icon--primary')\n\t\t\t// 阿里,头条,百度小程序通过数组绑定类名时,无法直接使用[a, b, c]的形式,否则无法识别\n\t\t\t// 故需将其拆成一个字符串的形式,通过空格隔开各个类名\n\t\t\t//#ifdef MP-ALIPAY || MP-TOUTIAO || MP-BAIDU\n\t\t\tclasses = classes.join(' ')\n\t\t\t//#endif\n\t\t\treturn classes\n\t\t}\n\t},\n\tmethods: {\n\t\tclick() {\n\t\t\tthis.$emit('click', this.index)\n\t\t},\n\t\ttouchstart() {\n\t\t\tthis.$emit('touchstart', this.index)\n\t\t}\n\t}\n}\n</script>\n\n<style scoped lang=\"scss\">\n@import \"../../libs/css/style.components.scss\";\n@import '../../iconfont.css';\n\n.u-icon {\n\tdisplay: inline-flex;\n\talign-items: center;\n\n\t&--left {\n\t\tflex-direction: row-reverse;\n\t\talign-items: center;\n\t}\n\n\t&--right {\n\t\tflex-direction: row;\n\t\talign-items: center;\n\t}\n\n\t&--top {\n\t\tflex-direction: column-reverse;\n\t\tjustify-content: center;\n\t}\n\n\t&--bottom {\n\t\tflex-direction: column;\n\t\tjustify-content: center;\n\t}\n\n\t&__icon {\n\t\tposition: relative;\n\n\t\t&--primary {\n\t\t\tcolor: $u-type-primary;\n\t\t}\n\n\t\t&--success {\n\t\t\tcolor: $u-type-success;\n\t\t}\n\n\t\t&--error {\n\t\t\tcolor: $u-type-error;\n\t\t}\n\n\t\t&--warning {\n\t\t\tcolor: $u-type-warning;\n\t\t}\n\n\t\t&--info {\n\t\t\tcolor: $u-type-info;\n\t\t}\n\t}\n\n\t&__decimal {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tdisplay: inline-block;\n\t\toverflow: hidden;\n\t}\n\n\t&__img {\n\t\theight: auto;\n\t\twill-change: transform;\n\t}\n\n\t&__label {\n\t\tline-height: 1;\n\t}\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-icon.vue?vue&type=style&index=0&id=6e20bb40&scoped=true&lang=scss&\"; 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=6e20bb40&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536257939\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":""} |
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-image/u-image.vue?d1f0","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-image/u-image.vue?d6d2","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-image/u-image.vue?18db","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-image/u-image.vue?1ee8","uni-app:///uview-ui/components/u-image/u-image.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-image/u-image.vue?53f6","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-image/u-image.vue?dd5e"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AACmN;AACnN,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,uMAEN;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,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1DA;AAAA;AAAA;AAAA;AAAo1B,CAAgB,qyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwCx2B;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BA;AACA,iBADA;AAEA;AACA;AACA;AACA,kBADA;AAEA,iBAFA,EAFA;;AAMA;AACA;AACA,kBADA;AAEA,2BAFA,EAPA;;AAWA;AACA;AACA,4BADA;AAEA,qBAFA,EAZA;;AAgBA;AACA;AACA,4BADA;AAEA,qBAFA,EAjBA;;AAqBA;AACA;AACA,kBADA;AAEA,uBAFA,EAtBA;;AA0BA;AACA;AACA,4BADA;AAEA,gBAFA,EA3BA;;AA+BA;AACA;AACA,mBADA;AAEA,mBAFA,EAhCA;;AAoCA;AACA;AACA,mBADA;AAEA,mBAFA,EArCA;;AAyCA;AACA;AACA,kBADA;AAEA,sBAFA,EA1CA;;AA8CA;AACA;AACA,kBADA;AAEA,6BAFA,EA/CA;;AAmDA;AACA;AACA,mBADA;AAEA,mBAFA,EApDA;;AAwDA;AACA;AACA,mBADA;AAEA,mBAFA,EAzDA;;AA6DA;AACA;AACA,mBADA;AAEA,mBAFA,EA9DA;;AAkEA;AACA;AACA,mBADA;AAEA,oBAFA,EAnEA;;AAuEA;AACA;AACA,4BADA;AAEA,kBAFA,EAxEA;;AA4EA;AACA;AACA,kBADA;AAEA,wBAFA,EA7EA,EAFA;;;AAoFA,MApFA,kBAoFA;AACA;AACA;AACA,oBAFA;AAGA;AACA,mBAJA;AAKA;AACA,gBANA;AAOA;AACA,iCARA;AASA;AACA,yBAVA;;AAYA,GAjGA;AAkGA;AACA;AACA,qBADA;AAEA,aAFA,mBAEA,CAFA,EAEA;AACA;AACA;AACA;AACA;AACA,SAJA,MAIA;AACA;AACA;AACA;AACA,OAXA,EADA,EAlGA;;;AAiHA;AACA,aADA,uBACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAfA,EAjHA;;AAkIA;AACA;AACA,WAFA,qBAEA;AACA;AACA,KAJA;AAKA;AACA,kBANA,0BAMA,GANA,EAMA;AACA;AACA;AACA;AACA,KAVA;AAWA;AACA,iBAZA,2BAYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAFA,EAEA,kBAFA;AAGA,OANA,EAMA,EANA;AAOA,KAhCA;AAiCA;AACA,iBAlCA,2BAkCA;AACA;AACA;AACA,sCADA;;AAGA,KAvCA,EAlIA,E;;;;;;;;;;;;AClEA;AAAA;AAAA;AAAA;AAAulD,CAAgB,47CAAG,EAAC,C;;;;;;;;;;;ACA3mD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-image/u-image.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-image.vue?vue&type=template&id=32babe48&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=32babe48&scoped=true&lang=scss&\"\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 \"32babe48\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"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=32babe48&scoped=true&\"","var components\ntry {\n components = {\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-icon/u-icon\" */ \"@/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\")\n ? _vm.$u.addUnit(_vm.borderRadius)\n : null\n var g1 =\n _vm.showLoading && _vm.loading && !(_vm.shape == \"circle\")\n ? _vm.$u.addUnit(_vm.borderRadius)\n : null\n var g2 =\n _vm.showError && _vm.isError && !_vm.loading && !(_vm.shape == \"circle\")\n ? _vm.$u.addUnit(_vm.borderRadius)\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 }\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<view class=\"u-image\" @tap=\"onClick\" :style=\"[wrapStyle, backgroundStyle]\">\n\t\t<image\n\t\t\tv-if=\"!isError\"\n\t\t\t:src=\"src\"\n\t\t\t:mode=\"mode\"\n\t\t\t@error=\"onErrorHandler\"\n\t\t\t@load=\"onLoadHandler\"\n\t\t\t:lazy-load=\"lazyLoad\"\n\t\t\tclass=\"u-image__image\"\n\t\t\t:show-menu-by-longpress=\"showMenuByLongpress\"\n\t\t\t:style=\"{\n\t\t\t\tborderRadius: shape == 'circle' ? '50%' : $u.addUnit(borderRadius)\n\t\t\t}\"\n\t\t></image>\n\t\t<view\n\t\t\tv-if=\"showLoading && loading\"\n\t\t\tclass=\"u-image__loading\"\n\t\t\t:style=\"{\n\t\t\t\tborderRadius: shape == 'circle' ? '50%' : $u.addUnit(borderRadius),\n\t\t\t\tbackgroundColor: this.bgColor\n\t\t\t}\"\n\t\t>\n\t\t\t<slot v-if=\"$slots.loading\" name=\"loading\" />\n\t\t\t<u-icon v-else :name=\"loadingIcon\" :width=\"width\" :height=\"height\"></u-icon>\n\t\t</view>\n\t\t<view\n\t\t\tv-if=\"showError && isError && !loading\"\n\t\t\tclass=\"u-image__error\"\n\t\t\t:style=\"{\n\t\t\t\tborderRadius: shape == 'circle' ? '50%' : $u.addUnit(borderRadius)\n\t\t\t}\"\n\t\t>\n\t\t\t<slot v-if=\"$slots.error\" name=\"error\" />\n\t\t\t<u-icon v-else :name=\"errorIcon\" :width=\"width\" :height=\"height\"></u-icon>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n/**\n * Image 图片\n * @description 此组件为uni-app的image组件的加强版,在继承了原有功能外,还支持淡入动画、加载中、加载失败提示、圆角值和形状等。\n * @tutorial https://uviewui.com/components/image.html\n * @property {String} src 图片地址\n * @property {String} mode 裁剪模式,见官网说明\n * @property {String | Number} width 宽度,单位任意,如果为数值,则为rpx单位(默认100%)\n * @property {String | Number} height 高度,单位任意,如果为数值,则为rpx单位(默认 auto)\n * @property {String} shape 图片形状,circle-圆形,square-方形(默认square)\n * @property {String | Number} border-radius 圆角值,单位任意,如果为数值,则为rpx单位(默认 0)\n * @property {Boolean} lazy-load 是否懒加载,仅微信小程序、App、百度小程序、字节跳动小程序有效(默认 true)\n * @property {Boolean} show-menu-by-longpress 是否开启长按图片显示识别小程序码菜单,仅微信小程序有效(默认 false)\n * @property {String} loading-icon 加载中的图标,或者小图片(默认 photo)\n * @property {String} error-icon 加载失败的图标,或者小图片(默认 error-circle)\n * @property {Boolean} show-loading 是否显示加载中的图标或者自定义的slot(默认 true)\n * @property {Boolean} show-error 是否显示加载错误的图标或者自定义的slot(默认 true)\n * @property {Boolean} fade 是否需要淡入效果(默认 true)\n * @property {String Number} width 传入图片路径时图片的宽度\n * @property {String Number} height 传入图片路径时图片的高度\n * @property {Boolean} webp 只支持网络资源,只对微信小程序有效(默认 false)\n * @property {String | Number} duration 搭配fade参数的过渡时间,单位ms(默认 500)\n * @event {Function} click 点击图片时触发\n * @event {Function} error 图片加载失败时触发\n * @event {Function} load 图片加载成功时触发\n * @example <u-image width=\"100%\" height=\"300rpx\" :src=\"src\"></u-image>\n */\nexport default {\n\tname: 'u-image',\n\tprops: {\n\t\t// 图片地址\n\t\tsrc: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 裁剪模式\n\t\tmode: {\n\t\t\ttype: String,\n\t\t\tdefault: 'aspectFill'\n\t\t},\n\t\t// 宽度,单位任意\n\t\twidth: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: '100%'\n\t\t},\n\t\t// 高度,单位任意\n\t\theight: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: 'auto'\n\t\t},\n\t\t// 图片形状,circle-圆形,square-方形\n\t\tshape: {\n\t\t\ttype: String,\n\t\t\tdefault: 'square'\n\t\t},\n\t\t// 圆角,单位任意\n\t\tborderRadius: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: 0\n\t\t},\n\t\t// 是否懒加载,微信小程序、App、百度小程序、字节跳动小程序\n\t\tlazyLoad: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 开启长按图片显示识别微信小程序码菜单\n\t\tshowMenuByLongpress: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 加载中的图标,或者小图片\n\t\tloadingIcon: {\n\t\t\ttype: String,\n\t\t\tdefault: 'photo'\n\t\t},\n\t\t// 加载失败的图标,或者小图片\n\t\terrorIcon: {\n\t\t\ttype: String,\n\t\t\tdefault: 'error-circle'\n\t\t},\n\t\t// 是否显示加载中的图标或者自定义的slot\n\t\tshowLoading: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 是否显示加载错误的图标或者自定义的slot\n\t\tshowError: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 是否需要淡入效果\n\t\tfade: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 只支持网络资源,只对微信小程序有效\n\t\twebp: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 过渡时间,单位ms\n\t\tduration: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: 500\n\t\t},\n\t\t// 背景颜色,用于深色页面加载图片时,为了和背景色融合\n\t\tbgColor: {\n\t\t\ttype: String,\n\t\t\tdefault: '#f3f4f6'\n\t\t}\n\t},\n\tdata() {\n\t\treturn {\n\t\t\t// 图片是否加载错误,如果是,则显示错误占位图\n\t\t\tisError: false,\n\t\t\t// 初始化组件时,默认为加载中状态\n\t\t\tloading: true,\n\t\t\t// 不透明度,为了实现淡入淡出的效果\n\t\t\topacity: 1,\n\t\t\t// 过渡时间,因为props的值无法修改,故需要一个中间值\n\t\t\tdurationTime: this.duration,\n\t\t\t// 图片加载完成时,去掉背景颜色,因为如果是png图片,就会显示灰色的背景\n\t\t\tbackgroundStyle: {}\n\t\t};\n\t},\n\twatch: {\n\t\tsrc: {\n\t\t\timmediate: true,\n\t\t\thandler (n) {\n\t\t\t\tif(!n) {\n\t\t\t\t\t// 如果传入null或者'',或者false,或者undefined,标记为错误状态\n\t\t\t\t\tthis.isError = true;\n\t\t\t\t\tthis.loading = false;\n\t\t\t\t} else {\n\t\t\t\t\tthis.isError = false;\n\t\t\t\t\tthis.loading = true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\tcomputed: {\n\t\twrapStyle() {\n\t\t\tlet style = {};\n\t\t\t// 通过调用addUnit()方法,如果有单位,如百分比,px单位等,直接返回,如果是纯粹的数值,则加上rpx单位\n\t\t\tstyle.width = this.$u.addUnit(this.width);\n\t\t\tstyle.height = this.$u.addUnit(this.height);\n\t\t\t// 如果是配置了圆形,设置50%的圆角,否则按照默认的配置值\n\t\t\tstyle.borderRadius = this.shape == 'circle' ? '50%' : this.$u.addUnit(this.borderRadius);\n\t\t\t// 如果设置圆角,必须要有hidden,否则可能圆角无效\n\t\t\tstyle.overflow = this.borderRadius > 0 ? 'hidden' : 'visible';\n\t\t\tif (this.fade) {\n\t\t\t\tstyle.opacity = this.opacity;\n\t\t\t\tstyle.transition = `opacity ${Number(this.durationTime) / 1000}s ease-in-out`;\n\t\t\t}\n\t\t\treturn style;\n\t\t}\n\t},\n\tmethods: {\n\t\t// 点击图片\n\t\tonClick() {\n\t\t\tthis.$emit('click');\n\t\t},\n\t\t// 图片加载失败\n\t\tonErrorHandler(err) {\n\t\t\tthis.loading = false;\n\t\t\tthis.isError = true;\n\t\t\tthis.$emit('error', err);\n\t\t},\n\t\t// 图片加载完成,标记loading结束\n\t\tonLoadHandler() {\n\t\t\tthis.loading = false;\n\t\t\tthis.isError = false;\n\t\t\tthis.$emit('load');\n\t\t\t// 如果不需要动画效果,就不执行下方代码,同时移除加载时的背景颜色\n\t\t\t// 否则无需fade效果时,png图片依然能看到下方的背景色\n\t\t\tif (!this.fade) return this.removeBgColor();\n\t\t\t// 原来opacity为1(不透明,是为了显示占位图),改成0(透明,意味着该元素显示的是背景颜色,默认的灰色),再改成1,是为了获得过渡效果\n\t\t\tthis.opacity = 0;\n\t\t\t// 这里设置为0,是为了图片展示到背景全透明这个过程时间为0,延时之后延时之后重新设置为duration,是为了获得背景透明(灰色)\n\t\t\t// 到图片展示的过程中的淡入效果\n\t\t\tthis.durationTime = 0;\n\t\t\t// 延时50ms,否则在浏览器H5,过渡效果无效\n\t\t\tsetTimeout(() => {\n\t\t\t\tthis.durationTime = this.duration;\n\t\t\t\tthis.opacity = 1;\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthis.removeBgColor();\n\t\t\t\t}, this.durationTime);\n\t\t\t}, 50);\n\t\t},\n\t\t// 移除图片的背景色\n\t\tremoveBgColor() {\n\t\t\t// 淡入动画过渡完成后,将背景设置为透明色,否则png图片会看到灰色的背景\n\t\t\tthis.backgroundStyle = {\n\t\t\t\tbackgroundColor: 'transparent'\n\t\t\t};\n\t\t}\n\t}\n};\n</script>\n\n<style scoped lang=\"scss\">\n@import '../../libs/css/style.components.scss';\n\n.u-image {\n\tposition: relative;\n\ttransition: opacity 0.5s ease-in-out;\n\n\t&__image {\n\t\twidth: 100%;\n\t\theight: 100%;\n\t}\n\n\t&__loading,\n\t&__error {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\t@include vue-flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t\tbackground-color: $u-bg-color;\n\t\tcolor: $u-tips-color;\n\t\tfont-size: 46rpx;\n\t}\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-image.vue?vue&type=style&index=0&id=32babe48&scoped=true&lang=scss&\"; 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=32babe48&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536257768\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":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-index-anchor/u-index-anchor.js.map
已删除
100644 → 0
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-index-anchor/u-index-anchor.vue?f406","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-index-anchor/u-index-anchor.vue?249d","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-index-anchor/u-index-anchor.vue?3238","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-index-anchor/u-index-anchor.vue?884b","uni-app:///uview-ui/components/u-index-anchor/u-index-anchor.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-index-anchor/u-index-anchor.vue?2cf0","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-index-anchor/u-index-anchor.vue?1e14"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAuI;AACvI;AACkE;AACL;AACsC;;;AAGnG;AACmN;AACnN,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;;AAEA;;AAEA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxBA;AAAA;AAAA;AAAA;AAA21B,CAAgB,4yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;ACe/2B;;;;;;;;;;AAUA;AACA,wBADA;AAEA;AACA;AACA,mBADA;AAEA,oBAFA,EADA;;AAKA;AACA,kBADA;AAEA,iBAFA,EALA;;AASA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EATA,EAFA;;;AAkBA,MAlBA,kBAkBA;AACA;AACA,mBADA;AAEA,sBAFA;AAGA,qBAHA;;AAKA,GAxBA;AAyBA,SAzBA,qBAyBA;AACA;AACA,GA3BA;AA4BA,SA5BA,qBA4BA;AACA;AACA;AACA;AACA;AACA;AACA,GAlCA;AAmCA;AACA,qBADA,+BACA;AACA;AACA,KAHA,EAnCA,E;;;;;;;;;;;;ACzBA;AAAA;AAAA;AAAA;AAA8lD,CAAgB,m8CAAG,EAAC,C;;;;;;;;;;;ACAlnD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-index-anchor/u-index-anchor.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-index-anchor.vue?vue&type=template&id=51a42180&scoped=true&\"\nvar renderjs\nimport script from \"./u-index-anchor.vue?vue&type=script&lang=js&\"\nexport * from \"./u-index-anchor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-index-anchor.vue?vue&type=style&index=0&id=51a42180&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 \"51a42180\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-index-anchor/u-index-anchor.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-index-anchor.vue?vue&type=template&id=51a42180&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.wrapperStyle])\n\n var g0 = _vm.$u.guid()\n\n var s1 = _vm.__get_style([_vm.customAnchorStyle])\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n g0: g0,\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-index-anchor.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-index-anchor.vue?vue&type=script&lang=js&\"","<template>\n\t<!-- 支付宝小程序使用$u.getRect()获取组件的根元素尺寸,所以在外面套一个\"壳\" -->\n\t<view>\n\t\t<view class=\"u-index-anchor-wrapper\" :id=\"$u.guid()\" :style=\"[wrapperStyle]\">\n\t\t\t<view class=\"u-index-anchor \" :class=\"[active ? 'u-index-anchor--active' : '']\" :style=\"[customAnchorStyle]\">\n\t\t\t\t<slot v-if=\"useSlot\" />\n\t\t\t\t<block v-else>\n\t\t\t\t\t<text>{{ index }}</text>\n\t\t\t\t</block>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\t/**\n\t * indexAnchor 索引列表锚点\n\t * @description 通过折叠面板收纳内容区域,搭配<u-index-anchor>使用\n\t * @tutorial https://www.uviewui.com/components/indexList.html#indexanchor-props\n\t * @property {Boolean} use-slot 是否使用自定义内容的插槽(默认false)\n\t * @property {String Number} index 索引字符,如果定义了use-slot,此参数自动失效\n\t * @property {Object} custStyle 自定义样式,对象形式,如\"{color: 'red'}\"\n\t * @event {Function} default 锚点位置显示内容,默认为索引字符\n\t * @example <u-index-anchor :index=\"item\" />\n\t */\n\texport default {\n\t\tname: \"u-index-anchor\",\n\t\tprops: {\n\t\t\tuseSlot: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: false\n\t\t\t},\n\t\t\tindex: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\tcustomStyle: {\n\t\t\t\ttype: Object,\n\t\t\t\tdefault () {\n\t\t\t\t\treturn {}\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tactive: false,\n\t\t\t\twrapperStyle: {},\n\t\t\t\tanchorStyle: {}\n\t\t\t}\n\t\t},\n\t\tcreated() {\n\t\t\tthis.parent = false;\n\t\t},\n\t\tmounted() {\n\t\t\tthis.parent = this.$u.$parent.call(this, 'u-index-list');\n\t\t\tif(this.parent) {\n\t\t\t\tthis.parent.children.push(this);\n\t\t\t\tthis.parent.updateData();\n\t\t\t}\n\t\t},\n\t\tcomputed: {\n\t\t\tcustomAnchorStyle() {\n\t\t\t\treturn Object.assign(this.anchorStyle, this.customStyle);\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t@import \"../../libs/css/style.components.scss\";\n\t\n\t.u-index-anchor {\n\t\tbox-sizing: border-box;\n\t\tpadding: 14rpx 24rpx;\n\t\tcolor: #606266;\n\t\twidth: 100%;\n\t\tfont-weight: 500;\n\t\tfont-size: 36rpx;\n\t\tline-height: 1.2;\n\t\t// background-color: rgb(245, 245, 245);\n\t\tbackground-color: #FFFFFF;\n\t}\n\n\t.u-index-anchor--active {\n\t\tright: 0;\n\t\tleft: 0;\n\t\tcolor: #2979ff;\n\t\tbackground-color: #fff;\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-index-anchor.vue?vue&type=style&index=0&id=51a42180&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-index-anchor.vue?vue&type=style&index=0&id=51a42180&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536257976\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":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-index-list/u-index-list.js.map
已删除
100644 → 0
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-index-list/u-index-list.vue?6576","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-index-list/u-index-list.vue?2959","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-index-list/u-index-list.vue?8065","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-index-list/u-index-list.vue?ed1a","uni-app:///uview-ui/components/u-index-list/u-index-list.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-index-list/u-index-list.vue?90e8","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-index-list/u-index-list.vue?9e82"],"names":[],"mappings":"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","file":"uview-ui/components/u-index-list/u-index-list.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-index-list.vue?vue&type=template&id=62136660&scoped=true&\"\nvar renderjs\nimport script from \"./u-index-list.vue?vue&type=script&lang=js&\"\nexport * from \"./u-index-list.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-index-list.vue?vue&type=style&index=0&id=62136660&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 \"62136660\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-index-list/u-index-list.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-index-list.vue?vue&type=template&id=62136660&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-index-list.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-index-list.vue?vue&type=script&lang=js&\"","<template>\n\t<!-- 支付宝小程序使用$u.getRect()获取组件的根元素尺寸,所以在外面套一个\"壳\" -->\n\t<view>\n\t\t<view class=\"u-index-bar\">\n\t\t\t<slot />\n\t\t\t<view v-if=\"showSidebar\" class=\"u-index-bar__sidebar\" @touchstart.stop.prevent=\"onTouchMove\" @touchmove.stop.prevent=\"onTouchMove\"\n\t\t\t @touchend.stop.prevent=\"onTouchStop\" @touchcancel.stop.prevent=\"onTouchStop\">\n\t\t\t\t<view v-for=\"(item, index) in indexList\" :key=\"index\" class=\"u-index-bar__index\" :style=\"{zIndex: zIndex + 1, color: activeAnchorIndex === index ? activeColor : ''}\"\n\t\t\t\t :data-index=\"index\">\n\t\t\t\t\t{{ item }}\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view class=\"u-indexed-list-alert\" v-if=\"touchmove && indexList[touchmoveIndex]\" :style=\"{\n\t\t\t\tzIndex: alertZIndex\n\t\t\t}\">\n\t\t\t\t<text>{{indexList[touchmoveIndex]}}</text>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\tvar indexList = function() {\n\t\tvar indexList = [];\n\t\tvar charCodeOfA = 'A'.charCodeAt(0);\n\t\t// for (var i = 0; i < 26; i++) {\n\t\t// \tindexList.push(String.fromCharCode(charCodeOfA + i));\n\t\t// }\n\t\tfor (var i = 0; i < 26; i++) {\n\t\t\tif (String.fromCharCode(charCodeOfA + i) != 'I' && String.fromCharCode(charCodeOfA + i) != 'O' && String.fromCharCode(charCodeOfA + i) != 'U') {\n\t\t\t\tindexList.push(String.fromCharCode(charCodeOfA + i));\n\t\t\t}\n\t\t}\n\t\treturn indexList;\n\t};\n\n\t/**\n\t * indexList 索引列表\n\t * @description 通过折叠面板收纳内容区域,搭配<u-index-anchor>使用\n\t * @tutorial https://www.uviewui.com/components/indexList.html#indexanchor-props\n\t * @property {Number String} scroll-top 当前滚动高度,自定义组件无法获得滚动条事件,所以依赖接入方传入\n\t * @property {Array} index-list 索引字符列表,数组(默认A-Z)\n\t * @property {Number String} z-index 锚点吸顶时的层级(默认965)\n\t * @property {Boolean} sticky 是否开启锚点自动吸顶(默认true)\n\t * @property {Number String} offset-top 锚点自动吸顶时与顶部的距离(默认0)\n\t * @property {String} highlight-color 锚点和右边索引字符高亮颜色(默认#2979ff)\n\t * @event {Function} select 选中右边索引字符时触发\n\t * @example <u-index-list :scrollTop=\"scrollTop\"></u-index-list>\n\t */\n\texport default {\n\t\tname: \"u-index-list\",\n\t\tprops: {\n\t\t\tsticky: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: true\n\t\t\t},\n\t\t\tzIndex: {\n\t\t\t\ttype: [Number, String],\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\tscrollTop: {\n\t\t\t\ttype: [Number, String],\n\t\t\t\tdefault: 0,\n\t\t\t},\n\t\t\toffsetTop: {\n\t\t\t\ttype: [Number, String],\n\t\t\t\tdefault: 0\n\t\t\t},\n\t\t\tindexList: {\n\t\t\t\ttype: Array,\n\t\t\t\tdefault () {\n\t\t\t\t\treturn indexList()\n\t\t\t\t}\n\t\t\t},\n\t\t\tactiveColor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '#2979ff'\n\t\t\t}\n\t\t},\n\t\tcreated() {\n\t\t\t// #ifdef H5\n\t\t\tthis.stickyOffsetTop = this.offsetTop ? uni.upx2px(this.offsetTop) : 44;\n\t\t\t// #endif\n\t\t\t// #ifndef H5\n\t\t\tthis.stickyOffsetTop = this.offsetTop ? uni.upx2px(this.offsetTop) : 0;\n\t\t\t// #endif\n\t\t\t// 只能在created生命周期定义children,如果在data定义,会因为循环引用而报错\n\t\t\tthis.children = [];\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tactiveAnchorIndex: 0,\n\t\t\t\tshowSidebar: true,\n\t\t\t\t// children: [],\n\t\t\t\ttouchmove: false,\n\t\t\t\ttouchmoveIndex: 0,\n\t\t\t}\n\t\t},\n\t\twatch: {\n\t\t\tscrollTop() {\n\t\t\t\tthis.updateData()\n\t\t\t}\n\t\t},\n\t\tcomputed: {\n\t\t\t// 弹出toast的z-index值\n\t\t\talertZIndex() {\n\t\t\t\treturn this.$u.zIndex.toast;\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\tupdateData() {\n\t\t\t\tthis.timer && clearTimeout(this.timer);\n\t\t\t\tthis.timer = setTimeout(() => {\n\t\t\t\t\tthis.showSidebar = !!this.children.length;\n\t\t\t\t\tthis.setRect().then(() => {\n\t\t\t\t\t\tthis.onScroll();\n\t\t\t\t\t});\n\t\t\t\t}, 0);\n\t\t\t},\n\t\t\tsetRect() {\n\t\t\t\treturn Promise.all([\n\t\t\t\t\tthis.setAnchorsRect(),\n\t\t\t\t\tthis.setListRect(),\n\t\t\t\t\tthis.setSiderbarRect()\n\t\t\t\t]);\n\t\t\t},\n\t\t\tsetAnchorsRect() {\n\t\t\t\treturn Promise.all(this.children.map((anchor, index) => anchor\n\t\t\t\t\t.$uGetRect('.u-index-anchor-wrapper')\n\t\t\t\t\t.then((rect) => {\n\t\t\t\t\t\tObject.assign(anchor, {\n\t\t\t\t\t\t\theight: rect.height,\n\t\t\t\t\t\t\ttop: rect.top\n\t\t\t\t\t\t});\n\t\t\t\t\t})));\n\t\t\t},\n\t\t\tsetListRect() {\n\t\t\t\treturn this.$uGetRect('.u-index-bar').then((rect) => {\n\t\t\t\t\tObject.assign(this, {\n\t\t\t\t\t\theight: rect.height,\n\t\t\t\t\t\ttop: rect.top + this.scrollTop\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t},\n\t\t\tsetSiderbarRect() {\n\t\t\t\treturn this.$uGetRect('.u-index-bar__sidebar').then(rect => {\n\t\t\t\t\tthis.sidebar = {\n\t\t\t\t\t\theight: rect.height,\n\t\t\t\t\t\ttop: rect.top\n\t\t\t\t\t};\n\t\t\t\t});\n\t\t\t},\n\t\t\tgetActiveAnchorIndex() {\n\t\t\t\tconst {\n\t\t\t\t\tchildren\n\t\t\t\t} = this;\n\t\t\t\tconst {\n\t\t\t\t\tsticky\n\t\t\t\t} = this;\n\t\t\t\tfor (let i = this.children.length - 1; i >= 0; i--) {\n\t\t\t\t\tconst preAnchorHeight = i > 0 ? children[i - 1].height : 0;\n\t\t\t\t\tconst reachTop = sticky ? preAnchorHeight : 0;\n\t\t\t\t\tif (reachTop >= children[i].top) {\n\t\t\t\t\t\treturn i;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn -1;\n\t\t\t},\n\t\t\tonScroll() {\n\t\t\t\tconst {\n\t\t\t\t\tchildren = []\n\t\t\t\t} = this;\n\t\t\t\tif (!children.length) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tconst {\n\t\t\t\t\tsticky,\n\t\t\t\t\tstickyOffsetTop,\n\t\t\t\t\tzIndex,\n\t\t\t\t\tscrollTop,\n\t\t\t\t\tactiveColor\n\t\t\t\t} = this;\n\t\t\t\tconst active = this.getActiveAnchorIndex();\n\t\t\t\tthis.activeAnchorIndex = active;\n\t\t\t\tif (sticky) {\n\t\t\t\t\tlet isActiveAnchorSticky = false;\n\t\t\t\t\tif (active !== -1) {\n\t\t\t\t\t\tisActiveAnchorSticky =\n\t\t\t\t\t\t\tchildren[active].top <= 0;\n\t\t\t\t\t}\n\t\t\t\t\tchildren.forEach((item, index) => {\n\t\t\t\t\t\tif (index === active) {\n\t\t\t\t\t\t\tlet wrapperStyle = '';\n\t\t\t\t\t\t\tlet anchorStyle = {\n\t\t\t\t\t\t\t\tcolor: `${activeColor}`\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tif (isActiveAnchorSticky) {\n\t\t\t\t\t\t\t\twrapperStyle = {\n\t\t\t\t\t\t\t\t\theight: `${children[index].height}px`\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\tanchorStyle = {\n\t\t\t\t\t\t\t\t\tposition: 'fixed',\n\t\t\t\t\t\t\t\t\ttop: `${stickyOffsetTop}px`,\n\t\t\t\t\t\t\t\t\tzIndex: `${zIndex ? zIndex : this.$u.zIndex.indexListSticky}`,\n\t\t\t\t\t\t\t\t\tcolor: `${activeColor}`\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\titem.active = active;\n\t\t\t\t\t\t\titem.wrapperStyle = wrapperStyle;\n\t\t\t\t\t\t\titem.anchorStyle = anchorStyle;\n\t\t\t\t\t\t} else if (index === active - 1) {\n\t\t\t\t\t\t\tconst currentAnchor = children[index];\n\t\t\t\t\t\t\tconst currentOffsetTop = currentAnchor.top;\n\t\t\t\t\t\t\tconst targetOffsetTop = index === children.length - 1 ?\n\t\t\t\t\t\t\t\tthis.top :\n\t\t\t\t\t\t\t\tchildren[index + 1].top;\n\t\t\t\t\t\t\tconst parentOffsetHeight = targetOffsetTop - currentOffsetTop;\n\t\t\t\t\t\t\tconst translateY = parentOffsetHeight - currentAnchor.height;\n\t\t\t\t\t\t\tconst anchorStyle = {\n\t\t\t\t\t\t\t\tposition: 'relative',\n\t\t\t\t\t\t\t\ttransform: `translate3d(0, ${translateY}px, 0)`,\n\t\t\t\t\t\t\t\tzIndex: `${zIndex ? zIndex : this.$u.zIndex.indexListSticky}`,\n\t\t\t\t\t\t\t\tcolor: `${activeColor}`\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\titem.active = active;\n\t\t\t\t\t\t\titem.anchorStyle = anchorStyle;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\titem.active = false;\n\t\t\t\t\t\t\titem.anchorStyle = '';\n\t\t\t\t\t\t\titem.wrapperStyle = '';\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t},\n\t\t\tonTouchMove(event) {\n\t\t\t\tthis.touchmove = true;\n\t\t\t\tconst sidebarLength = this.children.length;\n\t\t\t\tconst touch = event.touches[0];\n\t\t\t\tconst itemHeight = this.sidebar.height / sidebarLength;\n\t\t\t\tlet clientY = 0;\n\t\t\t\tclientY = touch.clientY;\n\t\t\t\tlet index = Math.floor((clientY - this.sidebar.top) / itemHeight);\n\t\t\t\tif (index < 0) {\n\t\t\t\t\tindex = 0;\n\t\t\t\t} else if (index > sidebarLength - 1) {\n\t\t\t\t\tindex = sidebarLength - 1;\n\t\t\t\t}\n\t\t\t\tthis.touchmoveIndex = index;\n\t\t\t\tthis.scrollToAnchor(index);\n\t\t\t},\n\t\t\tonTouchStop() {\n\t\t\t\tthis.touchmove = false;\n\t\t\t\tthis.scrollToAnchorIndex = null;\n\t\t\t},\n\t\t\tscrollToAnchor(index) {\n\t\t\t\tif (this.scrollToAnchorIndex === index) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tthis.scrollToAnchorIndex = index;\n\t\t\t\tconst anchor = this.children.find((item) => item.index === this.indexList[index]);\n\t\t\t\tif (anchor) {\n\t\t\t\t\tthis.$emit('select', anchor.index);\n\t\t\t\t\tuni.pageScrollTo({\n\t\t\t\t\t\tduration: 0,\n\t\t\t\t\t\tscrollTop: anchor.top + this.scrollTop\n\t\t\t\t\t});\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/style.components.scss\";\n\t\n\t.u-index-bar {\n\t\tposition: relative\n\t}\n\n\t.u-index-bar__sidebar {\n\t\tposition: fixed;\n\t\ttop: 50%;\n\t\tright: 0;\n\t\t@include vue-flex;\n\t\tflex-direction: column;\n\t\ttext-align: center;\n\t\ttransform: translateY(-50%);\n\t\tuser-select: none;\n\t\tz-index: 99;\n\t}\n\n\t.u-index-bar__index {\n\t\tfont-weight: 500;\n\t\tpadding: 8rpx 18rpx;\n\t\tfont-size: 22rpx;\n\t\tline-height: 1\n\t}\n\n\t.u-indexed-list-alert {\n\t\tposition: fixed;\n\t\twidth: 120rpx;\n\t\theight: 120rpx;\n\t\tright: 90rpx;\n\t\ttop: 50%;\n\t\tmargin-top: -60rpx;\n\t\tborder-radius: 24rpx;\n\t\tfont-size: 50rpx;\n\t\tcolor: #fff;\n\t\tbackground-color: rgba(0, 0, 0, 0.65);\n\t\t@include vue-flex;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\tpadding: 0;\n\t\tz-index: 9999999;\n\t}\n\n\t.u-indexed-list-alert text {\n\t\tline-height: 50rpx;\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-index-list.vue?vue&type=style&index=0&id=62136660&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-index-list.vue?vue&type=style&index=0&id=62136660&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536257963\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":""} |
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-input/u-input.vue?18d3","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-input/u-input.vue?9da6","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-input/u-input.vue?4dfa","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-input/u-input.vue?b7c4","uni-app:///uview-ui/components/u-input/u-input.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-input/u-input.vue?335f","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-input/u-input.vue?9c3b"],"names":[],"mappings":"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","file":"uview-ui/components/u-input/u-input.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-input.vue?vue&type=template&id=460c1d26&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=460c1d26&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 \"460c1d26\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"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=460c1d26&scoped=true&\"","var components\ntry {\n components = {\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-icon/u-icon\" */ \"@/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.type == \"textarea\" ? _vm.__get_style([_vm.getStyle]) : null\n var s1 = !(_vm.type == \"textarea\") ? _vm.__get_style([_vm.getStyle]) : null\n\n if (!_vm._isMounted) {\n _vm.e0 = function($event) {\n _vm.showPassword = !_vm.showPassword\n }\n }\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\t<view\n\t\tclass=\"u-input\"\n\t\t:class=\"{\n\t\t\t'u-input--border': border,\n\t\t\t'u-input--error': validateState\n\t\t}\"\n\t\t:style=\"{\n\t\t\tpadding: `0 ${border ? 20 : 0}rpx`,\n\t\t\tborderColor: borderColor,\n\t\t\ttextAlign: inputAlign\n\t\t}\"\n\t\t@tap.stop=\"inputClick\"\n\t>\n\t\t<textarea\n\t\t\tv-if=\"type == 'textarea'\"\n\t\t\tclass=\"u-input__input u-input__textarea\"\n\t\t\t:style=\"[getStyle]\"\n\t\t\t:value=\"defaultValue\"\n\t\t\t:placeholder=\"placeholder\"\n\t\t\t:placeholderStyle=\"placeholderStyle\"\n\t\t\t:disabled=\"disabled\"\n\t\t\t:maxlength=\"inputMaxlength\"\n\t\t\t:fixed=\"fixed\"\n\t\t\t:focus=\"focus\"\n\t\t\t:autoHeight=\"autoHeight\"\n\t\t\t:selection-end=\"uSelectionEnd\"\n\t\t\t:selection-start=\"uSelectionStart\"\n\t\t\t:cursor-spacing=\"getCursorSpacing\"\n\t\t\t:show-confirm-bar=\"showConfirmbar\"\n\t\t\t@input=\"handleInput\"\n\t\t\t@blur=\"handleBlur\"\n\t\t\t@focus=\"onFocus\"\n\t\t\t@confirm=\"onConfirm\"\n\t\t/>\n\t\t<input\n\t\t\tv-else\n\t\t\tclass=\"u-input__input\"\n\t\t\t:type=\"type == 'password' ? 'text' : type\"\n\t\t\t:style=\"[getStyle]\"\n\t\t\t:value=\"defaultValue\"\n\t\t\t:password=\"type == 'password' && !showPassword\"\n\t\t\t:placeholder=\"placeholder\"\n\t\t\t:placeholderStyle=\"placeholderStyle\"\n\t\t\t:disabled=\"disabled || type === 'select'\"\n\t\t\t:maxlength=\"inputMaxlength\"\n\t\t\t:focus=\"focus\"\n\t\t\t:confirmType=\"confirmType\"\n\t\t\t:cursor-spacing=\"getCursorSpacing\"\n\t\t\t:selection-end=\"uSelectionEnd\"\n\t\t\t:selection-start=\"uSelectionStart\"\n\t\t\t:show-confirm-bar=\"showConfirmbar\"\n\t\t\t@focus=\"onFocus\"\n\t\t\t@blur=\"handleBlur\"\n\t\t\t@input=\"handleInput\"\n\t\t\t@confirm=\"onConfirm\"\n\t\t/>\n\t\t<view class=\"u-input__right-icon u-flex\">\n\t\t\t<view class=\"u-input__right-icon__clear u-input__right-icon__item\" @tap=\"onClear\" v-if=\"clearable && value != '' && focused\">\n\t\t\t\t<u-icon size=\"32\" name=\"close-circle-fill\" color=\"#c0c4cc\"/>\n\t\t\t</view>\n\t\t\t<view class=\"u-input__right-icon__clear u-input__right-icon__item\" v-if=\"passwordIcon && type == 'password'\">\n\t\t\t\t<u-icon size=\"32\" :name=\"!showPassword ? 'eye' : 'eye-fill'\" color=\"#c0c4cc\" @click=\"showPassword = !showPassword\"/>\n\t\t\t</view>\n\t\t\t<view class=\"u-input__right-icon--select u-input__right-icon__item\" v-if=\"type == 'select'\" :class=\"{\n\t\t\t\t'u-input__right-icon--select--reverse': selectOpen\n\t\t\t}\">\n\t\t\t\t<u-icon name=\"arrow-down-fill\" size=\"26\" color=\"#c0c4cc\"></u-icon>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\nimport Emitter from '../../libs/util/emitter.js';\n\n/**\n * input 输入框\n * @description 此组件为一个输入框,默认没有边框和样式,是专门为配合表单组件u-form而设计的,利用它可以快速实现表单验证,输入内容,下拉选择等功能。\n * @tutorial http://uviewui.com/components/input.html\n * @property {String} type 模式选择,见官网说明\n * @property {Boolean} clearable 是否显示右侧的清除图标(默认true)\n * @property {} v-model 用于双向绑定输入框的值\n * @property {String} input-align 输入框文字的对齐方式(默认left)\n * @property {String} placeholder placeholder显示值(默认 '请输入内容')\n * @property {Boolean} disabled 是否禁用输入框(默认false)\n * @property {String Number} maxlength 输入框的最大可输入长度(默认140)\n * @property {String Number} selection-start 光标起始位置,自动聚焦时有效,需与selection-end搭配使用(默认-1)\n * @property {String Number} maxlength 光标结束位置,自动聚焦时有效,需与selection-start搭配使用(默认-1)\n * @property {String Number} cursor-spacing 指定光标与键盘的距离,单位px(默认0)\n * @property {String} placeholderStyle placeholder的样式,字符串形式,如\"color: red;\"(默认 \"color: #c0c4cc;\")\n * @property {String} confirm-type 设置键盘右下角按钮的文字,仅在type为text时生效(默认done)\n * @property {Object} custom-style 自定义输入框的样式,对象形式\n * @property {Boolean} focus 是否自动获得焦点(默认false)\n * @property {Boolean} fixed 如果type为textarea,且在一个\"position:fixed\"的区域,需要指明为true(默认false)\n * @property {Boolean} password-icon type为password时,是否显示右侧的密码查看图标(默认true)\n * @property {Boolean} border 是否显示边框(默认false)\n * @property {String} border-color 输入框的边框颜色(默认#dcdfe6)\n * @property {Boolean} auto-height 是否自动增高输入区域,type为textarea时有效(默认true)\n * @property {String Number} height 高度,单位rpx(text类型时为70,textarea时为100)\n * @example <u-input v-model=\"value\" :type=\"type\" :border=\"border\" />\n */\nexport default {\n\tname: 'u-input',\n\tmixins: [Emitter],\n\tprops: {\n\t\tvalue: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: ''\n\t\t},\n\t\t// 输入框的类型,textarea,text,number\n\t\ttype: {\n\t\t\ttype: String,\n\t\t\tdefault: 'text'\n\t\t},\n\t\tinputAlign: {\n\t\t\ttype: String,\n\t\t\tdefault: 'left'\n\t\t},\n\t\tplaceholder: {\n\t\t\ttype: String,\n\t\t\tdefault: '请输入内容'\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tmaxlength: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: 140\n\t\t},\n\t\tplaceholderStyle: {\n\t\t\ttype: String,\n\t\t\tdefault: 'color: #c0c4cc;'\n\t\t},\n\t\tconfirmType: {\n\t\t\ttype: String,\n\t\t\tdefault: 'done'\n\t\t},\n\t\t// 输入框的自定义样式\n\t\tcustomStyle: {\n\t\t\ttype: Object,\n\t\t\tdefault() {\n\t\t\t\treturn {};\n\t\t\t}\n\t\t},\n\t\t// 如果 textarea 是在一个 position:fixed 的区域,需要显示指定属性 fixed 为 true\n\t\tfixed: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 是否自动获得焦点\n\t\tfocus: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 密码类型时,是否显示右侧的密码图标\n\t\tpasswordIcon: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// input|textarea是否显示边框\n\t\tborder: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 输入框的边框颜色\n\t\tborderColor: {\n\t\t\ttype: String,\n\t\t\tdefault: '#dcdfe6'\n\t\t},\n\t\tautoHeight: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// type=select时,旋转右侧的图标,标识当前处于打开还是关闭select的状态\n\t\t// open-打开,close-关闭\n\t\tselectOpen: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 高度,单位rpx\n\t\theight: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: ''\n\t\t},\n\t\t// 是否可清空\n\t\tclearable: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 指定光标与键盘的距离,单位 px\n\t\tcursorSpacing: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: 0\n\t\t},\n\t\t// 光标起始位置,自动聚焦时有效,需与selection-end搭配使用\n\t\tselectionStart: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: -1\n\t\t},\n\t\t// 光标结束位置,自动聚焦时有效,需与selection-start搭配使用\n\t\tselectionEnd: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: -1\n\t\t},\n\t\t// 是否自动去除两端的空格\n\t\ttrim: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 是否显示键盘上方带有”完成“按钮那一栏\n\t\tshowConfirmbar:{\n\t\t\ttype:Boolean,\n\t\t\tdefault:true\n\t\t}\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tdefaultValue: this.value,\n\t\t\tinputHeight: 70, // input的高度\n\t\t\ttextareaHeight: 100, // textarea的高度\n\t\t\tvalidateState: false, // 当前input的验证状态,用于错误时,边框是否改为红色\n\t\t\tfocused: false, // 当前是否处于获得焦点的状态\n\t\t\tshowPassword: false, // 是否预览密码\n\t\t\tlastValue: '', // 用于头条小程序,判断@input中,前后的值是否发生了变化,因为头条中文下,按下键没有输入内容,也会触发@input时间\n\t\t};\n\t},\n\twatch: {\n\t\tvalue(nVal, oVal) {\n\t\t\tthis.defaultValue = nVal;\n\t\t\t// 当值发生变化,且为select类型时(此时input被设置为disabled,不会触发@input事件),模拟触发@input事件\n\t\t\tif(nVal != oVal && this.type == 'select') this.handleInput({\n\t\t\t\tdetail: {\n\t\t\t\t\tvalue: nVal\n\t\t\t\t}\n\t\t\t})\n\t\t},\n\t},\n\tcomputed: {\n\t\t// 因为uniapp的input组件的maxlength组件必须要数值,这里转为数值,给用户可以传入字符串数值\n\t\tinputMaxlength() {\n\t\t\treturn Number(this.maxlength);\n\t\t},\n\t\tgetStyle() {\n\t\t\tlet style = {};\n\t\t\t// 如果没有自定义高度,就根据type为input还是textare来分配一个默认的高度\n\t\t\tstyle.minHeight = this.height ? this.height + 'rpx' : this.type == 'textarea' ?\n\t\t\t\tthis.textareaHeight + 'rpx' : this.inputHeight + 'rpx';\n\t\t\tstyle = Object.assign(style, this.customStyle);\n\t\t\treturn style;\n\t\t},\n\t\t//\n\t\tgetCursorSpacing() {\n\t\t\treturn Number(this.cursorSpacing);\n\t\t},\n\t\t// 光标起始位置\n\t\tuSelectionStart() {\n\t\t\treturn String(this.selectionStart);\n\t\t},\n\t\t// 光标结束位置\n\t\tuSelectionEnd() {\n\t\t\treturn String(this.selectionEnd);\n\t\t}\n\t},\n\tcreated() {\n\t\t// 监听u-form-item发出的错误事件,将输入框边框变红色\n\t\tthis.$on('on-form-item-error', this.onFormItemError);\n\t},\n\tmethods: {\n\t\t/**\n\t\t * change 事件\n\t\t * @param event\n\t\t */\n\t\thandleInput(event) {\n\t\t\tlet value = event.detail.value;\n\t\t\t// 判断是否去除空格\n\t\t\tif(this.trim) value = this.$u.trim(value);\n\t\t\t// vue 原生的方法 return 出去\n\t\t\tthis.$emit('input', value);\n\t\t\t// 当前model 赋值\n\t\t\tthis.defaultValue = value;\n\t\t\t// 过一个生命周期再发送事件给u-form-item,否则this.$emit('input')更新了父组件的值,但是微信小程序上\n\t\t\t// 尚未更新到u-form-item,导致获取的值为空,从而校验混论\n\t\t\t// 这里不能延时时间太短,或者使用this.$nextTick,否则在头条上,会造成混乱\n\t\t\tsetTimeout(() => {\n\t\t\t\t// 头条小程序由于自身bug,导致中文下,每按下一个键(尚未完成输入),都会触发一次@input,导致错误,这里进行判断处理\n\t\t\t\t// #ifdef MP-TOUTIAO\n\t\t\t\tif(this.$u.trim(value) == this.lastValue) return ;\n\t\t\t\tthis.lastValue = value;\n\t\t\t\t// #endif\n\t\t\t\t// 将当前的值发送到 u-form-item 进行校验\n\t\t\t\tthis.dispatch('u-form-item', 'on-form-change', value);\n\t\t\t}, 40)\n\t\t},\n\t\t/**\n\t\t * blur 事件\n\t\t * @param event\n\t\t */\n\t\thandleBlur(event) {\n\t\t\t// 最开始使用的是监听图标@touchstart事件,自从hx2.8.4后,此方法在微信小程序出错\n\t\t\t// 这里改为监听点击事件,手点击清除图标时,同时也发生了@blur事件,导致图标消失而无法点击,这里做一个延时\n\t\t\tsetTimeout(() => {\n\t\t\t\tthis.focused = false;\n\t\t\t}, 100)\n\t\t\t// vue 原生的方法 return 出去\n\t\t\tthis.$emit('blur', event.detail.value);\n\t\t\tsetTimeout(() => {\n\t\t\t\t// 头条小程序由于自身bug,导致中文下,每按下一个键(尚未完成输入),都会触发一次@input,导致错误,这里进行判断处理\n\t\t\t\t// #ifdef MP-TOUTIAO\n\t\t\t\tif(this.$u.trim(value) == this.lastValue) return ;\n\t\t\t\tthis.lastValue = value;\n\t\t\t\t// #endif\n\t\t\t\t// 将当前的值发送到 u-form-item 进行校验\n\t\t\t\tthis.dispatch('u-form-item', 'on-form-blur', event.detail.value);\n\t\t\t}, 40)\n\t\t},\n\t\tonFormItemError(status) {\n\t\t\tthis.validateState = status;\n\t\t},\n\t\tonFocus(event) {\n\t\t\tthis.focused = true;\n\t\t\tthis.$emit('focus');\n\t\t},\n\t\tonConfirm(e) {\n\t\t\tthis.$emit('confirm', e.detail.value);\n\t\t},\n\t\tonClear(event) {\n\t\t\tthis.$emit('input', '');\n\t\t},\n\t\tinputClick() {\n\t\t\tthis.$emit('click');\n\t\t}\n\t}\n};\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"../../libs/css/style.components.scss\";\n\n.u-input {\n\tposition: relative;\n\tflex: 1;\n\t@include vue-flex;\n\n\t&__input {\n\t\t//height: $u-form-item-height;\n\t\tfont-size: 28rpx;\n\t\tcolor: $u-main-color;\n\t\tflex: 1;\n\t}\n\n\t&__textarea {\n\t\twidth: auto;\n\t\tfont-size: 28rpx;\n\t\tcolor: $u-main-color;\n\t\tpadding: 10rpx 0;\n\t\tline-height: normal;\n\t\tflex: 1;\n\t}\n\n\t&--border {\n\t\tborder-radius: 6rpx;\n\t\tborder-radius: 4px;\n\t\tborder: 1px solid $u-form-item-border-color;\n\t}\n\n\t&--error {\n\t\tborder-color: $u-type-error!important;\n\t}\n\n\t&__right-icon {\n\n\t\t&__item {\n\t\t\tmargin-left: 10rpx;\n\t\t}\n\n\t\t&--select {\n\t\t\ttransition: transform .4s;\n\n\t\t\t&--reverse {\n\t\t\t\ttransform: rotate(-180deg);\n\t\t\t}\n\t\t}\n\t}\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=460c1d26&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=460c1d26&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536258109\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":""} |
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-line/u-line.vue?63ee","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-line/u-line.vue?7bee","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-line/u-line.vue?2f58","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-line/u-line.vue?0107","uni-app:///uview-ui/components/u-line/u-line.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-line/u-line.vue?10e6","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-line/u-line.vue?a9d2"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AACmN;AACnN,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;AAAm1B,CAAgB,oyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;ACOv2B;;;;;;;;;;;;AAYA;AACA,gBADA;AAEA;AACA;AACA,kBADA;AAEA,wBAFA,EADA;;AAKA;AACA;AACA,kBADA;AAEA,qBAFA,EANA;;AAUA;AACA;AACA,kBADA;AAEA,oBAFA,EAXA;;AAeA;AACA;AACA,mBADA;AAEA,mBAFA,EAhBA;;AAoBA;AACA;AACA,kBADA;AAEA,kBAFA,EArBA;;AAyBA;AACA;AACA,kBADA;AAEA,sBAFA,EA1BA,EAFA;;;AAiCA;AACA,aADA,uBACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OANA,MAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KApBA,EAjCA,E;;;;;;;;;;;;ACnBA;AAAA;AAAA;AAAA;AAAslD,CAAgB,27CAAG,EAAC,C;;;;;;;;;;;ACA1mD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-line/u-line.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-line.vue?vue&type=template&id=60c80200&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=60c80200&scoped=true&lang=scss&\"\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 \"60c80200\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"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=60c80200&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 class=\"u-line\" :style=\"[lineStyle]\">\n\t\t\n\t</view>\n</template>\n\n<script>\n\t/**\n\t * line 线条\n\t * @description 此组件一般用于显示一根线条,用于分隔内容块,有横向和竖向两种模式,且能设置0.5px线条,使用也很简单\n\t * @tutorial https://www.uviewui.com/components/line.html\n\t * @property {String} color 线条的颜色(默认#e4e7ed)\n\t * @property {String} length 长度,竖向时表现为高度,横向时表现为长度,可以为百分比,带rpx单位的值等\n\t * @property {String} direction 线条的方向,row-横向,col-竖向(默认row)\n\t * @property {String} border-style 线条的类型,solid-实线,dashed-方形虚线,dotted-圆点虚线(默认solid)\n\t * @property {Boolean} hair-line 是否显示细线条(默认true)\n\t * @property {String} margin 线条与上下左右元素的间距,字符串形式,如\"30rpx\"\n\t * @example <u-line color=\"red\"></u-line>\n\t */\n\texport default {\n\t\tname: 'u-line',\n\t\tprops: {\n\t\t\tcolor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '#e4e7ed'\n\t\t\t},\n\t\t\t// 长度,竖向时表现为高度,横向时表现为长度,可以为百分比,带rpx单位的值等\n\t\t\tlength: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '100%'\n\t\t\t},\n\t\t\t// 线条方向,col-竖向,row-横向\n\t\t\tdirection: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'row'\n\t\t\t},\n\t\t\t// 是否显示细边框\n\t\t\thairLine: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: true\n\t\t\t},\n\t\t\t// 线条与上下左右元素的间距,字符串形式,如\"30rpx\"、\"20rpx 30rpx\"\n\t\t\tmargin: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '0'\n\t\t\t},\n\t\t\t// 线条的类型,solid-实线,dashed-方形虚线,dotted-圆点虚线\n\t\t\tborderStyle: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'solid'\n\t\t\t}\n\t\t},\n\t\tcomputed: {\n\t\t\tlineStyle() {\n\t\t\t\tlet 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.borderStyle;\n\t\t\t\t\tstyle.width = this.$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.borderStyle;\n\t\t\t\t\tstyle.height = this.$u.addUnit(this.length);\n\t\t\t\t\tif(this.hairLine) style.transform = 'scaleX(0.5)';\n\t\t\t\t}\n\t\t\t\tstyle.borderColor = this.color;\n\t\t\t\treturn style;\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style scoped lang=\"scss\">\n\t@import \"../../libs/css/style.components.scss\";\n\t\n\t.u-line {\n\t\tvertical-align: middle;\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=60c80200&scoped=true&lang=scss&\"; 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=60c80200&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536258248\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":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-loading/u-loading.js.map
已删除
100644 → 0
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-loading/u-loading.vue?44ca","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-loading/u-loading.vue?d571","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-loading/u-loading.vue?3573","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-loading/u-loading.vue?958a","uni-app:///uview-ui/components/u-loading/u-loading.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-loading/u-loading.vue?869f","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-loading/u-loading.vue?a2b7"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkI;AAClI;AAC6D;AACL;AACsC;;;AAG9F;AACmN;AACnN,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;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA;AAAA;AAAA;AAAA;AAAs1B,CAAgB,uyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;ACM12B;;;;;;;;;;AAUA;AACA,mBADA;AAEA;AACA;AACA;AACA,kBADA;AAEA,uBAFA,EAFA;;AAMA;AACA;AACA,kBADA;AAEA,wBAFA,EAPA;;AAWA;AACA;AACA,4BADA;AAEA,mBAFA,EAZA;;AAgBA;AACA;AACA,mBADA;AAEA,mBAFA,EAjBA,EAFA;;;AAwBA;AACA;AACA,eAFA,yBAEA;AACA;AACA;AACA;AACA;AACA;AACA,KARA,EAxBA,E;;;;;;;;;;;;AChBA;AAAA;AAAA;AAAA;AAAylD,CAAgB,87CAAG,EAAC,C;;;;;;;;;;;ACA7mD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-loading/u-loading.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-loading.vue?vue&type=template&id=2c9bf24a&scoped=true&\"\nvar renderjs\nimport script from \"./u-loading.vue?vue&type=script&lang=js&\"\nexport * from \"./u-loading.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-loading.vue?vue&type=style&index=0&id=2c9bf24a&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 \"2c9bf24a\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-loading/u-loading.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.vue?vue&type=template&id=2c9bf24a&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.cricleStyle]) : 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-loading.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.vue?vue&type=script&lang=js&\"","<template>\n\t<view v-if=\"show\" class=\"u-loading\" :class=\"mode == 'circle' ? 'u-loading-circle' : 'u-loading-flower'\" :style=\"[cricleStyle]\">\n\t</view>\n</template>\n\n<script>\n\t/**\n\t * loading 加载动画\n\t * @description 警此组件为一个小动画,目前用在uView的loadmore加载更多和switch开关等组件的正在加载状态场景。\n\t * @tutorial https://www.uviewui.com/components/loading.html\n\t * @property {String} mode 模式选择,见官网说明(默认circle)\n\t * @property {String} color 动画活动区域的颜色,只对 mode = flower 模式有效(默认#c7c7c7)\n\t * @property {String Number} size 加载图标的大小,单位rpx(默认34)\n\t * @property {Boolean} show 是否显示动画(默认true)\n\t * @example <u-loading mode=\"circle\"></u-loading>\n\t */\n\texport default {\n\t\tname: \"u-loading\",\n\t\tprops: {\n\t\t\t// 动画的类型\n\t\t\tmode: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'circle'\n\t\t\t},\n\t\t\t// 动画的颜色\n\t\t\tcolor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '#c7c7c7'\n\t\t\t},\n\t\t\t// 加载图标的大小,单位rpx\n\t\t\tsize: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: '34'\n\t\t\t},\n\t\t\t// 是否显示动画\n\t\t\tshow: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: true\n\t\t\t}\n\t\t},\n\t\tcomputed: {\n\t\t\t// 加载中圆圈动画的样式\n\t\t\tcricleStyle() {\n\t\t\t\tlet style = {};\n\t\t\t\tstyle.width = this.size + 'rpx';\n\t\t\t\tstyle.height = this.size + 'rpx';\n\t\t\t\tif (this.mode == 'circle') style.borderColor = `#e4e4e4 #e4e4e4 #e4e4e4 ${this.color ? this.color : '#c7c7c7'}`;\n\t\t\t\treturn style;\n\t\t\t},\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t@import \"../../libs/css/style.components.scss\";\n\t\n\t.u-loading-circle {\n\t\t/* #ifndef APP-NVUE */\n\t\tdisplay: inline-flex;\n\t\t/* #endif */\n\t\tvertical-align: middle;\n\t\twidth: 28rpx;\n\t\theight: 28rpx;\n\t\tbackground: 0 0;\n\t\tborder-radius: 50%;\n\t\tborder: 2px solid;\n\t\tborder-color: #e5e5e5 #e5e5e5 #e5e5e5 #8f8d8e;\n\t\tanimation: u-circle 1s linear infinite;\n\t}\n\n\t.u-loading-flower {\n\t\twidth: 20px;\n\t\theight: 20px;\n\t\tdisplay: inline-block;\n\t\tvertical-align: middle;\n\t\t-webkit-animation: a 1s steps(12) infinite;\n\t\tanimation: u-flower 1s steps(12) infinite;\n\t\tbackground: transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=) no-repeat;\n\t\tbackground-size: 100%;\n\t}\n\n\t@keyframes u-flower {\n\t\t0% {\n\t\t\t-webkit-transform: rotate(0deg);\n\t\t\ttransform: rotate(0deg);\n\t\t}\n\n\t\tto {\n\t\t\t-webkit-transform: rotate(1turn);\n\t\t\ttransform: rotate(1turn);\n\t\t}\n\t}\n\n\t@-webkit-keyframes u-circle {\n\t\t0% {\n\t\t\ttransform: rotate(0);\n\t\t}\n\n\t\t100% {\n\t\t\ttransform: rotate(360deg);\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-loading.vue?vue&type=style&index=0&id=2c9bf24a&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.vue?vue&type=style&index=0&id=2c9bf24a&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536258270\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":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-loadmore/u-loadmore.js.map
已删除
100644 → 0
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-loadmore/u-loadmore.vue?eb3c","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-loadmore/u-loadmore.vue?1417","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-loadmore/u-loadmore.vue?0da4","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-loadmore/u-loadmore.vue?3fa7","uni-app:///uview-ui/components/u-loadmore/u-loadmore.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-loadmore/u-loadmore.vue?90b3","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-loadmore/u-loadmore.vue?9470"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAmI;AACnI;AAC8D;AACL;AACsC;;;AAG/F;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;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,uMAEN;AACP,KAAK;AACL;AACA,aAAa,yNAEN;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;;;;;;;;;;;;;;ACnDA;AAAA;AAAA;AAAA;AAAu1B,CAAgB,wyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACuB32B;;;;;;;;;;;;;;;;;AAiBA;AACA,oBADA;AAEA;AACA;AACA;AACA,kBADA;AAEA,4BAFA,EAFA;;AAMA;AACA;AACA,mBADA;AAEA,mBAFA,EAPA;;AAWA;AACA;AACA,kBADA;AAEA,mBAFA,EAZA;;AAgBA;AACA;AACA,kBADA;AAEA,wBAFA,EAjBA;;AAqBA;AACA;AACA,kBADA;AAEA,yBAFA,EAtBA;;AA0BA;AACA;AACA,kBADA;AAEA,uBAFA,EA3BA;;AA+BA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,0BADA;AAEA,4BAFA;AAGA,yBAHA;;AAKA,OARA,EAhCA;;AA0CA;AACA;AACA,mBADA;AAEA,oBAFA,EA3CA;;AA+CA;AACA;AACA,kBADA;AAEA,wBAFA,EAhDA;;AAoDA;AACA;AACA,4BADA;AAEA,gBAFA,EArDA;;AAyDA;AACA;AACA,4BADA;AAEA,gBAFA,EA1DA;;AA8DA;AACA;AACA,4BADA;AAEA,qBAFA,EA/DA,EAFA;;;AAsEA,MAtEA,kBAsEA;AACA;AACA;AACA,kBAFA;;AAIA,GA3EA;AA4EA;AACA;AACA,iBAFA,2BAEA;AACA;AACA,yBADA;AAEA,uCAFA;AAGA,4BAHA;AAIA,iBAJA;AAKA;AACA;AANA;AAQA,KAXA;AAYA;AACA,eAbA,yBAaA;AACA;AACA,wEADA;;AAGA,KAjBA;AAkBA;AACA;AACA,eApBA,yBAoBA;AACA;;AAEA,KAvBA;AAwBA;AACA,YAzBA,sBAyBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAhCA,EA5EA;;AA8GA;AACA,YADA,sBACA;AACA;AACA;AACA,KAJA,EA9GA,E;;;;;;;;;;;;ACxCA;AAAA;AAAA;AAAA;AAA0lD,CAAgB,+7CAAG,EAAC,C;;;;;;;;;;;ACA9mD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-loadmore/u-loadmore.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-loadmore.vue?vue&type=template&id=874545c0&scoped=true&\"\nvar renderjs\nimport script from \"./u-loadmore.vue?vue&type=script&lang=js&\"\nexport * from \"./u-loadmore.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-loadmore.vue?vue&type=style&index=0&id=874545c0&scoped=true&lang=scss&\"\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 \"874545c0\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-loadmore/u-loadmore.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-loadmore.vue?vue&type=template&id=874545c0&scoped=true&\"","var components\ntry {\n components = {\n uLine: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-line/u-line\" */ \"@/uview-ui/components/u-line/u-line.vue\"\n )\n },\n uLoading: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-loading/u-loading\" */ \"@/uview-ui/components/u-loading/u-loading.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 g0 = _vm.$u.addUnit(_vm.height)\n\n var s0 = _vm.__get_style([_vm.loadTextStyle])\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0,\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-loadmore.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-loadmore.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"u-load-more-wrap\" :style=\"{\n\t\tbackgroundColor: bgColor,\n\t\tmarginBottom: marginBottom + 'rpx',\n\t\tmarginTop: marginTop + 'rpx',\n\t\theight: $u.addUnit(height)\n\t}\">\n\t\t<u-line color=\"#d4d4d4\" length=\"50\"></u-line>\n\t\t<!-- 加载中和没有更多的状态才显示两边的横线 -->\n\t\t<view :class=\"status == 'loadmore' || status == 'nomore' ? 'u-more' : ''\" class=\"u-load-more-inner\">\n\t\t\t<view class=\"u-loadmore-icon-wrap\">\n\t\t\t\t<u-loading class=\"u-loadmore-icon\" :color=\"iconColor\" :mode=\"iconType == 'circle' ? 'circle' : 'flower'\" :show=\"status == 'loading' && icon\"></u-loading>\n\t\t\t</view>\n\t\t\t<!-- 如果没有更多的状态下,显示内容为dot(粗点),加载特定样式 -->\n\t\t\t<view class=\"u-line-1\" :style=\"[loadTextStyle]\" :class=\"[(status == 'nomore' && isDot == true) ? 'u-dot-text' : 'u-more-text']\" @tap=\"loadMore\">\n\t\t\t\t{{ showText }}\n\t\t\t</view>\n\t\t</view>\n\t\t<u-line color=\"#d4d4d4\" length=\"50\"></u-line>\n\t</view>\n</template>\n\n<script>\n\t/**\n\t * loadmore 加载更多\n\t * @description 此组件一般用于标识页面底部加载数据时的状态。\n\t * @tutorial https://www.uviewui.com/components/loadMore.html\n\t * @property {String} status 组件状态(默认loadmore)\n\t * @property {String} bg-color 组件背景颜色,在页面是非白色时会用到(默认#ffffff)\n\t * @property {Boolean} icon 加载中时是否显示图标(默认true)\n\t * @property {String} icon-type 加载中时的图标类型(默认circle)\n\t * @property {String} icon-color icon-type为circle时有效,加载中的动画图标的颜色(默认#b7b7b7)\n\t * @property {Boolean} is-dot status为nomore时,内容显示为一个\"●\"(默认false)\n\t * @property {String} color 字体颜色(默认#606266)\n\t * @property {String Number} margin-top 到上一个相邻元素的距离\n\t * @property {String Number} margin-bottom 到下一个相邻元素的距离\n\t * @property {Object} load-text 自定义显示的文字,见上方说明示例\n\t * @event {Function} loadmore status为loadmore时,点击组件会发出此事件\n\t * @example <u-loadmore :status=\"status\" icon-type=\"iconType\" load-text=\"loadText\" />\n\t */\n\texport default {\n\t\tname: \"u-loadmore\",\n\t\tprops: {\n\t\t\t// 组件背景色\n\t\t\tbgColor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'transparent'\n\t\t\t},\n\t\t\t// 是否显示加载中的图标\n\t\t\ticon: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: true\n\t\t\t},\n\t\t\t// 字体大小\n\t\t\tfontSize: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '28'\n\t\t\t},\n\t\t\t// 字体颜色\n\t\t\tcolor: {\n\t\t\t\ttype: String, \n\t\t\t\tdefault: '#606266'\n\t\t\t},\n\t\t\t// 组件状态,loadmore-加载前的状态,loading-加载中的状态,nomore-没有更多的状态\n\t\t\tstatus: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'loadmore'\n\t\t\t},\n\t\t\t// 加载中状态的图标,flower-花朵状图标,circle-圆圈状图标\n\t\t\ticonType: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'circle'\n\t\t\t},\n\t\t\t// 显示的文字\n\t\t\tloadText: {\n\t\t\t\ttype: Object,\n\t\t\t\tdefault () {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tloadmore: '加载更多',\n\t\t\t\t\t\tloading: '正在加载...',\n\t\t\t\t\t\tnomore: '没有更多了'\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t// 在“没有更多”状态下,是否显示粗点\n\t\t\tisDot: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: false\n\t\t\t},\n\t\t\t// 加载中显示圆圈动画时,动画的颜色\n\t\t\ticonColor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '#b7b7b7'\n\t\t\t},\n\t\t\t// 上边距\n\t\t\tmarginTop: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: 0\n\t\t\t},\n\t\t\t// 下边距\n\t\t\tmarginBottom: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: 0\n\t\t\t},\n\t\t\t// 高度,单位rpx\n\t\t\theight: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: 'auto'\n\t\t\t}\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\t// 粗点\n\t\t\t\tdotText: \"●\"\n\t\t\t}\n\t\t},\n\t\tcomputed: {\n\t\t\t// 加载的文字显示的样式\n\t\t\tloadTextStyle() {\n\t\t\t\treturn {\n\t\t\t\t\tcolor: this.color,\n\t\t\t\t\tfontSize: this.fontSize + 'rpx',\n\t\t\t\t\tposition: 'relative',\n\t\t\t\t\tzIndex: 1,\n\t\t\t\t\tbackgroundColor: this.bgColor,\n\t\t\t\t\t// 如果是加载中状态,动画和文字需要距离近一点\n\t\t\t\t}\n\t\t\t},\n\t\t\t// 加载中圆圈动画的样式\n\t\t\tcricleStyle() {\n\t\t\t\treturn {\n\t\t\t\t\tborderColor: `#e5e5e5 #e5e5e5 #e5e5e5 ${this.circleColor}`\n\t\t\t\t}\n\t\t\t},\n\t\t\t// 加载中花朵动画形式\n\t\t\t// 动画由base64图片生成,暂不支持修改\n\t\t\tflowerStyle() {\n\t\t\t\treturn {\n\t\t\t\t}\n\t\t\t},\n\t\t\t// 显示的提示文字\n\t\t\tshowText() {\n\t\t\t\tlet text = '';\n\t\t\t\tif(this.status == 'loadmore') text = this.loadText.loadmore;\n\t\t\t\telse if(this.status == 'loading') text = this.loadText.loading;\n\t\t\t\telse if(this.status == 'nomore' && this.isDot) text = this.dotText;\n\t\t\t\telse text = this.loadText.nomore;\n\t\t\t\treturn text;\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\tloadMore() {\n\t\t\t\t// 只有在“加载更多”的状态下才发送点击事件,内容不满一屏时无法触发底部上拉事件,所以需要点击来触发\n\t\t\t\tif(this.status == 'loadmore') this.$emit('loadmore');\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style scoped lang=\"scss\">\n\t@import \"../../libs/css/style.components.scss\";\n\t\n\t/* #ifdef MP */\n\t// 在mp.scss中,赋予了u-line为flex: 1,这里需要一个明确的长度,所以重置掉它\n\t// 在组件内部,把组件名(u-line)当做选择器,在微信开发工具会提示不合法,但不影响使用\n\tu-line {\n\t\tflex: none;\n\t}\n\t/* #endif */\n\t\n\t.u-load-more-wrap {\n\t\t@include vue-flex;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t}\n\t\n\t.u-load-more-inner {\n\t\t@include vue-flex;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\tpadding: 0 12rpx;\n\t}\n\t\n\t.u-more {\n\t\tposition: relative;\n\t\t@include vue-flex;\n\t\tjustify-content: center;\n\t}\n\t\n\t.u-dot-text {\n\t\tfont-size: 28rpx;\n\t}\n\t\n\t.u-loadmore-icon-wrap {\n\t\tmargin-right: 8rpx;\n\t}\n\t\n\t.u-loadmore-icon {\n\t\t@include vue-flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\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-loadmore.vue?vue&type=style&index=0&id=874545c0&scoped=true&lang=scss&\"; 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-loadmore.vue?vue&type=style&index=0&id=874545c0&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536258219\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":""} |
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-mask/u-mask.vue?abac","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-mask/u-mask.vue?467a","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-mask/u-mask.vue?4b85","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-mask/u-mask.vue?4e91","uni-app:///uview-ui/components/u-mask/u-mask.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-mask/u-mask.vue?38df","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-mask/u-mask.vue?b98b"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AACmN;AACnN,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;AACA;AACA;AACA,2BAA2B;AAC3B;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1BA;AAAA;AAAA;AAAA;AAAm1B,CAAgB,oyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACUv2B;;;;;;;;;;;;;AAaA;AACA,gBADA;AAEA;AACA;AACA;AACA,mBADA;AAEA,oBAFA,EAFA;;AAMA;AACA;AACA,4BADA;AAEA,iBAFA,EAPA;;AAWA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAZA;;AAkBA;AACA;AACA,mBADA;AAEA,mBAFA,EAnBA;;AAuBA;AACA;AACA,4BADA;AAEA,kBAFA,EAxBA;;AA4BA;AACA;AACA,mBADA;AAEA,mBAFA,EA7BA,EAFA;;;AAoCA,MApCA,kBAoCA;AACA;AACA;AACA,qBADA,EADA;;AAIA,8BAJA;;AAMA,GA3CA;AA4CA;AACA,QADA,gBACA,CADA,EACA;AACA;AACA;AACA;AACA,OAHA,MAGA;AACA;AACA;AACA;AACA,KATA,EA5CA;;AAuDA;AACA,aADA,uBACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WADA;AAEA,sBAFA;;AAIA;AACA,KAbA,EAvDA;;AAsEA;AACA,SADA,mBACA;AACA;AACA;AACA,KAJA,EAtEA,E;;;;;;;;;;;;ACvBA;AAAA;AAAA;AAAA;AAAslD,CAAgB,27CAAG,EAAC,C;;;;;;;;;;;ACA1mD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-mask/u-mask.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-mask.vue?vue&type=template&id=4bfa3b00&scoped=true&\"\nvar renderjs\nimport script from \"./u-mask.vue?vue&type=script&lang=js&\"\nexport * from \"./u-mask.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-mask.vue?vue&type=style&index=0&id=4bfa3b00&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 \"4bfa3b00\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-mask/u-mask.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-mask.vue?vue&type=template&id=4bfa3b00&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.maskStyle, _vm.zoomStyle])\n\n if (!_vm._isMounted) {\n _vm.e0 = function($event) {\n $event.stopPropagation()\n $event.preventDefault()\n return (function() {})($event)\n }\n }\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-mask.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-mask.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"u-mask\" hover-stop-propagation :style=\"[maskStyle, zoomStyle]\" @tap=\"click\" @touchmove.stop.prevent=\"() => {}\" :class=\"{\n\t\t'u-mask-zoom': zoom,\n\t\t'u-mask-show': show\n\t}\">\n\t\t<slot />\n\t</view>\n</template>\n\n<script>\n\t/**\n\t * mask 遮罩\n\t * @description 创建一个遮罩层,用于强调特定的页面元素,并阻止用户对遮罩下层的内容进行操作,一般用于弹窗场景\n\t * @tutorial https://www.uviewui.com/components/mask.html\n\t * @property {Boolean} show 是否显示遮罩(默认false)\n\t * @property {String Number} z-index z-index 层级(默认1070)\n\t * @property {Object} custom-style 自定义样式对象,见上方说明\n\t * @property {String Number} duration 动画时长,单位毫秒(默认300)\n\t * @property {Boolean} zoom 是否使用scale对遮罩进行缩放(默认true)\n\t * @property {Boolean} mask-click-able 遮罩是否可点击,为false时点击不会发送click事件(默认true)\n\t * @event {Function} click mask-click-able为true时,点击遮罩发送此事件\n\t * @example <u-mask :show=\"show\" @click=\"show = false\"></u-mask>\n\t */\n\texport default {\n\t\tname: \"u-mask\",\n\t\tprops: {\n\t\t\t// 是否显示遮罩\n\t\t\tshow: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: false\n\t\t\t},\n\t\t\t// 层级z-index\n\t\t\tzIndex: {\n\t\t\t\ttype: [Number, String],\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// 用户自定义样式\n\t\t\tcustomStyle: {\n\t\t\t\ttype: Object,\n\t\t\t\tdefault () {\n\t\t\t\t\treturn {}\n\t\t\t\t}\n\t\t\t},\n\t\t\t// 遮罩的动画样式, 是否使用使用zoom进行scale进行缩放\n\t\t\tzoom: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: true\n\t\t\t},\n\t\t\t// 遮罩的过渡时间,单位为ms\n\t\t\tduration: {\n\t\t\t\ttype: [Number, String],\n\t\t\t\tdefault: 300\n\t\t\t},\n\t\t\t// 是否可以通过点击遮罩进行关闭\n\t\t\tmaskClickAble: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: true\n\t\t\t}\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tzoomStyle: {\n\t\t\t\t\ttransform: ''\n\t\t\t\t},\n\t\t\t\tscale: 'scale(1.2, 1.2)'\n\t\t\t}\n\t\t},\n\t\twatch: {\n\t\t\tshow(n) {\n\t\t\t\tif(n && this.zoom) {\n\t\t\t\t\t// 当展示遮罩的时候,设置scale为1,达到缩小(原来为1.2)的效果\n\t\t\t\t\tthis.zoomStyle.transform = 'scale(1, 1)';\n\t\t\t\t} else if(!n && this.zoom) {\n\t\t\t\t\t// 当隐藏遮罩的时候,设置scale为1.2,达到放大(因为显示遮罩时已重置为1)的效果\n\t\t\t\t\tthis.zoomStyle.transform = this.scale;\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tcomputed: {\n\t\t\tmaskStyle() {\n\t\t\t\tlet style = {};\n\t\t\t\tstyle.backgroundColor = \"rgba(0, 0, 0, 0.6)\";\n\t\t\t\tif(this.show) style.zIndex = this.zIndex ? this.zIndex : this.$u.zIndex.mask;\n\t\t\t\telse style.zIndex = -1;\n\t\t\t\tstyle.transition = `all ${this.duration / 1000}s ease-in-out`;\n\t\t\t\t// 判断用户传递的对象是否为空,不为空就进行合并\n\t\t\t\tif (Object.keys(this.customStyle).length) style = { \n\t\t\t\t\t...style,\n\t\t\t\t\t...this.customStyle\n\t\t\t\t};\n\t\t\t\treturn style;\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\tclick() {\n\t\t\t\tif (!this.maskClickAble) return;\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/style.components.scss\";\n\t\n\t.u-mask {\n\t\tposition: fixed;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tright: 0;\n\t\tbottom: 0;\n\t\topacity: 0;\n\t\ttransition: transform 0.3s;\n\t}\n\n\t.u-mask-show {\n\t\topacity: 1;\n\t}\n\t\n\t.u-mask-zoom {\n\t\ttransform: scale(1.2, 1.2);\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-mask.vue?vue&type=style&index=0&id=4bfa3b00&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-mask.vue?vue&type=style&index=0&id=4bfa3b00&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536257820\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":""} |
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-message-input/u-message-input.vue?b72b","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-message-input/u-message-input.vue?166f","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-message-input/u-message-input.vue?204c","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-message-input/u-message-input.vue?2847","uni-app:///uview-ui/components/u-message-input/u-message-input.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-message-input/u-message-input.vue?e9fe","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-message-input/u-message-input.vue?306c"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAwI;AACxI;AACmE;AACL;AACsC;;;AAGpG;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,qFAAM;AACR,EAAE,sGAAM;AACR,EAAE,+GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,0GAAU;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;AAA41B,CAAgB,6yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACoCh3B;;;;;;;;;;;;;;;;;;;;AAoBA;AACA,yBADA;AAEA;AACA;AACA;AACA,4BADA;AAEA,gBAFA,EAFA;;AAMA;AACA;AACA,mBADA;AAEA,oBAFA,EAPA;;AAWA;AACA;AACA,kBADA;AAEA,oBAFA,EAZA;;AAgBA;AACA;AACA,4BADA;AAEA,iBAFA,EAjBA;;AAqBA;AACA;AACA,mBADA;AAEA,mBAFA,EAtBA;;AA0BA;AACA;AACA,mBADA;AAEA,oBAFA,EA3BA;;AA+BA;AACA;AACA,mBADA;AAEA,oBAFA,EAhCA;;AAoCA;AACA;AACA,4BADA;AAEA,iBAFA,EArCA;;AAyCA;AACA;AACA,kBADA;AAEA,wBAFA,EA1CA;;AA8CA;AACA;AACA,kBADA;AAEA,wBAFA,EA/CA;;AAmDA;AACA;AACA,4BADA;AAEA,mBAFA,EApDA;;AAwDA;AACA;AACA,mBADA;AAEA,oBAFA,EAzDA,EAFA;;;AAgEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBADA;AAEA,aAFA,mBAEA,GAFA,EAEA;AACA;AACA;AACA;AACA;AACA,OAPA,EARA,EAhEA;;;AAkFA,MAlFA,kBAkFA;AACA;AACA,oBADA;;AAGA,GAtFA;AAuFA;AACA;AACA,kBAFA,4BAEA;AACA;AACA;AACA;AACA,OAHA;AAIA,KAPA;AAQA;AACA,WATA,qBASA;AACA;AACA,KAXA;AAYA,iBAZA,2BAYA;AACA;AACA,KAdA;AAeA;AACA,eAhBA,yBAgBA;AACA;AACA,KAlBA,EAvFA;;AA2GA;AACA,UADA,kBACA,CADA,EACA;;AAEA,WAFA;AAGA,cAHA,CAEA,KAFA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAbA,EA3GA,E;;;;;;;;;;;;ACxDA;AAAA;AAAA;AAAA;AAA+lD,CAAgB,o8CAAG,EAAC,C;;;;;;;;;;;ACAnnD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-message-input/u-message-input.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-message-input.vue?vue&type=template&id=0e1e7f9a&scoped=true&\"\nvar renderjs\nimport script from \"./u-message-input.vue?vue&type=script&lang=js&\"\nexport * from \"./u-message-input.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-message-input.vue?vue&type=style&index=0&id=0e1e7f9a&scoped=true&lang=scss&\"\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 \"0e1e7f9a\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-message-input/u-message-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-message-input.vue?vue&type=template&id=0e1e7f9a&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-message-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-message-input.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"u-char-box\">\n\t\t<view class=\"u-char-flex\">\n\t\t\t<input :disabled=\"disabledKeyboard\" :value=\"valueModel\" type=\"number\" :focus=\"focus\" :maxlength=\"maxlength\" class=\"u-input\" @input=\"getVal\"/>\n\t\t\t<view v-for=\"(item, index) in loopCharArr\" :key=\"index\">\n\t\t\t\t<view :class=\"[breathe && charArrLength == index ? 'u-breathe' : '', 'u-char-item',\n\t\t\t\tcharArrLength === index && mode == 'box' ? 'u-box-active' : '',\n\t\t\t\tmode === 'box' ? 'u-box' : '']\" :style=\"{\n\t\t\t\t\tfontWeight: bold ? 'bold' : 'normal',\n\t\t\t\t\tfontSize: fontSize + 'rpx',\n\t\t\t\t\twidth: width + 'rpx',\n\t\t\t\t\theight: width + 'rpx',\n\t\t\t\t\tcolor: inactiveColor,\n\t\t\t\t\tborderColor: charArrLength === index && mode == 'box' ? activeColor : inactiveColor\n\t\t\t\t}\">\n\t\t\t\t\t<view class=\"u-placeholder-line\" :style=\"{\n\t\t\t\t\t\t\tdisplay: charArrLength === index ? 'block' : 'none',\n\t\t\t\t\t\t\theight: width * 0.5 +'rpx'\n\t\t\t\t\t\t}\"\n\t\t\t\t\t\tv-if=\"mode !== 'middleLine'\"\n\t\t\t\t\t></view>\n\t\t\t\t\t<view v-if=\"mode === 'middleLine' && charArrLength <= index\" :class=\"[breathe && charArrLength == index ? 'u-breathe' : '', charArrLength === index ? 'u-middle-line-active' : '']\"\n\t\t\t\t\t class=\"u-middle-line\" :style=\"{height: bold ? '4px' : '2px', background: charArrLength === index ? activeColor : inactiveColor}\"></view>\n\t\t\t\t\t<view v-if=\"mode === 'bottomLine'\" :class=\"[breathe && charArrLength == index ? 'u-breathe' : '', charArrLength === index ? 'u-buttom-line-active' : '']\"\n\t\t\t\t\t class=\"u-bottom-line\" :style=\"{height: bold ? '4px' : '2px', background: charArrLength === index ? activeColor : inactiveColor}\"></view>\n\t\t\t\t\t<block v-if=\"!dotFill\"> {{ charArr[index] ? charArr[index] : ''}}</block>\n\t\t\t\t\t<block v-else>\n\t\t\t\t\t\t<text class=\"u-dot\">{{ charArr[index] ? '●' : ''}}</text>\n\t\t\t\t\t</block>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\t/**\n\t * messageInput 验证码输入框\n\t * @description 该组件一般用于验证用户短信验证码的场景,也可以结合uView的键盘组件使用\n\t * @tutorial https://www.uviewui.com/components/messageInput.html\n\t * @property {String Number} maxlength 输入字符个数(默认4)\n\t * @property {Boolean} dot-fill 是否用圆点填充(默认false)\n\t * @property {String} mode 模式选择,见上方\"基本使用\"说明(默认box)\n\t * @property {String Number} value 预置值\n\t * @property {Boolean} breathe 是否开启呼吸效果,见上方说明(默认true)\n\t * @property {Boolean} focus 是否自动获取焦点(默认false)\n\t * @property {Boolean} bold 字体和输入横线是否加粗(默认true)\n\t * @property {String Number} font-size 字体大小,单位rpx(默认60)\n\t * @property {String} active-color 当前激活输入框的样式(默认#2979ff)\n\t * @property {String} inactive-color 非激活输入框的样式,文字颜色同此值(默认#606266)\n\t * @property {String | Number} width 输入框宽度,单位rpx,高等于宽(默认80)\n\t * @property {Boolean} disabled-keyboard 禁止点击输入框唤起系统键盘(默认false)\n\t * @event {Function} change 输入内容发生改变时触发,具体见官网说明\n\t * @event {Function} finish 输入字符个数达maxlength值时触发,见官网说明\n\t * @example <u-message-input mode=\"bottomLine\"></u-message-input>\n\t */\n\texport default {\n\t\tname: \"u-message-input\",\n\t\tprops: {\n\t\t\t// 最大输入长度\n\t\t\tmaxlength: {\n\t\t\t\ttype: [Number, String],\n\t\t\t\tdefault: 4\n\t\t\t},\n\t\t\t// 是否用圆点填充\n\t\t\tdotFill: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: false\n\t\t\t},\n\t\t\t// 显示模式,box-盒子模式,bottomLine-横线在底部模式,middleLine-横线在中部模式\n\t\t\tmode: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: \"box\"\n\t\t\t},\n\t\t\t// 预置值\n\t\t\tvalue: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// 当前激活输入item,是否带有呼吸效果\n\t\t\tbreathe: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: true\n\t\t\t},\n\t\t\t// 是否自动获取焦点\n\t\t\tfocus: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: false\n\t\t\t},\n\t\t\t// 字体是否加粗\n\t\t\tbold: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: false\n\t\t\t},\n\t\t\t// 字体大小\n\t\t\tfontSize: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: 60\n\t\t\t},\n\t\t\t// 激活样式\n\t\t\tactiveColor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '#2979ff'\n\t\t\t},\n\t\t\t// 未激活的样式\n\t\t\tinactiveColor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '#606266'\n\t\t\t},\n\t\t\t// 输入框的大小,单位rpx,宽等于高\n\t\t\twidth: {\n\t\t\t\ttype: [Number, String],\n\t\t\t\tdefault: '80'\n\t\t\t},\n\t\t\t// 是否隐藏原生键盘,如果想用自定义键盘的话,需设置此参数为true\n\t\t\tdisabledKeyboard: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: false\n\t\t\t}\n\t\t},\n\t\twatch: {\n\t\t\t// maxlength: {\n\t\t\t// \t// 此值设置为true,会在组件加载后无需maxlength变化就会执行一次本监听函数,无需再created生命周期中处理\n\t\t\t// \timmediate: true,\n\t\t\t// \thandler(val) {\n\t\t\t// \t\tthis.maxlength = Number(val);\n\t\t\t// \t}\n\t\t\t// }, \n\t\t\tvalue: {\n\t\t\t\timmediate: true,\n\t\t\t\thandler(val) {\n\t\t\t\t\t// 转为字符串\n\t\t\t\t\tval = String(val);\n\t\t\t\t\t// 超出部分截掉\n\t\t\t\t\tthis.valueModel = val.substring(0, this.maxlength);\n\t\t\t\t}\n\t\t\t},\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tvalueModel: \"\"\n\t\t\t}\n\t\t},\n\t\tcomputed: {\n\t\t\t// 是否显示呼吸灯效果\n\t\t\tanimationClass() {\n\t\t\t\treturn (index) => {\n\t\t\t\t\tif (this.breathe && this.charArr.length == index) return 'u-breathe';\n\t\t\t\t\telse return '';\n\t\t\t\t}\n\t\t\t},\n\t\t\t// 用于显示字符\n\t\t\tcharArr() {\n\t\t\t\treturn this.valueModel.split('');\n\t\t\t},\n\t\t\tcharArrLength() {\n\t\t\t\treturn this.charArr.length;\n\t\t\t},\n\t\t\t// 根据长度,循环输入框的个数,因为头条小程序数值不能用于v-for\n\t\t\tloopCharArr() {\n\t\t\t\treturn new Array(this.maxlength);\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\tgetVal(e) {\n\t\t\t\tlet {\n\t\t\t\t\tvalue\n\t\t\t\t} = e.detail\n\t\t\t\tthis.valueModel = value;\n\t\t\t\t// 判断长度是否超出了maxlength值,理论上不会发生,因为input组件设置了maxlength属性值\n\t\t\t\tif (String(value).length > this.maxlength) return;\n\t\t\t\t// 未达到maxlength之前,发送change事件,达到后发送finish事件\n\t\t\t\tthis.$emit('change', value);\n\t\t\t\tif (String(value).length == this.maxlength) {\n\t\t\t\t\tthis.$emit('finish', value);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style scoped lang=\"scss\">\n\t@import \"../../libs/css/style.components.scss\";\n\n\t@keyframes breathe {\n\t\t0% {\n\t\t\topacity: 0.3;\n\t\t}\n\n\t\t50% {\n\t\t\topacity: 1;\n\t\t}\n\n\t\t100% {\n\t\t\topacity: 0.3;\n\t\t}\n\t}\n\n\t.u-char-box {\n\t\ttext-align: center;\n\t}\n\n\t.u-char-flex {\n\t\t@include vue-flex;\n\t\tjustify-content: center;\n\t\tflex-wrap: wrap;\n\t\tposition: relative;\n\t}\n\n\t.u-input {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: -100%;\n\t\twidth: 200%;\n\t\theight: 100%;\n\t\ttext-align: left;\n\t\tz-index: 9;\n\t\topacity: 0;\n\t\tbackground: none;\n\t}\n\n\t.u-char-item {\n\t\tposition: relative;\n\t\twidth: 90rpx;\n\t\theight: 90rpx;\n\t\tmargin: 10rpx 10rpx;\n\t\tfont-size: 60rpx;\n\t\tfont-weight: bold;\n\t\tcolor: $u-main-color;\n\t\tline-height: 90rpx;\n\t\t@include vue-flex;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t}\n\n\t.u-middle-line {\n\t\tborder: none;\n\t}\n\n\t.u-box {\n\t\tbox-sizing: border-box;\n\t\tborder: 2rpx solid #cccccc;\n\t\tborder-radius: 6rpx;\n\t}\n\n\t.u-box-active {\n\t\toverflow: hidden;\n\t\tanimation-timing-function: ease-in-out;\n\t\tanimation-duration: 1500ms;\n\t\tanimation-iteration-count: infinite;\n\t\tanimation-direction: alternate;\n\t\tborder: 2rpx solid $u-type-primary;\n\t}\n\n\t.u-middle-line-active {\n\t\tbackground: $u-type-primary;\n\t}\n\n\t.u-breathe {\n\t\tanimation: breathe 2s infinite ease;\n\t}\n\n\t.u-placeholder-line {\n\t\t/* #ifndef APP-NVUE */\n\t\tdisplay: none;\n\t\t/* #endif */\n\t\tposition: absolute;\n\t\tleft: 50%;\n\t\ttop: 50%;\n\t\ttransform: translate(-50%, -50%);\n\t\twidth: 2rpx;\n\t\theight: 40rpx;\n\t\tbackground: #333333;\n\t\tanimation: twinkling 1.5s infinite ease;\n\t}\n\n\t.u-animation-breathe {\n\t\tanimation-name: breathe;\n\t}\n\n\t.u-dot {\n\t\tfont-size: 34rpx;\n\t\tline-height: 34rpx;\n\t}\n\n\t.u-middle-line {\n\t\theight: 4px;\n\t\tbackground: #000000;\n\t\twidth: 80%;\n\t\tposition: absolute;\n\t\tborder-radius: 2px;\n\t\ttop: 50%;\n\t\tleft: 50%;\n\t\ttransform: translate(-50%, -50%);\n\t}\n\n\t.u-buttom-line-active {\n\t\tbackground: $u-type-primary;\n\t}\n\n\t.u-bottom-line {\n\t\theight: 4px;\n\t\tbackground: #000000;\n\t\twidth: 80%;\n\t\tposition: absolute;\n\t\tborder-radius: 2px;\n\t\tbottom: 0;\n\t\tleft: 50%;\n\t\ttransform: translate(-50%);\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-message-input.vue?vue&type=style&index=0&id=0e1e7f9a&scoped=true&lang=scss&\"; 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-message-input.vue?vue&type=style&index=0&id=0e1e7f9a&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536257838\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":""} |
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-navbar/u-navbar.vue?2623","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-navbar/u-navbar.vue?99bd","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-navbar/u-navbar.vue?95b3","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-navbar/u-navbar.vue?a66b","uni-app:///uview-ui/components/u-navbar/u-navbar.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-navbar/u-navbar.vue?c3ae","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-navbar/u-navbar.vue?bf0f"],"names":[],"mappings":"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","file":"uview-ui/components/u-navbar/u-navbar.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-navbar.vue?vue&type=template&id=1194bf80&scoped=true&\"\nvar renderjs\nimport script from \"./u-navbar.vue?vue&type=script&lang=js&\"\nexport * from \"./u-navbar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-navbar.vue?vue&type=style&index=0&id=1194bf80&scoped=true&lang=scss&\"\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 \"1194bf80\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-navbar/u-navbar.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-navbar.vue?vue&type=template&id=1194bf80&scoped=true&\"","var components\ntry {\n components = {\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-icon/u-icon\" */ \"@/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.navbarStyle])\n\n var s1 = _vm.__get_style([_vm.navbarInnerStyle])\n\n var s2 =\n _vm.isBack && _vm.backText ? _vm.__get_style([_vm.backTextStyle]) : null\n var s3 = _vm.title ? _vm.__get_style([_vm.titleStyle]) : null\n var m0 = _vm.isFixed && !_vm.immersive ? Number(_vm.navbarHeight) : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n s1: s1,\n s2: s2,\n s3: s3,\n m0: m0\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-navbar.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-navbar.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"\">\n\t\t<view class=\"u-navbar\" :style=\"[navbarStyle]\" :class=\"{ 'u-navbar-fixed': isFixed, 'u-border-bottom': borderBottom }\">\n\t\t\t<view class=\"u-status-bar\" :style=\"{ height: statusBarHeight + 'px' }\"></view>\n\t\t\t<view class=\"u-navbar-inner\" :style=\"[navbarInnerStyle]\">\n\t\t\t\t<view class=\"u-back-wrap\" v-if=\"isBack\" @tap=\"goBack\">\n\t\t\t\t\t<view class=\"u-icon-wrap\">\n\t\t\t\t\t\t<u-icon :name=\"backIconName\" :color=\"backIconColor\" :size=\"backIconSize\"></u-icon>\n\t\t\t\t\t</view>\n\t\t\t\t\t<view class=\"u-icon-wrap u-back-text u-line-1\" v-if=\"backText\" :style=\"[backTextStyle]\">{{ backText }}</view>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"u-navbar-content-title\" v-if=\"title\" :style=\"[titleStyle]\">\n\t\t\t\t\t<view\n\t\t\t\t\t class=\"u-title u-line-1\"\n\t\t\t\t\t :style=\"{\n\t\t\t\t\t\t\tcolor: titleColor,\n\t\t\t\t\t\t\tfontSize: titleSize + 'rpx',\n\t\t\t\t\t\t\tfontWeight: titleBold ? 'bold' : 'normal'\n\t\t\t\t\t\t}\">\n\t\t\t\t\t\t{{ title }}\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"u-slot-content\">\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"u-slot-right\">\n\t\t\t\t\t<slot name=\"right\"></slot>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t</view>\n\t\t<!-- 解决fixed定位后导航栏塌陷的问题 -->\n\t\t<view class=\"u-navbar-placeholder\" v-if=\"isFixed && !immersive\" :style=\"{ width: '100%', height: Number(navbarHeight) + statusBarHeight + 'px' }\"></view>\n\t</view>\n</template>\n\n<script>\n\t// 获取系统状态栏的高度\n\tlet systemInfo = uni.getSystemInfoSync();\n\tlet menuButtonInfo = {};\n\t// 如果是小程序,获取右上角胶囊的尺寸信息,避免导航栏右侧内容与胶囊重叠(支付宝小程序非本API,尚未兼容)\n\t// #ifdef MP-WEIXIN || MP-BAIDU || MP-TOUTIAO || MP-QQ\n\tmenuButtonInfo = uni.getMenuButtonBoundingClientRect();\n\t// #endif\n\t/**\n\t * navbar 自定义导航栏\n\t * @description 此组件一般用于在特殊情况下,需要自定义导航栏的时候用到,一般建议使用uniapp自带的导航栏。\n\t * @tutorial https://www.uviewui.com/components/navbar.html\n\t * @property {String Number} height 导航栏高度(不包括状态栏高度在内,内部自动加上),注意这里的单位是px(默认44)\n\t * @property {String} back-icon-color 左边返回图标的颜色(默认#606266)\n\t * @property {String} back-icon-name 左边返回图标的名称,只能为uView自带的图标(默认arrow-left)\n\t * @property {String Number} back-icon-size 左边返回图标的大小,单位rpx(默认30)\n\t * @property {String} back-text 返回图标右边的辅助提示文字\n\t * @property {Object} back-text-style 返回图标右边的辅助提示文字的样式,对象形式(默认{ color: '#606266' })\n\t * @property {String} title 导航栏标题,如设置为空字符,将会隐藏标题占位区域\n\t * @property {String Number} title-width 导航栏标题的最大宽度,内容超出会以省略号隐藏,单位rpx(默认250)\n\t * @property {String} title-color 标题的颜色(默认#606266)\n\t * @property {String Number} title-size 导航栏标题字体大小,单位rpx(默认32)\n\t * @property {Function} custom-back 自定义返回逻辑方法\n\t * @property {String Number} z-index 固定在顶部时的z-index值(默认980)\n\t * @property {Boolean} is-back 是否显示导航栏左边返回图标和辅助文字(默认true)\n\t * @property {Object} background 导航栏背景设置,见官网说明(默认{ background: '#ffffff' })\n\t * @property {Boolean} is-fixed 导航栏是否固定在顶部(默认true)\n\t * @property {Boolean} immersive 沉浸式,允许fixed定位后导航栏塌陷,仅fixed定位下生效(默认false)\n\t * @property {Boolean} border-bottom 导航栏底部是否显示下边框,如定义了较深的背景颜色,可取消此值(默认true)\n\t * @example <u-navbar back-text=\"返回\" title=\"剑未配妥,出门已是江湖\"></u-navbar>\n\t */\n\texport default {\n\t\tname: \"u-navbar\",\n\t\tprops: {\n\t\t\t// 导航栏高度,单位px,非rpx\n\t\t\theight: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// 返回箭头的颜色\n\t\t\tbackIconColor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '#606266'\n\t\t\t},\n\t\t\t// 左边返回的图标\n\t\t\tbackIconName: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'nav-back'\n\t\t\t},\n\t\t\t// 左边返回图标的大小,rpx\n\t\t\tbackIconSize: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: '44'\n\t\t\t},\n\t\t\t// 返回的文字提示\n\t\t\tbackText: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// 返回的文字的 样式\n\t\t\tbackTextStyle: {\n\t\t\t\ttype: Object,\n\t\t\t\tdefault () {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tcolor: '#606266'\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t// 导航栏标题\n\t\t\ttitle: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// 标题的宽度,如果需要自定义右侧内容,且右侧内容很多时,可能需要减少这个宽度,单位rpx\n\t\t\ttitleWidth: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: '250'\n\t\t\t},\n\t\t\t// 标题的颜色\n\t\t\ttitleColor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '#606266'\n\t\t\t},\n\t\t\t// 标题字体是否加粗\n\t\t\ttitleBold: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: false\n\t\t\t},\n\t\t\t// 标题的字体大小\n\t\t\ttitleSize: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: 32\n\t\t\t},\n\t\t\tisBack: {\n\t\t\t\ttype: [Boolean, String],\n\t\t\t\tdefault: true\n\t\t\t},\n\t\t\t// 对象形式,因为用户可能定义一个纯色,或者线性渐变的颜色\n\t\t\tbackground: {\n\t\t\t\ttype: Object,\n\t\t\t\tdefault () {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tbackground: '#ffffff'\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t// 导航栏是否固定在顶部\n\t\t\tisFixed: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: true\n\t\t\t},\n\t\t\t// 是否沉浸式,允许fixed定位后导航栏塌陷,仅fixed定位下生效\n\t\t\timmersive: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: false\n\t\t\t},\n\t\t\t// 是否显示导航栏的下边框\n\t\t\tborderBottom: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: true\n\t\t\t},\n\t\t\tzIndex: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// 自定义返回逻辑\n\t\t\tcustomBack: {\n\t\t\t\ttype: Function,\n\t\t\t\tdefault: null\n\t\t\t}\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tmenuButtonInfo: menuButtonInfo,\n\t\t\t\tstatusBarHeight: systemInfo.statusBarHeight\n\t\t\t};\n\t\t},\n\t\tcomputed: {\n\t\t\t// 导航栏内部盒子的样式\n\t\t\tnavbarInnerStyle() {\n\t\t\t\tlet style = {};\n\t\t\t\t// 导航栏宽度,如果在小程序下,导航栏宽度为胶囊的左边到屏幕左边的距离\n\t\t\t\tstyle.height = this.navbarHeight + 'px';\n\t\t\t\t// // 如果是各家小程序,导航栏内部的宽度需要减少右边胶囊的宽度\n\t\t\t\t// #ifdef MP\n\t\t\t\tlet rightButtonWidth = systemInfo.windowWidth - menuButtonInfo.left;\n\t\t\t\tstyle.marginRight = rightButtonWidth + 'px';\n\t\t\t\t// #endif\n\t\t\t\treturn style;\n\t\t\t},\n\t\t\t// 整个导航栏的样式\n\t\t\tnavbarStyle() {\n\t\t\t\tlet style = {};\n\t\t\t\tstyle.zIndex = this.zIndex ? this.zIndex : this.$u.zIndex.navbar;\n\t\t\t\t// 合并用户传递的背景色对象\n\t\t\t\tObject.assign(style, this.background);\n\t\t\t\treturn style;\n\t\t\t},\n\t\t\t// 导航中间的标题的样式\n\t\t\ttitleStyle() {\n\t\t\t\tlet style = {};\n\t\t\t\t// #ifndef MP\n\t\t\t\tstyle.left = (systemInfo.windowWidth - uni.upx2px(this.titleWidth)) / 2 + 'px';\n\t\t\t\tstyle.right = (systemInfo.windowWidth - uni.upx2px(this.titleWidth)) / 2 + 'px';\n\t\t\t\t// #endif\n\t\t\t\t// #ifdef MP\n\t\t\t\t// 此处是为了让标题显示区域即使在小程序有右侧胶囊的情况下也能处于屏幕的中间,是通过绝对定位实现的\n\t\t\t\tlet rightButtonWidth = systemInfo.windowWidth - menuButtonInfo.left;\n\t\t\t\tstyle.left = (systemInfo.windowWidth - uni.upx2px(this.titleWidth)) / 2 + 'px';\n\t\t\t\tstyle.right = rightButtonWidth - (systemInfo.windowWidth - uni.upx2px(this.titleWidth)) / 2 + rightButtonWidth +\n\t\t\t\t\t'px';\n\t\t\t\t// #endif\n\t\t\t\tstyle.width = uni.upx2px(this.titleWidth) + 'px';\n\t\t\t\treturn style;\n\t\t\t},\n\t\t\t// 转换字符数值为真正的数值\n\t\t\tnavbarHeight() {\n\t\t\t\t// #ifdef APP-PLUS || H5\n\t\t\t\treturn this.height ? this.height : 44;\n\t\t\t\t// #endif\n\t\t\t\t// #ifdef MP\n\t\t\t\t// 小程序特别处理,让导航栏高度 = 胶囊高度 + 两倍胶囊顶部与状态栏底部的距离之差(相当于同时获得了导航栏底部与胶囊底部的距离)\n\t\t\t\t// 此方法有缺陷,暂不用(会导致少了几个px),采用直接固定值的方式\n\t\t\t\t// return menuButtonInfo.height + (menuButtonInfo.top - this.statusBarHeight) * 2;//导航高度\n\t\t\t\tlet height = systemInfo.platform == 'ios' ? 44 : 48;\n\t\t\t\treturn this.height ? this.height : height;\n\t\t\t\t// #endif\n\t\t\t}\n\t\t},\n\t\tcreated() {},\n\t\tmethods: {\n\t\t\tgoBack() {\n\t\t\t\t// 如果自定义了点击返回按钮的函数,则执行,否则执行返回逻辑\n\t\t\t\tif (typeof this.customBack === 'function') {\n\t\t\t\t\t// 在微信,支付宝等环境(H5正常),会导致父组件定义的customBack()函数体中的this变成子组件的this\n\t\t\t\t\t// 通过bind()方法,绑定父组件的this,让this.customBack()的this为父组件的上下文\n\t\t\t\t\tthis.customBack.bind(this.$u.$parent.call(this))();\n\t\t\t\t} else {\n\t\t\t\t\tuni.navigateBack();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n</script>\n\n<style scoped lang=\"scss\">\n\t@import \"../../libs/css/style.components.scss\";\n\n\t.u-navbar {\n\t\twidth: 100%;\n\t}\n\n\t.u-navbar-fixed {\n\t\tposition: fixed;\n\t\tleft: 0;\n\t\tright: 0;\n\t\ttop: 0;\n\t\tz-index: 991;\n\t}\n\n\t.u-status-bar {\n\t\twidth: 100%;\n\t}\n\n\t.u-navbar-inner {\n\t\t@include vue-flex;\n\t\tjustify-content: space-between;\n\t\tposition: relative;\n\t\talign-items: center;\n\t}\n\n\t.u-back-wrap {\n\t\t@include vue-flex;\n\t\talign-items: center;\n\t\tflex: 1;\n\t\tflex-grow: 0;\n\t\tpadding: 14rpx 14rpx 14rpx 24rpx;\n\t}\n\n\t.u-back-text {\n\t\tpadding-left: 4rpx;\n\t\tfont-size: 30rpx;\n\t}\n\n\t.u-navbar-content-title {\n\t\t@include vue-flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t\tflex: 1;\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\tright: 0;\n\t\theight: 60rpx;\n\t\ttext-align: center;\n\t\tflex-shrink: 0;\n\t}\n\n\t.u-navbar-centent-slot {\n\t\tflex: 1;\n\t}\n\n\t.u-title {\n\t\tline-height: 60rpx;\n\t\tfont-size: 32rpx;\n\t\tflex: 1;\n\t}\n\n\t.u-navbar-right {\n\t\tflex: 1;\n\t\t@include vue-flex;\n\t\talign-items: center;\n\t\tjustify-content: flex-end;\n\t}\n\n\t.u-slot-content {\n\t\tflex: 1;\n\t\t@include vue-flex;\n\t\talign-items: center;\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-navbar.vue?vue&type=style&index=0&id=1194bf80&scoped=true&lang=scss&\"; 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-navbar.vue?vue&type=style&index=0&id=1194bf80&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536257807\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":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-notice-bar/u-notice-bar.js.map
已删除
100644 → 0
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-notice-bar/u-notice-bar.vue?5fbf","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-notice-bar/u-notice-bar.vue?a622","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-notice-bar/u-notice-bar.vue?9659","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-notice-bar/u-notice-bar.vue?0da8","uni-app:///uview-ui/components/u-notice-bar/u-notice-bar.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-notice-bar/u-notice-bar.vue?3394","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-notice-bar/u-notice-bar.vue?d27b"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqI;AACrI;AACgE;AACL;AACsC;;;AAGjG;AACmN;AACnN,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,aAAa,2OAEN;AACP,KAAK;AACL;AACA,aAAa,6PAEN;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;;;;;;;;;;;;;;ACtCA;AAAA;AAAA;AAAA;AAAy1B,CAAgB,0yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiD72B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BA;AACA,sBADA;AAEA;AACA;AACA;AACA,iBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAFA;;AAQA;AACA;AACA,kBADA;AAEA,wBAFA,EATA;;AAaA;AACA;AACA,mBADA;AAEA,mBAFA,EAdA;;AAkBA;AACA;AACA,4BADA;AAEA,iBAFA,EAnBA;;AAuBA;AACA;AACA,mBADA;AAEA,oBAFA,EAxBA;;AA4BA;AACA;AACA,mBADA;AAEA,oBAFA,EA7BA;;AAiCA;AACA;AACA,mBADA;AAEA,mBAFA,EAlCA;;AAsCA;AACA;AACA,kBADA;AAEA,iBAFA,EAvCA;;AA2CA;AACA;AACA,kBADA;AAEA,iBAFA,EA5CA;;AAgDA;AACA;AACA,kBADA;AAEA,2BAFA,EAjDA;;AAqDA;AACA;AACA,mBADA;AAEA,mBAFA,EAtDA;;AA0DA;AACA;AACA,4BADA;AAEA,iBAFA,EA3DA;;AA+DA;AACA;AACA,4BADA;AAEA,mBAFA,EAhEA;;AAoEA;AACA;AACA,4BADA;AAEA,kBAFA,EArEA;;AAyEA;AACA;AACA;AACA,mBADA;AAEA,mBAFA,EA3EA;;AA+EA;AACA;AACA,kBADA;AAEA,qBAFA,EAhFA;;AAoFA;AACA;AACA;AACA,mBADA;AAEA,mBAFA,EAtFA;;AA0FA;AACA;AACA,4BADA;AAEA,gBAFA,EA3FA;;AA+FA;AACA;AACA,4BADA;AAEA,4BAFA,EAhGA;;AAoGA;AACA;AACA,mBADA;AAEA,mBAFA,EArGA,EAFA;;;AA4GA;AACA;AACA,UAFA,oBAEA;AACA;AACA;AACA,KALA,EA5GA;;AAmHA;AACA;AACA,SAFA,iBAEA,KAFA,EAEA;AACA;AACA,KAJA;AAKA;AACA,SANA,mBAMA;AACA;AACA,KARA;AASA;AACA,WAVA,qBAUA;AACA;AACA,KAZA;AAaA;AACA,OAdA,iBAcA;AACA;AACA,KAhBA,EAnHA,E;;;;;;;;;;;;AChFA;AAAA;AAAA;AAAA;AAA4lD,CAAgB,i8CAAG,EAAC,C;;;;;;;;;;;ACAhnD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-notice-bar/u-notice-bar.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-notice-bar.vue?vue&type=template&id=087a7280&scoped=true&\"\nvar renderjs\nimport script from \"./u-notice-bar.vue?vue&type=script&lang=js&\"\nexport * from \"./u-notice-bar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-notice-bar.vue?vue&type=style&index=0&id=087a7280&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 \"087a7280\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-notice-bar/u-notice-bar.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-notice-bar.vue?vue&type=template&id=087a7280&scoped=true&\"","var components\ntry {\n components = {\n uRowNotice: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-row-notice/u-row-notice\" */ \"@/uview-ui/components/u-row-notice/u-row-notice.vue\"\n )\n },\n uColumnNotice: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-column-notice/u-column-notice\" */ \"@/uview-ui/components/u-column-notice/u-column-notice.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-notice-bar.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-notice-bar.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"u-notice-bar-wrap\" v-if=\"isShow\" :style=\"{\n\t\tborderRadius: borderRadius + 'rpx',\n\t}\">\n\t\t<block v-if=\"mode == 'horizontal' && isCircular\">\n\t\t\t<u-row-notice\n\t\t\t\t:type=\"type\"\n\t\t\t\t:color=\"color\"\n\t\t\t\t:bgColor=\"bgColor\"\n\t\t\t\t:list=\"list\"\n\t\t\t\t:volumeIcon=\"volumeIcon\"\n\t\t\t\t:moreIcon=\"moreIcon\"\n\t\t\t\t:volumeSize=\"volumeSize\"\n\t\t\t\t:closeIcon=\"closeIcon\"\n\t\t\t\t:mode=\"mode\"\n\t\t\t\t:fontSize=\"fontSize\"\n\t\t\t\t:speed=\"speed\"\n\t\t\t\t:playState=\"playState\"\n\t\t\t\t:padding=\"padding\"\n\t\t\t\t@getMore=\"getMore\"\n\t\t\t\t@close=\"close\"\n\t\t\t\t@click=\"click\"\n\t\t\t></u-row-notice>\n\t\t</block>\n\t\t<block v-if=\"mode == 'vertical' || (mode == 'horizontal' && !isCircular)\">\n\t\t\t<u-column-notice\n\t\t\t\t:type=\"type\"\n\t\t\t\t:color=\"color\"\n\t\t\t\t:bgColor=\"bgColor\"\n\t\t\t\t:list=\"list\"\n\t\t\t\t:volumeIcon=\"volumeIcon\"\n\t\t\t\t:moreIcon=\"moreIcon\"\n\t\t\t\t:closeIcon=\"closeIcon\"\n\t\t\t\t:mode=\"mode\"\n\t\t\t\t:volumeSize=\"volumeSize\"\n\t\t\t\t:disable-touch=\"disableTouch\"\n\t\t\t\t:fontSize=\"fontSize\"\n\t\t\t\t:duration=\"duration\"\n\t\t\t\t:playState=\"playState\"\n\t\t\t\t:padding=\"padding\"\n\t\t\t\t@getMore=\"getMore\"\n\t\t\t\t@close=\"close\"\n\t\t\t\t@click=\"click\"\n\t\t\t\t@end=\"end\"\n\t\t\t></u-column-notice>\n\t\t</block>\n\t</view>\n</template>\n<script>\n/**\n * noticeBar 滚动通知\n * @description 该组件用于滚动通告场景,有多种模式可供选择\n * @tutorial https://www.uviewui.com/components/noticeBar.html\n * @property {Array} list 滚动内容,数组形式,见上方说明\n * @property {String} type 显示的主题(默认warning)\n * @property {Boolean} volume-icon 是否显示小喇叭图标(默认true)\n * @property {Boolean} more-icon 是否显示右边的向右箭头(默认false)\n * @property {Boolean} close-icon 是否显示关闭图标(默认false)\n * @property {Boolean} autoplay 是否自动播放(默认true)\n * @property {String} color 文字颜色\n * @property {String Number} bg-color 背景颜色\n * @property {String} mode 滚动模式(默认horizontal)\n * @property {Boolean} show 是否显示(默认true)\n * @property {String Number} font-size 字体大小,单位rpx(默认28)\n * @property {String Number} volume-size 左边喇叭的大小(默认34)\n * @property {String Number} duration 滚动周期时长,只对步进模式有效,横向衔接模式无效,单位ms(默认2000)\n * @property {String Number} speed 水平滚动时的滚动速度,即每秒移动多少距离,只对水平衔接方式有效,单位rpx(默认160)\n * @property {String Number} font-size 字体大小,单位rpx(默认28)\n * @property {Boolean} is-circular mode为horizontal时,指明是否水平衔接滚动(默认true)\n * @property {String} play-state 播放状态,play - 播放,paused - 暂停(默认play)\n * @property {String Nubmer} border-radius 通知栏圆角(默认为0)\n * @property {String Nubmer} padding 内边距,字符串,与普通的内边距css写法一直(默认\"18rpx 24rpx\")\n * @property {Boolean} no-list-hidden 列表为空时,是否显示组件(默认false)\n * @property {Boolean} disable-touch 是否禁止通过手动滑动切换通知,只有mode = vertical,或者mode = horizontal且is-circular = false时有效(默认true)\n * @event {Function} click 点击通告文字触发,只有mode = vertical,或者mode = horizontal且is-circular = false时有效\n * @event {Function} close 点击右侧关闭图标触发\n * @event {Function} getMore 点击右侧向右图标触发\n * @event {Function} end 列表的消息每次被播放一个周期时触发,只有mode = vertical,或者mode = horizontal且is-circular = false时有效\n * @example <u-notice-bar :more-icon=\"true\" :list=\"list\"></u-notice-bar>\n */\nexport default {\n\tname: \"u-notice-bar\",\n\tprops: {\n\t\t// 显示的内容,数组\n\t\tlist: {\n\t\t\ttype: Array,\n\t\t\tdefault() {\n\t\t\t\treturn [];\n\t\t\t}\n\t\t},\n\t\t// 显示的主题,success|error|primary|info|warning\n\t\ttype: {\n\t\t\ttype: String,\n\t\t\tdefault: 'warning'\n\t\t},\n\t\t// 是否显示左侧的音量图标\n\t\tvolumeIcon: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 音量喇叭的大小\n\t\tvolumeSize: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: 34\n\t\t},\n\t\t// 是否显示右侧的右箭头图标\n\t\tmoreIcon: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 是否显示右侧的关闭图标\n\t\tcloseIcon: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 是否自动播放\n\t\tautoplay: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 文字颜色,各图标也会使用文字颜色\n\t\tcolor: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 背景颜色\n\t\tbgColor: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 滚动方向,horizontal-水平滚动,vertical-垂直滚动\n\t\tmode: {\n\t\t\ttype: String,\n\t\t\tdefault: 'horizontal'\n\t\t},\n\t\t// 是否显示\n\t\tshow: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 字体大小,单位rpx\n\t\tfontSize: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: 28\n\t\t},\n\t\t// 滚动一个周期的时间长,单位ms\n\t\tduration: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: 2000\n\t\t},\n\t\t// 水平滚动时的滚动速度,即每秒滚动多少rpx,这有利于控制文字无论多少时,都能有一个恒定的速度\n\t\tspeed: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: 160\n\t\t},\n\t\t// 水平滚动时,是否采用衔接形式滚动\n\t\t// 水平衔接模式,采用的是swiper组件,水平滚动\n\t\tisCircular: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 播放状态,play-播放,paused-暂停\n\t\tplayState: {\n\t\t\ttype: String,\n\t\t\tdefault: 'play'\n\t\t},\n\t\t// 是否禁止用手滑动切换\n\t\t// 目前HX2.6.11,只支持App 2.5.5+、H5 2.5.5+、支付宝小程序、字节跳动小程序\n\t\tdisableTouch: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 滚动通知设置圆角\n\t\tborderRadius: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: 0\n\t\t},\n\t\t// 通知的边距\n\t\tpadding: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: '18rpx 24rpx'\n\t\t},\n\t\t// list列表为空时,是否显示组件\n\t\tnoListHidden: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t}\n\t},\n\tcomputed: {\n\t\t// 如果设置show为false,或者设置了noListHidden为true,且list长度又为零的话,隐藏组件\n\t\tisShow() {\n\t\t\tif(this.show == false || (this.noListHidden == true && this.list.length == 0)) return false;\n\t\t\telse return true;\n\t\t}\n\t},\n\tmethods: {\n\t\t// 点击通告栏\n\t\tclick(index) {\n\t\t\tthis.$emit('click', index);\n\t\t},\n\t\t// 点击关闭按钮\n\t\tclose() {\n\t\t\tthis.$emit('close');\n\t\t},\n\t\t// 点击更多箭头按钮\n\t\tgetMore() {\n\t\t\tthis.$emit('getMore');\n\t\t},\n\t\t// 滚动一个周期结束,只对垂直,或者水平步进形式有效\n\t\tend() {\n\t\t\tthis.$emit('end');\n\t\t}\n\t}\n};\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"../../libs/css/style.components.scss\";\n\n.u-notice-bar-wrap {\n\toverflow: hidden;\n}\n\n.u-notice-bar {\n\tpadding: 18rpx 24rpx;\n\toverflow: hidden;\n}\n\n.u-direction-row {\n\t@include vue-flex;\n\talign-items: center;\n\tjustify-content: space-between;\n}\n\n.u-left-icon {\n\t@include vue-flex;\n\talign-items: center;\n}\n\n.u-notice-box {\n\tflex: 1;\n\t@include vue-flex;\n\toverflow: hidden;\n\tmargin-left: 12rpx;\n}\n\n.u-right-icon {\n\tmargin-left: 12rpx;\n\t@include vue-flex;\n\talign-items: center;\n}\n\n.u-notice-content {\n\tline-height: 1;\n\twhite-space: nowrap;\n\tfont-size: 26rpx;\n\tanimation: u-loop-animation 10s linear infinite both;\n\ttext-align: right;\n\t// 这一句很重要,为了能让滚动左右连接起来\n\tpadding-left: 100%;\n}\n\n@keyframes u-loop-animation {\n\t0% {\n\t\ttransform: translate3d(0, 0, 0);\n\t}\n\n\t100% {\n\t\ttransform: translate3d(-100%, 0, 0);\n\t}\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-notice-bar.vue?vue&type=style&index=0&id=087a7280&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-notice-bar.vue?vue&type=style&index=0&id=087a7280&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536258073\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":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-parse/libs/trees.js.map
已删除
100644 → 0
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-parse/libs/trees.vue?c421","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-parse/libs/trees.vue?1908","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-parse/libs/trees.vue?ae5a","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-parse/libs/trees.vue?d1d4","uni-app:///uview-ui/components/u-parse/libs/trees.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-parse/libs/trees.vue?a427","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-parse/libs/trees.vue?f16a","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-parse/libs/handler.wxs?1cb8","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-parse/libs/handler.wxs?f4d5"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAsT;AACtT;AACyD;AACL;AACa;;;AAGjE;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,oRAAM;AACR,EAAE,6RAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,wRAAU;AACZ;AACA;;AAEA;AACkN;AAClN,WAAW,mOAAM,iBAAiB,2OAAM;;AAExC;AACe,gF;;;;;;;;;;;;AC3Bf;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;AAAi2B,CAAgB,myBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC4Er3B,mB;;AAEA,0E;AACA;AACA;AACA,gBADA,EADA;;AAIA,eAJA;AAKA,MALA,kBAKA;AACA;AACA,cADA;AAEA,+GAFA;AAGA,wBAHA;AAIA,2CAJA;;AAMA,WANA;AAOA,WAPA;;;AAUA,GAhBA;AAiBA;AACA,gBADA;AAEA,qBAFA;AAGA,mBAHA,EAjBA;;;;;;AA0BA,SA1BA,qBA0BA;AACA;AACA;AACA,GA7BA;;;;;;AAmCA;AACA,QADA,kBACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;AAmBA,SApBA,MAoBA;AACA;AACA;AACA;;AAEA,gBAFA;;;AAKA,WANA,MAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AAOA,KA7CA;AA8CA,QA9CA,gBA8CA,CA9CA,EA8CA;AACA;AACA;AACA;AACA;AACA,4BAFA;AAGA,KApDA;AAqDA,UArDA,kBAqDA,CArDA,EAqDA;AACA;AACA;AACA;AACA;AACA,yBADA;AAEA,wBAFA;AAGA,6DAHA,EADA;;AAMA;AACA;AACA;AACA;AACA,+EADA;AAEA;AACA,4BADA;AAEA,sBAFA;;AAIA;AACA;AACA,KAzEA;AA0EA,WA1EA,mBA0EA,CA1EA,EA0EA;AACA;AACA;;;;;;AAMA;;;;;AAKA,OAXA,MAWA;;;;;AAKA;;;;AAIA;AACA,KAjGA;AAkGA,aAlGA,qBAkGA,CAlGA,EAkGA;AACA;AACA,2CADA;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,kCADA;AAEA,4BAFA;;AAIA;;AAEA;AACA;AACA;AACA;AACA,yCADA;;AAGA,WALA,MAKA;;;;;AAKA;AACA,8BADA;AAEA;AACA;AACA,kCADA,GADA,GAFA;;;;AAQA,WAbA;AAcA;AACA,2BADA;AAEA,gBAFA,kBAEA;AACA;AACA,+BADA;;AAGA,aANA;;AAQA;AACA;AACA,KA/IA;AAgJA,SAhJA,iBAgJA,CAhJA,EAgJA;AACA;AACA,oCADA;AAEA,0BAFA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAPA,MAOA;AACA;AACA;AACA;AACA;AACA,sBADA;AAEA,sBAFA;AAGA,+BAHA;;AAKA,KApKA;AAqKA,cArKA,sBAqKA,CArKA,EAqKA;AACA;AACA,KAvKA,EAnCA,E;;;;;;;;;;;;;AC/EA;AAAA;AAAA;AAAA;AAA0tC,CAAgB,gmCAAG,EAAC,C;;;;;;;;;;;ACA9uC;AACA,OAAO,KAAU,EAAE,kBAKd;;;;;;;;;;;;;ACNL;AAAA;AAAA,wCAAoY,CAAgB,wbAAG,EAAC,C;;;;;;;;;;;;ACAxZ;AAAe;AACf;AACA;AACA;;AAEA,M","file":"uview-ui/components/u-parse/libs/trees.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./trees.vue?vue&type=template&id=e4506072&filter-modules=eyJoYW5kbGVyIjp7InR5cGUiOiJzY3JpcHQiLCJjb250ZW50IjoiIiwic3RhcnQiOjU0MjQsImF0dHJzIjp7Im1vZHVsZSI6ImhhbmRsZXIiLCJsYW5nIjoid3hzIiwic3JjIjoiLi9oYW5kbGVyLnd4cyJ9LCJlbmQiOjU0MjR9fQ%3D%3D&\"\nvar renderjs\nimport script from \"./trees.vue?vue&type=script&lang=js&\"\nexport * from \"./trees.vue?vue&type=script&lang=js&\"\nimport style0 from \"./trees.vue?vue&type=style&index=0&lang=css&\"\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 null,\n null,\n false,\n components,\n renderjs\n)\n\n/* custom blocks */\nimport block0 from \"./handler.wxs?vue&type=custom&index=0&blockType=script&issuerPath=%2FUsers%2Flinon%2Fwork%2Fworkai%2Fjob-sharing%2Fuview-ui%2Fcomponents%2Fu-parse%2Flibs%2Ftrees.vue&module=handler&lang=wxs\"\nif (typeof block0 === 'function') block0(component)\n\ncomponent.options.__file = \"uview-ui/components/u-parse/libs/trees.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!./trees.vue?vue&type=template&id=e4506072&filter-modules=eyJoYW5kbGVyIjp7InR5cGUiOiJzY3JpcHQiLCJjb250ZW50IjoiIiwic3RhcnQiOjU0MjQsImF0dHJzIjp7Im1vZHVsZSI6ImhhbmRsZXIiLCJsYW5nIjoid3hzIiwic3JjIjoiLi9oYW5kbGVyLnd4cyJ9LCJlbmQiOjU0MjR9fQ%3D%3D&\"","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!./trees.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!./trees.vue?vue&type=script&lang=js&\"","<template>\n\t<view :class=\"'interlayer '+(c||'')\" :style=\"s\">\n\t\t<block v-for=\"(n, i) in nodes\" v-bind:key=\"i\">\n\t\t\t<!--图片-->\n\t\t\t<view v-if=\"n.name=='img'\" :class=\"'_img '+n.attrs.class\" :style=\"n.attrs.style\" :data-attrs=\"n.attrs\" @tap.stop=\"imgtap\">\n\t\t\t\t<rich-text v-if=\"ctrl[i]!=0\" :nodes=\"[{attrs:{src:loading&&(ctrl[i]||0)<2?loading:(lazyLoad&&!ctrl[i]?placeholder:(ctrl[i]==3?errorImg:n.attrs.src||'')),alt:n.attrs.alt||'',width:n.attrs.width||'',style:'-webkit-touch-callout:none;max-width:100%;display:block'+(n.attrs.height?';height:'+n.attrs.height:'')},name:'img'}]\" />\n\t\t\t\t<image class=\"_image\" :src=\"lazyLoad&&!ctrl[i]?placeholder:n.attrs.src\" :lazy-load=\"lazyLoad\"\n\t\t\t\t :show-menu-by-longpress=\"!n.attrs.ignore\" :data-i=\"i\" :data-index=\"n.attrs.i\" data-source=\"img\" @load=\"loadImg\"\n\t\t\t\t @error=\"error\" />\n\t\t\t</view>\n\t\t\t<!--文本-->\n\t\t\t<text v-else-if=\"n.type=='text'\" decode>{{n.text}}</text>\n\t\t\t<!--#ifndef MP-BAIDU-->\n\t\t\t<text v-else-if=\"n.name=='br'\">\\n</text>\n\t\t\t<!--#endif-->\n\t\t\t<!--视频-->\n\t\t\t<view v-else-if=\"((n.lazyLoad&&!n.attrs.autoplay)||(n.name=='video'&&!loadVideo))&&ctrl[i]==undefined\" :id=\"n.attrs.id\"\n\t\t\t :class=\"'_video '+(n.attrs.class||'')\" :style=\"n.attrs.style\" :data-i=\"i\" @tap.stop=\"_loadVideo\" />\n\t\t\t<video v-else-if=\"n.name=='video'\" :id=\"n.attrs.id\" :class=\"n.attrs.class\" :style=\"n.attrs.style\" :autoplay=\"n.attrs.autoplay||ctrl[i]==0\"\n\t\t\t :controls=\"n.attrs.controls\" :loop=\"n.attrs.loop\" :muted=\"n.attrs.muted\" :poster=\"n.attrs.poster\" :src=\"n.attrs.source[ctrl[i]||0]\"\n\t\t\t :unit-id=\"n.attrs['unit-id']\" :data-id=\"n.attrs.id\" :data-i=\"i\" data-source=\"video\" @error=\"error\" @play=\"play\" />\n\t\t\t<!--音频-->\n\t\t\t<audio v-else-if=\"n.name=='audio'\" :ref=\"n.attrs.id\" :class=\"n.attrs.class\" :style=\"n.attrs.style\" :author=\"n.attrs.author\"\n\t\t\t :autoplay=\"n.attrs.autoplay\" :controls=\"n.attrs.controls\" :loop=\"n.attrs.loop\" :name=\"n.attrs.name\" :poster=\"n.attrs.poster\"\n\t\t\t :src=\"n.attrs.source[ctrl[i]||0]\" :data-i=\"i\" :data-id=\"n.attrs.id\" data-source=\"audio\" @error.native=\"error\"\n\t\t\t @play.native=\"play\" />\n\t\t\t<!--链接-->\n\t\t\t<view v-else-if=\"n.name=='a'\" :id=\"n.attrs.id\" :class=\"'_a '+(n.attrs.class||'')\" hover-class=\"_hover\" :style=\"n.attrs.style\"\n\t\t\t :data-attrs=\"n.attrs\" @tap.stop=\"linkpress\">\n\t\t\t\t<trees class=\"_span\" c=\"_span\" :nodes=\"n.children\" />\n\t\t\t</view>\n\t\t\t<!--广告-->\n\t\t\t<!--<ad v-else-if=\"n.name=='ad'\" :class=\"n.attrs.class\" :style=\"n.attrs.style\" :unit-id=\"n.attrs['unit-id']\" :appid=\"n.attrs.appid\" :apid=\"n.attrs.apid\" :type=\"n.attrs.type\" :adpid=\"n.attrs.adpid\" data-source=\"ad\" @error=\"error\" />-->\n\t\t\t<!--列表-->\n\t\t\t<view v-else-if=\"n.name=='li'\" :id=\"n.attrs.id\" :class=\"n.attrs.class\" :style=\"(n.attrs.style||'')+';display:flex;flex-direction:row'\">\n\t\t\t\t<view v-if=\"n.type=='ol'\" class=\"_ol-bef\">{{n.num}}</view>\n\t\t\t\t<view v-else class=\"_ul-bef\">\n\t\t\t\t\t<view v-if=\"n.floor%3==0\" class=\"_ul-p1\">█</view>\n\t\t\t\t\t<view v-else-if=\"n.floor%3==2\" class=\"_ul-p2\" />\n\t\t\t\t\t<view v-else class=\"_ul-p1\" style=\"border-radius:50%\">█</view>\n\t\t\t\t</view>\n\t\t\t\t<trees class=\"_li\" c=\"_li\" :nodes=\"n.children\" :lazyLoad=\"lazyLoad\" :loading=\"loading\" />\n\t\t\t</view>\n\t\t\t<!--表格-->\n\t\t\t<view v-else-if=\"n.name=='table'&&n.c&&n.flag\" :id=\"n.attrs.id\" :class=\"n.attrs.class\" :style=\"(n.attrs.style||'')+';display:grid'\">\n\t\t\t\t<trees v-for=\"(cell,n) in n.children\" v-bind:key=\"n\" :class=\"cell.attrs.class\" :c=\"cell.attrs.class\" :style=\"cell.attrs.style\"\n\t\t\t\t :s=\"cell.attrs.style\" :nodes=\"cell.children\" />\n\t\t\t</view>\n\t\t\t<view v-else-if=\"n.name=='table'&&n.c\" :id=\"n.attrs.id\" :class=\"n.attrs.class\" :style=\"(n.attrs.style||'')+';display:table'\">\n\t\t\t\t<view v-for=\"(tbody, o) in n.children\" v-bind:key=\"o\" :class=\"tbody.attrs.class\" :style=\"(tbody.attrs.style||'')+(tbody.name[0]=='t'?';display:table-'+(tbody.name=='tr'?'row':'row-group'):'')\">\n\t\t\t\t\t<view v-for=\"(tr, p) in tbody.children\" v-bind:key=\"p\" :class=\"tr.attrs.class\" :style=\"(tr.attrs.style||'')+(tr.name[0]=='t'?';display:table-'+(tr.name=='tr'?'row':'cell'):'')\">\n\t\t\t\t\t\t<trees v-if=\"tr.name=='td'\" :nodes=\"tr.children\" />\n\t\t\t\t\t\t<trees v-else v-for=\"(td, q) in tr.children\" v-bind:key=\"q\" :class=\"td.attrs.class\" :c=\"td.attrs.class\" :style=\"(td.attrs.style||'')+(td.name[0]=='t'?';display:table-'+(td.name=='tr'?'row':'cell'):'')\"\n\t\t\t\t\t\t :s=\"(td.attrs.style||'')+(td.name[0]=='t'?';display:table-'+(td.name=='tr'?'row':'cell'):'')\" :nodes=\"td.children\" />\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<!--#ifdef APP-PLUS-->\n\t\t\t<iframe v-else-if=\"n.name=='iframe'\" :style=\"n.attrs.style\" :allowfullscreen=\"n.attrs.allowfullscreen\" :frameborder=\"n.attrs.frameborder\"\n\t\t\t :width=\"n.attrs.width\" :height=\"n.attrs.height\" :src=\"n.attrs.src\" />\n\t\t\t<embed v-else-if=\"n.name=='embed'\" :style=\"n.attrs.style\" :width=\"n.attrs.width\" :height=\"n.attrs.height\" :src=\"n.attrs.src\" />\n\t\t\t<!--#endif-->\n\t\t\t<!--富文本-->\n\t\t\t<!--#ifdef MP-WEIXIN || MP-QQ || APP-PLUS-->\n\t\t\t<rich-text v-else-if=\"handler.use(n)\" :id=\"n.attrs.id\" :class=\"'_p __'+n.name\" :nodes=\"[n]\" />\n\t\t\t<!--#endif-->\n\t\t\t<!--#ifndef MP-WEIXIN || MP-QQ || APP-PLUS-->\n\t\t\t<rich-text v-else-if=\"!n.c\" :id=\"n.attrs.id\" :nodes=\"[n]\" style=\"display:inline\" />\n\t\t\t<!--#endif-->\n\t\t\t<trees v-else :class=\"(n.attrs.id||'')+' _'+n.name+' '+(n.attrs.class||'')\" :c=\"(n.attrs.id||'')+' _'+n.name+' '+(n.attrs.class||'')\"\n\t\t\t :style=\"n.attrs.style\" :s=\"n.attrs.style\" :nodes=\"n.children\" :lazyLoad=\"lazyLoad\" :loading=\"loading\" />\n\t\t</block>\n\t</view>\n</template>\n<script module=\"handler\" lang=\"wxs\" src=\"./handler.wxs\"></script>\n<script>\n\tglobal.Parser = {};\n\timport trees from './trees'\n\tconst errorImg = require('../libs/config.js').errorImg;\n\texport default {\n\t\tcomponents: {\n\t\t\ttrees\n\t\t},\n\t\tname: 'trees',\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tctrl: [],\n\t\t\t\tplaceholder: 'data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"300\" height=\"225\"/>',\n\t\t\t\terrorImg,\n\t\t\t\tloadVideo: typeof plus == 'undefined',\n\t\t\t\t// #ifndef MP-ALIPAY\n\t\t\t\tc: '',\n\t\t\t\ts: ''\n\t\t\t\t// #endif\n\t\t\t}\n\t\t},\n\t\tprops: {\n\t\t\tnodes: Array,\n\t\t\tlazyLoad: Boolean,\n\t\t\tloading: String,\n\t\t\t// #ifdef MP-ALIPAY\n\t\t\tc: String,\n\t\t\ts: String\n\t\t\t// #endif\n\t\t},\n\t\tmounted() {\n\t\t\tfor (this.top = this.$parent; this.top.$options.name != 'parser'; this.top = this.top.$parent);\n\t\t\tthis.init();\n\t\t},\n\t\t// #ifdef APP-PLUS\n\t\tbeforeDestroy() {\n\t\t\tthis.observer && this.observer.disconnect();\n\t\t},\n\t\t// #endif\n\t\tmethods: {\n\t\t\tinit() {\n\t\t\t\tfor (var i = this.nodes.length, n; n = this.nodes[--i];) {\n\t\t\t\t\tif (n.name == 'img') {\n\t\t\t\t\t\tthis.top.imgList.setItem(n.attrs.i, n.attrs['original-src'] || n.attrs.src);\n\t\t\t\t\t\t// #ifdef APP-PLUS\n\t\t\t\t\t\tif (this.lazyLoad && !this.observer) {\n\t\t\t\t\t\t\tthis.observer = uni.createIntersectionObserver(this).relativeToViewport({\n\t\t\t\t\t\t\t\ttop: 500,\n\t\t\t\t\t\t\t\tbottom: 500\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tsetTimeout(() => {\n\t\t\t\t\t\t\t\tthis.observer.observe('._img', res => {\n\t\t\t\t\t\t\t\t\tif (res.intersectionRatio) {\n\t\t\t\t\t\t\t\t\t\tfor (var j = this.nodes.length; j--;)\n\t\t\t\t\t\t\t\t\t\t\tif (this.nodes[j].name == 'img')\n\t\t\t\t\t\t\t\t\t\t\t\tthis.$set(this.ctrl, j, 1);\n\t\t\t\t\t\t\t\t\t\tthis.observer.disconnect();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t}, 0)\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// #endif\n\t\t\t\t\t} else if (n.name == 'video' || n.name == 'audio') {\n\t\t\t\t\t\tvar ctx;\n\t\t\t\t\t\tif (n.name == 'video') {\n\t\t\t\t\t\t\tctx = uni.createVideoContext(n.attrs.id\n\t\t\t\t\t\t\t\t// #ifndef MP-BAIDU\n\t\t\t\t\t\t\t\t, this\n\t\t\t\t\t\t\t\t// #endif\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else if (this.$refs[n.attrs.id])\n\t\t\t\t\t\t\tctx = this.$refs[n.attrs.id][0];\n\t\t\t\t\t\tif (ctx) {\n\t\t\t\t\t\t\tctx.id = n.attrs.id;\n\t\t\t\t\t\t\tthis.top.videoContexts.push(ctx);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// #ifdef APP-PLUS\n\t\t\t\t// APP 上避免 video 错位需要延时渲染\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthis.loadVideo = true;\n\t\t\t\t}, 1000)\n\t\t\t\t// #endif\n\t\t\t},\n\t\t\tplay(e) {\n\t\t\t\tvar contexts = this.top.videoContexts;\n\t\t\t\tif (contexts.length > 1 && this.top.autopause)\n\t\t\t\t\tfor (var i = contexts.length; i--;)\n\t\t\t\t\t\tif (contexts[i].id != e.currentTarget.dataset.id)\n\t\t\t\t\t\t\tcontexts[i].pause();\n\t\t\t},\n\t\t\timgtap(e) {\n\t\t\t\tvar attrs = e.currentTarget.dataset.attrs;\n\t\t\t\tif (!attrs.ignore) {\n\t\t\t\t\tvar preview = true,\n\t\t\t\t\t\tdata = {\n\t\t\t\t\t\t\tid: e.target.id,\n\t\t\t\t\t\t\tsrc: attrs.src,\n\t\t\t\t\t\t\tignore: () => preview = false\n\t\t\t\t\t\t};\n\t\t\t\t\tglobal.Parser.onImgtap && global.Parser.onImgtap(data);\n\t\t\t\t\tthis.top.$emit('imgtap', data);\n\t\t\t\t\tif (preview) {\n\t\t\t\t\t\tvar urls = this.top.imgList,\n\t\t\t\t\t\t\tcurrent = urls[attrs.i] ? parseInt(attrs.i) : (urls = [attrs.src], 0);\n\t\t\t\t\t\tuni.previewImage({\n\t\t\t\t\t\t\tcurrent,\n\t\t\t\t\t\t\turls\n\t\t\t\t\t\t})\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\tloadImg(e) {\n\t\t\t\tvar i = e.currentTarget.dataset.i;\n\t\t\t\tif (this.lazyLoad && !this.ctrl[i]) {\n\t\t\t\t\t// #ifdef QUICKAPP-WEBVIEW\n\t\t\t\t\tthis.$set(this.ctrl, i, 0);\n\t\t\t\t\tthis.$nextTick(function() {\n\t\t\t\t\t\t// #endif\n\t\t\t\t\t\t// #ifndef APP-PLUS\n\t\t\t\t\t\tthis.$set(this.ctrl, i, 1);\n\t\t\t\t\t\t// #endif\n\t\t\t\t\t\t// #ifdef QUICKAPP-WEBVIEW\n\t\t\t\t\t})\n\t\t\t\t\t// #endif\n\t\t\t\t} else if (this.loading && this.ctrl[i] != 2) {\n\t\t\t\t\t// #ifdef QUICKAPP-WEBVIEW\n\t\t\t\t\tthis.$set(this.ctrl, i, 0);\n\t\t\t\t\tthis.$nextTick(function() {\n\t\t\t\t\t\t// #endif\n\t\t\t\t\t\tthis.$set(this.ctrl, i, 2);\n\t\t\t\t\t\t// #ifdef QUICKAPP-WEBVIEW\n\t\t\t\t\t})\n\t\t\t\t\t// #endif\n\t\t\t\t}\n\t\t\t},\n\t\t\tlinkpress(e) {\n\t\t\t\tvar jump = true,\n\t\t\t\t\tattrs = e.currentTarget.dataset.attrs;\n\t\t\t\tattrs.ignore = () => jump = false;\n\t\t\t\tglobal.Parser.onLinkpress && global.Parser.onLinkpress(attrs);\n\t\t\t\tthis.top.$emit('linkpress', attrs);\n\t\t\t\tif (jump) {\n\t\t\t\t\t// #ifdef MP\n\t\t\t\t\tif (attrs['app-id']) {\n\t\t\t\t\t\treturn uni.navigateToMiniProgram({\n\t\t\t\t\t\t\tappId: attrs['app-id'],\n\t\t\t\t\t\t\tpath: attrs.path\n\t\t\t\t\t\t})\n\t\t\t\t\t}\n\t\t\t\t\t// #endif\n\t\t\t\t\tif (attrs.href) {\n\t\t\t\t\t\tif (attrs.href[0] == '#') {\n\t\t\t\t\t\t\tif (this.top.useAnchor)\n\t\t\t\t\t\t\t\tthis.top.navigateTo({\n\t\t\t\t\t\t\t\t\tid: attrs.href.substring(1)\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t} else if (attrs.href.indexOf('http') == 0 || attrs.href.indexOf('//') == 0) {\n\t\t\t\t\t\t\t// #ifdef APP-PLUS\n\t\t\t\t\t\t\tplus.runtime.openWeb(attrs.href);\n\t\t\t\t\t\t\t// #endif\n\t\t\t\t\t\t\t// #ifndef APP-PLUS\n\t\t\t\t\t\t\tuni.setClipboardData({\n\t\t\t\t\t\t\t\tdata: attrs.href,\n\t\t\t\t\t\t\t\tsuccess: () =>\n\t\t\t\t\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\t\t\t\t\ttitle: '链接已复制'\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t// #endif\n\t\t\t\t\t\t} else\n\t\t\t\t\t\t\tuni.navigateTo({\n\t\t\t\t\t\t\t\turl: attrs.href,\n\t\t\t\t\t\t\t\tfail() {\n\t\t\t\t\t\t\t\t\tuni.switchTab({\n\t\t\t\t\t\t\t\t\t\turl: attrs.href,\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t})\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\terror(e) {\n\t\t\t\tvar target = e.currentTarget,\n\t\t\t\t\tsource = target.dataset.source,\n\t\t\t\t\ti = target.dataset.i;\n\t\t\t\tif (source == 'video' || source == 'audio') {\n\t\t\t\t\t// 加载其他 source\n\t\t\t\t\tvar index = this.ctrl[i] ? this.ctrl[i].i + 1 : 1;\n\t\t\t\t\tif (index < this.nodes[i].attrs.source.length)\n\t\t\t\t\t\tthis.$set(this.ctrl, i, index);\n\t\t\t\t\tif (e.detail.__args__)\n\t\t\t\t\t\te.detail = e.detail.__args__[0];\n\t\t\t\t} else if (errorImg && source == 'img') {\n\t\t\t\t\tthis.top.imgList.setItem(target.dataset.index, errorImg);\n\t\t\t\t\tthis.$set(this.ctrl, i, 3);\n\t\t\t\t}\n\t\t\t\tthis.top && this.top.$emit('error', {\n\t\t\t\t\tsource,\n\t\t\t\t\ttarget,\n\t\t\t\t\terrMsg: e.detail.errMsg\n\t\t\t\t});\n\t\t\t},\n\t\t\t_loadVideo(e) {\n\t\t\t\tthis.$set(this.ctrl, e.target.dataset.i, 0);\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style>\n\t/* 在这里引入自定义样式 */\n\n\t/* 链接和图片效果 */\n\t._a {\n\t\tdisplay: inline;\n\t\tpadding: 1.5px 0 1.5px 0;\n\t\tcolor: #366092;\n\t\tword-break: break-all;\n\t}\n\n\t._hover {\n\t\ttext-decoration: underline;\n\t\topacity: 0.7;\n\t}\n\n\t._img {\n\t\tdisplay: inline-block;\n\t\tmax-width: 100%;\n\t\toverflow: hidden;\n\t}\n\n\t/* #ifdef MP-WEIXIN */\n\t:host {\n\t\tdisplay: inline;\n\t}\n\n\t/* #endif */\n\n\t/* #ifndef MP-ALIPAY || APP-PLUS */\n\t.interlayer {\n\t\tdisplay: inherit;\n\t\tflex-direction: inherit;\n\t\tflex-wrap: inherit;\n\t\talign-content: inherit;\n\t\talign-items: inherit;\n\t\tjustify-content: inherit;\n\t\twidth: 100%;\n\t\twhite-space: inherit;\n\t}\n\n\t/* #endif */\n\n\t._b,\n\t._strong {\n\t\tfont-weight: bold;\n\t}\n\n\t/* #ifndef MP-ALIPAY */\n\t._blockquote,\n\t._div,\n\t._p,\n\t._ol,\n\t._ul,\n\t._li {\n\t\tdisplay: block;\n\t}\n\n\t/* #endif */\n\n\t._code {\n\t\tfont-family: monospace;\n\t}\n\n\t._del {\n\t\ttext-decoration: line-through;\n\t}\n\n\t._em,\n\t._i {\n\t\tfont-style: italic;\n\t}\n\n\t._h1 {\n\t\tfont-size: 2em;\n\t}\n\n\t._h2 {\n\t\tfont-size: 1.5em;\n\t}\n\n\t._h3 {\n\t\tfont-size: 1.17em;\n\t}\n\n\t._h5 {\n\t\tfont-size: 0.83em;\n\t}\n\n\t._h6 {\n\t\tfont-size: 0.67em;\n\t}\n\n\t._h1,\n\t._h2,\n\t._h3,\n\t._h4,\n\t._h5,\n\t._h6 {\n\t\tdisplay: block;\n\t\tfont-weight: bold;\n\t}\n\n\t._image {\n\t\tdisplay: block;\n\t\twidth: 100%;\n\t\theight: 360px;\n\t\tmargin-top: -360px;\n\t\topacity: 0;\n\t}\n\n\t._ins {\n\t\ttext-decoration: underline;\n\t}\n\n\t._li {\n\t\tflex: 1;\n\t\twidth: 0;\n\t}\n\n\t._ol-bef {\n\t\twidth: 36px;\n\t\tmargin-right: 5px;\n\t\ttext-align: right;\n\t}\n\n\t._ul-bef {\n\t\tdisplay: block;\n\t\tmargin: 0 12px 0 23px;\n\t\tline-height: normal;\n\t}\n\n\t._ol-bef,\n\t._ul-bef {\n\t\tflex: none;\n\t\tuser-select: none;\n\t}\n\n\t._ul-p1 {\n\t\tdisplay: inline-block;\n\t\twidth: 0.3em;\n\t\theight: 0.3em;\n\t\toverflow: hidden;\n\t\tline-height: 0.3em;\n\t}\n\n\t._ul-p2 {\n\t\tdisplay: inline-block;\n\t\twidth: 0.23em;\n\t\theight: 0.23em;\n\t\tborder: 0.05em solid black;\n\t\tborder-radius: 50%;\n\t}\n\n\t._q::before {\n\t\tcontent: '\"';\n\t}\n\n\t._q::after {\n\t\tcontent: '\"';\n\t}\n\n\t._sub {\n\t\tfont-size: smaller;\n\t\tvertical-align: sub;\n\t}\n\n\t._sup {\n\t\tfont-size: smaller;\n\t\tvertical-align: super;\n\t}\n\n\t/* #ifdef MP-ALIPAY || APP-PLUS || QUICKAPP-WEBVIEW */\n\t._abbr,\n\t._b,\n\t._code,\n\t._del,\n\t._em,\n\t._i,\n\t._ins,\n\t._label,\n\t._q,\n\t._span,\n\t._strong,\n\t._sub,\n\t._sup {\n\t\tdisplay: inline;\n\t}\n\n\t/* #endif */\n\n\t/* #ifdef MP-WEIXIN || MP-QQ */\n\t.__bdo,\n\t.__bdi,\n\t.__ruby,\n\t.__rt {\n\t\tdisplay: inline-block;\n\t}\n\n\t/* #endif */\n\t._video {\n\t\tposition: relative;\n\t\tdisplay: inline-block;\n\t\twidth: 300px;\n\t\theight: 225px;\n\t\tbackground-color: black;\n\t}\n\n\t._video::after {\n\t\tposition: absolute;\n\t\ttop: 50%;\n\t\tleft: 50%;\n\t\tmargin: -15px 0 0 -15px;\n\t\tcontent: '';\n\t\tborder-color: transparent transparent transparent white;\n\t\tborder-style: solid;\n\t\tborder-width: 15px 0 15px 30px;\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--6-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../../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!./trees.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../../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!./trees.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536256898\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 ","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-filter-loader/index.js!./handler.wxs?vue&type=custom&index=0&blockType=script&issuerPath=%2FUsers%2Flinon%2Fwork%2Fworkai%2Fjob-sharing%2Fuview-ui%2Fcomponents%2Fu-parse%2Flibs%2Ftrees.vue&module=handler&lang=wxs\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-filter-loader/index.js!./handler.wxs?vue&type=custom&index=0&blockType=script&issuerPath=%2FUsers%2Flinon%2Fwork%2Fworkai%2Fjob-sharing%2Fuview-ui%2Fcomponents%2Fu-parse%2Flibs%2Ftrees.vue&module=handler&lang=wxs\"","export default function (Component) {\n if(!Component.options.wxsCallMethods){\n Component.options.wxsCallMethods = []\n }\n \n }"],"sourceRoot":""} |
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-parse/u-parse.vue?df4b","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-parse/u-parse.vue?2514","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-parse/u-parse.vue?2cdc","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-parse/u-parse.vue?4799","uni-app:///uview-ui/components/u-parse/u-parse.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-parse/u-parse.vue?074f","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-parse/u-parse.vue?bd1b"],"names":[],"mappings":"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","file":"uview-ui/components/u-parse/u-parse.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-parse.vue?vue&type=template&id=2995f0f8&\"\nvar renderjs\nimport script from \"./u-parse.vue?vue&type=script&lang=js&\"\nexport * from \"./u-parse.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-parse.vue?vue&type=style&index=0&lang=css&\"\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 null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-parse/u-parse.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-parse.vue?vue&type=template&id=2995f0f8&\"","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-parse.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-parse.vue?vue&type=script&lang=js&\"","<template>\n\t<view>\n\t\t<slot v-if=\"!nodes.length\" />\n\t\t<!--#ifdef APP-PLUS-NVUE-->\n\t\t<web-view id=\"_top\" ref=\"web\" :style=\"'margin-top:-2px;height:'+height+'px'\" @onPostMessage=\"_message\" />\n\t\t<!--#endif-->\n\t\t<!--#ifndef APP-PLUS-NVUE-->\n\t\t<view id=\"_top\" :style=\"showAm+(selectable?';user-select:text;-webkit-user-select:text':'')\">\n\t\t\t<!--#ifdef H5 || MP-360-->\n\t\t\t<div :id=\"'rtf'+uid\"></div>\n\t\t\t<!--#endif-->\n\t\t\t<!--#ifndef H5 || MP-360-->\n\t\t\t<trees :nodes=\"nodes\" :lazyLoad=\"lazyLoad\" :loading=\"loadingImg\" />\n\t\t\t<!--#endif-->\n\t\t</view>\n\t\t<!--#endif-->\n\t</view>\n</template>\n\n<script>\n\tvar search;\n\t// #ifndef H5 || APP-PLUS-NVUE || MP-360\n\timport trees from './libs/trees';\n\tvar cache = {},\n\t\t// #ifdef MP-WEIXIN || MP-TOUTIAO\n\t\tfs = uni.getFileSystemManager ? uni.getFileSystemManager() : null,\n\t\t// #endif\n\t\tParser = require('./libs/MpHtmlParser.js');\n\tvar dom;\n\t// 计算 cache 的 key\n\tfunction hash(str) {\n\t\tfor (var i = str.length, val = 5381; i--;)\n\t\t\tval += (val << 5) + str.charCodeAt(i);\n\t\treturn val;\n\t}\n\t// #endif\n\t// #ifdef H5 || APP-PLUS-NVUE || MP-360\n\tvar {\n\t\twindowWidth,\n\t\tplatform\n\t} = uni.getSystemInfoSync(),\n\t\tcfg = require('./libs/config.js');\n\t// #endif\n\t// #ifdef APP-PLUS-NVUE\n\tvar weexDom = weex.requireModule('dom');\n\t// #endif\n\t/**\n\t * Parser 富文本组件\n\t * @tutorial https://github.com/jin-yufeng/Parser\n\t * @property {String} html 富文本数据\n\t * @property {Boolean} autopause 是否在播放一个视频时自动暂停其他视频\n\t * @property {Boolean} autoscroll 是否自动给所有表格添加一个滚动层\n\t * @property {Boolean} autosetTitle 是否自动将 title 标签中的内容设置到页面标题\n\t * @property {Number} compress 压缩等级\n\t * @property {String} domain 图片、视频等链接的主域名\n\t * @property {Boolean} lazyLoad 是否开启图片懒加载\n\t * @property {String} loadingImg 图片加载完成前的占位图\n\t * @property {Boolean} selectable 是否开启长按复制\n\t * @property {Object} tagStyle 标签的默认样式\n\t * @property {Boolean} showWithAnimation 是否使用渐显动画\n\t * @property {Boolean} useAnchor 是否使用锚点\n\t * @property {Boolean} useCache 是否缓存解析结果\n\t * @event {Function} parse 解析完成事件\n\t * @event {Function} load dom 加载完成事件\n\t * @event {Function} ready 所有图片加载完毕事件\n\t * @event {Function} error 错误事件\n\t * @event {Function} imgtap 图片点击事件\n\t * @event {Function} linkpress 链接点击事件\n\t * @author JinYufeng\n\t * @version 20201029\n\t * @listens MIT\n\t */\n\texport default {\n\t\tname: 'parser',\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\t// #ifdef H5 || MP-360\n\t\t\t\tuid: this._uid,\n\t\t\t\t// #endif\n\t\t\t\t// #ifdef APP-PLUS-NVUE\n\t\t\t\theight: 1,\n\t\t\t\t// #endif\n\t\t\t\t// #ifndef APP-PLUS-NVUE\n\t\t\t\tshowAm: '',\n\t\t\t\t// #endif\n\t\t\t\tnodes: []\n\t\t\t}\n\t\t},\n\t\t// #ifndef H5 || APP-PLUS-NVUE || MP-360\n\t\tcomponents: {\n\t\t\ttrees\n\t\t},\n\t\t// #endif\n\t\tprops: {\n\t\t\thtml: String,\n\t\t\tautopause: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: true\n\t\t\t},\n\t\t\tautoscroll: Boolean,\n\t\t\tautosetTitle: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: true\n\t\t\t},\n\t\t\t// #ifndef H5 || APP-PLUS-NVUE || MP-360\n\t\t\tcompress: Number,\n\t\t\tloadingImg: String,\n\t\t\tuseCache: Boolean,\n\t\t\t// #endif\n\t\t\tdomain: String,\n\t\t\tlazyLoad: Boolean,\n\t\t\tselectable: Boolean,\n\t\t\ttagStyle: Object,\n\t\t\tshowWithAnimation: Boolean,\n\t\t\tuseAnchor: Boolean\n\t\t},\n\t\twatch: {\n\t\t\thtml(html) {\n\t\t\t\tthis.setContent(html);\n\t\t\t}\n\t\t},\n\t\tcreated() {\n\t\t\t// 图片数组\n\t\t\tthis.imgList = [];\n\t\t\tthis.imgList.each = function(f) {\n\t\t\t\tfor (var i = 0, len = this.length; i < len; i++)\n\t\t\t\t\tthis.setItem(i, f(this[i], i, this));\n\t\t\t}\n\t\t\tthis.imgList.setItem = function(i, src) {\n\t\t\t\tif (i == void 0 || !src) return;\n\t\t\t\t// #ifndef MP-ALIPAY || APP-PLUS\n\t\t\t\t// 去重\n\t\t\t\tif (src.indexOf('http') == 0 && this.includes(src)) {\n\t\t\t\t\tvar newSrc = src.split('://')[0];\n\t\t\t\t\tfor (var j = newSrc.length, c; c = src[j]; j++) {\n\t\t\t\t\t\tif (c == '/' && src[j - 1] != '/' && src[j + 1] != '/') break;\n\t\t\t\t\t\tnewSrc += Math.random() > 0.5 ? c.toUpperCase() : c;\n\t\t\t\t\t}\n\t\t\t\t\tnewSrc += src.substr(j);\n\t\t\t\t\treturn this[i] = newSrc;\n\t\t\t\t}\n\t\t\t\t// #endif\n\t\t\t\tthis[i] = src;\n\t\t\t\t// 暂存 data src\n\t\t\t\tif (src.includes('data:image')) {\n\t\t\t\t\tvar filePath, info = src.match(/data:image\\/(\\S+?);(\\S+?),(.+)/);\n\t\t\t\t\tif (!info) return;\n\t\t\t\t\t// #ifdef MP-WEIXIN || MP-TOUTIAO\n\t\t\t\t\tfilePath = `${wx.env.USER_DATA_PATH}/${Date.now()}.${info[1]}`;\n\t\t\t\t\tfs && fs.writeFile({\n\t\t\t\t\t\tfilePath,\n\t\t\t\t\t\tdata: info[3],\n\t\t\t\t\t\tencoding: info[2],\n\t\t\t\t\t\tsuccess: () => this[i] = filePath\n\t\t\t\t\t})\n\t\t\t\t\t// #endif\n\t\t\t\t\t// #ifdef APP-PLUS\n\t\t\t\t\tfilePath = `_doc/parser_tmp/${Date.now()}.${info[1]}`;\n\t\t\t\t\tvar bitmap = new plus.nativeObj.Bitmap();\n\t\t\t\t\tbitmap.loadBase64Data(src, () => {\n\t\t\t\t\t\tbitmap.save(filePath, {}, () => {\n\t\t\t\t\t\t\tbitmap.clear()\n\t\t\t\t\t\t\tthis[i] = filePath;\n\t\t\t\t\t\t})\n\t\t\t\t\t})\n\t\t\t\t\t// #endif\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tmounted() {\n\t\t\t// #ifdef H5 || MP-360\n\t\t\tthis.document = document.getElementById('rtf' + this._uid);\n\t\t\t// #endif\n\t\t\t// #ifndef H5 || APP-PLUS-NVUE || MP-360\n\t\t\tif (dom) this.document = new dom(this);\n\t\t\t// #endif\n\t\t\tif (search) this.search = args => search(this, args);\n\t\t\t// #ifdef APP-PLUS-NVUE\n\t\t\tthis.document = this.$refs.web;\n\t\t\tsetTimeout(() => {\n\t\t\t\t// #endif\n\t\t\t\tif (this.html) this.setContent(this.html);\n\t\t\t\t// #ifdef APP-PLUS-NVUE\n\t\t\t}, 30)\n\t\t\t// #endif\n\t\t},\n\t\tbeforeDestroy() {\n\t\t\t// #ifdef H5 || MP-360\n\t\t\tif (this._observer) this._observer.disconnect();\n\t\t\t// #endif\n\t\t\tthis.imgList.each(src => {\n\t\t\t\t// #ifdef APP-PLUS\n\t\t\t\tif (src && src.includes('_doc')) {\n\t\t\t\t\tplus.io.resolveLocalFileSystemURL(src, entry => {\n\t\t\t\t\t\tentry.remove();\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\t// #endif\n\t\t\t\t// #ifdef MP-WEIXIN || MP-TOUTIAO\n\t\t\t\tif (src && src.includes(uni.env.USER_DATA_PATH))\n\t\t\t\t\tfs && fs.unlink({\n\t\t\t\t\t\tfilePath: src\n\t\t\t\t\t})\n\t\t\t\t// #endif\n\t\t\t})\n\t\t\tclearInterval(this._timer);\n\t\t},\n\t\tmethods: {\n\t\t\t// 设置富文本内容\n\t\t\tsetContent(html, append) {\n\t\t\t\t// #ifdef APP-PLUS-NVUE\n\t\t\t\tif (!html)\n\t\t\t\t\treturn this.height = 1;\n\t\t\t\tif (append)\n\t\t\t\t\tthis.$refs.web.evalJs(\"var b=document.createElement('div');b.innerHTML='\" + html.replace(/'/g, \"\\\\'\") +\n\t\t\t\t\t\t\"';document.getElementById('parser').appendChild(b)\");\n\t\t\t\telse {\n\t\t\t\t\thtml =\n\t\t\t\t\t\t'<meta charset=\"utf-8\" /><meta name=\"viewport\" content=\"width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no\"><style>html,body{width:100%;height:100%;overflow:hidden}body{margin:0}</style><base href=\"' +\n\t\t\t\t\t\tthis.domain + '\"><div id=\"parser\"' + (this.selectable ? '>' : ' style=\"user-select:none\">') + this._handleHtml(html).replace(/\\n/g, '\\\\n') +\n\t\t\t\t\t\t'</div><script>\"use strict\";function e(e){if(window.__dcloud_weex_postMessage||window.__dcloud_weex_){var t={data:[e]};window.__dcloud_weex_postMessage?window.__dcloud_weex_postMessage(t):window.__dcloud_weex_.postMessage(JSON.stringify(t))}}document.body.onclick=function(){e({action:\"click\"})},' +\n\t\t\t\t\t\t(this.showWithAnimation ? 'document.body.style.animation=\"_show .5s\",' : '') +\n\t\t\t\t\t\t'setTimeout(function(){e({action:\"load\",text:document.body.innerText,height:document.getElementById(\"parser\").scrollHeight})},50);\\x3c/script>';\n\t\t\t\t\tif (platform == 'android') html = html.replace(/%/g, '%25');\n\t\t\t\t\tthis.$refs.web.evalJs(\"document.write('\" + html.replace(/'/g, \"\\\\'\") + \"');document.close()\");\n\t\t\t\t}\n\t\t\t\tthis.$refs.web.evalJs(\n\t\t\t\t\t'var t=document.getElementsByTagName(\"title\");t.length&&e({action:\"getTitle\",title:t[0].innerText});for(var o,n=document.getElementsByTagName(\"style\"),r=1;o=n[r++];)o.innerHTML=o.innerHTML.replace(/body/g,\"#parser\");for(var a,c=document.getElementsByTagName(\"img\"),s=[],i=0==c.length,d=0,l=0,g=0;a=c[l];l++)parseInt(a.style.width||a.getAttribute(\"width\"))>' +\n\t\t\t\t\twindowWidth + '&&(a.style.height=\"auto\"),a.onload=function(){++d==c.length&&(i=!0)},a.onerror=function(){++d==c.length&&(i=!0),' + (cfg.errorImg ? 'this.src=\"' + cfg.errorImg + '\",' : '') +\n\t\t\t\t\t'e({action:\"error\",source:\"img\",target:this})},a.hasAttribute(\"ignore\")||\"A\"==a.parentElement.nodeName||(a.i=g++,s.push(a.getAttribute(\"original-src\")||a.src||a.getAttribute(\"data-src\")),a.onclick=function(t){t.stopPropagation(),e({action:\"preview\",img:{i:this.i,src:this.src}})});e({action:\"getImgList\",imgList:s});for(var u,m=document.getElementsByTagName(\"a\"),f=0;u=m[f];f++)u.onclick=function(m){m.stopPropagation();var t,o=this.getAttribute(\"href\");if(\"#\"==o[0]){var n=document.getElementById(o.substr(1));n&&(t=n.offsetTop)}return e({action:\"linkpress\",href:o,offset:t}),!1};for(var h,y=document.getElementsByTagName(\"video\"),v=0;h=y[v];v++)h.style.maxWidth=\"100%\",h.onerror=function(){e({action:\"error\",source:\"video\",target:this})}' +\n\t\t\t\t\t(this.autopause ? ',h.onplay=function(){for(var e,t=0;e=y[t];t++)e!=this&&e.pause()}' : '') +\n\t\t\t\t\t';for(var _,p=document.getElementsByTagName(\"audio\"),w=0;_=p[w];w++)_.onerror=function(){e({action:\"error\",source:\"audio\",target:this})};' +\n\t\t\t\t\t(this.autoscroll ? 'for(var T,E=document.getElementsByTagName(\"table\"),B=0;T=E[B];B++){var N=document.createElement(\"div\");N.style.overflow=\"scroll\",T.parentNode.replaceChild(N,T),N.appendChild(T)}' : '') +\n\t\t\t\t\t'var x=document.getElementById(\"parser\");clearInterval(window.timer),window.timer=setInterval(function(){i&&clearInterval(window.timer),e({action:\"ready\",ready:i,height:x.scrollHeight})},350)'\n\t\t\t\t)\n\t\t\t\tthis.nodes = [1];\n\t\t\t\t// #endif\n\t\t\t\t// #ifdef H5 || MP-360\n\t\t\t\tif (!html) {\n\t\t\t\t\tif (this.rtf && !append) this.rtf.parentNode.removeChild(this.rtf);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tvar div = document.createElement('div');\n\t\t\t\tif (!append) {\n\t\t\t\t\tif (this.rtf) this.rtf.parentNode.removeChild(this.rtf);\n\t\t\t\t\tthis.rtf = div;\n\t\t\t\t} else {\n\t\t\t\t\tif (!this.rtf) this.rtf = div;\n\t\t\t\t\telse this.rtf.appendChild(div);\n\t\t\t\t}\n\t\t\t\tdiv.innerHTML = this._handleHtml(html, append);\n\t\t\t\tfor (var styles = this.rtf.getElementsByTagName('style'), i = 0, style; style = styles[i++];) {\n\t\t\t\t\tstyle.innerHTML = style.innerHTML.replace(/body/g, '#rtf' + this._uid);\n\t\t\t\t\tstyle.setAttribute('scoped', 'true');\n\t\t\t\t}\n\t\t\t\t// 懒加载\n\t\t\t\tif (!this._observer && this.lazyLoad && IntersectionObserver) {\n\t\t\t\t\tthis._observer = new IntersectionObserver(changes => {\n\t\t\t\t\t\tfor (let item, i = 0; item = changes[i++];) {\n\t\t\t\t\t\t\tif (item.isIntersecting) {\n\t\t\t\t\t\t\t\titem.target.src = item.target.getAttribute('data-src');\n\t\t\t\t\t\t\t\titem.target.removeAttribute('data-src');\n\t\t\t\t\t\t\t\tthis._observer.unobserve(item.target);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}, {\n\t\t\t\t\t\trootMargin: '500px 0px 500px 0px'\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t\tvar _ts = this;\n\t\t\t\t// 获取标题\n\t\t\t\tvar title = this.rtf.getElementsByTagName('title');\n\t\t\t\tif (title.length && this.autosetTitle)\n\t\t\t\t\tuni.setNavigationBarTitle({\n\t\t\t\t\t\ttitle: title[0].innerText\n\t\t\t\t\t})\n\t\t\t\t// 填充 domain\n\t\t\t\tvar fill = target => {\n\t\t\t\t\tvar src = target.getAttribute('src');\n\t\t\t\t\tif (this.domain && src) {\n\t\t\t\t\t\tif (src[0] == '/') {\n\t\t\t\t\t\t\tif (src[1] == '/')\n\t\t\t\t\t\t\t\ttarget.src = (this.domain.includes('://') ? this.domain.split('://')[0] : '') + ':' + src;\n\t\t\t\t\t\t\telse target.src = this.domain + src;\n\t\t\t\t\t\t} else if (!src.includes('://') && src.indexOf('data:') != 0) target.src = this.domain + '/' + src;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// 图片处理\n\t\t\t\tthis.imgList.length = 0;\n\t\t\t\tvar imgs = this.rtf.getElementsByTagName('img');\n\t\t\t\tfor (let i = 0, j = 0, img; img = imgs[i]; i++) {\n\t\t\t\t\tif (parseInt(img.style.width || img.getAttribute('width')) > windowWidth)\n\t\t\t\t\t\timg.style.height = 'auto';\n\t\t\t\t\tfill(img);\n\t\t\t\t\tif (!img.hasAttribute('ignore') && img.parentElement.nodeName != 'A') {\n\t\t\t\t\t\timg.i = j++;\n\t\t\t\t\t\t_ts.imgList.push(img.getAttribute('original-src') || img.src || img.getAttribute('data-src'));\n\t\t\t\t\t\timg.onclick = function(e) {\n\t\t\t\t\t\t\te.stopPropagation();\n\t\t\t\t\t\t\tvar preview = true;\n\t\t\t\t\t\t\tthis.ignore = () => preview = false;\n\t\t\t\t\t\t\t_ts.$emit('imgtap', this);\n\t\t\t\t\t\t\tif (preview) {\n\t\t\t\t\t\t\t\tuni.previewImage({\n\t\t\t\t\t\t\t\t\tcurrent: this.i,\n\t\t\t\t\t\t\t\t\turls: _ts.imgList\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\timg.onerror = function() {\n\t\t\t\t\t\tif (cfg.errorImg)\n\t\t\t\t\t\t\t_ts.imgList[this.i] = this.src = cfg.errorImg;\n\t\t\t\t\t\t_ts.$emit('error', {\n\t\t\t\t\t\t\tsource: 'img',\n\t\t\t\t\t\t\ttarget: this\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tif (_ts.lazyLoad && this._observer && img.src && img.i != 0) {\n\t\t\t\t\t\timg.setAttribute('data-src', img.src);\n\t\t\t\t\t\timg.removeAttribute('src');\n\t\t\t\t\t\tthis._observer.observe(img);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// 链接处理\n\t\t\t\tvar links = this.rtf.getElementsByTagName('a');\n\t\t\t\tfor (var link of links) {\n\t\t\t\t\tlink.onclick = function(e) {\n\t\t\t\t\t\te.stopPropagation();\n\t\t\t\t\t\tvar jump = true,\n\t\t\t\t\t\t\thref = this.getAttribute('href');\n\t\t\t\t\t\t_ts.$emit('linkpress', {\n\t\t\t\t\t\t\thref,\n\t\t\t\t\t\t\tignore: () => jump = false\n\t\t\t\t\t\t});\n\t\t\t\t\t\tif (jump && href) {\n\t\t\t\t\t\t\tif (href[0] == '#') {\n\t\t\t\t\t\t\t\tif (_ts.useAnchor) {\n\t\t\t\t\t\t\t\t\t_ts.navigateTo({\n\t\t\t\t\t\t\t\t\t\tid: href.substr(1)\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if (href.indexOf('http') == 0 || href.indexOf('//') == 0)\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tuni.navigateTo({\n\t\t\t\t\t\t\t\t\turl: href\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// 视频处理\n\t\t\t\tvar videos = this.rtf.getElementsByTagName('video');\n\t\t\t\t_ts.videoContexts = videos;\n\t\t\t\tfor (let video, i = 0; video = videos[i++];) {\n\t\t\t\t\tfill(video);\n\t\t\t\t\tvideo.style.maxWidth = '100%';\n\t\t\t\t\tvideo.onerror = function() {\n\t\t\t\t\t\t_ts.$emit('error', {\n\t\t\t\t\t\t\tsource: 'video',\n\t\t\t\t\t\t\ttarget: this\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tvideo.onplay = function() {\n\t\t\t\t\t\tif (_ts.autopause)\n\t\t\t\t\t\t\tfor (let item, i = 0; item = _ts.videoContexts[i++];)\n\t\t\t\t\t\t\t\tif (item != this) item.pause();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// 音频处理\n\t\t\t\tvar audios = this.rtf.getElementsByTagName('audio');\n\t\t\t\tfor (var audio of audios) {\n\t\t\t\t\tfill(audio);\n\t\t\t\t\taudio.onerror = function() {\n\t\t\t\t\t\t_ts.$emit('error', {\n\t\t\t\t\t\t\tsource: 'audio',\n\t\t\t\t\t\t\ttarget: this\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// 表格处理\n\t\t\t\tif (this.autoscroll) {\n\t\t\t\t\tvar tables = this.rtf.getElementsByTagName('table');\n\t\t\t\t\tfor (var table of tables) {\n\t\t\t\t\t\tlet div = document.createElement('div');\n\t\t\t\t\t\tdiv.style.overflow = 'scroll';\n\t\t\t\t\t\ttable.parentNode.replaceChild(div, table);\n\t\t\t\t\t\tdiv.appendChild(table);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (!append) this.document.appendChild(this.rtf);\n\t\t\t\tthis.$nextTick(() => {\n\t\t\t\t\tthis.nodes = [1];\n\t\t\t\t\tthis.$emit('load');\n\t\t\t\t});\n\t\t\t\tsetTimeout(() => this.showAm = '', 500);\n\t\t\t\t// #endif\n\t\t\t\t// #ifndef APP-PLUS-NVUE\n\t\t\t\t// #ifndef H5 || MP-360\n\t\t\t\tvar nodes;\n\t\t\t\tif (!html) return this.nodes = [];\n\t\t\t\tvar parser = new Parser(html, this);\n\t\t\t\t// 缓存读取\n\t\t\t\tif (this.useCache) {\n\t\t\t\t\tvar hashVal = hash(html);\n\t\t\t\t\tif (cache[hashVal])\n\t\t\t\t\t\tnodes = cache[hashVal];\n\t\t\t\t\telse {\n\t\t\t\t\t\tnodes = parser.parse();\n\t\t\t\t\t\tcache[hashVal] = nodes;\n\t\t\t\t\t}\n\t\t\t\t} else nodes = parser.parse();\n\t\t\t\tthis.$emit('parse', nodes);\n\t\t\t\tif (append) this.nodes = this.nodes.concat(nodes);\n\t\t\t\telse this.nodes = nodes;\n\t\t\t\tif (nodes.length && nodes.title && this.autosetTitle)\n\t\t\t\t\tuni.setNavigationBarTitle({\n\t\t\t\t\t\ttitle: nodes.title\n\t\t\t\t\t})\n\t\t\t\tif (this.imgList) this.imgList.length = 0;\n\t\t\t\tthis.videoContexts = [];\n\t\t\t\tthis.$nextTick(() => {\n\t\t\t\t\t(function f(cs) {\n\t\t\t\t\t\tfor (var i = cs.length; i--;) {\n\t\t\t\t\t\t\tif (cs[i].top) {\n\t\t\t\t\t\t\t\tcs[i].controls = [];\n\t\t\t\t\t\t\t\tcs[i].init();\n\t\t\t\t\t\t\t\tf(cs[i].$children);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t})(this.$children)\n\t\t\t\t\tthis.$emit('load');\n\t\t\t\t})\n\t\t\t\t// #endif\n\t\t\t\tvar height;\n\t\t\t\tclearInterval(this._timer);\n\t\t\t\tthis._timer = setInterval(() => {\n\t\t\t\t\t// #ifdef H5 || MP-360\n\t\t\t\t\tthis.rect = this.rtf.getBoundingClientRect();\n\t\t\t\t\t// #endif\n\t\t\t\t\t// #ifndef H5 || MP-360\n\t\t\t\t\tuni.createSelectorQuery().in(this)\n\t\t\t\t\t\t.select('#_top').boundingClientRect().exec(res => {\n\t\t\t\t\t\t\tif (!res) return;\n\t\t\t\t\t\t\tthis.rect = res[0];\n\t\t\t\t\t\t\t// #endif\n\t\t\t\t\t\t\tif (this.rect.height == height) {\n\t\t\t\t\t\t\t\tthis.$emit('ready', this.rect)\n\t\t\t\t\t\t\t\tclearInterval(this._timer);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\theight = this.rect.height;\n\t\t\t\t\t\t\t// #ifndef H5 || MP-360\n\t\t\t\t\t\t});\n\t\t\t\t\t// #endif\n\t\t\t\t}, 350);\n\t\t\t\tif (this.showWithAnimation && !append) this.showAm = 'animation:_show .5s';\n\t\t\t\t// #endif\n\t\t\t},\n\t\t\t// 获取文本内容\n\t\t\tgetText(ns = this.nodes) {\n\t\t\t\tvar txt = '';\n\t\t\t\t// #ifdef APP-PLUS-NVUE\n\t\t\t\ttxt = this._text;\n\t\t\t\t// #endif\n\t\t\t\t// #ifdef H5 || MP-360\n\t\t\t\ttxt = this.rtf.innerText;\n\t\t\t\t// #endif\n\t\t\t\t// #ifndef H5 || APP-PLUS-NVUE || MP-360\n\t\t\t\tfor (var i = 0, n; n = ns[i++];) {\n\t\t\t\t\tif (n.type == 'text') txt += n.text.replace(/ /g, '\\u00A0').replace(/</g, '<').replace(/>/g, '>')\n\t\t\t\t\t\t.replace(/&/g, '&');\n\t\t\t\t\telse if (n.type == 'br') txt += '\\n';\n\t\t\t\t\telse {\n\t\t\t\t\t\t// 块级标签前后加换行\n\t\t\t\t\t\tvar block = n.name == 'p' || n.name == 'div' || n.name == 'tr' || n.name == 'li' || (n.name[0] == 'h' && n.name[1] >\n\t\t\t\t\t\t\t'0' && n.name[1] < '7');\n\t\t\t\t\t\tif (block && txt && txt[txt.length - 1] != '\\n') txt += '\\n';\n\t\t\t\t\t\tif (n.children) txt += this.getText(n.children);\n\t\t\t\t\t\tif (block && txt[txt.length - 1] != '\\n') txt += '\\n';\n\t\t\t\t\t\telse if (n.name == 'td' || n.name == 'th') txt += '\\t';\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// #endif\n\t\t\t\treturn txt;\n\t\t\t},\n\t\t\t// 锚点跳转\n\t\t\tin (obj) {\n\t\t\t\tif (obj.page && obj.selector && obj.scrollTop) this._in = obj;\n\t\t\t},\n\t\t\tnavigateTo(obj) {\n\t\t\t\tif (!this.useAnchor) return obj.fail && obj.fail('Anchor is disabled');\n\t\t\t\t// #ifdef APP-PLUS-NVUE\n\t\t\t\tif (!obj.id)\n\t\t\t\t\tweexDom.scrollToElement(this.$refs.web);\n\t\t\t\telse\n\t\t\t\t\tthis.$refs.web.evalJs('var pos=document.getElementById(\"' + obj.id +\n\t\t\t\t\t\t'\");if(pos)post({action:\"linkpress\",href:\"#\",offset:pos.offsetTop+' + (obj.offset || 0) + '})');\n\t\t\t\tobj.success && obj.success();\n\t\t\t\t// #endif\n\t\t\t\t// #ifndef APP-PLUS-NVUE\n\t\t\t\tvar d = ' ';\n\t\t\t\t// #ifdef MP-WEIXIN || MP-QQ || MP-TOUTIAO\n\t\t\t\td = '>>>';\n\t\t\t\t// #endif\n\t\t\t\tvar selector = uni.createSelectorQuery().in(this._in ? this._in.page : this).select((this._in ? this._in.selector :\n\t\t\t\t\t'#_top') + (obj.id ? `${d}#${obj.id},${this._in?this._in.selector:'#_top'}${d}.${obj.id}` : '')).boundingClientRect();\n\t\t\t\tif (this._in) selector.select(this._in.selector).scrollOffset().select(this._in.selector).boundingClientRect();\n\t\t\t\telse selector.selectViewport().scrollOffset();\n\t\t\t\tselector.exec(res => {\n\t\t\t\t\tif (!res[0]) return obj.fail && obj.fail('Label not found')\n\t\t\t\t\tvar scrollTop = res[1].scrollTop + res[0].top - (res[2] ? res[2].top : 0) + (obj.offset || 0);\n\t\t\t\t\tif (this._in) this._in.page[this._in.scrollTop] = scrollTop;\n\t\t\t\t\telse uni.pageScrollTo({\n\t\t\t\t\t\tscrollTop,\n\t\t\t\t\t\tduration: 300\n\t\t\t\t\t})\n\t\t\t\t\tobj.success && obj.success();\n\t\t\t\t})\n\t\t\t\t// #endif\n\t\t\t},\n\t\t\t// 获取视频对象\n\t\t\tgetVideoContext(id) {\n\t\t\t\t// #ifndef APP-PLUS-NVUE\n\t\t\t\tif (!id) return this.videoContexts;\n\t\t\t\telse\n\t\t\t\t\tfor (var i = this.videoContexts.length; i--;)\n\t\t\t\t\t\tif (this.videoContexts[i].id == id) return this.videoContexts[i];\n\t\t\t\t// #endif\n\t\t\t},\n\t\t\t// #ifdef H5 || APP-PLUS-NVUE || MP-360\n\t\t\t_handleHtml(html, append) {\n\t\t\t\tif (!append) {\n\t\t\t\t\t// 处理 tag-style 和 userAgentStyles\n\t\t\t\t\tvar style = '<style>@keyframes _show{0%{opacity:0}100%{opacity:1}}img{max-width:100%}';\n\t\t\t\t\tfor (var item in cfg.userAgentStyles)\n\t\t\t\t\t\tstyle += `${item}{${cfg.userAgentStyles[item]}}`;\n\t\t\t\t\tfor (item in this.tagStyle)\n\t\t\t\t\t\tstyle += `${item}{${this.tagStyle[item]}}`;\n\t\t\t\t\tstyle += '</style>';\n\t\t\t\t\thtml = style + html;\n\t\t\t\t}\n\t\t\t\t// 处理 rpx\n\t\t\t\tif (html.includes('rpx'))\n\t\t\t\t\thtml = html.replace(/[0-9.]+\\s*rpx/g, $ => (parseFloat($) * windowWidth / 750) + 'px');\n\t\t\t\treturn html;\n\t\t\t},\n\t\t\t// #endif\n\t\t\t// #ifdef APP-PLUS-NVUE\n\t\t\t_message(e) {\n\t\t\t\t// 接收 web-view 消息\n\t\t\t\tvar d = e.detail.data[0];\n\t\t\t\tswitch (d.action) {\n\t\t\t\t\tcase 'load':\n\t\t\t\t\t\tthis.$emit('load');\n\t\t\t\t\t\tthis.height = d.height;\n\t\t\t\t\t\tthis._text = d.text;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'getTitle':\n\t\t\t\t\t\tif (this.autosetTitle)\n\t\t\t\t\t\t\tuni.setNavigationBarTitle({\n\t\t\t\t\t\t\t\ttitle: d.title\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'getImgList':\n\t\t\t\t\t\tthis.imgList.length = 0;\n\t\t\t\t\t\tfor (var i = d.imgList.length; i--;)\n\t\t\t\t\t\t\tthis.imgList.setItem(i, d.imgList[i]);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'preview':\n\t\t\t\t\t\tvar preview = true;\n\t\t\t\t\t\td.img.ignore = () => preview = false;\n\t\t\t\t\t\tthis.$emit('imgtap', d.img);\n\t\t\t\t\t\tif (preview)\n\t\t\t\t\t\t\tuni.previewImage({\n\t\t\t\t\t\t\t\tcurrent: d.img.i,\n\t\t\t\t\t\t\t\turls: this.imgList\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'linkpress':\n\t\t\t\t\t\tvar jump = true,\n\t\t\t\t\t\t\thref = d.href;\n\t\t\t\t\t\tthis.$emit('linkpress', {\n\t\t\t\t\t\t\thref,\n\t\t\t\t\t\t\tignore: () => jump = false\n\t\t\t\t\t\t})\n\t\t\t\t\t\tif (jump && href) {\n\t\t\t\t\t\t\tif (href[0] == '#') {\n\t\t\t\t\t\t\t\tif (this.useAnchor)\n\t\t\t\t\t\t\t\t\tweexDom.scrollToElement(this.$refs.web, {\n\t\t\t\t\t\t\t\t\t\toffset: d.offset\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t} else if (href.includes('://'))\n\t\t\t\t\t\t\t\tplus.runtime.openWeb(href);\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tuni.navigateTo({\n\t\t\t\t\t\t\t\t\turl: href\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'error':\n\t\t\t\t\t\tif (d.source == 'img' && cfg.errorImg)\n\t\t\t\t\t\t\tthis.imgList.setItem(d.target.i, cfg.errorImg);\n\t\t\t\t\t\tthis.$emit('error', {\n\t\t\t\t\t\t\tsource: d.source,\n\t\t\t\t\t\t\ttarget: d.target\n\t\t\t\t\t\t})\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'ready':\n\t\t\t\t\t\tthis.height = d.height;\n\t\t\t\t\t\tif (d.ready) uni.createSelectorQuery().in(this).select('#_top').boundingClientRect().exec(res => {\n\t\t\t\t\t\t\tthis.rect = res[0];\n\t\t\t\t\t\t\tthis.$emit('ready', res[0]);\n\t\t\t\t\t\t})\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'click':\n\t\t\t\t\t\tthis.$emit('click');\n\t\t\t\t\t\tthis.$emit('tap');\n\t\t\t\t}\n\t\t\t},\n\t\t\t// #endif\n\t\t}\n\t}\n</script>\n\n<style>\n\t@keyframes _show {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\n\t/* #ifdef MP-WEIXIN */\n\t:host {\n\t\tdisplay: block;\n\t\toverflow: auto;\n\t\t-webkit-overflow-scrolling: touch;\n\t}\n\n\t/* #endif */\n</style>\n","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../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-parse.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../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-parse.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536256501\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":""} |
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-picker/u-picker.vue?a3e7","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-picker/u-picker.vue?4344","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-picker/u-picker.vue?452e","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-picker/u-picker.vue?4ca8","uni-app:///uview-ui/components/u-picker/u-picker.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-picker/u-picker.vue?6cae","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-picker/u-picker.vue?5e13"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AACmN;AACnN,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,6MAEN;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;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClKA;AAAA;AAAA;AAAA;AAAq1B,CAAgB,syBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkGz2B;AACA;AACA,4F;;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BA;AACA,kBADA;AAEA;AACA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,oBADA;AAEA,qBAFA;AAGA,mBAHA;AAIA,qBAJA;AAKA,uBALA;AAMA,uBANA;AAOA,wBAPA;AAQA,oBARA;AASA,oBATA;AAUA,yBAVA;;AAYA,OAfA,EAFA;;AAmBA;AACA;AACA,iBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EApBA;;AA0BA;AACA;AACA,iBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EA3BA;;AAiCA;AACA;AACA,kBADA;AAEA,iBAFA,EAlCA;;AAsCA;AACA;AACA,kBADA;AAEA,qBAFA,EAvCA;;AA2CA;AACA;AACA,4BADA;AAEA,mBAFA,EA5CA;;AAgDA;AACA;AACA,4BADA;AAEA,mBAFA,EAjDA;;AAqDA;AACA;AACA,kBADA;AAEA,wBAFA,EAtDA;;AA0DA;AACA;AACA,kBADA;AAEA,wBAFA,EA3DA;;AA+DA;AACA;AACA,kBADA;AAEA,iBAFA,EAhEA;;AAoEA;AACA;AACA,iBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EArEA;;AA2EA;AACA;AACA,mBADA;AAEA,mBAFA,EA5EA;;AAgFA;AACA;AACA,iBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAjFA;;AAuFA;AACA,mBADA;AAEA,oBAFA,EAvFA;;AA2FA;AACA;AACA,mBADA;AAEA,mBAFA,EA5FA;;AAgGA;AACA;AACA,mBADA;AAEA,oBAFA,EAjGA;;AAqGA;AACA;AACA,4BADA;AAEA,gBAFA,EAtGA;;AA0GA;AACA;AACA,kBADA;AAEA,iBAFA,EA3GA;;AA+GA;AACA;AACA,kBADA;AAEA,mBAFA,EAhHA;;AAoHA;AACA;AACA,kBADA;AAEA,mBAFA,EArHA,EAFA;;;AA4HA,MA5HA,kBA4HA;AACA;AACA,eADA;AAEA,gBAFA;AAGA,cAHA;AAIA,eAJA;AAKA,iBALA;AAMA,iBANA;AAOA,aAPA;AAQA,cARA;AASA,YATA;AAUA,aAVA;AAWA,eAXA;AAYA,eAZA;AAaA,kBAbA;AAcA,mBAdA;AAeA,iBAfA;AAgBA,kBAhBA;AAiBA,kCAjBA;AAkBA,6BAlBA;AAmBA,gCAnBA;AAoBA,iBApBA;AAqBA,aArBA;AAsBA,aAtBA;AAuBA,mBAvBA,CAuBA;AAvBA;AAyBA,GAtJA;AAuJA,SAvJA,qBAuJA;AACA;AACA,GAzJA;AA0JA;AACA,eADA,yBACA;AACA;AACA;AACA,KAJA;AAKA,gBALA,0BAKA;AACA;AACA;AACA,KARA;AASA,gBATA,0BASA;AACA;AACA,KAXA;AAYA,WAZA,qBAYA;AACA;AACA;AACA,KAfA,EA1JA;;AA2KA;AACA,eADA,yBACA;AACA;AACA;AACA,KAJA;AAKA;AACA,gBANA,wBAMA,GANA,EAMA;AACA;AACA;AACA,KATA;AAUA;AACA;AACA,gBAZA,wBAYA,GAZA,EAYA;AACA;AACA,KAdA;AAeA;AACA,SAhBA,iBAgBA,CAhBA,EAgBA;AACA;AACA;AACA;AACA;AACA,KArBA,EA3KA;;AAkMA;AACA;AACA,aAFA,uBAEA;;AAEA;;AAEA,KANA;AAOA;AACA,WARA,qBAQA;;AAEA;;AAEA,KAZA;AAaA;AACA,gBAdA,wBAcA,IAdA,EAcA,IAdA,EAcA;AACA;AACA;AACA;AACA;AACA;AACA,KApBA;AAqBA;AACA,gBAtBA,wBAsBA,GAtBA,EAsBA;AACA;AACA,KAxBA;AAyBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAjCA;AAkCA;AACA;AACA;AACA;AACA,KAtCA;AAuCA;AACA,iBAxCA,2BAwCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAtDA;AAuDA,QAvDA,kBAuDA;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;AACA;AACA,OA1BA,MA0BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAbA,MAaA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA;AACA,KAxGA;AAyGA;AACA,YA1GA,sBA0GA;AACA;AACA;AACA;AACA;AACA,KA/GA;AAgHA,aAhHA,uBAgHA;AACA;AACA;AACA,KAnHA;AAoHA,WApHA,qBAoHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAlIA;AAmIA,YAnIA,sBAmIA;AACA;AACA;AACA,KAtIA;AAuIA,cAvIA,wBAuIA;AACA;AACA;AACA,KA1IA;AA2IA,cA3IA,wBA2IA;AACA;AACA;AACA,KA9IA;AA+IA,gBA/IA,0BA+IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAHA,MAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAJA;AAKA;AACA;AACA;AACA;AACA,KApKA;AAqKA,YArKA,sBAqKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAHA,MAGA;AACA;AACA;AACA;AACA;AACA;AACA,OAJA;AAKA;AACA;AACA;AACA,KAtLA;AAuLA,YAvLA,sBAuLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAHA,MAGA;AACA;AACA;AACA;AACA;AACA;AACA,OAJA;AAKA;AACA;AACA;AACA,KAxMA;AAyMA,SAzMA,mBAyMA;AACA;AACA,KA3MA;AA4MA;AACA,UA7MA,kBA6MA,CA7MA,EA6MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OATA,MASA;AACA;AACA;AACA;AACA,OAJA,MAIA;AACA;AACA;AACA;AACA;AACA,SAFA;AAGA;AACA;AACA;AACA,yBADA;AAEA,wCAFA;;AAIA;AACA;AACA,KA3OA;AA4OA;AACA,aA7OA,uBA6OA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OARA,MAQA;AACA;AACA;AACA;AACA,OAJA,MAIA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA;AACA,KAtQA;AAuQA;AACA,gBAxQA,0BAwQA;AACA;AACA;AACA;AACA,KA5QA,EAlMA,E;;;;;;;;;;;;AChIA;AAAA;AAAA;AAAA;AAAwlD,CAAgB,67CAAG,EAAC,C;;;;;;;;;;;ACA5mD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-picker/u-picker.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-picker.vue?vue&type=template&id=70102400&scoped=true&\"\nvar renderjs\nimport script from \"./u-picker.vue?vue&type=script&lang=js&\"\nexport * from \"./u-picker.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-picker.vue?vue&type=style&index=0&id=70102400&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 \"70102400\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-picker/u-picker.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-picker.vue?vue&type=template&id=70102400&scoped=true&\"","var components\ntry {\n components = {\n uPopup: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-popup/u-popup\" */ \"@/uview-ui/components/u-popup/u-popup.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 l0 =\n !(_vm.mode == \"region\") &&\n _vm.mode == \"time\" &&\n !_vm.reset &&\n _vm.params.month\n ? _vm.__map(_vm.months, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var m0 = _vm.formatNumber(item)\n return {\n $orig: $orig,\n m0: m0\n }\n })\n : null\n var l1 =\n !(_vm.mode == \"region\") &&\n _vm.mode == \"time\" &&\n !_vm.reset &&\n _vm.params.day\n ? _vm.__map(_vm.days, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var m1 = _vm.formatNumber(item)\n return {\n $orig: $orig,\n m1: m1\n }\n })\n : null\n var l2 =\n !(_vm.mode == \"region\") &&\n _vm.mode == \"time\" &&\n !_vm.reset &&\n _vm.params.hour\n ? _vm.__map(_vm.hours, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var m2 = _vm.formatNumber(item)\n return {\n $orig: $orig,\n m2: m2\n }\n })\n : null\n var l3 =\n !(_vm.mode == \"region\") &&\n _vm.mode == \"time\" &&\n !_vm.reset &&\n _vm.params.minute\n ? _vm.__map(_vm.minutes, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var m3 = _vm.formatNumber(item)\n return {\n $orig: $orig,\n m3: m3\n }\n })\n : null\n var l4 =\n !(_vm.mode == \"region\") &&\n _vm.mode == \"time\" &&\n !_vm.reset &&\n _vm.params.second\n ? _vm.__map(_vm.seconds, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var m4 = _vm.formatNumber(item)\n return {\n $orig: $orig,\n m4: m4\n }\n })\n : null\n var l5 =\n !(_vm.mode == \"region\") &&\n !(_vm.mode == \"time\") &&\n _vm.mode == \"selector\" &&\n !_vm.reset\n ? _vm.__map(_vm.range, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var m5 = _vm.getItemValue(item, \"selector\")\n return {\n $orig: $orig,\n m5: m5\n }\n })\n : null\n var l7 =\n !(_vm.mode == \"region\") &&\n !(_vm.mode == \"time\") &&\n !(_vm.mode == \"selector\") &&\n _vm.mode == \"multiSelector\"\n ? _vm.__map(_vm.range, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var l6 = !_vm.reset\n ? _vm.__map(item, function(item1, index1) {\n var $orig = _vm.__get_orig(item1)\n\n var m6 = _vm.getItemValue(item1, \"multiSelector\")\n return {\n $orig: $orig,\n m6: m6\n }\n })\n : null\n return {\n $orig: $orig,\n l6: l6\n }\n })\n : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n l0: l0,\n l1: l1,\n l2: l2,\n l3: l3,\n l4: l4,\n l5: l5,\n l7: l7\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-picker.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-picker.vue?vue&type=script&lang=js&\"","<template>\n\t<u-popup :maskCloseAble=\"maskCloseAble\" mode=\"bottom\" :popup=\"false\" v-model=\"value\" length=\"auto\" :safeAreaInsetBottom=\"safeAreaInsetBottom\" @close=\"close\" :z-index=\"uZIndex\">\n\t\t<view class=\"u-datetime-picker\">\n\t\t\t<view class=\"u-picker-header\" @touchmove.stop.prevent=\"\">\n\t\t\t\t<view class=\"u-btn-picker u-btn-picker--tips\" \n\t\t\t\t\t:style=\"{ color: cancelColor }\" \n\t\t\t\t\thover-class=\"u-opacity\" \n\t\t\t\t\t:hover-stay-time=\"150\" \n\t\t\t\t\t@tap=\"getResult('cancel')\"\n\t\t\t\t>{{cancelText}}</view>\n\t\t\t\t<view class=\"u-picker__title\">{{ title }}</view>\n\t\t\t\t<view\n\t\t\t\t\tclass=\"u-btn-picker u-btn-picker--primary\"\n\t\t\t\t\t:style=\"{ color: moving ? cancelColor : confirmColor }\"\n\t\t\t\t\thover-class=\"u-opacity\"\n\t\t\t\t\t:hover-stay-time=\"150\"\n\t\t\t\t\t@touchmove.stop=\"\"\n\t\t\t\t\t@tap.stop=\"getResult('confirm')\"\n\t\t\t\t>\n\t\t\t\t\t{{confirmText}}\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view class=\"u-picker-body\">\n\t\t\t\t<picker-view v-if=\"mode == 'region'\" :value=\"valueArr\" @change=\"change\" class=\"u-picker-view\" @pickstart=\"pickstart\" @pickend=\"pickend\">\n\t\t\t\t\t<picker-view-column v-if=\"!reset && params.province\">\n\t\t\t\t\t\t<view class=\"u-column-item\" v-for=\"(item, index) in provinces\" :key=\"index\">\n\t\t\t\t\t\t\t<view class=\"u-line-1\">{{ item.label }}</view>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</picker-view-column>\n\t\t\t\t\t<picker-view-column v-if=\"!reset && params.city\">\n\t\t\t\t\t\t<view class=\"u-column-item\" v-for=\"(item, index) in citys\" :key=\"index\">\n\t\t\t\t\t\t\t<view class=\"u-line-1\">{{ item.label }}</view>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</picker-view-column>\n\t\t\t\t\t<picker-view-column v-if=\"!reset && params.area\">\n\t\t\t\t\t\t<view class=\"u-column-item\" v-for=\"(item, index) in areas\" :key=\"index\">\n\t\t\t\t\t\t\t<view class=\"u-line-1\">{{ item.label }}</view>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</picker-view-column>\n\t\t\t\t</picker-view>\n\t\t\t\t<picker-view v-else-if=\"mode == 'time'\" :value=\"valueArr\" @change=\"change\" class=\"u-picker-view\" @pickstart=\"pickstart\" @pickend=\"pickend\">\n\t\t\t\t\t<picker-view-column v-if=\"!reset && params.year\">\n\t\t\t\t\t\t<view class=\"u-column-item\" v-for=\"(item, index) in years\" :key=\"index\">\n\t\t\t\t\t\t\t{{ item }}\n\t\t\t\t\t\t\t<text class=\"u-text\" v-if=\"showTimeTag\">年</text>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</picker-view-column>\n\t\t\t\t\t<picker-view-column v-if=\"!reset && params.month\">\n\t\t\t\t\t\t<view class=\"u-column-item\" v-for=\"(item, index) in months\" :key=\"index\">\n\t\t\t\t\t\t\t{{ formatNumber(item) }}\n\t\t\t\t\t\t\t<text class=\"u-text\" v-if=\"showTimeTag\">月</text>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</picker-view-column>\n\t\t\t\t\t<picker-view-column v-if=\"!reset && params.day\">\n\t\t\t\t\t\t<view class=\"u-column-item\" v-for=\"(item, index) in days\" :key=\"index\">\n\t\t\t\t\t\t\t{{ formatNumber(item) }}\n\t\t\t\t\t\t\t<text class=\"u-text\" v-if=\"showTimeTag\">日</text>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</picker-view-column>\n\t\t\t\t\t<picker-view-column v-if=\"!reset && params.hour\">\n\t\t\t\t\t\t<view class=\"u-column-item\" v-for=\"(item, index) in hours\" :key=\"index\">\n\t\t\t\t\t\t\t{{ formatNumber(item) }}\n\t\t\t\t\t\t\t<text class=\"u-text\" v-if=\"showTimeTag\">时</text>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</picker-view-column>\n\t\t\t\t\t<picker-view-column v-if=\"!reset && params.minute\">\n\t\t\t\t\t\t<view class=\"u-column-item\" v-for=\"(item, index) in minutes\" :key=\"index\">\n\t\t\t\t\t\t\t{{ formatNumber(item) }}\n\t\t\t\t\t\t\t<text class=\"u-text\" v-if=\"showTimeTag\">分</text>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</picker-view-column>\n\t\t\t\t\t<picker-view-column v-if=\"!reset && params.second\">\n\t\t\t\t\t\t<view class=\"u-column-item\" v-for=\"(item, index) in seconds\" :key=\"index\">\n\t\t\t\t\t\t\t{{ formatNumber(item) }}\n\t\t\t\t\t\t\t<text class=\"u-text\" v-if=\"showTimeTag\">秒</text>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</picker-view-column>\n\t\t\t\t</picker-view>\n\t\t\t\t<picker-view v-else-if=\"mode == 'selector'\" :value=\"valueArr\" @change=\"change\" class=\"u-picker-view\" @pickstart=\"pickstart\" @pickend=\"pickend\">\n\t\t\t\t\t<picker-view-column v-if=\"!reset\">\n\t\t\t\t\t\t<view class=\"u-column-item\" v-for=\"(item, index) in range\" :key=\"index\">\n\t\t\t\t\t\t\t<view class=\"u-line-1\">{{ getItemValue(item, 'selector') }}</view>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</picker-view-column>\n\t\t\t\t</picker-view>\n\t\t\t\t<picker-view v-else-if=\"mode == 'multiSelector'\" :value=\"valueArr\" @change=\"change\" class=\"u-picker-view\" @pickstart=\"pickstart\" @pickend=\"pickend\">\n\t\t\t\t\t<picker-view-column v-if=\"!reset\" v-for=\"(item, index) in range\" :key=\"index\">\n\t\t\t\t\t\t<view class=\"u-column-item\" v-for=\"(item1, index1) in item\" :key=\"index1\">\n\t\t\t\t\t\t\t<view class=\"u-line-1\">{{ getItemValue(item1, 'multiSelector') }}</view>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</picker-view-column>\n\t\t\t\t</picker-view>\n\t\t\t</view>\n\t\t</view>\n\t</u-popup>\n</template>\n\n<script>\nimport provinces from '../../libs/util/province.js';\nimport citys from '../../libs/util/city.js';\nimport areas from '../../libs/util/area.js';\n\n/**\n * picker picker弹出选择器\n * @description 此选择器有两种弹出模式:一是时间模式,可以配置年,日,月,时,分,秒参数 二是地区模式,可以配置省,市,区参数\n * @tutorial https://www.uviewui.com/components/picker.html\n * @property {Object} params 需要显示的参数,见官网说明\n * @property {String} mode 模式选择,region-地区类型,time-时间类型(默认time)\n * @property {String Number} start-year 可选的开始年份,mode=time时有效(默认1950)\n * @property {String Number} end-year 可选的结束年份,mode=time时有效(默认2050)\n * @property {Boolean} safe-area-inset-bottom 是否开启底部安全区适配(默认false)\n * @property {Boolean} show-time-tag 时间模式时,是否显示后面的年月日中文提示\n * @property {String} cancel-color 取消按钮的颜色(默认#606266)\n * @property {String} confirm-color 确认按钮的颜色(默认#2979ff)\n * @property {String} default-time 默认选中的时间,mode=time时有效\n * @property {String} confirm-text 确认按钮的文字\n * @property {String} cancel-text 取消按钮的文字\n * @property {String} default-region 默认选中的地区,中文形式,mode=region时有效\n * @property {String} default-code 默认选中的地区,编号形式,mode=region时有效\n * @property {Boolean} mask-close-able 是否允许通过点击遮罩关闭Picker(默认true)\n * @property {String Number} z-index 弹出时的z-index值(默认1075)\n * @property {Array} default-selector 数组形式,其中每一项表示选择了range对应项中的第几个\n * @property {Array} range 自定义选择的数据,mode=selector或mode=multiSelector时有效\n * @property {String} range-key 当range参数的元素为对象时,指定Object中的哪个key的值作为选择器显示内容\n * @event {Function} confirm 点击确定按钮,返回当前选择的值\n * @event {Function} cancel 点击取消按钮,返回当前选择的值\n * @example <u-picker v-model=\"show\" mode=\"time\"></u-picker>\n */\nexport default {\n\tname: 'u-picker',\n\tprops: {\n\t\t// picker中需要显示的参数\n\t\tparams: {\n\t\t\ttype: Object,\n\t\t\tdefault() {\n\t\t\t\treturn {\n\t\t\t\t\tyear: true,\n\t\t\t\t\tmonth: true,\n\t\t\t\t\tday: true,\n\t\t\t\t\thour: false,\n\t\t\t\t\tminute: false,\n\t\t\t\t\tsecond: false,\n\t\t\t\t\tprovince: true,\n\t\t\t\t\tcity: true,\n\t\t\t\t\tarea: true,\n\t\t\t\t\ttimestamp: true,\n\t\t\t\t};\n\t\t\t}\n\t\t},\n\t\t// 当mode=selector或者mode=multiSelector时,提供的数组\n\t\trange: {\n\t\t\ttype: Array,\n\t\t\tdefault() {\n\t\t\t\treturn [];\n\t\t\t}\n\t\t},\n\t\t// 当mode=selector或者mode=multiSelector时,提供的默认选中的下标\n\t\tdefaultSelector: {\n\t\t\ttype: Array,\n\t\t\tdefault() {\n\t\t\t\treturn [0];\n\t\t\t}\n\t\t},\n\t\t// 当 range 是一个 Array<Object> 时,通过 range-key 来指定 Object 中 key 的值作为选择器显示内容\n\t\trangeKey: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 模式选择,region-地区类型,time-时间类型,selector-单列模式,multiSelector-多列模式\n\t\tmode: {\n\t\t\ttype: String,\n\t\t\tdefault: 'time'\n\t\t},\n\t\t// 年份开始时间\n\t\tstartYear: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: 1950\n\t\t},\n\t\t// 年份结束时间\n\t\tendYear: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: 2050\n\t\t},\n\t\t// \"取消\"按钮的颜色\n\t\tcancelColor: {\n\t\t\ttype: String,\n\t\t\tdefault: '#606266'\n\t\t},\n\t\t// \"确定\"按钮的颜色\n\t\tconfirmColor: {\n\t\t\ttype: String,\n\t\t\tdefault: '#2979ff'\n\t\t},\n\t\t// 默认显示的时间,2025-07-02 || 2025-07-02 13:01:00 || 2025/07/02\n\t\tdefaultTime: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 默认显示的地区,可传类似[\"河北省\", \"秦皇岛市\", \"北戴河区\"]\n\t\tdefaultRegion: {\n\t\t\ttype: Array,\n\t\t\tdefault() {\n\t\t\t\treturn [];\n\t\t\t}\n\t\t},\n\t\t// 时间模式时,是否显示后面的年月日中文提示\n\t\tshowTimeTag: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 默认显示地区的编码,defaultRegion和areaCode同时存在,areaCode优先,可传类似[\"13\", \"1303\", \"130304\"]\n\t\tareaCode: {\n\t\t\ttype: Array,\n\t\t\tdefault() {\n\t\t\t\treturn [];\n\t\t\t}\n\t\t},\n\t\tsafeAreaInsetBottom: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 是否允许通过点击遮罩关闭Picker\n\t\tmaskCloseAble: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 通过双向绑定控制组件的弹出与收起\n\t\tvalue: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 弹出的z-index值\n\t\tzIndex: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: 0\n\t\t},\n\t\t// 顶部标题\n\t\ttitle: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 取消按钮的文字\n\t\tcancelText: {\n\t\t\ttype: String,\n\t\t\tdefault: '取消'\n\t\t},\n\t\t// 确认按钮的文字\n\t\tconfirmText: {\n\t\t\ttype: String,\n\t\t\tdefault: '确认'\n\t\t}\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tyears: [],\n\t\t\tmonths: [],\n\t\t\tdays: [],\n\t\t\thours: [],\n\t\t\tminutes: [],\n\t\t\tseconds: [],\n\t\t\tyear: 0,\n\t\t\tmonth: 0,\n\t\t\tday: 0,\n\t\t\thour: 0,\n\t\t\tminute: 0,\n\t\t\tsecond: 0,\n\t\t\treset: false,\n\t\t\tstartDate: '',\n\t\t\tendDate: '',\n\t\t\tvalueArr: [],\n\t\t\tprovinces: provinces,\n\t\t\tcitys: citys[0],\n\t\t\tareas: areas[0][0],\n\t\t\tprovince: 0,\n\t\t\tcity: 0,\n\t\t\tarea: 0,\n\t\t\tmoving: false // 列是否还在滑动中,微信小程序如果在滑动中就点确定,结果可能不准确\n\t\t};\n\t},\n\tmounted() {\n\t\tthis.init();\n\t},\n\tcomputed: {\n\t\tpropsChange() {\n\t\t\t// 引用这几个变量,是为了监听其变化\n\t\t\treturn `${this.mode}-${this.defaultTime}-${this.startYear}-${this.endYear}-${this.defaultRegion}-${this.areaCode}`;\n\t\t},\n\t\tregionChange() {\n\t\t\t// 引用这几个变量,是为了监听其变化\n\t\t\treturn `${this.province}-${this.city}`;\n\t\t},\n\t\tyearAndMonth() {\n\t\t\treturn `${this.year}-${this.month}`;\n\t\t},\n\t\tuZIndex() {\n\t\t\t// 如果用户有传递z-index值,优先使用\n\t\t\treturn this.zIndex ? this.zIndex : this.$u.zIndex.popup;\n\t\t}\n\t},\n\twatch: {\n\t\tpropsChange() {\n\t\t\tthis.reset = true;\n\t\t\tsetTimeout(() => this.init(), 10);\n\t\t},\n\t\t// 如果地区发生变化,为了让picker联动起来,必须重置this.citys和this.areas\n\t\tregionChange(val) {\n\t\t\tthis.citys = citys[this.province];\n\t\t\tthis.areas = areas[this.province][this.city];\n\t\t},\n\t\t// watch监听月份的变化,实时变更日的天数,因为不同月份,天数不一样\n\t\t// 一个月可能有30,31天,甚至闰年2月的29天,平年2月28天\n\t\tyearAndMonth(val) {\n\t\t\tif (this.params.year) this.setDays();\n\t\t},\n\t\t// 微信和QQ小程序由于一些奇怪的原因(故同时对所有平台均初始化一遍),需要重新初始化才能显示正确的值\n\t\tvalue(n) {\n\t\t\tif (n) {\n\t\t\t\tthis.reset = true;\n\t\t\t\tsetTimeout(() => this.init(), 10);\n\t\t\t}\n\t\t}\n\t},\n\tmethods: {\n\t\t// 标识滑动开始,只有微信小程序才有这样的事件\n\t\tpickstart() {\n\t\t\t// #ifdef MP-WEIXIN\n\t\t\tthis.moving = true;\n\t\t\t// #endif\n\t\t},\n\t\t// 标识滑动结束\n\t\tpickend() {\n\t\t\t// #ifdef MP-WEIXIN\n\t\t\tthis.moving = false;\n\t\t\t// #endif\n\t\t},\n\t\t// 对单列和多列形式的判断是否有传入变量的情况\n\t\tgetItemValue(item, mode) {\n\t\t\t// 目前(2020-05-25)uni-app对微信小程序编译有错误,导致v-if为false中的内容也执行,错误导致\n\t\t\t// 单列模式或者多列模式中的getItemValue同时被执行,故在这里再加一层判断\n\t\t\tif (this.mode == mode) {\n\t\t\t\treturn typeof item == 'object' ? item[this.rangeKey] : item;\n\t\t\t}\n\t\t},\n\t\t// 小于10前面补0,用于月份,日期,时分秒等\n\t\tformatNumber(num) {\n\t\t\treturn +num < 10 ? '0' + num : String(num);\n\t\t},\n\t\t// 生成递进的数组\n\t\tgenerateArray: function(start, end) {\n\t\t\t// 转为数值格式,否则用户给end-year等传递字符串值时,下面的end+1会导致字符串拼接,而不是相加\n\t\t\tstart = Number(start);\n\t\t\tend = Number(end);\n\t\t\tend = end > start ? end : start;\n\t\t\t// 生成数组,获取其中的索引,并剪出来\n\t\t\treturn [...Array(end + 1).keys()].slice(start);\n\t\t},\n\t\tgetIndex: function(arr, val) {\n\t\t\tlet index = arr.indexOf(val);\n\t\t\t// 如果index为-1(即找不到index值),~(-1)=-(-1)-1=0,导致条件不成立\n\t\t\treturn ~index ? index : 0;\n\t\t},\n\t\t//日期时间处理\n\t\tinitTimeValue() {\n\t\t\t// 格式化时间,在IE浏览器(uni不存在此情况),无法识别日期间的\"-\"间隔符号\n\t\t\tlet fdate = this.defaultTime.replace(/\\-/g, '/');\n\t\t\tfdate = fdate && fdate.indexOf('/') == -1 ? `2020/01/01 ${fdate}` : fdate;\n\t\t\tlet time = null;\n\t\t\tif (fdate) time = new Date(fdate);\n\t\t\telse time = new Date();\n\t\t\t// 获取年日月时分秒\n\t\t\tthis.year = time.getFullYear();\n\t\t\tthis.month = Number(time.getMonth()) + 1;\n\t\t\tthis.day = time.getDate();\n\t\t\tthis.hour = time.getHours();\n\t\t\tthis.minute = time.getMinutes();\n\t\t\tthis.second = time.getSeconds();\n\t\t},\n\t\tinit() {\n\t\t\tthis.valueArr = [];\n\t\t\tthis.reset = false;\n\t\t\tif (this.mode == 'time') {\n\t\t\t\tthis.initTimeValue();\n\t\t\t\tif (this.params.year) {\n\t\t\t\t\tthis.valueArr.push(0);\n\t\t\t\t\tthis.setYears();\n\t\t\t\t}\n\t\t\t\tif (this.params.month) {\n\t\t\t\t\tthis.valueArr.push(0);\n\t\t\t\t\tthis.setMonths();\n\t\t\t\t}\n\t\t\t\tif (this.params.day) {\n\t\t\t\t\tthis.valueArr.push(0);\n\t\t\t\t\tthis.setDays();\n\t\t\t\t}\n\t\t\t\tif (this.params.hour) {\n\t\t\t\t\tthis.valueArr.push(0);\n\t\t\t\t\tthis.setHours();\n\t\t\t\t}\n\t\t\t\tif (this.params.minute) {\n\t\t\t\t\tthis.valueArr.push(0);\n\t\t\t\t\tthis.setMinutes();\n\t\t\t\t}\n\t\t\t\tif (this.params.second) {\n\t\t\t\t\tthis.valueArr.push(0);\n\t\t\t\t\tthis.setSeconds();\n\t\t\t\t}\n\t\t\t} else if (this.mode == 'region') {\n\t\t\t\tif (this.params.province) {\n\t\t\t\t\tthis.valueArr.push(0);\n\t\t\t\t\tthis.setProvinces();\n\t\t\t\t}\n\t\t\t\tif (this.params.city) {\n\t\t\t\t\tthis.valueArr.push(0);\n\t\t\t\t\tthis.setCitys();\n\t\t\t\t}\n\t\t\t\tif (this.params.area) {\n\t\t\t\t\tthis.valueArr.push(0);\n\t\t\t\t\tthis.setAreas();\n\t\t\t\t}\n\t\t\t} else if (this.mode == 'selector') {\n\t\t\t\tthis.valueArr = this.defaultSelector;\n\t\t\t} else if (this.mode == 'multiSelector') {\n\t\t\t\tthis.valueArr = this.defaultSelector;\n\t\t\t\tthis.multiSelectorValue = this.defaultSelector;\n\t\t\t}\n\t\t\tthis.$forceUpdate();\n\t\t},\n\t\t// 设置picker的某一列值\n\t\tsetYears() {\n\t\t\t// 获取年份集合\n\t\t\tthis.years = this.generateArray(this.startYear, this.endYear);\n\t\t\t// 设置this.valueArr某一项的值,是为了让picker预选中某一个值\n\t\t\tthis.valueArr.splice(this.valueArr.length - 1, 1, this.getIndex(this.years, this.year));\n\t\t},\n\t\tsetMonths() {\n\t\t\tthis.months = this.generateArray(1, 12);\n\t\t\tthis.valueArr.splice(this.valueArr.length - 1, 1, this.getIndex(this.months, this.month));\n\t\t},\n\t\tsetDays() {\n\t\t\tlet totalDays = new Date(this.year, this.month, 0).getDate();\n\t\t\tthis.days = this.generateArray(1, totalDays);\n\t\t\tlet index = 0;\n\t\t\t// 这里不能使用类似setMonths()中的this.valueArr.splice(this.valueArr.length - 1, xxx)做法\n\t\t\t// 因为this.month和this.year变化时,会触发watch中的this.setDays(),导致this.valueArr.length计算有误\n\t\t\tif (this.params.year && this.params.month) index = 2;\n\t\t\telse if (this.params.month) index = 1;\n\t\t\telse if (this.params.year) index = 1;\n\t\t\telse index = 0;\n\t\t\t// 当月份变化时,会导致日期的天数也会变化,如果原来选的天数大于变化后的天数,则重置为变化后的最大值\n\t\t\t// 比如原来选中3月31日,调整为2月后,日期变为最大29,这时如果day值继续为31显然不合理,于是将其置为29(picker-column从1开始)\n\t\t\tif(this.day > this.days.length) this.day = this.days.length;\n\t\t\tthis.valueArr.splice(index, 1, this.getIndex(this.days, this.day));\n\t\t},\n\t\tsetHours() {\n\t\t\tthis.hours = this.generateArray(0, 23);\n\t\t\tthis.valueArr.splice(this.valueArr.length - 1, 1, this.getIndex(this.hours, this.hour));\n\t\t},\n\t\tsetMinutes() {\n\t\t\tthis.minutes = this.generateArray(0, 59);\n\t\t\tthis.valueArr.splice(this.valueArr.length - 1, 1, this.getIndex(this.minutes, this.minute));\n\t\t},\n\t\tsetSeconds() {\n\t\t\tthis.seconds = this.generateArray(0, 59);\n\t\t\tthis.valueArr.splice(this.valueArr.length - 1, 1, this.getIndex(this.seconds, this.second));\n\t\t},\n\t\tsetProvinces() {\n\t\t\t// 判断是否需要province参数\n\t\t\tif (!this.params.province) return;\n\t\t\tlet tmp = '';\n\t\t\tlet useCode = false;\n\t\t\t// 如果同时配置了defaultRegion和areaCode,优先使用areaCode参数\n\t\t\tif (this.areaCode.length) {\n\t\t\t\ttmp = this.areaCode[0];\n\t\t\t\tuseCode = true;\n\t\t\t} else if (this.defaultRegion.length) tmp = this.defaultRegion[0];\n\t\t\telse tmp = 0;\n\t\t\t// 历遍省份数组匹配\n\t\t\tprovinces.map((v, k) => {\n\t\t\t\tif (useCode ? v.value == tmp : v.label == tmp) {\n\t\t\t\t\ttmp = k;\n\t\t\t\t}\n\t\t\t});\n\t\t\tthis.province = tmp;\n\t\t\tthis.provinces = provinces;\n\t\t\t// 设置默认省份的值\n\t\t\tthis.valueArr.splice(0, 1, this.province);\n\t\t},\n\t\tsetCitys() {\n\t\t\tif (!this.params.city) return;\n\t\t\tlet tmp = '';\n\t\t\tlet useCode = false;\n\t\t\tif (this.areaCode.length) {\n\t\t\t\ttmp = this.areaCode[1];\n\t\t\t\tuseCode = true;\n\t\t\t} else if (this.defaultRegion.length) tmp = this.defaultRegion[1];\n\t\t\telse tmp = 0;\n\t\t\tcitys[this.province].map((v, k) => {\n\t\t\t\tif (useCode ? v.value == tmp : v.label == tmp) {\n\t\t\t\t\ttmp = k;\n\t\t\t\t}\n\t\t\t});\n\t\t\tthis.city = tmp;\n\t\t\tthis.citys = citys[this.province];\n\t\t\tthis.valueArr.splice(1, 1, this.city);\n\t\t},\n\t\tsetAreas() {\n\t\t\tif (!this.params.area) return;\n\t\t\tlet tmp = '';\n\t\t\tlet useCode = false;\n\t\t\tif (this.areaCode.length) {\n\t\t\t\ttmp = this.areaCode[2];\n\t\t\t\tuseCode = true;\n\t\t\t} else if (this.defaultRegion.length) tmp = this.defaultRegion[2];\n\t\t\telse tmp = 0;\n\t\t\tareas[this.province][this.city].map((v, k) => {\n\t\t\t\tif (useCode ? v.value == tmp : v.label == tmp) {\n\t\t\t\t\ttmp = k;\n\t\t\t\t}\n\t\t\t});\n\t\t\tthis.area = tmp;\n\t\t\tthis.areas = areas[this.province][this.city];\n\t\t\tthis.valueArr.splice(2, 1, this.area);\n\t\t},\n\t\tclose() {\n\t\t\tthis.$emit('input', false);\n\t\t},\n\t\t// 用户更改picker的列选项\n\t\tchange(e) {\n\t\t\tthis.valueArr = e.detail.value;\n\t\t\tlet i = 0;\n\t\t\tif (this.mode == 'time') {\n\t\t\t\t// 这里使用i++,是因为this.valueArr数组的长度是不确定长度的,它根据this.params的值来配置长度\n\t\t\t\t// 进入if规则,i会加1,保证了能获取准确的值\n\t\t\t\tif (this.params.year) this.year = this.years[this.valueArr[i++]];\n\t\t\t\tif (this.params.month) this.month = this.months[this.valueArr[i++]];\n\t\t\t\tif (this.params.day) this.day = this.days[this.valueArr[i++]];\n\t\t\t\tif (this.params.hour) this.hour = this.hours[this.valueArr[i++]];\n\t\t\t\tif (this.params.minute) this.minute = this.minutes[this.valueArr[i++]];\n\t\t\t\tif (this.params.second) this.second = this.seconds[this.valueArr[i++]];\n\t\t\t} else if (this.mode == 'region') {\n\t\t\t\tif (this.params.province) this.province = this.valueArr[i++];\n\t\t\t\tif (this.params.city) this.city = this.valueArr[i++];\n\t\t\t\tif (this.params.area) this.area = this.valueArr[i++];\n\t\t\t} else if (this.mode == 'multiSelector') {\n\t\t\t\tlet index = null;\n\t\t\t\t// 对比前后两个数组,寻找变更的是哪一列,如果某一个元素不同,即可判定该列发生了变化\n\t\t\t\tthis.defaultSelector.map((val, idx) => {\n\t\t\t\t\tif (val != e.detail.value[idx]) index = idx;\n\t\t\t\t});\n\t\t\t\t// 为了让用户对多列变化时,对动态设置其他列的变更\n\t\t\t\tif (index != null) {\n\t\t\t\t\tthis.$emit('columnchange', {\n\t\t\t\t\t\tcolumn: index,\n\t\t\t\t\t\tindex: e.detail.value[index]\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t// 用户点击确定按钮\n\t\tgetResult(event = null) {\n\t\t\t// #ifdef MP-WEIXIN\n\t\t\tif (this.moving) return;\n\t\t\t// #endif\n\t\t\tlet result = {};\n\t\t\t// 只返回用户在this.params中配置了为true的字段\n\t\t\tif (this.mode == 'time') {\n\t\t\t\tif (this.params.year) result.year = this.formatNumber(this.year || 0);\n\t\t\t\tif (this.params.month) result.month = this.formatNumber(this.month || 0);\n\t\t\t\tif (this.params.day) result.day = this.formatNumber(this.day || 0);\n\t\t\t\tif (this.params.hour) result.hour = this.formatNumber(this.hour || 0);\n\t\t\t\tif (this.params.minute) result.minute = this.formatNumber(this.minute || 0);\n\t\t\t\tif (this.params.second) result.second = this.formatNumber(this.second || 0);\n\t\t\t\tif (this.params.timestamp) result.timestamp = this.getTimestamp();\n\t\t\t} else if (this.mode == 'region') {\n\t\t\t\tif (this.params.province) result.province = provinces[this.province];\n\t\t\t\tif (this.params.city) result.city = citys[this.province][this.city];\n\t\t\t\tif (this.params.area) result.area = areas[this.province][this.city][this.area];\n\t\t\t} else if (this.mode == 'selector') {\n\t\t\t\tresult = this.valueArr;\n\t\t\t} else if (this.mode == 'multiSelector') {\n\t\t\t\tresult = this.valueArr;\n\t\t\t}\n\t\t\tif (event) this.$emit(event, result);\n\t\t\tthis.close();\n\t\t},\n\t\t// 获取时间戳\n\t\tgetTimestamp() {\n\t\t\t// yyyy-mm-dd为安卓写法,不支持iOS,需要使用\"/\"分隔,才能二者兼容\n\t\t\tlet time = this.year + '/' + this.month + '/' + this.day + ' ' + this.hour + ':' + this.minute + ':' + this.second;\n\t\t\treturn new Date(time).getTime() / 1000;\n\t\t}\n\t}\n};\n</script>\n\n<style lang=\"scss\" scoped>\n@import '../../libs/css/style.components.scss';\n\n.u-datetime-picker {\n\tposition: relative;\n\tz-index: 999;\n}\n\n.u-picker-view {\n\theight: 100%;\n\tbox-sizing: border-box;\n}\n\n.u-picker-header {\n\twidth: 100%;\n\theight: 90rpx;\n\tpadding: 0 40rpx;\n\t@include vue-flex;\n\tjustify-content: space-between;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tfont-size: 30rpx;\n\tbackground: #fff;\n\tposition: relative;\n}\n\n.u-picker-header::after {\n\tcontent: '';\n\tposition: absolute;\n\tborder-bottom: 1rpx solid #eaeef1;\n\t-webkit-transform: scaleY(0.5);\n\ttransform: scaleY(0.5);\n\tbottom: 0;\n\tright: 0;\n\tleft: 0;\n}\n\n.u-picker__title {\n\tcolor: $u-content-color;\n}\n\n.u-picker-body {\n\twidth: 100%;\n\theight: 500rpx;\n\toverflow: hidden;\n\tbackground-color: #fff;\n}\n\n.u-column-item {\n\t@include vue-flex;\n\talign-items: center;\n\tjustify-content: center;\n\tfont-size: 32rpx;\n\tcolor: $u-main-color;\n\tpadding: 0 8rpx;\n}\n\n.u-text {\n\tfont-size: 24rpx;\n\tpadding-left: 8rpx;\n}\n\n.u-btn-picker {\n\tpadding: 16rpx;\n\tbox-sizing: border-box;\n\ttext-align: center;\n\ttext-decoration: none;\n}\n\n.u-opacity {\n\topacity: 0.5;\n}\n\n.u-btn-picker--primary {\n\tcolor: $u-type-primary;\n}\n\n.u-btn-picker--tips {\n\tcolor: $u-tips-color;\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-picker.vue?vue&type=style&index=0&id=70102400&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-picker.vue?vue&type=style&index=0&id=70102400&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536258032\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":""} |
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-popup/u-popup.vue?5023","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-popup/u-popup.vue?be61","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-popup/u-popup.vue?fc50","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-popup/u-popup.vue?d3f5","uni-app:///uview-ui/components/u-popup/u-popup.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-popup/u-popup.vue?588e","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-popup/u-popup.vue?9b1e"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AACmN;AACnN,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,uMAEN;AACP,KAAK;AACL;AACA,aAAa,uMAEN;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7DA;AAAA;AAAA;AAAA;AAAo1B,CAAgB,qyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACgDx2B;;;;;;;;;;;;;;;;;;;;;;;AAuBA;AACA,iBADA;AAEA;AACA;;;AAGA;AACA,mBADA;AAEA,oBAFA,EAJA;;AAQA;;;AAGA;AACA,kBADA;AAEA,qBAFA,EAXA;;AAeA;;;AAGA;AACA,mBADA;AAEA,mBAFA,EAlBA;;AAsBA;AACA;AACA;AACA,4BADA;AAEA,qBAFA,EAxBA;;AA4BA;AACA;AACA,mBADA;AAEA,mBAFA,EA7BA;;AAiCA;AACA;AACA,mBADA;AAEA,oBAFA,EAlCA;;AAsCA;AACA;AACA,mBADA;AAEA,mBAFA,EAvCA;;AA2CA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EA5CA;;AAkDA;AACA,mBADA;AAEA,oBAFA,EAlDA;;AAsDA;AACA;AACA;AACA,mBADA;AAEA,mBAFA,EAxDA;;AA4DA;AACA;AACA,4BADA;AAEA,gBAFA,EA7DA;;AAiEA;AACA,4BADA;AAEA,iBAFA,EAjEA;;AAqEA;AACA;AACA,mBADA;AAEA,oBAFA,EAtEA;;AA0EA;AACA;AACA,kBADA;AAEA,sBAFA,EA3EA;;AA+EA;AACA;AACA,kBADA;AAEA,0BAFA,EAhFA;;AAoFA;AACA;AACA,kBADA;AAEA,wBAFA,EArFA;;AAyFA;AACA;AACA,4BADA;AAEA,mBAFA,EA1FA;;AA8FA;AACA;AACA;AACA,kBADA;AAEA,iBAFA,EAhGA;;AAoGA;AACA;AACA;AACA,kBADA;AAEA,iBAFA,EAtGA;;AA0GA;AACA;AACA,4BADA;AAEA,gBAFA,EA3GA;;AA+GA;AACA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAhHA;;AAsHA;AACA;AACA,4BADA;AAEA,kBAFA,EAvHA,EAFA;;;AA8HA,MA9HA,kBA8HA;AACA;AACA,wBADA;AAEA,uBAFA;AAGA,iBAHA;AAIA,2BAJA,CAIA;AAJA;AAMA,GArIA;AAsIA;AACA;AACA,SAFA,mBAEA;AACA;AACA;AACA;AACA;AACA,4FADA;AAEA,wBAFA;AAGA,+FAHA;;AAKA,OANA,MAMA;AACA;AACA,uBADA;AAEA,+FAFA;AAGA,8FAHA;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAbA;;AAeA;AACA;AACA;AACA;AACA;AACA,KAzCA;AA0CA;AACA,eA3CA,yBA2CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAxDA;AAyDA;AACA,WA1DA,qBA0DA;AACA;AACA,KA5DA,EAtIA;;AAoMA;AACA,SADA,iBACA,GADA,EACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA;AACA,KARA,EApMA;;AA8MA,SA9MA,qBA8MA;AACA;AACA;AACA,GAjNA;AAkNA;AACA;AACA,gBAFA,wBAEA,GAFA,EAEA;AACA;AACA;AACA,KALA;AAMA;AACA,aAPA,uBAOA;AACA;AACA,KATA;AAUA,SAVA,mBAUA;AACA;AACA;AACA;AACA;AACA,KAfA;AAgBA;AACA;AACA,mBAlBA,2BAkBA,IAlBA,EAkBA;AACA;AACA;AACA,KArBA;AAsBA,QAtBA,kBAsBA;AACA;AACA,KAxBA;AAyBA;AACA;AACA,UA3BA,kBA2BA,MA3BA,EA2BA,MA3BA,EA2BA,MA3BA,EA2BA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,SAHA,EAGA,EAHA;;;;;;;;AAWA,OAbA,MAaA;AACA;AACA;AACA;AACA,SAHA,EAGA,aAHA;AAIA;AACA,KApDA,EAlNA,E;;;;;;;;;;;;ACvEA;AAAA;AAAA;AAAA;AAAulD,CAAgB,47CAAG,EAAC,C;;;;;;;;;;;ACA3mD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-popup/u-popup.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-popup.vue?vue&type=template&id=17becaea&scoped=true&\"\nvar renderjs\nimport script from \"./u-popup.vue?vue&type=script&lang=js&\"\nexport * from \"./u-popup.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-popup.vue?vue&type=style&index=0&id=17becaea&scoped=true&lang=scss&\"\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 \"17becaea\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-popup/u-popup.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-popup.vue?vue&type=template&id=17becaea&scoped=true&\"","var components\ntry {\n components = {\n uMask: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-mask/u-mask\" */ \"@/uview-ui/components/u-mask/u-mask.vue\"\n )\n },\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-icon/u-icon\" */ \"@/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.visibleSync\n ? _vm.__get_style([\n _vm.customStyle,\n {\n zIndex: _vm.uZindex - 1\n }\n ])\n : null\n var s1 = _vm.visibleSync ? _vm.__get_style([_vm.style]) : null\n var s2 =\n _vm.visibleSync && _vm.mode == \"center\"\n ? _vm.__get_style([_vm.centerStyle])\n : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n s1: s1,\n s2: s2\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-popup.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-popup.vue?vue&type=script&lang=js&\"","<template>\n\t<view v-if=\"visibleSync\" :style=\"[customStyle, {\n\t\tzIndex: uZindex - 1\n\t}]\" class=\"u-drawer\" hover-stop-propagation>\n\t\t<u-mask :duration=\"duration\" :custom-style=\"maskCustomStyle\" :maskClickAble=\"maskCloseAble\" :z-index=\"uZindex - 2\" :show=\"showDrawer && mask\" @click=\"maskClick\"></u-mask>\n\t\t<view\n\t\t\tclass=\"u-drawer-content\"\n\t\t\t@tap=\"modeCenterClose(mode)\"\n\t\t\t:class=\"[\n\t\t\t\tsafeAreaInsetBottom ? 'safe-area-inset-bottom' : '',\n\t\t\t\t'u-drawer-' + mode,\n\t\t\t\tshowDrawer ? 'u-drawer-content-visible' : '',\n\t\t\t\tzoom && mode == 'center' ? 'u-animation-zoom' : ''\n\t\t\t]\"\n\t\t\t@touchmove.stop.prevent\n\t\t\t@tap.stop.prevent\n\t\t\t:style=\"[style]\"\n\t\t>\n\t\t\t<view class=\"u-mode-center-box\" @tap.stop.prevent @touchmove.stop.prevent v-if=\"mode == 'center'\" :style=\"[centerStyle]\">\n\t\t\t\t<u-icon\n\t\t\t\t\t@click=\"close\"\n\t\t\t\t\tv-if=\"closeable\"\n\t\t\t\t\tclass=\"u-close\"\n\t\t\t\t\t:class=\"['u-close--' + closeIconPos]\"\n\t\t\t\t\t:name=\"closeIcon\"\n\t\t\t\t\t:color=\"closeIconColor\"\n\t\t\t\t\t:size=\"closeIconSize\"\n\t\t\t\t></u-icon>\n\t\t\t\t<scroll-view class=\"u-drawer__scroll-view\" scroll-y=\"true\">\n\t\t\t\t\t<slot />\n\t\t\t\t</scroll-view>\n\t\t\t</view>\n\t\t\t<scroll-view class=\"u-drawer__scroll-view\" scroll-y=\"true\" v-else>\n\t\t\t\t<slot />\n\t\t\t</scroll-view>\n\t\t\t<view @tap=\"close\" class=\"u-close\" :class=\"['u-close--' + closeIconPos]\">\n\t\t\t\t<u-icon\n\t\t\t\t\tv-if=\"mode != 'center' && closeable\"\n\t\t\t\t\t:name=\"closeIcon\"\n\t\t\t\t\t:color=\"closeIconColor\"\n\t\t\t\t\t:size=\"closeIconSize\"\n\t\t\t\t></u-icon>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n/**\n * popup 弹窗\n * @description 弹出层容器,用于展示弹窗、信息提示等内容,支持上、下、左、右和中部弹出。组件只提供容器,内部内容由用户自定义\n * @tutorial https://www.uviewui.com/components/popup.html\n * @property {String} mode 弹出方向(默认left)\n * @property {Boolean} mask 是否显示遮罩(默认true)\n * @property {Stringr | Number} length mode=left | 见官网说明(默认auto)\n * @property {Boolean} zoom 是否开启缩放动画,只在mode为center时有效(默认true)\n * @property {Boolean} safe-area-inset-bottom 是否开启底部安全区适配(默认false)\n * @property {Boolean} mask-close-able 点击遮罩是否可以关闭弹出层(默认true)\n * @property {Object} custom-style 用户自定义样式\n * @property {Stringr | Number} negative-top 中部弹出时,往上偏移的值\n * @property {Numberr | String} border-radius 弹窗圆角值(默认0)\n * @property {Numberr | String} z-index 弹出内容的z-index值(默认1075)\n * @property {Boolean} closeable 是否显示关闭图标(默认false)\n * @property {String} close-icon 关闭图标的名称,只能uView的内置图标\n * @property {String} close-icon-pos 自定义关闭图标位置(默认top-right)\n * @property {String} close-icon-color 关闭图标的颜色(默认#909399)\n * @property {Number | String} close-icon-size 关闭图标的大小,单位rpx(默认30)\n * @event {Function} open 弹出层打开\n * @event {Function} close 弹出层收起\n * @example <u-popup v-model=\"show\"><view>出淤泥而不染,濯清涟而不妖</view></u-popup>\n */\nexport default {\n\tname: 'u-popup',\n\tprops: {\n\t\t/**\n\t\t * 显示状态\n\t\t */\n\t\tshow: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t/**\n\t\t * 弹出方向,left|right|top|bottom|center\n\t\t */\n\t\tmode: {\n\t\t\ttype: String,\n\t\t\tdefault: 'left'\n\t\t},\n\t\t/**\n\t\t * 是否显示遮罩\n\t\t */\n\t\tmask: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 抽屉的宽度(mode=left|right),或者高度(mode=top|bottom),单位rpx,或者\"auto\"\n\t\t// 或者百分比\"50%\",表示由内容撑开高度或者宽度\n\t\tlength: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: 'auto'\n\t\t},\n\t\t// 是否开启缩放动画,只在mode=center时有效\n\t\tzoom: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 是否开启底部安全区适配,开启的话,会在iPhoneX机型底部添加一定的内边距\n\t\tsafeAreaInsetBottom: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 是否可以通过点击遮罩进行关闭\n\t\tmaskCloseAble: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 用户自定义样式\n\t\tcustomStyle: {\n\t\t\ttype: Object,\n\t\t\tdefault() {\n\t\t\t\treturn {};\n\t\t\t}\n\t\t},\n\t\tvalue: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 此为内部参数,不在文档对外使用,为了解决Picker和keyboard等融合了弹窗的组件\n\t\t// 对v-model双向绑定多层调用造成报错不能修改props值的问题\n\t\tpopup: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 显示显示弹窗的圆角,单位rpx\n\t\tborderRadius: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: 0\n\t\t},\n\t\tzIndex: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: ''\n\t\t},\n\t\t// 是否显示关闭图标\n\t\tcloseable: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 关闭图标的名称,只能uView的内置图标\n\t\tcloseIcon: {\n\t\t\ttype: String,\n\t\t\tdefault: 'close'\n\t\t},\n\t\t// 自定义关闭图标位置,top-left为左上角,top-right为右上角,bottom-left为左下角,bottom-right为右下角\n\t\tcloseIconPos: {\n\t\t\ttype: String,\n\t\t\tdefault: 'top-right'\n\t\t},\n\t\t// 关闭图标的颜色\n\t\tcloseIconColor: {\n\t\t\ttype: String,\n\t\t\tdefault: '#909399'\n\t\t},\n\t\t// 关闭图标的大小,单位rpx\n\t\tcloseIconSize: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: '30'\n\t\t},\n\t\t// 宽度,只对左,右,中部弹出时起作用,单位rpx,或者\"auto\"\n\t\t// 或者百分比\"50%\",表示由内容撑开高度或者宽度,优先级高于length参数\n\t\twidth: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 高度,只对上,下,中部弹出时起作用,单位rpx,或者\"auto\"\n\t\t// 或者百分比\"50%\",表示由内容撑开高度或者宽度,优先级高于length参数\n\t\theight: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 给一个负的margin-top,往上偏移,避免和键盘重合的情况,仅在mode=center时有效\n\t\tnegativeTop: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: 0\n\t\t},\n\t\t// 遮罩的样式,一般用于修改遮罩的透明度\n\t\tmaskCustomStyle: {\n\t\t\ttype: Object,\n\t\t\tdefault() {\n\t\t\t\treturn {}\n\t\t\t}\n\t\t},\n\t\t// 遮罩打开或收起的动画过渡时间,单位ms\n\t\tduration: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: 250\n\t\t}\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tvisibleSync: false,\n\t\t\tshowDrawer: false,\n\t\t\ttimer: null,\n\t\t\tcloseFromInner: false, // value的值改变,是发生在内部还是外部\n\t\t};\n\t},\n\tcomputed: {\n\t\t// 根据mode的位置,设定其弹窗的宽度(mode = left|right),或者高度(mode = top|bottom)\n\t\tstyle() {\n\t\t\tlet style = {};\n\t\t\t// 如果是左边或者上边弹出时,需要给translate设置为负值,用于隐藏\n\t\t\tif (this.mode == 'left' || this.mode == 'right') {\n\t\t\t\tstyle = {\n\t\t\t\t\twidth: this.width ? this.getUnitValue(this.width) : this.getUnitValue(this.length),\n\t\t\t\t\theight: '100%',\n\t\t\t\t\ttransform: `translate3D(${this.mode == 'left' ? '-100%' : '100%'},0px,0px)`\n\t\t\t\t};\n\t\t\t} else if (this.mode == 'top' || this.mode == 'bottom') {\n\t\t\t\tstyle = {\n\t\t\t\t\twidth: '100%',\n\t\t\t\t\theight: this.height ? this.getUnitValue(this.height) : this.getUnitValue(this.length),\n\t\t\t\t\ttransform: `translate3D(0px,${this.mode == 'top' ? '-100%' : '100%'},0px)`\n\t\t\t\t};\n\t\t\t}\n\t\t\tstyle.zIndex = this.uZindex;\n\t\t\t// 如果用户设置了borderRadius值,添加弹窗的圆角\n\t\t\tif (this.borderRadius) {\n\t\t\t\tswitch (this.mode) {\n\t\t\t\t\tcase 'left':\n\t\t\t\t\t\tstyle.borderRadius = `0 ${this.borderRadius}rpx ${this.borderRadius}rpx 0`;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'top':\n\t\t\t\t\t\tstyle.borderRadius = `0 0 ${this.borderRadius}rpx ${this.borderRadius}rpx`;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'right':\n\t\t\t\t\t\tstyle.borderRadius = `${this.borderRadius}rpx 0 0 ${this.borderRadius}rpx`;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'bottom':\n\t\t\t\t\t\tstyle.borderRadius = `${this.borderRadius}rpx ${this.borderRadius}rpx 0 0`;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault:\n\t\t\t\t}\n\t\t\t\t// 不加可能圆角无效\n\t\t\t\tstyle.overflow = 'hidden';\n\t\t\t}\n\t\t\tif(this.duration) style.transition = `all ${this.duration / 1000}s linear`;\n\t\t\treturn style;\n\t\t},\n\t\t// 中部弹窗的特有样式\n\t\tcenterStyle() {\n\t\t\tlet style = {};\n\t\t\tstyle.width = this.width ? this.getUnitValue(this.width) : this.getUnitValue(this.length);\n\t\t\t// 中部弹出的模式,如果没有设置高度,就用auto值,由内容撑开高度\n\t\t\tstyle.height = this.height ? this.getUnitValue(this.height) : 'auto';\n\t\t\tstyle.zIndex = this.uZindex;\n\t\t\tstyle.marginTop = `-${this.$u.addUnit(this.negativeTop)}`;\n\t\t\tif (this.borderRadius) {\n\t\t\t\tstyle.borderRadius = `${this.borderRadius}rpx`;\n\t\t\t\t// 不加可能圆角无效\n\t\t\t\tstyle.overflow = 'hidden';\n\t\t\t}\n\t\t\treturn style;\n\t\t},\n\t\t// 计算整理后的z-index值\n\t\tuZindex() {\n\t\t\treturn this.zIndex ? this.zIndex : this.$u.zIndex.popup;\n\t\t}\n\t},\n\twatch: {\n\t\tvalue(val) {\n\t\t\tif (val) {\n\t\t\t\tthis.open();\n\t\t\t} else if(!this.closeFromInner) {\n\t\t\t\tthis.close();\n\t\t\t}\n\t\t\tthis.closeFromInner = false;\n\t\t}\n\t},\n\tmounted() {\n\t\t// 组件渲染完成时,检查value是否为true,如果是,弹出popup\n\t\tthis.value && this.open();\n\t},\n methods: {\n\t\t// 判断传入的值,是否带有单位,如果没有,就默认用rpx单位\n\t\tgetUnitValue(val) {\n\t\t\tif(/(%|px|rpx|auto)$/.test(val)) return val;\n\t\t\telse return val + 'rpx'\n\t\t},\n\t\t// 遮罩被点击\n\t\tmaskClick() {\n\t\t\tthis.close();\n\t\t},\n\t\tclose() {\n\t\t\t// 标记关闭是内部发生的,否则修改了value值,导致watch中对value检测,导致再执行一遍close\n\t\t\t// 造成@close事件触发两次\n\t\t\tthis.closeFromInner = true;\n\t\t\tthis.change('showDrawer', 'visibleSync', false);\n\t\t},\n\t\t// 中部弹出时,需要.u-drawer-content将居中内容,此元素会铺满屏幕,点击需要关闭弹窗\n\t\t// 让其只在mode=center时起作用\n\t\tmodeCenterClose(mode) {\n\t\t\tif (mode != 'center' || !this.maskCloseAble) return;\n\t\t\tthis.close();\n\t\t},\n\t\topen() {\n\t\t\tthis.change('visibleSync', 'showDrawer', true);\n\t\t},\n\t\t// 此处的原理是,关闭时先通过动画隐藏弹窗和遮罩,再移除整个组件\n\t\t// 打开时,先渲染组件,延时一定时间再让遮罩和弹窗的动画起作用\n\t\tchange(param1, param2, status) {\n\t\t\t// 如果this.popup为false,意味着为picker,actionsheet等组件调用了popup组件\n\t\t\tif (this.popup == true) {\n\t\t\t\tthis.$emit('input', status);\n\t\t\t}\n\t\t\tthis[param1] = status;\n\t\t\tif(status) {\n\t\t\t\t// #ifdef H5 || MP\n\t\t\t\tthis.timer = setTimeout(() => {\n\t\t\t\t\tthis[param2] = status;\n\t\t\t\t\tthis.$emit(status ? 'open' : 'close');\n\t\t\t\t}, 50);\n\t\t\t\t// #endif\n\t\t\t\t// #ifndef H5 || MP\n\t\t\t\tthis.$nextTick(() => {\n\t\t\t\t\tthis[param2] = status;\n\t\t\t\t\tthis.$emit(status ? 'open' : 'close');\n\t\t\t\t})\n\t\t\t\t// #endif\n\t\t\t} else {\n\t\t\t\tthis.timer = setTimeout(() => {\n\t\t\t\t\tthis[param2] = status;\n\t\t\t\t\tthis.$emit(status ? 'open' : 'close');\n\t\t\t\t}, this.duration);\n\t\t\t}\n\t\t}\n\t}\n};\n</script>\n\n<style scoped lang=\"scss\">\n@import \"../../libs/css/style.components.scss\";\n\n.u-drawer {\n\t/* #ifndef APP-NVUE */\n\tdisplay: block;\n\t/* #endif */\n\tposition: fixed;\n\ttop: 0;\n\tleft: 0;\n\tright: 0;\n\tbottom: 0;\n\toverflow: hidden;\n}\n\n.u-drawer-content {\n\t/* #ifndef APP-NVUE */\n\tdisplay: block;\n\t/* #endif */\n\tposition: absolute;\n\tz-index: 1003;\n\ttransition: all 0.25s linear;\n}\n\n.u-drawer__scroll-view {\n\twidth: 100%;\n\theight: 100%;\n}\n\n.u-drawer-left {\n\ttop: 0;\n\tbottom: 0;\n\tleft: 0;\n\tbackground-color: #ffffff;\n}\n\n.u-drawer-right {\n\tright: 0;\n\ttop: 0;\n\tbottom: 0;\n\tbackground-color: #ffffff;\n}\n\n.u-drawer-top {\n\ttop: 0;\n\tleft: 0;\n\tright: 0;\n\tbackground-color: #ffffff;\n}\n\n.u-drawer-bottom {\n\tbottom: 0;\n\tleft: 0;\n\tright: 0;\n\tbackground-color: #ffffff;\n}\n\n.u-drawer-center {\n\t@include vue-flex;\n\tflex-direction: column;\n\tbottom: 0;\n\tleft: 0;\n\tright: 0;\n\ttop: 0;\n\tjustify-content: center;\n\talign-items: center;\n\topacity: 0;\n\tz-index: 99999;\n}\n\n.u-mode-center-box {\n\tmin-width: 100rpx;\n\tmin-height: 100rpx;\n\t/* #ifndef APP-NVUE */\n\tdisplay: block;\n\t/* #endif */\n\tposition: relative;\n\tbackground-color: #ffffff;\n}\n\n.u-drawer-content-visible.u-drawer-center {\n\ttransform: scale(1);\n\topacity: 1;\n}\n\n.u-animation-zoom {\n\ttransform: scale(1.15);\n}\n\n.u-drawer-content-visible {\n\ttransform: translate3D(0px, 0px, 0px) !important;\n}\n\n.u-close {\n\tposition: absolute;\n\tz-index: 3;\n}\n\n.u-close--top-left {\n\ttop: 30rpx;\n\tleft: 30rpx;\n}\n\n.u-close--top-right {\n\ttop: 30rpx;\n\tright: 30rpx;\n}\n\n.u-close--bottom-left {\n\tbottom: 30rpx;\n\tleft: 30rpx;\n}\n\n.u-close--bottom-right {\n\tright: 30rpx;\n\tbottom: 30rpx;\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-popup.vue?vue&type=style&index=0&id=17becaea&scoped=true&lang=scss&\"; 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-popup.vue?vue&type=style&index=0&id=17becaea&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536258019\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":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-radio-group/u-radio-group.js.map
已删除
100644 → 0
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-radio-group/u-radio-group.vue?697f","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-radio-group/u-radio-group.vue?ae9a","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-radio-group/u-radio-group.vue?ff86","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-radio-group/u-radio-group.vue?c3b5","uni-app:///uview-ui/components/u-radio-group/u-radio-group.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-radio-group/u-radio-group.vue?a1ec","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-radio-group/u-radio-group.vue?a8c1"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAsI;AACtI;AACiE;AACL;AACsC;;;AAGlG;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,mFAAM;AACR,EAAE,oGAAM;AACR,EAAE,6GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,wGAAU;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;AAA01B,CAAgB,2yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;ACO92B,kG;;;;;;AACA;;;;;;;;;;;;;;kBAeA,EACA,qBADA,EAEA,0BAFA,EAGA,SACA;AACA;AACA,mBADA;AAEA,oBAFA,EAFA;;AAMA;AACA;AACA,4BADA;AAEA,iBAFA,EAPA;;AAWA;AACA;AACA,kBADA;AAEA,wBAFA,EAZA;;AAgBA;AACA;AACA,4BADA;AAEA,iBAFA,EAjBA;;AAqBA;AACA;AACA,mBADA;AAEA,oBAFA,EAtBA;;AA0BA;AACA;AACA,kBADA;AAEA,uBAFA,EA3BA;;AA+BA;AACA;AACA,4BADA;AAEA,iBAFA,EAhCA;;AAoCA;AACA;AACA,4BADA;AAEA,qBAFA,EArCA;;AAyCA;AACA;AACA,mBADA;AAEA,oBAFA,EA1CA,EAHA;;;AAkDA,SAlDA,qBAkDA;AACA;AACA;AACA,GArDA;AAsDA;AACA;AACA,cAFA,wBAEA;AACA;AACA;AACA;AACA;AACA,SAHA;AAIA;AACA,KATA,EAtDA;;AAiEA;AACA;AACA;AACA;AACA,cAJA,wBAIA;AACA;AACA,KANA,EAjEA;;AAyEA;AACA;AACA,YAFA,oBAEA,GAFA,EAEA;AACA;AACA;AACA;AACA;AACA,OAFA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAHA,EAGA,EAHA;AAIA,KAjBA,EAzEA,E;;;;;;;;;;;;ACvBA;AAAA;AAAA;AAAA;AAA6lD,CAAgB,k8CAAG,EAAC,C;;;;;;;;;;;ACAjnD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-radio-group/u-radio-group.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-radio-group.vue?vue&type=template&id=dd868428&scoped=true&\"\nvar renderjs\nimport script from \"./u-radio-group.vue?vue&type=script&lang=js&\"\nexport * from \"./u-radio-group.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-radio-group.vue?vue&type=style&index=0&id=dd868428&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 \"dd868428\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-radio-group/u-radio-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-radio-group.vue?vue&type=template&id=dd868428&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-radio-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-radio-group.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"u-radio-group u-clearfix\">\n\t\t<slot></slot>\n\t</view>\n</template>\n\n<script>\n\timport Emitter from '../../libs/util/emitter.js';\n\t/**\n\t * radioRroup 单选框父组件\n\t * @description 单选框用于有一个选择,用户只能选择其中一个的场景。搭配u-radio使用\n\t * @tutorial https://www.uviewui.com/components/radio.html\n\t * @property {Boolean} disabled 是否禁用所有radio(默认false)\n\t * @property {String Number} size 组件整体的大小,单位rpx(默认40)\n\t * @property {String} active-color 选中时的颜色,应用到所有子Radio组件(默认#2979ff)\n\t * @property {String Number} icon-size 图标大小,单位rpx(默认20)\n\t * @property {String} shape 外观形状,shape-方形,circle-圆形(默认circle)\n\t * @property {Boolean} label-disabled 是否禁止点击文本操作checkbox(默认false)\n\t * @property {String} width 宽度,需带单位\n\t * @property {Boolean} wrap 是否每个radio都换行(默认false)\n\t * @event {Function} change 任一个radio状态发生变化时触发\n\t * @example <u-radio-group v-model=\"value\"></u-radio-group>\n\t */\n\texport default {\n\t\tname: \"u-radio-group\",\n\t\tmixins: [Emitter],\n\t\tprops: {\n\t\t\t// 是否禁用所有单选框\n\t\t\tdisabled: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: false\n\t\t\t},\n\t\t\t// 匹配某一个radio组件,如果某个radio的name值等于此值,那么这个radio就被会选中\n\t\t\tvalue: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// 选中状态下的颜色\n\t\t\tactiveColor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '#2979ff'\n\t\t\t},\n\t\t\t// 组件的整体大小\n\t\t\tsize: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: 34\n\t\t\t},\n\t\t\t// 是否禁止点击提示语选中复选框\n\t\t\tlabelDisabled: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: false\n\t\t\t},\n\t\t\t// 形状,square为方形,circle为原型\n\t\t\tshape: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: 'circle'\n\t\t\t},\n\t\t\t// 图标的大小,单位rpx\n\t\t\ticonSize: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: 20\n\t\t\t},\n\t\t\t// 每个checkbox占u-checkbox-group的宽度\n\t\t\twidth: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: 'auto'\n\t\t\t},\n\t\t\t// 是否每个checkbox都换行\n\t\t\twrap: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: false\n\t\t\t}\n\t\t},\n\t\tcreated() {\n\t\t\t// 如果将children定义在data中,在微信小程序会造成循环引用而报错\n\t\t\tthis.children = [];\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-radio)如果有updateParentData方法的话,就就执行(执行的结果是子组件重新从父组件拉取了最新的值)\n\t\t\t\t\t\ttypeof(child.updateParentData) == 'function' && child.updateParentData();\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t},\n\t\t},\n\t\tcomputed: {\n\t\t\t// 这里computed的变量,都是子组件u-radio需要用到的,由于头条小程序的兼容性差异,子组件无法实时监听父组件参数的变化\n\t\t\t// 所以需要手动通知子组件,这里返回一个parentData变量,供watch监听,在其中去通知每一个子组件重新从父组件(u-radio-group)\n\t\t\t// 拉取父组件新的变化后的参数\n\t\t\tparentData() {\n\t\t\t\treturn [this.value, this.disabled, this.activeColor, this.size, this.labelDisabled, this.shape, this.iconSize, this.width, this.wrap];\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\t// 该方法有子组件radio调用,当一个radio被选中的时候,给父组件设置value值(props传递的value)\n\t\t\tsetValue(val) {\n\t\t\t\t// 通过子组件传递过来的val值(此被选中的子组件内部已将parentValue设置等于val的值),将其他\n\t\t\t\t// u-radio设置未选中的状态\n\t\t\t\tthis.children.map(child => {\n\t\t\t\t\tif(child.parentData.value != val) child.parentData.value = '';\n\t\t\t\t})\n\t\t\t\t// 通过emit事件,设置父组件通过v-model双向绑定的值\n\t\t\t\tthis.$emit('input', val);\n\t\t\t\tthis.$emit('change', val);\n\t\t\t\t// 等待下一个周期再执行,因为this.$emit('input')作用于父组件,再反馈到子组件内部,需要时间\n\t\t\t\t// 由于头条小程序执行迟钝,故需要用几十毫秒的延时\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\t// 将当前的值发送到 u-form-item 进行校验\n\t\t\t\t\tthis.dispatch('u-form-item', 'on-form-change', val);\n\t\t\t\t}, 60)\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t@import \"../../libs/css/style.components.scss\";\n\t\n\t.u-radio-group {\n\t\t/* #ifndef MP || APP-NVUE */\n\t\tdisplay: inline-flex;\n\t\tflex-wrap: wrap;\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-radio-group.vue?vue&type=style&index=0&id=dd868428&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-radio-group.vue?vue&type=style&index=0&id=dd868428&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536258101\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":""} |
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-radio/u-radio.vue?1941","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-radio/u-radio.vue?7483","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-radio/u-radio.vue?a24d","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-radio/u-radio.vue?475a","uni-app:///uview-ui/components/u-radio/u-radio.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-radio/u-radio.vue?4601","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-radio/u-radio.vue?eb97"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AACmN;AACnN,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,uMAEN;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;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChDA;AAAA;AAAA;AAAA;AAAo1B,CAAgB,qyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkBx2B;;;;;;;;;;;;;;AAcA;AACA,iBADA;AAEA;AACA;AACA;AACA,4BADA;AAEA,iBAFA,EAFA;;AAMA;AACA;AACA,kBADA;AAEA,iBAFA,EAPA;;AAWA;AACA;AACA,6BADA;AAEA,iBAFA,EAZA;;AAgBA;AACA;AACA,6BADA;AAEA,iBAFA,EAjBA;;AAqBA;AACA;AACA,kBADA;AAEA,iBAFA,EAtBA;;AA0BA;AACA;AACA,4BADA;AAEA,iBAFA,EA3BA;;AA+BA;AACA;AACA,4BADA;AAEA,iBAFA,EAhCA,EAFA;;;AAuCA,MAvCA,kBAuCA;AACA;AACA;AACA;AACA;AACA,sBADA;AAEA,2BAFA;AAGA,sBAHA;AAIA,mBAJA;AAKA,yBALA;AAMA,kBANA;AAOA,mBAPA;AAQA,oBARA;AASA,mBATA;AAUA,kBAVA,EAHA;;;AAgBA,GAxDA;AAyDA,SAzDA,qBAyDA;AACA;AACA;AACA;AACA;AACA,GA9DA;AA+DA;AACA;AACA,cAFA,wBAEA;AACA;AACA,KAJA;AAKA;AACA,mBANA,6BAMA;AACA;AACA,KARA;AASA;AACA,UAVA,oBAUA;AACA;AACA,KAZA;AAaA;AACA,cAdA,wBAcA;AACA;AACA,KAhBA;AAiBA;AACA,iBAlBA,2BAkBA;AACA;AACA,KApBA;AAqBA;AACA,WAtBA,qBAsBA;AACA;AACA,KAxBA;AAyBA;AACA,aA1BA,uBA0BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAnCA;AAoCA,aApCA,uBAoCA;AACA;AACA,KAtCA;AAuCA,aAvCA,uBAuCA;AACA;AACA;AACA;AACA;AACA;AACA,6CADA;AAEA;AACA;AACA,KAhDA;AAiDA,cAjDA,wBAiDA;AACA;AACA;AACA;;AAEA;AACA;;;;;;AAMA;AACA;AACA;;;;;AAKA;AACA;AACA,KAtEA,EA/DA;;AAuIA;AACA,oBADA,8BACA;AACA;AACA,KAHA;AAIA,gBAJA,0BAIA;AACA;AACA;AACA;AACA,KARA;AASA,UATA,oBASA;AACA;AACA;AACA;AACA,KAbA;AAcA,aAdA,uBAcA;AACA;AACA;AACA,KAjBA;AAkBA;AACA;AACA;AACA,yBArBA,mCAqBA;AACA;AACA;AACA;AACA;AACA;AACA,KA3BA,EAvIA,E;;;;;;;;;;;;AChCA;AAAA;AAAA;AAAA;AAAulD,CAAgB,47CAAG,EAAC,C;;;;;;;;;;;ACA3mD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-radio/u-radio.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-radio.vue?vue&type=template&id=da6758f0&scoped=true&\"\nvar renderjs\nimport script from \"./u-radio.vue?vue&type=script&lang=js&\"\nexport * from \"./u-radio.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-radio.vue?vue&type=style&index=0&id=da6758f0&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 \"da6758f0\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-radio/u-radio.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-radio.vue?vue&type=template&id=da6758f0&scoped=true&\"","var components\ntry {\n components = {\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-icon/u-icon\" */ \"@/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.radioStyle])\n\n var s1 = _vm.__get_style([_vm.iconStyle])\n\n var g0 = _vm.$u.addUnit(_vm.labelSize)\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n s1: s1,\n g0: g0\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-radio.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-radio.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"u-radio\" :style=\"[radioStyle]\">\n\t\t<view class=\"u-radio__icon-wrap\" @tap=\"toggle\" :class=\"[iconClass]\" :style=\"[iconStyle]\">\n\t\t\t<u-icon\n\t\t\t\tclass=\"u-radio__icon-wrap__icon\"\n\t\t\t name=\"checkbox-mark\"\n\t\t\t :size=\"elIconSize\" \n\t\t\t\t:color=\"iconColor\"/>\n\t\t</view>\n\t\t<view class=\"u-radio__label\" @tap=\"onClickLabel\" :style=\"{\n\t\t\tfontSize: $u.addUnit(labelSize)\n\t\t}\">\n\t\t\t<slot />\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\t/**\n\t * radio 单选框\n\t * @description 单选框用于有一个选择,用户只能选择其中一个的场景。搭配u-radio-group使用\n\t * @tutorial https://www.uviewui.com/components/radio.html\n\t * @property {String Number} icon-size 图标大小,单位rpx(默认24)\n\t * @property {String Number} label-size label字体大小,单位rpx(默认28)\n\t * @property {String Number} name radio组件的标示符\n\t * @property {String} shape 形状,见上方说明(默认circle)\n\t * @property {Boolean} disabled 是否禁用(默认false)\n\t * @property {Boolean} label-disabled 点击文本是否可以操作radio(默认true)\n\t * @property {String} active-color 选中时的颜色,如设置parent的active-color将失效\n\t * @event {Function} change 某个radio状态发生变化时触发(选中状态)\n\t * @example <u-radio :label-disabled=\"false\">门掩黄昏,无计留春住</u-radio>\n\t */\n\texport default {\n\t\tname: \"u-radio\",\n\t\tprops: {\n\t\t\t// radio的名称\n\t\t\tname: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// 形状,square为方形,circle为原型\n\t\t\tshape: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// 是否禁用\n\t\t\tdisabled: {\n\t\t\t\ttype: [String, Boolean],\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// 是否禁止点击提示语选中复选框\n\t\t\tlabelDisabled: {\n\t\t\t\ttype: [String, Boolean],\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值\n\t\t\tactiveColor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// 图标的大小,单位rpx\n\t\t\ticonSize: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// label的字体大小,rpx单位\n\t\t\tlabelSize: {\n\t\t\t\ttype: [String, Number],\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t},\n\t\tdata() {\n\t\t\treturn {\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: null,\n\t\t\t\t\tlabelDisabled: null,\n\t\t\t\t\tdisabled: null,\n\t\t\t\t\tshape: null,\n\t\t\t\t\tactiveColor: null,\n\t\t\t\t\tsize: null,\n\t\t\t\t\twidth: null,\n\t\t\t\t\theight: null,\n\t\t\t\t\tvalue: null,\n\t\t\t\t\twrap: null\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\tcreated() {\n\t\t\tthis.parent = false;\n\t\t\t// 支付宝小程序不支持provide/inject,所以使用这个方法获取整个父组件,在created定义,避免循环引用\n\t\t\tthis.updateParentData();\n\t\t\tthis.parent.children.push(this);\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 : false;\n\t\t\t},\n\t\t\t// 组件尺寸,对应size的值,默认值为34rpx\n\t\t\telSize() {\n\t\t\t\treturn this.size ? this.size : (this.parentData.size ? this.parentData.size : 34);\n\t\t\t},\n\t\t\t// 组件的勾选图标的尺寸,默认20\n\t\t\telIconSize() {\n\t\t\t\treturn this.iconSize ? this.iconSize : (this.parentData.iconSize ? this.parentData.iconSize : 20);\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 : 'primary');\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// 设置radio的状态,要求radio的name等于parent的value时才为选中状态\n\t\t\ticonStyle() {\n\t\t\t\tlet style = {};\n\t\t\t\tif (this.elActiveColor && this.parentData.value == this.name && !this.elDisabled) {\n\t\t\t\t\tstyle.borderColor = this.elActiveColor;\n\t\t\t\t\tstyle.backgroundColor = this.elActiveColor;\n\t\t\t\t}\n\t\t\t\tstyle.width = this.$u.addUnit(this.elSize);\n\t\t\t\tstyle.height = this.$u.addUnit(this.elSize);\n\t\t\t\treturn style;\n\t\t\t},\n\t\t\ticonColor() {\n\t\t\t\treturn this.name == this.parentData.value ? '#ffffff' : 'transparent';\n\t\t\t},\n\t\t\ticonClass() {\n\t\t\t\tlet classes = [];\n\t\t\t\tclasses.push('u-radio__icon-wrap--' + this.elShape);\n\t\t\t\tif (this.name == this.parentData.value) classes.push('u-radio__icon-wrap--checked');\n\t\t\t\tif (this.elDisabled) classes.push('u-radio__icon-wrap--disabled');\n\t\t\t\tif (this.name == this.parentData.value && this.elDisabled) classes.push(\n\t\t\t\t\t'u-radio__icon-wrap--disabled--checked');\n\t\t\t\t// 支付宝小程序无法动态绑定一个数组类名,否则解析出来的结果会带有\",\",而导致失效\n\t\t\t\treturn classes.join(' ');\n\t\t\t},\n\t\t\tradioStyle() {\n\t\t\t\tlet style = {};\n\t\t\t\tif (this.parentData.width) {\n\t\t\t\t\tstyle.width = this.$u.addUnit(this.parentData.width);\n\t\t\t\t\t// #ifdef MP\n\t\t\t\t\t// 各家小程序因为它们特殊的编译结构,使用float布局\n\t\t\t\t\tstyle.float = 'left';\n\t\t\t\t\t// #endif\n\t\t\t\t\t// #ifndef MP\n\t\t\t\t\t// H5和APP使用flex布局\n\t\t\t\t\tstyle.flex = `0 0 ${this.$u.addUnit(this.parentData.width)}`;\n\t\t\t\t\t// #endif\n\t\t\t\t}\n\t\t\t\tif (this.parentData.wrap) {\n\t\t\t\t\tstyle.width = '100%';\n\t\t\t\t\t// #ifndef MP\n\t\t\t\t\t// H5和APP使用flex布局,将宽度设置100%,即可自动换行\n\t\t\t\t\tstyle.flex = '0 0 100%';\n\t\t\t\t\t// #endif\n\t\t\t\t}\n\t\t\t\treturn style;\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\tupdateParentData() {\n\t\t\t\tthis.getParentData('u-radio-group');\n\t\t\t},\n\t\t\tonClickLabel() {\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\ttoggle() {\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\temitEvent() {\n\t\t\t\t// u-radio的name不等于父组件的v-model的值时(意味着未选中),才发出事件,避免多次点击触发事件\n\t\t\t\tif(this.parentData.value != this.name) this.$emit('change', this.name);\n\t\t\t},\n\t\t\t// 改变组件选中状态\n\t\t\t// 这里的改变的依据是,更改本组件的parentData.value值为本组件的name值,同时通过父组件遍历所有u-radio实例\n\t\t\t// 将本组件外的其他u-radio的parentData.value都设置为空(由computed计算后,都被取消选中状态),因而只剩下一个为选中状态\n\t\t\tsetRadioCheckedStatus() {\n\t\t\t\tthis.emitEvent();\n\t\t\t\tif(this.parent) {\n\t\t\t\t\tthis.parent.setValue(this.name);\n\t\t\t\t\tthis.parentData.value = this.name;\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/style.components.scss\";\n\n\t.u-radio {\n\t\t/* #ifndef APP-NVUE */\n\t\tdisplay: inline-flex;\n\t\t/* #endif */\n\t\talign-items: center;\n\t\toverflow: hidden;\n\t\tuser-select: none;\n\t\tline-height: 1.8;\n\t\t\n\t\t&__icon-wrap {\n\t\t\tcolor: $u-content-color;\n\t\t\t@include vue-flex;\n\t\t\tflex: none;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\tbox-sizing: border-box;\n\t\t\twidth: 42rpx;\n\t\t\theight: 42rpx;\n\t\t\tcolor: transparent;\n\t\t\ttext-align: center;\n\t\t\ttransition-property: color, border-color, background-color;\n\t\t\tfont-size: 20px;\n\t\t\tborder: 1px solid #c8c9cc;\n\t\t\ttransition-duration: 0.2s;\n\t\t\t\n\t\t\t/* #ifdef MP-TOUTIAO */\n\t\t\t// 头条小程序兼容性问题,需要设置行高为0,否则图标偏下\n\t\t\t&__icon {\n\t\t\t\tline-height: 0;\n\t\t\t}\n\t\t\t/* #endif */\n\t\t\t\n\t\t\t&--circle {\n\t\t\t\tborder-radius: 100%;\n\t\t\t}\n\t\t\t\n\t\t\t&--square {\n\t\t\t\tborder-radius: 3px;\n\t\t\t}\n\t\t\t\n\t\t\t&--checked {\n\t\t\t\tcolor: #fff;\n\t\t\t\tbackground-color: #2979ff;\n\t\t\t\tborder-color: #2979ff;\n\t\t\t}\n\t\t\t\n\t\t\t&--disabled {\n\t\t\t\tbackground-color: #ebedf0;\n\t\t\t\tborder-color: #c8c9cc;\n\t\t\t}\n\t\t\t\n\t\t\t&--disabled--checked {\n\t\t\t\tcolor: #c8c9cc !important;\n\t\t\t}\n\t\t}\n\t\t\n\t\t&__label {\n\t\t\tword-wrap: break-word;\n\t\t\tmargin-left: 10rpx;\n\t\t\tmargin-right: 24rpx;\n\t\t\tcolor: $u-content-color;\n\t\t\tfont-size: 30rpx;\n\t\t\t\n\t\t\t&--disabled {\n\t\t\t\tcolor: #c8c9cc;\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-radio.vue?vue&type=style&index=0&id=da6758f0&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-radio.vue?vue&type=style&index=0&id=da6758f0&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536258093\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":""} |
unpackage/dist/dev/.sourcemap/mp-weixin/uview-ui/components/u-row-notice/u-row-notice.js.map
已删除
100644 → 0
1 | -{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-row-notice/u-row-notice.vue?0a6d","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-row-notice/u-row-notice.vue?72d7","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-row-notice/u-row-notice.vue?2fd2","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-row-notice/u-row-notice.vue?069e","uni-app:///uview-ui/components/u-row-notice/u-row-notice.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-row-notice/u-row-notice.vue?9d1c","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-row-notice/u-row-notice.vue?1a63"],"names":[],"mappings":"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","file":"uview-ui/components/u-row-notice/u-row-notice.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-row-notice.vue?vue&type=template&id=d36ba0c0&scoped=true&\"\nvar renderjs\nimport script from \"./u-row-notice.vue?vue&type=script&lang=js&\"\nexport * from \"./u-row-notice.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-row-notice.vue?vue&type=style&index=0&id=d36ba0c0&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 \"d36ba0c0\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-row-notice/u-row-notice.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-row-notice.vue?vue&type=template&id=d36ba0c0&scoped=true&\"","var components\ntry {\n components = {\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-icon/u-icon\" */ \"@/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.show ? _vm.__get_style([_vm.textStyle]) : 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-row-notice.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-row-notice.vue?vue&type=script&lang=js&\"","<template>\n\t<view\n\t\tv-if=\"show\"\n\t\tclass=\"u-notice-bar\"\n\t\t:style=\"{\n\t\t\tbackground: computeBgColor,\n\t\t\tpadding: padding\n\t\t}\"\n\t\t:class=\"[\n\t\t\ttype ? `u-type-${type}-light-bg` : ''\n\t\t]\"\n\t>\n\t\t<view class=\"u-direction-row\">\n\t\t\t<view class=\"u-icon-wrap\">\n\t\t\t\t<u-icon class=\"u-left-icon\" v-if=\"volumeIcon\" name=\"volume-fill\" :size=\"volumeSize\" :color=\"computeColor\"></u-icon>\n\t\t\t</view>\n\t\t\t<view class=\"u-notice-box\" id=\"u-notice-box\">\n\t\t\t\t<view\n\t\t\t\t\tclass=\"u-notice-content\"\n\t\t\t\t\tid=\"u-notice-content\"\n\t\t\t\t\t:style=\"{\n\t\t\t\t\t\tanimationDuration: animationDuration,\n\t\t\t\t\t\tanimationPlayState: animationPlayState,\n\t\t\t\t\t}\"\n\t\t\t\t>\n\t\t\t\t\t<text class=\"u-notice-text\" @tap=\"click\" :style=\"[textStyle]\"\n\t\t\t\t\t:class=\"['u-type-' + type]\">{{showText}}</text>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view class=\"u-icon-wrap\">\n\t\t\t\t<u-icon @click=\"getMore\" class=\"u-right-icon\" v-if=\"moreIcon\" name=\"arrow-right\" :size=\"26\" :color=\"computeColor\"></u-icon>\n\t\t\t\t<u-icon @click=\"close\" class=\"u-right-icon\" v-if=\"closeIcon\" name=\"close\" :size=\"24\" :color=\"computeColor\"></u-icon>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n<script>\nexport default {\n\tprops: {\n\t\t// 显示的内容,数组\n\t\tlist: {\n\t\t\ttype: Array,\n\t\t\tdefault() {\n\t\t\t\treturn [];\n\t\t\t}\n\t\t},\n\t\t// 显示的主题,success|error|primary|info|warning|none\n\t\t// none主题默认为透明背景,黑色(contentColor)字体\n\t\ttype: {\n\t\t\ttype: String,\n\t\t\tdefault: 'warning'\n\t\t},\n\t\t// 是否显示左侧的音量图标\n\t\tvolumeIcon: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 是否显示右侧的右箭头图标\n\t\tmoreIcon: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 是否显示右侧的关闭图标\n\t\tcloseIcon: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 是否自动播放\n\t\tautoplay: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 文字颜色,各图标也会使用文字颜色\n\t\tcolor: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 背景颜色\n\t\tbgColor: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 是否显示\n\t\tshow: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 字体大小,单位rpx\n\t\tfontSize: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: 26\n\t\t},\n\t\t// 音量喇叭的大小\n\t\tvolumeSize: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: 34\n\t\t},\n\t\t// 水平滚动时的滚动速度,即每秒滚动多少rpx,这有利于控制文字无论多少时,都能有一个恒定的速度\n\t\tspeed: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: 160\n\t\t},\n\t\t// 播放状态,play-播放,paused-暂停\n\t\tplayState: {\n\t\t\ttype: String,\n\t\t\tdefault: 'play'\n\t\t},\n\t\t// 通知的边距\n\t\tpadding: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: '18rpx 24rpx'\n\t\t}\n\t},\n\tdata() {\n\t\treturn {\n\t\t\ttextWidth: 0, // 滚动的文字宽度\n\t\t\tboxWidth: 0, // 供文字滚动的父盒子的宽度,和前者一起为了计算滚动速度\n\t\t\tanimationDuration: '10s', // 动画执行时间\n\t\t\tanimationPlayState: 'paused', // 动画的开始和结束执行\n\t\t\tshowText: '' // 显示的文本\n\t\t};\n\t},\n\twatch: {\n\t\tlist: {\n\t\t\timmediate: true,\n\t\t\thandler(val) {\n\t\t\t\tthis.showText = val.join(',');\n\t\t\t\tthis.$nextTick(() => {\n\t\t\t\t\tthis.initSize();\n\t\t\t\t});\n\t\t\t}\n\t\t},\n\t\tplayState(val) {\n\t\t\tif(val == 'play') this.animationPlayState = 'running';\n\t\t\telse this.animationPlayState = 'paused';\n\t\t},\n\t\tspeed(val) {\n\t\t\tthis.initSize();\n\t\t}\n\t},\n\tcomputed: {\n\t\t// 计算字体颜色,如果没有自定义的,就用uview主题颜色\n\t\tcomputeColor() {\n\t\t\tif (this.color) return this.color;\n\t\t\t// 如果是无主题,就默认使用content-color\n\t\t\telse if(this.type == 'none') return '#606266';\n\t\t\telse return this.type;\n\t\t},\n\t\t// 文字内容的样式\n\t\ttextStyle() {\n\t\t\tlet style = {};\n\t\t\tif (this.color) style.color = this.color;\n\t\t\telse if(this.type == 'none') style.color = '#606266';\n\t\t\tstyle.fontSize = this.fontSize + 'rpx';\n\t\t\treturn style;\n\t\t},\n\t\t// 计算背景颜色\n\t\tcomputeBgColor() {\n\t\t\tif (this.bgColor) return this.bgColor;\n\t\t\telse if(this.type == 'none') return 'transparent';\n\t\t}\n\t},\n\tmounted() {\n\t\tthis.$nextTick(() => {\n\t\t\tthis.initSize();\n\t\t});\n\t},\n\tmethods: {\n\t\tinitSize() {\n\t\t\tlet query = [],\n\t\t\t\tboxWidth = 0,\n\t\t\t\ttextWidth = 0;\n\t\t\tlet textQuery = new Promise((resolve, reject) => {\n\t\t\t\tuni.createSelectorQuery()\n\t\t\t\t\t.in(this)\n\t\t\t\t\t.select(`#u-notice-content`)\n\t\t\t\t\t.boundingClientRect()\n\t\t\t\t\t.exec(ret => {\n\t\t\t\t\t\tthis.textWidth = ret[0].width;\n\t\t\t\t\t\tresolve();\n\t\t\t\t\t});\n\t\t\t});\n\t\t\tquery.push(textQuery);\n\t\t\tPromise.all(query).then(() => {\n\t\t\t\t// 根据t=s/v(时间=路程/速度),这里为何不需要加上#u-notice-box的宽度,因为中设置了.u-notice-content样式中设置了padding-left: 100%\n\t\t\t\t// 恰巧计算出来的结果中已经包含了#u-notice-box的宽度\n\t\t\t\tthis.animationDuration = `${this.textWidth / uni.upx2px(this.speed)}s`;\n\t\t\t\t// 这里必须这样开始动画,否则在APP上动画速度不会改变(HX版本2.4.6,IOS13)\n\t\t\t\tthis.animationPlayState = 'paused';\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tif(this.playState == 'play' && this.autoplay) this.animationPlayState = 'running';\n\t\t\t\t}, 10);\n\t\t\t});\n\t\t},\n\t\t// 点击通告栏\n\t\tclick(index) {\n\t\t\tthis.$emit('click');\n\t\t},\n\t\t// 点击关闭按钮\n\t\tclose() {\n\t\t\tthis.$emit('close');\n\t\t},\n\t\t// 点击更多箭头按钮\n\t\tgetMore() {\n\t\t\tthis.$emit('getMore');\n\t\t}\n\t}\n};\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"../../libs/css/style.components.scss\";\n\t\n.u-notice-bar {\n\tpadding: 18rpx 24rpx;\n\toverflow: hidden;\n}\n\n.u-direction-row {\n\t@include vue-flex;\n\talign-items: center;\n\tjustify-content: space-between;\n}\n\n.u-left-icon {\n\t/* #ifndef APP-NVUE */\n\tdisplay: inline-flex;\n\t/* #endif */\n\talign-items: center;\n}\n\n.u-notice-box {\n\tflex: 1;\n\t@include vue-flex;\n\toverflow: hidden;\n\tmargin-left: 12rpx;\n}\n\n.u-right-icon {\n\tmargin-left: 12rpx;\n\tdisplay: inline-flex;\n\talign-items: center;\n}\n\n.u-notice-content {\n\tanimation: u-loop-animation 10s linear infinite both;\n\ttext-align: right;\n\t// 这一句很重要,为了能让滚动左右连接起来\n\tpadding-left: 100%;\n\t@include vue-flex;\n\tflex-wrap: nowrap;\n}\n\n.u-notice-text {\n\tfont-size: 26rpx;\n\tword-break: keep-all;\n\twhite-space: nowrap\n}\n\n@keyframes u-loop-animation {\n\t0% {\n\t\ttransform: translate3d(0, 0, 0);\n\t}\n\n\t100% {\n\t\ttransform: translate3d(-100%, 0, 0);\n\t}\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-row-notice.vue?vue&type=style&index=0&id=d36ba0c0&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-row-notice.vue?vue&type=style&index=0&id=d36ba0c0&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536258145\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":""} |
请
注册
或
登录
后发表评论