暂存代码
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"album.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;"}
|
||||
{"version":3,"file":"album.js","sources":["uni_modules/uview-plus/components/u-album/album.js"],"sourcesContent":["/*\n * @Author : LQ\n * @Description :\n * @version : 1.0\n * @Date : 2021-08-20 16:44:21\n * @LastAuthor : LQ\n * @lastTime : 2021-08-20 16:47:24\n * @FilePath : /u-view2.0/uview-ui/libs/config/props/album.js\n */\nexport default {\n // album 组件\n album: {\n urls: [],\n keyName: '',\n singleSize: 180,\n multipleSize: 70,\n space: 6,\n singleMode: 'scaleToFill',\n multipleMode: 'aspectFill',\n maxCount: 9,\n previewFullImage: true,\n rowCount: 3,\n showMore: true,\n autoWrap: false,\n unit: 'px',\n stop: true,\n }\n}\n"],"names":[],"mappings":";AASA,MAAe,QAAA;AAAA;AAAA,EAEX,OAAO;AAAA,IACH,MAAM,CAAE;AAAA,IACR,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,OAAO;AAAA,IACP,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,UAAU;AAAA,IACV,kBAAkB;AAAA,IAClB,UAAU;AAAA,IACV,UAAU;AAAA,IACV,UAAU;AAAA,IACV,MAAM;AAAA,IACN,MAAM;AAAA,EACT;AACL;;"}
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"code.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
|
||||
{"version":3,"file":"code.js","sources":["uni_modules/uview-plus/components/u-code/code.js"],"sourcesContent":["/*\n * @Author : LQ\n * @Description :\n * @version : 1.0\n * @Date : 2021-08-20 16:44:21\n * @LastAuthor : LQ\n * @lastTime : 2021-08-20 16:55:27\n * @FilePath : /u-view2.0/uview-ui/libs/config/props/code.js\n */\n\nexport default {\n // code 组件\n code: {\n seconds: 60,\n startText: '获取验证码',\n changeText: 'X秒重新获取',\n endText: '重新获取',\n keepRunning: false,\n uniqueKey: ''\n }\n}\n"],"names":[],"mappings":";AAUA,MAAe,OAAA;AAAA;AAAA,EAEX,MAAM;AAAA,IACF,SAAS;AAAA,IACT,WAAW;AAAA,IACX,YAAY;AAAA,IACZ,SAAS;AAAA,IACT,aAAa;AAAA,IACb,WAAW;AAAA,EACd;AACL;;"}
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"u-gap.js","sources":["D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC91bmlfbW9kdWxlcy91dmlldy1wbHVzL2NvbXBvbmVudHMvdS1nYXAvdS1nYXAudnVl"],"sourcesContent":["import Component from 'E:/Project/Vue/uniapp/hashmall-app/uni_modules/uview-plus/components/u-gap/u-gap.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"u-gap.js","sources":["uni_modules/uview-plus/components/u-gap/u-gap.vue","D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC91bmlfbW9kdWxlcy91dmlldy1wbHVzL2NvbXBvbmVudHMvdS1nYXAvdS1nYXAudnVl"],"sourcesContent":["<template>\n\t<view class=\"u-gap\" :style=\"[gapStyle]\"></view>\n</template>\n\n<script>\n\timport { props } from './props';\n\timport { mpMixin } from '../../libs/mixin/mpMixin';\n\timport { mixin } from '../../libs/mixin/mixin';\n\timport { addStyle, addUnit, deepMerge } from '../../libs/function/index.js';\n\t/**\n\t * gap 间隔槽\n\t * @description 该组件一般用于内容块之间的用一个灰色块隔开的场景,方便用户风格统一,减少工作量\n\t * @tutorial https://ijry.github.io/uview-plus/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: [mpMixin, 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: addUnit(this.height),\n\t\t\t\t\tmarginTop: addUnit(this.marginTop),\n\t\t\t\t\tmarginBottom: addUnit(this.marginBottom),\n\t\t\t\t}\n\t\t\t\treturn deepMerge(style, 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 Component from 'E:/Project/Vue/uniapp/hashmall-app/uni_modules/uview-plus/components/u-gap/u-gap.vue'\nwx.createComponent(Component)"],"names":["mpMixin","mixin","props","addUnit","deepMerge","addStyle"],"mappings":";;;;;;AAqBC,MAAK,YAAU;AAAA,EACd,MAAM;AAAA,EACN,QAAQ,CAACA,yCAAAA,SAASC,uCAAK,OAAEC,iDAAK;AAAA,EAC9B,UAAU;AAAA,IACT,WAAW;AACV,YAAM,QAAQ;AAAA,QACb,iBAAiB,KAAK;AAAA,QACtB,QAAQC,0CAAAA,QAAQ,KAAK,MAAM;AAAA,QAC3B,WAAWA,0CAAAA,QAAQ,KAAK,SAAS;AAAA,QACjC,cAAcA,0CAAAA,QAAQ,KAAK,YAAY;AAAA,MACxC;AACA,aAAOC,0CAAS,UAAC,OAAOC,0CAAQ,SAAC,KAAK,WAAW,CAAC;AAAA,IACnD;AAAA,EACD;;;;;;;;ACjCF,GAAG,gBAAgB,SAAS;"}
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"u-line.js","sources":["D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC91bmlfbW9kdWxlcy91dmlldy1wbHVzL2NvbXBvbmVudHMvdS1saW5lL3UtbGluZS52dWU"],"sourcesContent":["import Component from 'E:/Project/Vue/uniapp/hashmall-app/uni_modules/uview-plus/components/u-line/u-line.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"u-line.js","sources":["uni_modules/uview-plus/components/u-line/u-line.vue","D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC91bmlfbW9kdWxlcy91dmlldy1wbHVzL2NvbXBvbmVudHMvdS1saW5lL3UtbGluZS52dWU"],"sourcesContent":["<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';\n\timport { mpMixin } from '../../libs/mixin/mpMixin';\n\timport { mixin } from '../../libs/mixin/mixin';\n\timport { addUnit, addStyle, deepMerge } from '../../libs/function/index';\n\t/**\n\t * line 线条\n\t * @description 此组件一般用于显示一根线条,用于分隔内容块,有横向和竖向两种模式,且能设置0.5px线条,使用也很简单\n\t * @tutorial https://ijry.github.io/uview-plus/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: [mpMixin, 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 = 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 = 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 deepMerge(style, 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 Component from 'E:/Project/Vue/uniapp/hashmall-app/uni_modules/uview-plus/components/u-line/u-line.vue'\nwx.createComponent(Component)"],"names":["mpMixin","mixin","props","addUnit","deepMerge","addStyle"],"mappings":";;;;;;AA2BC,MAAK,YAAU;AAAA,EACd,MAAM;AAAA,EACN,QAAQ,CAACA,yCAAAA,SAASC,uCAAK,OAAEC,kDAAK;AAAA,EAC9B,UAAU;AAAA,IACT,YAAY;AACX,YAAM,QAAQ,CAAC;AACf,YAAM,SAAS,KAAK;AAEpB,UAAI,KAAK,cAAc,OAAO;AAE7B,cAAM,oBAAoB;AAC1B,cAAM,oBAAoB,KAAK,SAAS,WAAW;AACnD,cAAM,QAAQC,kDAAQ,KAAK,MAAM;AACjC,YAAI,KAAK;AAAU,gBAAM,YAAY;AAAA,aAC/B;AAEN,cAAM,kBAAkB;AACxB,cAAM,kBAAkB,KAAK,SAAS,WAAW;AACjD,cAAM,SAASA,kDAAQ,KAAK,MAAM;AAClC,YAAI,KAAK;AAAU,gBAAM,YAAY;AAAA,MACtC;AAEA,YAAM,cAAc,KAAK;AACzB,aAAOC,0CAAS,UAAC,OAAOC,0CAAQ,SAAC,KAAK,WAAW,CAAC;AAAA,IACnD;AAAA,EACD;AACD;;;;;;;ACpDD,GAAG,gBAAgB,SAAS;"}
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"u-loading-page.js","sources":["D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC91bmlfbW9kdWxlcy91dmlldy1wbHVzL2NvbXBvbmVudHMvdS1sb2FkaW5nLXBhZ2UvdS1sb2FkaW5nLXBhZ2UudnVl"],"sourcesContent":["import Component from 'E:/Project/Vue/uniapp/hashmall-app/uni_modules/uview-plus/components/u-loading-page/u-loading-page.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"u-loading-page.js","sources":["uni_modules/uview-plus/components/u-loading-page/u-loading-page.vue","D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC91bmlfbW9kdWxlcy91dmlldy1wbHVzL2NvbXBvbmVudHMvdS1sb2FkaW5nLXBhZ2UvdS1sb2FkaW5nLXBhZ2UudnVl"],"sourcesContent":["<template>\n <u-transition\n :show=\"loading\"\n :custom-style=\"{\n position: 'fixed',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n backgroundColor: bgColor,\n display: 'flex',\n zIndex: zIndex,\n ...customStyle\n }\"\n >\n <view class=\"u-loading-page\">\n <view class=\"u-loading-page__warpper\">\n <view class=\"u-loading-page__warpper__loading-icon\">\n <image\n v-if=\"image\"\n :src=\"image\"\n class=\"u-loading-page__warpper__loading-icon__img\"\n mode=\"widthFit\"\n\t\t\t\t\t\t:style=\"{\n\t\t\t\t\t\t\twidth: addUnit(iconSize),\n\t\t\t\t\t\t height: addUnit(iconSize)\n\t\t\t\t\t\t}\"\n ></image>\n <u-loading-icon\n v-else\n :mode=\"loadingMode\"\n :size=\"addUnit(iconSize)\"\n :color=\"loadingColor\"\n ></u-loading-icon>\n </view>\n <slot>\n <text\n class=\"u-loading-page__warpper__text\"\n :style=\"{\n fontSize: addUnit(fontSize),\n color: color,\n }\"\n >{{ loadingText }}</text\n >\n </slot>\n </view>\n </view>\n </u-transition>\n</template>\n\n<script>\nimport { props } from \"./props\";\nimport { mpMixin } from '../../libs/mixin/mpMixin';\nimport { mixin } from '../../libs/mixin/mixin';\nimport { addUnit } from '../../libs/function/index';\n/**\n * loadingPage 加载动画\n * @description 警此组件为一个小动画,目前用在uView的loadmore加载更多和switch开关等组件的正在加载状态场景。\n * @tutorial https://ijry.github.io/uview-plus/components/loading.html\n * @property {String | Number}\tloadingText\t\t提示内容 (默认 '正在加载' )\n * @property {String}\t\t\timage\t\t\t文字上方用于替换loading动画的图片\n * @property {String}\t\t\tloadingMode\t\t加载动画的模式,circle-圆形,spinner-花朵形,semicircle-半圆形 (默认 'circle' )\n * @property {Boolean}\t\t\tloading\t\t\t是否加载中 (默认 false )\n * @property {String}\t\t\tbgColor\t\t\t背景色 (默认 '#ffffff' )\n * @property {String}\t\t\tcolor\t\t\t文字颜色 (默认 '#C8C8C8' )\n * @property {String | Number}\tfontSize\t\t文字大小 (默认 19 )\n * @property {String | Number}\ticonSize\t\t图标大小 (默认 28 )\n * @property {String}\t\t\tloadingColor\t加载中图标的颜色,只能rgb或者十六进制颜色值 (默认 '#C8C8C8' )\n * @property {Number}\t\t\tzIndex\t z-index层级 (默认10 )\n * @property {Object}\t\t\tcustomStyle\t\t自定义样式\n * @example <u-loading mode=\"circle\"></u-loading>\n */\nexport default {\n name: \"u-loading-page\",\n mixins: [mpMixin, mixin, props],\n data() {\n return {};\n },\n methods: {\n addUnit\n }\n};\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"../../libs/css/components.scss\";\n\n$text-color: rgb(200, 200, 200) !default;\n$text-size: 19px !default;\n$u-loading-icon-margin-bottom: 10px !default;\n\n.u-loading-page {\n @include flex(column);\n flex: 1;\n align-items: center;\n justify-content: center;\n\n &__warpper {\n margin-top: -150px;\n justify-content: center;\n align-items: center;\n /* #ifndef APP-NVUE */\n color: $text-color;\n font-size: $text-size;\n /* #endif */\n @include flex(column);\n\n &__loading-icon {\n margin-bottom: $u-loading-icon-margin-bottom;\n\n &__img {\n width: 40px;\n height: 40px;\n }\n }\n\n &__text {\n font-size: $text-size;\n color: $text-color;\n }\n }\n}\n</style>\n","import Component from 'E:/Project/Vue/uniapp/hashmall-app/uni_modules/uview-plus/components/u-loading-page/u-loading-page.vue'\nwx.createComponent(Component)"],"names":["mpMixin","mixin","props","addUnit"],"mappings":";;;;;;AAwEA,MAAK,YAAU;AAAA,EACX,MAAM;AAAA,EACN,QAAQ,CAACA,yCAAAA,SAASC,uCAAK,OAAEC,yDAAK;AAAA,EAC9B,OAAO;AACH,WAAO;EACV;AAAA,EACD,SAAS;AAAA,IACL,SAAAC,0CAAM;AAAA,EACV;AACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AChFA,GAAG,gBAAgB,SAAS;"}
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-plus/components/u-overlay/u-overlay.js.map
Vendored
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"u-overlay.js","sources":["D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC91bmlfbW9kdWxlcy91dmlldy1wbHVzL2NvbXBvbmVudHMvdS1vdmVybGF5L3Utb3ZlcmxheS52dWU"],"sourcesContent":["import Component from 'E:/Project/Vue/uniapp/hashmall-app/uni_modules/uview-plus/components/u-overlay/u-overlay.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"u-overlay.js","sources":["uni_modules/uview-plus/components/u-overlay/u-overlay.vue","D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC91bmlfbW9kdWxlcy91dmlldy1wbHVzL2NvbXBvbmVudHMvdS1vdmVybGF5L3Utb3ZlcmxheS52dWU"],"sourcesContent":["<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\t@touchmove.stop.prevent=\"noop\"\n\t>\n\t\t<slot />\n\t</u-transition>\n</template>\n\n<script>\n\timport { props } from './props';\n\timport { mpMixin } from '../../libs/mixin/mpMixin';\n\timport { mixin } from '../../libs/mixin/mixin';\n\timport { addStyle, deepMerge } from '../../libs/function/index';\n\t/**\n\t * overlay 遮罩\n\t * @description 创建一个遮罩层,用于强调特定的页面元素,并阻止用户对遮罩下层的内容进行操作,一般用于弹窗场景\n\t * @tutorial https://ijry.github.io/uview-plus/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: [mpMixin, 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 deepMerge(style, addStyle(this.customStyle))\n\t\t\t}\n\t\t},\n\t\temits: [\"click\"],\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 Component from 'E:/Project/Vue/uniapp/hashmall-app/uni_modules/uview-plus/components/u-overlay/u-overlay.vue'\nwx.createComponent(Component)"],"names":["mpMixin","mixin","props","deepMerge","addStyle"],"mappings":";;;;;;AA8BC,MAAK,YAAU;AAAA,EACd,MAAM;AAAA,EACN,QAAQ,CAACA,yCAAAA,SAASC,uCAAK,OAACC,qDAAK;AAAA,EAC7B,UAAU;AAAA,IACT,eAAe;AACd,YAAM,QAAQ;AAAA,QACb,UAAU;AAAA,QACV,KAAK;AAAA,QACL,MAAM;AAAA,QACN,OAAO;AAAA,QACP,QAAQ,KAAK;AAAA,QACb,QAAQ;AAAA,QACR,oBAAoB,iBAAiB,KAAK,OAAO;AAAA,MAClD;AACA,aAAOC,0CAAS,UAAC,OAAOC,0CAAQ,SAAC,KAAK,WAAW,CAAC;AAAA,IACnD;AAAA,EACA;AAAA,EACD,OAAO,CAAC,OAAO;AAAA,EACf,SAAS;AAAA,IACR,eAAe;AACd,WAAK,MAAM,OAAO;AAAA,IACnB;AAAA,EACD;AACD;;;;;;;;;;;;;;;;;;;;;;ACpDD,GAAG,gBAAgB,SAAS;"}
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"u-safe-bottom.js","sources":["D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC91bmlfbW9kdWxlcy91dmlldy1wbHVzL2NvbXBvbmVudHMvdS1zYWZlLWJvdHRvbS91LXNhZmUtYm90dG9tLnZ1ZQ"],"sourcesContent":["import Component from 'E:/Project/Vue/uniapp/hashmall-app/uni_modules/uview-plus/components/u-safe-bottom/u-safe-bottom.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"u-safe-bottom.js","sources":["uni_modules/uview-plus/components/u-safe-bottom/u-safe-bottom.vue","D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC91bmlfbW9kdWxlcy91dmlldy1wbHVzL2NvbXBvbmVudHMvdS1zYWZlLWJvdHRvbS91LXNhZmUtYm90dG9tLnZ1ZQ"],"sourcesContent":["<template>\r\n\t<view\r\n\t\tclass=\"u-safe-bottom\"\r\n\t\t:style=\"[style]\"\r\n\t\t:class=\"[!isNvue && 'u-safe-area-inset-bottom']\"\r\n\t>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport { props } from \"./props.js\";\r\n\timport { mpMixin } from '../../libs/mixin/mpMixin';\r\n\timport { mixin } from '../../libs/mixin/mixin';\r\n\timport { addStyle, deepMerge, addUnit, getWindowInfo } from '../../libs/function/index';\r\n\t/**\r\n\t * SafeBottom 底部安全区\r\n\t * @description 这个适配,主要是针对IPhone X等一些底部带指示条的机型,指示条的操作区域与页面底部存在重合,容易导致用户误操作,因此我们需要针对这些机型进行底部安全区适配。\r\n\t * @tutorial https://ijry.github.io/uview-plus/components/safeAreaInset.html\r\n\t * @property {type}\t\tprop_name\r\n\t * @property {Object}\tcustomStyle\t定义需要用到的外部样式\r\n\t *\r\n\t * @event {Function()}\r\n\t * @example <u-status-bar></u-status-bar>\r\n\t */\r\n\texport default {\r\n\t\tname: \"u-safe-bottom\",\r\n\t\tmixins: [mpMixin, mixin, props],\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tsafeAreaBottomHeight: 0,\r\n\t\t\t\tisNvue: false,\r\n\t\t\t};\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\tstyle() {\r\n\t\t\t\tconst style = {};\r\n\t\t\t\t// #ifdef APP-NVUE || MP-TOUTIAO\r\n\t\t\t\t// nvue下,高度使用js计算填充\r\n\t\t\t\tstyle.height = addUnit(getWindowInfo().safeAreaInsets.bottom, 'px');\r\n\t\t\t\t// #endif\r\n\t\t\t\treturn deepMerge(style, addStyle(this.customStyle));\r\n\t\t\t},\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\t// #ifdef APP-NVUE\r\n\t\t\t// 标识为是否nvue\r\n\t\t\tthis.isNvue = true;\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.u-safe-bottom {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\twidth: 100%;\r\n\t\t/* #endif */\r\n\t}\r\n</style>\r\n","import Component from 'E:/Project/Vue/uniapp/hashmall-app/uni_modules/uview-plus/components/u-safe-bottom/u-safe-bottom.vue'\nwx.createComponent(Component)"],"names":["mpMixin","mixin","props","deepMerge","addStyle"],"mappings":";;;;;;AAwBC,MAAK,YAAU;AAAA,EACd,MAAM;AAAA,EACN,QAAQ,CAACA,yCAAAA,SAASC,uCAAK,OAAEC,wDAAK;AAAA,EAC9B,OAAO;AACN,WAAO;AAAA,MACN,sBAAsB;AAAA,MACtB,QAAQ;AAAA;EAET;AAAA,EACD,UAAU;AAAA,IACT,QAAQ;AACP,YAAM,QAAQ,CAAA;AAKd,aAAOC,0CAAAA,UAAU,OAAOC,0CAAAA,SAAS,KAAK,WAAW,CAAC;AAAA,IAClD;AAAA,EACD;AAAA,EACD,UAAU;AAAA,EAKT;;;;;;;;;AC/CH,GAAG,gBAAgB,SAAS;"}
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"u-status-bar.js","sources":["D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC91bmlfbW9kdWxlcy91dmlldy1wbHVzL2NvbXBvbmVudHMvdS1zdGF0dXMtYmFyL3Utc3RhdHVzLWJhci52dWU"],"sourcesContent":["import Component from 'E:/Project/Vue/uniapp/hashmall-app/uni_modules/uview-plus/components/u-status-bar/u-status-bar.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"u-status-bar.js","sources":["uni_modules/uview-plus/components/u-status-bar/u-status-bar.vue","D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC91bmlfbW9kdWxlcy91dmlldy1wbHVzL2NvbXBvbmVudHMvdS1zdGF0dXMtYmFyL3Utc3RhdHVzLWJhci52dWU"],"sourcesContent":["<template>\n\t<view\n\t :style=\"[style]\"\n\t class=\"u-status-bar\"\n\t\t:class=\"[isH5 && 'u-safe-area-inset-top']\"\n\t>\n\t\t<slot />\n\t</view>\n</template>\n\n<script>\n\timport { props } from './props';\n\timport { mpMixin } from '../../libs/mixin/mpMixin';\n\timport { mixin } from '../../libs/mixin/mixin';\n\timport { addUnit, addStyle, deepMerge, getWindowInfo } from '../../libs/function/index';\n\t/**\n\t * StatbusBar 状态栏占位\n\t * @description 本组件主要用于状态填充,比如在自定导航栏的时候,它会自动适配一个恰当的状态栏高度。\n\t * @tutorial https://uview-plus.jiangruyi.com/components/statusBar.html\n\t * @property {String}\t\t\tbgColor\t\t\t背景色 (默认 'transparent' )\n\t * @property {String | Object}\tcustomStyle\t\t自定义样式 \n\t * @example <u-status-bar></u-status-bar>\n\t */\n\texport default {\n\t\tname: 'u-status-bar',\n\t\tmixins: [mpMixin, mixin, props],\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tisH5: false\n\t\t\t}\n\t\t},\n\t\tcreated() {\n\t\t\t// #ifdef H5\n\t\t\tthis.isH5 = true\n\t\t\t// #endif\n\t\t},\n\t\tcomputed: {\n\t\t\tstyle() {\n\t\t\t\tconst style = {}\n\t\t\t\t// 状态栏高度,由于某些安卓和微信开发工具无法识别css的顶部状态栏变量,所以使用js获取的方式\n\t\t\t\tlet sheight = getWindowInfo().statusBarHeight\n\t\t\t\tif (sheight == 0) {\n\t\t\t\t\tthis.isH5 = true\n\t\t\t\t} else {\n\t\t\t\t\tstyle.height = addUnit(sheight, 'px')\n\t\t\t\t}\n\t\t\t\tstyle.backgroundColor = this.bgColor\n\t\t\t\treturn deepMerge(style, addStyle(this.customStyle))\n\t\t\t}\n\t\t},\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t.u-status-bar {\n\t\t// nvue会默认100%,如果nvue下,显式写100%的话,会导致宽度不为100%而异常\n\t\t/* #ifndef APP-NVUE */\n\t\twidth: 100%;\n\t\t/* #endif */\n\t}\n</style>\n","import Component from 'E:/Project/Vue/uniapp/hashmall-app/uni_modules/uview-plus/components/u-status-bar/u-status-bar.vue'\nwx.createComponent(Component)"],"names":["mpMixin","mixin","props","getWindowInfo","addUnit","deepMerge","addStyle"],"mappings":";;;;;;AAuBC,MAAK,YAAU;AAAA,EACd,MAAM;AAAA,EACN,QAAQ,CAACA,yCAAAA,SAASC,uCAAK,OAAEC,uDAAK;AAAA,EAC9B,OAAO;AACN,WAAO;AAAA,MACN,MAAM;AAAA,IACP;AAAA,EACA;AAAA,EACD,UAAU;AAAA,EAIT;AAAA,EACD,UAAU;AAAA,IACT,QAAQ;AACP,YAAM,QAAQ,CAAC;AAEf,UAAI,UAAUC,0CAAa,cAAA,EAAG;AAC9B,UAAI,WAAW,GAAG;AACjB,aAAK,OAAO;AAAA,aACN;AACN,cAAM,SAASC,kDAAQ,SAAS,IAAI;AAAA,MACrC;AACA,YAAM,kBAAkB,KAAK;AAC7B,aAAOC,0CAAS,UAAC,OAAOC,0CAAQ,SAAC,KAAK,WAAW,CAAC;AAAA,IACnD;AAAA,EACA;AACF;;;;;;;;ACjDD,GAAG,gBAAgB,SAAS;"}
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"u-swiper-indicator.js","sources":["D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC91bmlfbW9kdWxlcy91dmlldy1wbHVzL2NvbXBvbmVudHMvdS1zd2lwZXItaW5kaWNhdG9yL3Utc3dpcGVyLWluZGljYXRvci52dWU"],"sourcesContent":["import Component from 'E:/Project/Vue/uniapp/hashmall-app/uni_modules/uview-plus/components/u-swiper-indicator/u-swiper-indicator.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"u-swiper-indicator.js","sources":["uni_modules/uview-plus/components/u-swiper-indicator/u-swiper-indicator.vue","D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC91bmlfbW9kdWxlcy91dmlldy1wbHVzL2NvbXBvbmVudHMvdS1zd2lwZXItaW5kaWNhdG9yL3Utc3dpcGVyLWluZGljYXRvci52dWU"],"sourcesContent":["<template>\n\t<view class=\"u-swiper-indicator\">\n\t\t<view\n\t\t\tclass=\"u-swiper-indicator__wrapper\"\n\t\t\tv-if=\"indicatorMode === 'line'\"\n\t\t\t:class=\"[`u-swiper-indicator__wrapper--${indicatorMode}`]\"\n\t\t\t:style=\"{\n\t\t\t\twidth: addUnit(lineWidth * length),\n\t\t\t\tbackgroundColor: indicatorInactiveColor\n\t\t\t}\"\n\t\t>\n\t\t\t<view\n\t\t\t\tclass=\"u-swiper-indicator__wrapper--line__bar\"\n\t\t\t\t:style=\"[lineStyle]\"\n\t\t\t></view>\n\t\t</view>\n\t\t<view\n\t\t\tclass=\"u-swiper-indicator__wrapper\"\n\t\t\tv-if=\"indicatorMode === 'dot'\"\n\t\t>\n\t\t\t<view\n\t\t\t\tclass=\"u-swiper-indicator__wrapper__dot\"\n\t\t\t\tv-for=\"(item, index) in length\"\n\t\t\t\t:key=\"index\"\n\t\t\t\t:class=\"[index === current && 'u-swiper-indicator__wrapper__dot--active']\"\n\t\t\t\t:style=\"[dotStyle(index)]\"\n\t\t\t>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\timport { props } from './props';\n\timport { mpMixin } from '../../libs/mixin/mpMixin';\n\timport { mixin } from '../../libs/mixin/mixin';\n\timport { addUnit } from '../../libs/function/index';\n\t/**\n\t * SwiperIndicator 轮播图指示器\n\t * @description 该组件一般用于导航轮播,广告展示等场景,可开箱即用,\n\t * @tutorial https://ijry.github.io/uview-plus/components/swiper.html\n\t * @property {String | Number}\tlength\t\t\t\t\t轮播的长度(默认 0 )\n\t * @property {String | Number}\tcurrent\t\t\t\t\t当前处于活动状态的轮播的索引(默认 0 )\n\t * @property {String}\t\t\tindicatorActiveColor\t指示器非激活颜色\n\t * @property {String}\t\t\tindicatorInactiveColor\t指示器的激活颜色\n\t * @property {String}\t\t\tindicatorMode\t\t\t指示器模式(默认 'line' )\n\t * @example\t<u-swiper :list=\"list4\" indicator keyName=\"url\" :autoplay=\"false\"></u-swiper>\n\t */\n\texport default {\n\t\tname: 'u-swiper-indicator',\n\t\tmixins: [mpMixin, mixin, props],\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tlineWidth: 22\n\t\t\t}\n\t\t},\n\t\tcomputed: {\n\t\t\t// 指示器为线型的样式\n\t\t\tlineStyle() {\n\t\t\t\tlet style = {}\n\t\t\t\tstyle.width = addUnit(this.lineWidth)\n\t\t\t\tstyle.transform = `translateX(${ addUnit(this.current * this.lineWidth) })`\n\t\t\t\tstyle.backgroundColor = this.indicatorActiveColor\n\t\t\t\treturn style\n\t\t\t},\n\t\t\t// 指示器为点型的样式\n\t\t\tdotStyle() {\n\t\t\t\treturn index => {\n\t\t\t\t\tlet style = {}\n\t\t\t\t\tstyle.backgroundColor = index === this.current ? this.indicatorActiveColor : this.indicatorInactiveColor\n\t\t\t\t\treturn style\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\taddUnit\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t@import \"../../libs/css/components.scss\";\n\n\t.u-swiper-indicator {\n\n\t\t&__wrapper {\n\t\t\t@include flex;\n\n\t\t\t&--line {\n\t\t\t\tborder-radius: 100px;\n\t\t\t\theight: 4px;\n\n\t\t\t\t&__bar {\n\t\t\t\t\twidth: 22px;\n\t\t\t\t\theight: 4px;\n\t\t\t\t\tborder-radius: 100px;\n\t\t\t\t\tbackground-color: #FFFFFF;\n\t\t\t\t\ttransition: transform 0.3s;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&__dot {\n\t\t\t\twidth: 5px;\n\t\t\t\theight: 5px;\n\t\t\t\tborder-radius: 100px;\n\t\t\t\tmargin: 0 4px;\n\n\t\t\t\t&--active {\n\t\t\t\t\twidth: 12px;\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t}\n</style>\n","import Component from 'E:/Project/Vue/uniapp/hashmall-app/uni_modules/uview-plus/components/u-swiper-indicator/u-swiper-indicator.vue'\nwx.createComponent(Component)"],"names":["mpMixin","mixin","props","addUnit"],"mappings":";;;;;;AAgDC,MAAK,YAAU;AAAA,EACd,MAAM;AAAA,EACN,QAAQ,CAACA,yCAAAA,SAASC,uCAAK,OAAEC,6DAAK;AAAA,EAC9B,OAAO;AACN,WAAO;AAAA,MACN,WAAW;AAAA,IACZ;AAAA,EACA;AAAA,EACD,UAAU;AAAA;AAAA,IAET,YAAY;AACX,UAAI,QAAQ,CAAC;AACb,YAAM,QAAQC,kDAAQ,KAAK,SAAS;AACpC,YAAM,YAAY,cAAeA,0CAAO,QAAC,KAAK,UAAU,KAAK,SAAS,CAAA;AACtE,YAAM,kBAAkB,KAAK;AAC7B,aAAO;AAAA,IACP;AAAA;AAAA,IAED,WAAW;AACV,aAAO,WAAS;AACf,YAAI,QAAQ,CAAC;AACb,cAAM,kBAAkB,UAAU,KAAK,UAAU,KAAK,uBAAuB,KAAK;AAClF,eAAO;AAAA,MACR;AAAA,IACD;AAAA,EACA;AAAA,EACD,SAAS;AAAA,IACR,SAAAA,0CAAM;AAAA,EACP;AACD;;;;;;;;;;;;;;;;;;;;;;AC5ED,GAAG,gBAAgB,SAAS;"}
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uview-plus/components/u-toolbar/u-toolbar.js.map
Vendored
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"u-toolbar.js","sources":["D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC91bmlfbW9kdWxlcy91dmlldy1wbHVzL2NvbXBvbmVudHMvdS10b29sYmFyL3UtdG9vbGJhci52dWU"],"sourcesContent":["import Component from 'E:/Project/Vue/uniapp/hashmall-app/uni_modules/uview-plus/components/u-toolbar/u-toolbar.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"u-toolbar.js","sources":["uni_modules/uview-plus/components/u-toolbar/u-toolbar.vue","D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC91bmlfbW9kdWxlcy91dmlldy1wbHVzL2NvbXBvbmVudHMvdS10b29sYmFyL3UtdG9vbGJhci52dWU"],"sourcesContent":["<template>\n\t<view\n\t\tclass=\"u-toolbar\"\n\t\t@touchmove.stop.prevent=\"noop\"\n\t\tv-if=\"show\"\n\t>\n\t\t<view\n\t\t\tclass=\"u-toolbar__left\"\n\t\t>\n\t\t\t<view\n\t\t\t\tclass=\"u-toolbar__cancel__wrapper\"\n\t\t\t\thover-class=\"u-hover-class\"\n\t\t\t>\n\t\t\t\t<text\n\t\t\t\t\tclass=\"u-toolbar__wrapper__cancel\"\n\t\t\t\t\t@tap=\"cancel\"\n\t\t\t\t\t:style=\"{\n\t\t\t\t\t\tcolor: cancelColor\n\t\t\t\t\t}\"\n\t\t\t\t>{{ cancelText }}</text>\n\t\t\t</view>\n\t\t</view>\n\t\t<text\n\t\t\tclass=\"u-toolbar__title u-line-1\"\n\t\t\tv-if=\"title\"\n\t\t>{{ title }}</text>\n\t\t<view\n\t\t\tclass=\"u-toolbar__right\"\n\t\t>\n\t\t\t<view\n\t\t\t\tv-if=\"!rightSlot\"\n\t\t\t\tclass=\"u-toolbar__confirm__wrapper\"\n\t\t\t\thover-class=\"u-hover-class\"\n\t\t\t>\n\t\t\t\t<text\n\t\t\t\t\tclass=\"u-toolbar__wrapper__confirm\"\n\t\t\t\t\t@tap=\"confirm\"\n\t\t\t\t\t:style=\"{\n\t\t\t\t\tcolor: confirmColor\n\t\t\t\t}\"\n\t\t\t\t>{{ confirmText }}</text>\n\t\t\t</view>\n\t\t\t<template v-else>\n\t\t\t\t<slot name=\"right\">\n\t\t\t\t</slot>\n\t\t\t</template>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\timport { props } from './props';\n\timport { mpMixin } from '../../libs/mixin/mpMixin';\n\timport { mixin } from '../../libs/mixin/mixin';\n\t/**\n\t * Toolbar 工具条\n\t * @description \n\t * @tutorial https://ijry.github.io/uview-plus/components/toolbar.html\n\t * @property {Boolean}\tshow\t\t\t是否展示工具条(默认 true )\n\t * @property {String}\tcancelText\t\t取消按钮的文字(默认 '取消' )\n\t * @property {String}\tconfirmText\t\t确认按钮的文字(默认 '确认' )\n\t * @property {String}\tcancelColor\t\t取消按钮的颜色(默认 '#909193' )\n\t * @property {String}\tconfirmColor\t确认按钮的颜色(默认 '#3c9cff' )\n\t * @property {String}\ttitle\t\t\t标题文字\n\t * @event {Function} \n\t * @example \n\t */\n\texport default {\n\t\tname: 'u-toolbar',\n\t\tmixins: [mpMixin, mixin, props],\n\t\temits: [\"confirm\", \"cancel\"],\n\t\tcreated() {\n\t\t\t// console.log(this.$slots)\n\t\t},\n\t\tmethods: {\n\t\t\t// 点击取消按钮\n\t\t\tcancel() {\n\t\t\t\tthis.$emit('cancel')\n\t\t\t},\n\t\t\t// 点击确定按钮\n\t\t\tconfirm() {\n\t\t\t\tthis.$emit('confirm')\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-toolbar {\n\t\theight: 42px;\n\t\t@include flex;\n\t\tjustify-content: space-between;\n\t\talign-items: center;\n\n\t\t&__wrapper {\n\t\t\t&__cancel {\n\t\t\t\tcolor: $u-tips-color;\n\t\t\t\tfont-size: 15px;\n\t\t\t\tpadding: 0 15px;\n\t\t\t}\n\t\t}\n\n\t\t&__title {\n\t\t\tcolor: $u-main-color;\n\t\t\tpadding: 0 60rpx;\n\t\t\tfont-size: 16px;\n\t\t\tflex: 1;\n\t\t\ttext-align: center;\n\t\t}\n\n\t\t&__wrapper {\n\t\t\t&__left,\n\t\t\t&__right {\n\t\t\t\t@include flex;\n\t\t\t}\n\t\t\t&__confirm {\n\t\t\t\tcolor: $u-primary;\n\t\t\t\tfont-size: 15px;\n\t\t\t\tpadding: 0 15px;\n\t\t\t}\n\t\t}\n\t}\n</style>\n","import Component from 'E:/Project/Vue/uniapp/hashmall-app/uni_modules/uview-plus/components/u-toolbar/u-toolbar.vue'\nwx.createComponent(Component)"],"names":["mpMixin","mixin","props"],"mappings":";;;;;AAmEC,MAAK,YAAU;AAAA,EACd,MAAM;AAAA,EACN,QAAQ,CAACA,yCAAAA,SAASC,uCAAK,OAAEC,qDAAK;AAAA,EAC9B,OAAO,CAAC,WAAW,QAAQ;AAAA,EAC3B,UAAU;AAAA,EAET;AAAA,EACD,SAAS;AAAA;AAAA,IAER,SAAS;AACR,WAAK,MAAM,QAAQ;AAAA,IACnB;AAAA;AAAA,IAED,UAAU;AACT,WAAK,MAAM,SAAS;AAAA,IACrB;AAAA,EACA;AACF;;;;;;;;;;;;;;;;;;;;;;ACnFD,GAAG,gBAAgB,SAAS;"}
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"u-transition.js","sources":["D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC91bmlfbW9kdWxlcy91dmlldy1wbHVzL2NvbXBvbmVudHMvdS10cmFuc2l0aW9uL3UtdHJhbnNpdGlvbi52dWU"],"sourcesContent":["import Component from 'E:/Project/Vue/uniapp/hashmall-app/uni_modules/uview-plus/components/u-transition/u-transition.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
|
||||
{"version":3,"file":"u-transition.js","sources":["uni_modules/uview-plus/components/u-transition/u-transition.vue","D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC91bmlfbW9kdWxlcy91dmlldy1wbHVzL2NvbXBvbmVudHMvdS10cmFuc2l0aW9uL3UtdHJhbnNpdGlvbi52dWU"],"sourcesContent":["<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';\nimport { mpMixin } from '../../libs/mixin/mpMixin';\nimport { mixin } from '../../libs/mixin/mixin';\nimport { addStyle } from '../../libs/function/index';\n// 组件的methods方法,由于内容较长,写在外部文件中通过mixin引入\nimport transitionMixin from \"./transitionMixin.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\temits: ['click', 'beforeEnter', 'enter', 'afterEnter', 'beforeLeave', 'leave', 'afterLeave'],\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 ...addStyle(customStyle),\n\t ...viewStyle\n\t }\n\t }\n\t},\n\t// 将mixin挂在到组件中,实际上为一个vue格式对象。\n\tmixins: [mpMixin, mixin, transitionMixin, 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 Component from 'E:/Project/Vue/uniapp/hashmall-app/uni_modules/uview-plus/components/u-transition/u-transition.vue'\nwx.createComponent(Component)"],"names":["addStyle","mpMixin","mixin","transitionMixin","props"],"mappings":";;;;;;;AAsCA,MAAK,YAAU;AAAA,EACd,MAAM;AAAA,EACN,OAAO;AACN,WAAO;AAAA,MACN,QAAQ;AAAA;AAAA,MACR,WAAW,CAAE;AAAA;AAAA,MACb,QAAQ;AAAA;AAAA,MACR,iBAAiB;AAAA;AAAA,MACjB,SAAS;AAAA;AAAA,MACT,SAAS;AAAA;AAAA,IACV;AAAA,EACA;AAAA,EACD,OAAO,CAAC,SAAS,eAAe,SAAS,cAAc,eAAe,SAAS,YAAY;AAAA,EAC3F,UAAU;AAAA,IACN,aAAa;AACT,YAAM,EAAE,WAAW,YAAY,IAAI;AACnC,aAAO;AAAA,QAEH,oBAAoB,GAAG,KAAK,QAAQ;AAAA;AAAA,QAE7C,0BAA0B,KAAK;AAAA;AAAA,QAGtB,GAAGA,0CAAAA,SAAS,WAAW;AAAA,QACvB,GAAG;AAAA,MACP;AAAA,IACJ;AAAA,EACH;AAAA;AAAA,EAED,QAAQ,CAACC,yCAAO,SAAEC,8CAAOC,6DAAAA,iBAAiBC,mDAAAA,KAAK;AAAA,EAC/C,OAAO;AAAA,IACN,MAAM;AAAA,MACL,QAAQ,QAAQ;AAMf,iBAAS,KAAK,aAAa,KAAK,SAAS;AAAA,MAEzC;AAAA;AAAA,MAED,WAAW;AAAA,IACZ;AAAA,EACD;AACD;;;;;;;;;;;;AClFA,GAAG,gBAAgB,SAAS;"}
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"zIndex.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
|
||||
{"version":3,"file":"zIndex.js","sources":["uni_modules/uview-plus/libs/config/zIndex.js"],"sourcesContent":["// uniapp在H5中各API的z-index值如下:\r\n/**\r\n * actionsheet: 999\r\n * modal: 999\r\n * navigate: 998\r\n * tabbar: 998\r\n * toast: 999\r\n */\r\n\r\nexport default {\r\n toast: 10090,\r\n noNetwork: 10080,\r\n // popup包含popup,actionsheet,keyboard,picker的值\r\n popup: 10075,\r\n mask: 10070,\r\n navbar: 980,\r\n topTips: 975,\r\n sticky: 970,\r\n indexListSticky: 965\r\n}\n"],"names":[],"mappings":";AASA,MAAe,SAAA;AAAA,EACX,OAAO;AAAA,EACP,WAAW;AAAA;AAAA,EAEX,OAAO;AAAA,EACP,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,iBAAiB;AACrB;;"}
|
||||
Reference in New Issue
Block a user