u-empty.js.map 14.1 KB
{"version":3,"sources":["webpack:///D:/vue/kaoshi3-fangweishangcheng/node_modules/uview-ui/components/u-empty/u-empty.vue?4abe","webpack:///D:/vue/kaoshi3-fangweishangcheng/node_modules/uview-ui/components/u-empty/u-empty.vue?55a5","webpack:///D:/vue/kaoshi3-fangweishangcheng/node_modules/uview-ui/components/u-empty/u-empty.vue?6ab0","webpack:///D:/vue/kaoshi3-fangweishangcheng/node_modules/uview-ui/components/u-empty/u-empty.vue?dc05","uni-app:///node_modules/uview-ui/components/u-empty/u-empty.vue","webpack:///D:/vue/kaoshi3-fangweishangcheng/node_modules/uview-ui/components/u-empty/u-empty.vue?6fb0","webpack:///D:/vue/kaoshi3-fangweishangcheng/node_modules/uview-ui/components/u-empty/u-empty.vue?13f7"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AACgL;AAChL,gBAAgB,6KAAU;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,qRAEN;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,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChDA;AAAA;AAAA;AAAA;AAAqqB,CAAgB,inBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiCzrB,gF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA;;;;;;;;;;;;;;;;;;;;kBAqBA,EACA,eADA,EAEA,sDAFA,EAGA,IAHA,kBAGA,CACA,SACA,SACA,YADA,EAEA,aAFA,EAGA,gBAHA,EAIA,iBAJA,EAKA,cALA,EAMA,aANA,EAOA,eAPA,EAQA,aARA,EASA,iBATA,EAUA,gBAVA,EAWA,aAXA,EAYA,iBAZA,EAaA,YAbA,EAcA,YAdA,EAeA,eAfA,EADA,GAmBA,CAvBA,EAwBA,YACA;AACA,cAFA,wBAEA,CACA,eACA,iDAFA,CAGA;AACA,wEACA,CAPA;AAQA;AACA,aATA,uBASA;AACA;AACA;AACA;AACA;AACA,KAdA;AAeA;AACA,SAhBA,mBAgBA;AACA;AACA,KAlBA,EAxBA,E;;;;;;;;;;;;;ACxDA;AAAA;AAAA;AAAA;AAA4xC,CAAgB,wnCAAG,EAAC,C;;;;;;;;;;;ACAhzC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"node-modules/uview-ui/components/u-empty/u-empty.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-empty.vue?vue&type=template&id=6938e513&scoped=true&\"\nvar renderjs\nimport script from \"./u-empty.vue?vue&type=script&lang=js&\"\nexport * from \"./u-empty.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-empty.vue?vue&type=style&index=0&id=6938e513&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../高级前台制作/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  \"6938e513\",\n  null,\n  false,\n  components,\n  renderjs\n)\n\ncomponent.options.__file = \"node_modules/uview-ui/components/u-empty/u-empty.vue\"\nexport default component.exports","export * from \"-!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-empty.vue?vue&type=template&id=6938e513&scoped=true&\"","var components\ntry {\n  components = {\n    uIcon: function() {\n      return import(\n        /* webpackChunkName: \"node-modules/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.emptyStyle]) : null\n  var g0 = _vm.show && !!_vm.isSrc ? _vm.$u.addUnit(_vm.width) : null\n  var g1 = _vm.show && !!_vm.isSrc ? _vm.$u.addUnit(_vm.height) : null\n  var s1 = _vm.show ? _vm.__get_style([_vm.textStyle]) : null\n  _vm.$mp.data = Object.assign(\n    {},\n    {\n      $root: {\n        s0: s0,\n        g0: g0,\n        g1: g1,\n        s1: s1\n      }\n    }\n  )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-empty.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-empty.vue?vue&type=script&lang=js&\"","<template>\n\t<view\n\t    class=\"u-empty\"\n\t    :style=\"[emptyStyle]\"\n\t    v-if=\"show\"\n\t>\n\t\t<u-icon\n\t\t    v-if=\"!isSrc\"\n\t\t    :name=\"mode === 'message' ? 'chat' : `empty-${mode}`\"\n\t\t    :size=\"iconSize\"\n\t\t    :color=\"iconColor\"\n\t\t    margin-top=\"14\"\n\t\t></u-icon>\n\t\t<image\n\t\t    v-else\n\t\t    :style=\"{\n\t\t\t\twidth: $u.addUnit(width),\n\t\t\t\theight: $u.addUnit(height),\n\t\t\t}\"\n\t\t    :src=\"icon\"\n\t\t    mode=\"widthFix\"\n\t\t></image>\n\t\t<text\n\t\t    class=\"u-empty__text\"\n\t\t    :style=\"[textStyle]\"\n\t\t>{{text ? text : icons[mode]}}</text>\n\t\t<view class=\"u-empty__wrap\" v-if=\"$slots.default || $slots.$default\">\n\t\t\t<slot />\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\timport props from './props.js';\n\n\t/**\n\t * empty 内容为空\n\t * @description 该组件用于需要加载内容,但是加载的第一页数据就为空,提示一个\"没有内容\"的场景, 我们精心挑选了十几个场景的图标,方便您使用。\n\t * @tutorial https://www.uviewui.com/components/empty.html\n\t * @property {String}\t\t\ticon\t\t内置图标名称,或图片路径,建议绝对路径\n\t * @property {String}\t\t\ttext\t\t提示文字\n\t * @property {String}\t\t\ttextColor\t文字颜色 (默认 '#c0c4cc' )\n\t * @property {String | Number}\ttextSize\t文字大小 (默认 14 )\n\t * @property {String}\t\t\ticonColor\t图标的颜色 (默认 '#c0c4cc' )\n\t * @property {String | Number}\ticonSize\t图标的大小 (默认 90 )\n\t * @property {String}\t\t\tmode\t\t选择预置的图标类型 (默认 'data' )\n\t * @property {String | Number}\twidth\t\t图标宽度,单位px (默认 160 )\n\t * @property {String | Number}\theight\t\t图标高度,单位px (默认 160 )\n\t * @property {Boolean}\t\t\tshow\t\t是否显示组件 (默认 true )\n\t * @property {String | Number}\tmarginTop\t组件距离上一个元素之间的距离,默认px单位 (默认 0 )\n\t * @property {Object}\t\t\tcustomStyle\t定义需要用到的外部样式\n\t * \n\t * @event {Function} click 点击组件时触发\n\t * @event {Function} close 点击关闭按钮时触发\n\t * @example <u-empty text=\"所谓伊人,在水一方\" mode=\"list\"></u-empty>\n\t */\n\texport default {\n\t\tname: \"u-empty\",\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin, props],\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\ticons: {\n\t\t\t\t\tcar: '购物车为空',\n\t\t\t\t\tpage: '页面不存在',\n\t\t\t\t\tsearch: '没有搜索结果',\n\t\t\t\t\taddress: '没有收货地址',\n\t\t\t\t\twifi: '没有WiFi',\n\t\t\t\t\torder: '订单为空',\n\t\t\t\t\tcoupon: '没有优惠券',\n\t\t\t\t\tfavor: '暂无收藏',\n\t\t\t\t\tpermission: '无权限',\n\t\t\t\t\thistory: '无历史记录',\n\t\t\t\t\tnews: '无新闻列表',\n\t\t\t\t\tmessage: '消息列表为空',\n\t\t\t\t\tlist: '列表为空',\n\t\t\t\t\tdata: '数据为空',\n\t\t\t\t\tcomment: '暂无评论',\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tcomputed: {\n\t\t\t// 组件样式\n\t\t\temptyStyle() {\n\t\t\t\tconst style = {}\n\t\t\t\tstyle.marginTop = uni.$u.addUnit(this.marginTop)\n\t\t\t\t// 合并customStyle样式,此参数通过mixin中的props传递\n\t\t\t\treturn uni.$u.deepMerge(uni.$u.addStyle(this.customStyle), style)\n\t\t\t},\n\t\t\t// 文本样式\n\t\t\ttextStyle() {\n\t\t\t\tconst style = {}\n\t\t\t\tstyle.color = this.textColor\n\t\t\t\tstyle.fontSize = uni.$u.addUnit(this.textSize)\n\t\t\t\treturn style\n\t\t\t},\n\t\t\t// 判断icon是否图片路径\n\t\t\tisSrc() {\n\t\t\t\treturn this.icon.indexOf('/') >= 0\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-empty-text-margin-top:20rpx !default;\n\t$u-empty-slot-margin-top:20rpx !default;\n\n\t.u-empty {\n\t\t@include flex;\n\t\tflex-direction: column;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\n\t\t&__text {\n\t\t\t@include flex;\n\t\t\tjustify-content: center;\n\t\t\talign-items: center;\n\t\t\tmargin-top: $u-empty-text-margin-top;\n\t\t}\n\t}\n\t\t.u-slot-wrap {\n\t\t\t@include flex;\n\t\t\tjustify-content: center;\n\t\t\talign-items: center;\n\t\t\tmargin-top:$u-empty-slot-margin-top;\n\t\t}\n</style>\n","import mod from \"-!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-empty.vue?vue&type=style&index=0&id=6938e513&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-empty.vue?vue&type=style&index=0&id=6938e513&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n    if(module.hot) {\n      // 1670378477681\n      var cssReload = require(\"D:/高级前台制作/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":""}