This commit is contained in:
2026-01-10 20:23:59 +08:00
parent 1fc846fae3
commit 9e957d5dea
127 changed files with 3528 additions and 3421 deletions

View File

@@ -1 +1 @@
{"version":3,"file":"goods.js","sources":["api/goods.ts"],"sourcesContent":["import { request } from './request';\r\n\r\n\n\n\n\n// 编辑商品\nexport function fetchGoodsEdit(form:{}) {\n\treturn request({\n\t\turl: '/goods/edit',\n\t\tdata: form,\n\t\tmethod: 'POST'\n\t})\n} \n\n\n// 商品详情\nexport function fetchGoodsDetail(id:number) {\n\treturn request({\n\t\turl: '/goods/detail',\n\t\tdata: {goods_id:id}\n\t})\n}\n\n\n\n\n\n// 新增商品\nexport function fetchGoodsAdd(form:{}) {\n\treturn request({\n\t\turl: '/goods/add',\n\t\tdata: form,\n\t\tmethod: 'POST'\n\t})\n} \n\n\n\n// 筛选\nexport function fetchFilterParmas(is_origin : number = 0) {\n\treturn request({\n\t\turl: '/goods/filterParams',\n\t\tdata: {\n\t\t\tis_origin: is_origin\n\t\t}\n\t})\n}\n\n\n// 管理端机器列表\nexport function fetchSysGoodsList(data : {}) {\n\treturn request({\n\t\turl: '/goods/list',\n\t\tdata: data,\n\t\tmethod: 'POST'\n\t});\n}\n\n\n// 首页机器列表\nexport function fetchGoodsList(data : {}) {\n\treturn request({\n\t\turl: '/goods/lists',\n\t\tdata: data,\n\t\tmethod: 'POST'\n\t});\n}"],"names":["request"],"mappings":";;AAOO,SAAS,eAAe,MAAS;AACvC,SAAOA,oBAAQ;AAAA,IACd,KAAK;AAAA,IACL,MAAM;AAAA,IACN,QAAQ;AAAA,EAAA,CACR;AACF;AAIO,SAAS,iBAAiB,IAAW;AAC3C,SAAOA,oBAAQ;AAAA,IACd,KAAK;AAAA,IACL,MAAM,EAAC,UAAS,GAAE;AAAA,EAAA,CAClB;AACF;AAOO,SAAS,cAAc,MAAS;AACtC,SAAOA,oBAAQ;AAAA,IACd,KAAK;AAAA,IACL,MAAM;AAAA,IACN,QAAQ;AAAA,EAAA,CACR;AACF;AAKgB,SAAA,kBAAkB,YAAqB,GAAG;AACzD,SAAOA,oBAAQ;AAAA,IACd,KAAK;AAAA,IACL,MAAM;AAAA,MACL;AAAA,IACD;AAAA,EAAA,CACA;AACF;AAIO,SAAS,kBAAkB,MAAW;AAC5C,SAAOA,oBAAQ;AAAA,IACd,KAAK;AAAA,IACL;AAAA,IACA,QAAQ;AAAA,EAAA,CACR;AACF;AAIO,SAAS,eAAe,MAAW;AACzC,SAAOA,oBAAQ;AAAA,IACd,KAAK;AAAA,IACL;AAAA,IACA,QAAQ;AAAA,EAAA,CACR;AACF;;;;;;;"}
{"version":3,"file":"goods.js","sources":["api/goods.ts"],"sourcesContent":["import { request } from './request';\r\n\r\n\n\n\n\n// 编辑商品\nexport function fetchGoodsEdit(form:{}) {\n\treturn request({\n\t\turl: '/goods/edit',\n\t\tdata: form,\n\t\tmethod: 'POST'\n\t})\n} \n\n\n// 商品详情\nexport function fetchGoodsDetail(id:number) {\n\treturn request({\n\t\turl: '/goods/detail',\n\t\tdata: {goods_id:id}\n\t})\n}\n\n\n\n\n\n// 新增商品\nexport function fetchGoodsAdd(form:{}) {\n\treturn request({\n\t\turl: '/goods/add',\n\t\tdata: form,\n\t\tmethod: 'POST'\n\t})\n} \n\n\n\n// 筛选\nexport function fetchFilterParmas(is_origin : number = 0) {\n\treturn request({\n\t\turl: '/goods/filterParams',\n\t\tdata: {\n\t\t\tis_origin: is_origin\n\t\t}\n\t})\n}\n\n\n// 管理端机器列表\nexport function fetchSysGoodsList(data : {}) {\n\treturn request({\n\t\turl: '/goods/list',\n\t\tdata: data,\n\t\tmethod: 'POST'\n\t});\n}\n\n\n// 首页机器列表\nexport function fetchGoodsList(data : {}) {\n\treturn request({\n\t\turl: '/goods/lists',\n\t\tdata: data,\n\t\tmethod: 'POST'\n\t});\n}"],"names":["request"],"mappings":";;AAOO,SAAS,eAAe,MAAS;AACvC,SAAOA,oBAAQ;AAAA,IACd,KAAK;AAAA,IACL,MAAM;AAAA,IACN,QAAQ;AAAA,EAAA,CACR;AACF;AAIO,SAAS,iBAAiB,IAAW;AAC3C,SAAOA,oBAAQ;AAAA,IACd,KAAK;AAAA,IACL,MAAM,EAAC,UAAS,GAAE;AAAA,EAAA,CAClB;AACF;AAOO,SAAS,cAAc,MAAS;AACtC,SAAOA,oBAAQ;AAAA,IACd,KAAK;AAAA,IACL,MAAM;AAAA,IACN,QAAQ;AAAA,EAAA,CACR;AACF;AAKgB,SAAA,kBAAkB,YAAqB,GAAG;AACzD,SAAOA,oBAAQ;AAAA,IACd,KAAK;AAAA,IACL,MAAM;AAAA,MACL;AAAA,IACD;AAAA,EAAA,CACA;AACF;AAIO,SAAS,kBAAkB,MAAW;AAC5C,SAAOA,oBAAQ;AAAA,IACd,KAAK;AAAA,IACL;AAAA,IACA,QAAQ;AAAA,EAAA,CACR;AACF;;;;;;"}

View File

@@ -1 +1 @@
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
{"version":3,"file":"index.js","sources":["api/index.ts"],"sourcesContent":["import { request } from \"./request\";\n\n// export function fetchNavList () {\n// \treturn request({\n// \t\turl:'/index/nav_list'\n// \t})\n// }\n\n\n\n\n// 获取店铺配置\nexport function fetchGoods () {\n\treturn request({\n\t\turl:'/index/goods',\n\t})\n}\n\n"],"names":["request"],"mappings":";;AAYO,SAAS,aAAc;AAC7B,SAAOA,oBAAQ;AAAA,IACd,KAAI;AAAA,EAAA,CACJ;AACF;;"}

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["<script>\n\t// import {ShoppingCartType} from '@/common/constants';\n\texport default {\n\tonLaunch: function () {\n\t\t\t// const shoppingCartType = uni.getStorageSync('SHOPPING_CART_TYPE');\n\t\t\t// if (!shoppingCartType) {\n\t\t\t// \tuni.setStorageSync('SHOPPING_CART_TYPE', ShoppingCartType.PHONE)\n\t\t\t// }\n\n\t\t\t// uni.hideTabBar()\n\t\t\tconsole.log('App Launch')\n\t\t},\n\t\tonShow: function() {\n\t\t\t// uni.hideTabBar()\n\t\t\tconsole.log('App Show')\n\t\t},\n\t\tonHide: function() {\n\t\t\tconsole.log('App Hide')\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\">\n\t@import \"@/uni_modules/nutui-uni/styles/index.scss\";\n</style>\n","import App from './App'\n\n// #ifndef VUE3\nimport Vue from 'vue'\nimport './uni.promisify.adaptor'\nVue.config.productionTip = false\nApp.mpType = 'app'\nconst app = new Vue({\n ...App\n})\napp.$mount()\n// #endif\n\n// #ifdef VUE3\nimport { createSSRApp } from 'vue'\nexport function createApp() {\n const app = createSSRApp(App)\n return {\n app\n }\n}\n// #endif"],"names":["uni","createSSRApp","App"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAEC,MAAK,YAAU;AAAA,EACf,UAAU,WAAY;AAOpBA,kBAAAA,MAAY,MAAA,OAAA,iBAAA,YAAY;AAAA,EACxB;AAAA,EACD,QAAQ,WAAW;AAElBA,kBAAAA,MAAY,MAAA,OAAA,iBAAA,UAAU;AAAA,EACtB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,iBAAA,UAAU;AAAA,EACvB;AACD;ACJM,SAAS,YAAY;AAC1B,QAAM,MAAMC,cAAY,aAACC,SAAG;AAC5B,SAAO;AAAA,IACL;AAAA,EACD;AACH;;;"}
{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["<script>\n\t// import {ShoppingCartType} from '@/common/constants';\n\texport default {\n\tonLaunch: function () {\n\t\t\t// const shoppingCartType = uni.getStorageSync('SHOPPING_CART_TYPE');\n\t\t\t// if (!shoppingCartType) {\n\t\t\t// \tuni.setStorageSync('SHOPPING_CART_TYPE', ShoppingCartType.PHONE)\n\t\t\t// }\n\n\t\t\t// uni.hideTabBar()\n\t\t\tconsole.log('App Launch')\n\t\t},\n\t\tonShow: function() {\n\t\t\t// uni.hideTabBar()\n\t\t\tconsole.log('App Show')\n\t\t},\n\t\tonHide: function() {\n\t\t\tconsole.log('App Hide')\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\">\n\t@import \"@/uni_modules/nutui-uni/styles/index.scss\";\n</style>\n","import App from './App'\n\n// #ifndef VUE3\nimport Vue from 'vue'\nimport './uni.promisify.adaptor'\nVue.config.productionTip = false\nApp.mpType = 'app'\nconst app = new Vue({\n ...App\n})\napp.$mount()\n// #endif\n\n// #ifdef VUE3\nimport { createSSRApp } from 'vue'\nexport function createApp() {\n const app = createSSRApp(App)\n return {\n app\n }\n}\n// #endif"],"names":["uni","createSSRApp","App"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAEC,MAAK,YAAU;AAAA,EACf,UAAU,WAAY;AAOpBA,kBAAAA,MAAY,MAAA,OAAA,iBAAA,YAAY;AAAA,EACxB;AAAA,EACD,QAAQ,WAAW;AAElBA,kBAAAA,MAAY,MAAA,OAAA,iBAAA,UAAU;AAAA,EACtB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,iBAAA,UAAU;AAAA,EACvB;AACD;ACJM,SAAS,YAAY;AAC1B,QAAM,MAAMC,cAAY,aAACC,SAAG;AAC5B,SAAO;AAAA,IACL;AAAA,EACD;AACH;;;"}

View File

@@ -1 +1 @@
{"version":3,"file":"index.js","sources":["components/index-custom-navigationbar/index.vue","/Users/iuu/Developer/PHP/Work/yuntaoji/yuntaoji-mini-app/components/index-custom-navigationbar/index.vue?type=component"],"sourcesContent":["<template>\n\t<view class=\"navbar\">\n\t\t<view class=\"navbar-fixed\">\n\t\t\t<!-- 状态栏占位 -->\n\t\t\t<view :style=\"{height: props.statusBarHeight+'px'}\"></view>\n\t\t\t<!-- 导航栏内容 -->\n\t\t\t<view class=\"navbar-content\" :style=\"{height:props.navbarHeight+'px',width:props.windowWidth+'px'}\">\n\t\t\t\t<view class=\"header\">\n\t\t\t\t\t<view class=\"company-name\">{{title}}</view>\n\t\t\t\t\t<nut-animate type=\"flicker\" :loop=\"true\">\n\t\t\t\t\t\t<view class=\"description\">{{desc}}</view>\n\t\t\t\t\t</nut-animate>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<!-- \t\t<nut-searchbar clearable v-model=\"search_val\" background=\"transparent\" input-background=\"#fff\"\n\t\t\t\t@search=\"onSearch\" @clear=\"onClear\">\n\t\t\t\t<template #rightout>\n\t\t\t\t\t<nut-icon @click=\"onScan\" name=\"scan2\" custom-color=\"#ffffff\" />\n\t\t\t\t</template>\n\t\t\t</nut-searchbar> -->\n\t\t</view>\n\t\t<!-- 占位状态栏+导航栏的高度,使下面的内容不会被遮挡 -->\n\t\t<view :style=\"{height:(statusBarHeight + navbarHeight+ navbarSearchBoxHeight)+'px'}\"></view>\n\t</view>\n</template>\n\n\n<script setup>\n\timport {\n\t\tref,\n\t\tdefineProps\n\t} from 'vue';\n\t// import {\n\t// \tfetchGoodsList\n\t// } from '../../api/goods';\n\timport {\n\t\tnavigateTo\n\t} from '@/utils/helper';\n\n\t// const navbarSearchBoxHeight = 50\n\tconst navbarSearchBoxHeight = 0\n\tconst props = defineProps({\n\t\tstatusBarHeight: Number,\n\t\twindowWidth: Number,\n\t\tnavbarHeight: Number,\n\t\ttitle:String,\n\t\tdesc:String,\n\t\t// onIndexPageSearch:Function,\n\t\t// onIndexPageClear:Function\n\t})\n\t\n\t\n\t\n\t// const search_val = ref('')\n\t// const onSearch = () => {\n\t// \tif(props.onIndexPageSearch) {\n\t// \t\tprops.onIndexPageSearch(search_val.value)\n\t// \t}\n\t// }\n\t// const onClear = () => {\n\t// \tif(props.onIndexPageClear) {\n\t// \t\tprops.onIndexPageClear()\n\t// \t}\n\n\t// }\n\t// const onScan =() => {\n\t// \tuni.scanCode({\n\t// \t\tonlyFromCamera:true,\n\t// \t\tsuccess: (res) => {\n\t// \t\t\tfetchGoodsList({\n\t// \t\t\t\tsearch_params: {goods_no:res.result}\n\t// \t\t\t}).then(res => {\n\t// \t\t\t\tif (res.list.total >= 1) {\n\t// \t\t\t\t\tnavigateTo(\"/pages/mall/item/index?id=\" + res.list?.data[0]?.goods_id)\n\t// \t\t\t\t} else {\n\t// \t\t\t\t\tuni.showToast({\n\t// \t\t\t\t\t\ticon:'none',\n\t// \t\t\t\t\t\ttitle:'暂无该商品'\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\tfail: () => {\n\t// \t\t\tuni.showToast({\n\t// \t\t\t\ticon:'none',\n\t// \t\t\t\ttitle:'扫码失败'\n\t// \t\t\t})\n\t// \t\t}\n\t// \t})\n\t// }\n</script>\n\n<style scoped lang=\"scss\">\n\t.navbar {}\n\n\t.navbar-fixed {\n\t\t/* // 固定定位 */\n\t\tposition: fixed;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tz-index: 999;\n\t\twidth: 100%;\n\t\t/* background: linear-gradient(90deg, #b79dff, #f2a4ff); */\n\t\t/* 渐变背景 */\n\t\tbackground-image: -webkit-linear-gradient(60deg, rgba(233, 100, 67, 1), rgba(198, 77, 255, 1));\n\t\tbackground-image: linear-gradient(30deg, rgba(233, 100, 67, 1), rgba(198, 77, 255, 1));\n\t\tbackground-position: 0 0;\n\t\tbackground-repeat: no-repeat;\n\t\tbackground-size: 100% auto;\n\t\topacity: 1;\n\t\t/* 确保背景不透明 */\n\t}\n\n\t.navbar-content {\n\t\tdisplay: flex;\n\t\tflex-flow: column;\n\n\t\t/* // 水平居中 */\n\t\tjustify-content: center;\n\t\t/* // 垂直居中 */\n\t\t/* // align-items: center; */\n\t\tpadding: 0 30rpx;\n\t\t/* // 盒内显示 (父元素和子元素宽度都是100%,但是父元素加了左右内填充,会导致子元素不在父元素内) */\n\t\tbox-sizing: border-box;\n\t}\n\n\t.company-name {\n\t\tfont-family: Akrobat ExtraBold !important;\n\t\tcolor: #fff;\n\t\tfont-size: 24rpx;\n\t\tfont-weight: 700\n\t}\n\n\t.description {\n\t\tfont-family: Akrobat ExtraBold !important;\n\t\tcolor: #fff;\n\t\tfont-size: 16rpx\n\t}\n</style>","import Component from '/Users/iuu/Developer/PHP/Work/yuntaoji/yuntaoji-mini-app/components/index-custom-navigationbar/index.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;AAwCC,MAAM,wBAAwB;;;;;;;;;;;;;AAC9B,UAAM,QAAQ;;;;;;;;;;;;;;;;;;ACxCf,GAAG,gBAAgB,SAAS;"}
{"version":3,"file":"index.js","sources":["components/index-custom-navigationbar/index.vue","/Users/iuu/Developer/PHP/Work/cmgd/mini-app/components/index-custom-navigationbar/index.vue?type=component"],"sourcesContent":["<template>\n\t<view class=\"navbar\">\n\t\t<view class=\"navbar-fixed\">\n\t\t\t<!-- 状态栏占位 -->\n\t\t\t<view :style=\"{height: props.statusBarHeight+'px'}\"></view>\n\t\t\t<!-- 导航栏内容 -->\n\t\t\t<view class=\"navbar-content\" :style=\"{height:props.navbarHeight+'px',width:props.windowWidth+'px'}\">\n\t\t\t\t<view class=\"header\">\n\t\t\t\t\t<view class=\"company-name\">{{title}}</view>\n\t\t\t\t\t<nut-animate type=\"flicker\" :loop=\"true\">\n\t\t\t\t\t\t<view class=\"description\">{{desc}}</view>\n\t\t\t\t\t</nut-animate>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<!-- \t\t<nut-searchbar clearable v-model=\"search_val\" background=\"transparent\" input-background=\"#fff\"\n\t\t\t\t@search=\"onSearch\" @clear=\"onClear\">\n\t\t\t\t<template #rightout>\n\t\t\t\t\t<nut-icon @click=\"onScan\" name=\"scan2\" custom-color=\"#ffffff\" />\n\t\t\t\t</template>\n\t\t\t</nut-searchbar> -->\n\t\t</view>\n\t\t<!-- 占位状态栏+导航栏的高度,使下面的内容不会被遮挡 -->\n\t\t<view :style=\"{height:(statusBarHeight + navbarHeight+ navbarSearchBoxHeight)+'px'}\"></view>\n\t</view>\n</template>\n\n\n<script setup>\n\timport {\n\t\tref,\n\t\tdefineProps\n\t} from 'vue';\n\t// import {\n\t// \tfetchGoodsList\n\t// } from '../../api/goods';\n\timport {\n\t\tnavigateTo\n\t} from '@/utils/helper';\n\n\t// const navbarSearchBoxHeight = 50\n\tconst navbarSearchBoxHeight = 0\n\tconst props = defineProps({\n\t\tstatusBarHeight: Number,\n\t\twindowWidth: Number,\n\t\tnavbarHeight: Number,\n\t\ttitle:String,\n\t\tdesc:String,\n\t\t// onIndexPageSearch:Function,\n\t\t// onIndexPageClear:Function\n\t})\n\t\n\t\n\t\n\t// const search_val = ref('')\n\t// const onSearch = () => {\n\t// \tif(props.onIndexPageSearch) {\n\t// \t\tprops.onIndexPageSearch(search_val.value)\n\t// \t}\n\t// }\n\t// const onClear = () => {\n\t// \tif(props.onIndexPageClear) {\n\t// \t\tprops.onIndexPageClear()\n\t// \t}\n\n\t// }\n\t// const onScan =() => {\n\t// \tuni.scanCode({\n\t// \t\tonlyFromCamera:true,\n\t// \t\tsuccess: (res) => {\n\t// \t\t\tfetchGoodsList({\n\t// \t\t\t\tsearch_params: {goods_no:res.result}\n\t// \t\t\t}).then(res => {\n\t// \t\t\t\tif (res.list.total >= 1) {\n\t// \t\t\t\t\tnavigateTo(\"/pages/mall/item/index?id=\" + res.list?.data[0]?.goods_id)\n\t// \t\t\t\t} else {\n\t// \t\t\t\t\tuni.showToast({\n\t// \t\t\t\t\t\ticon:'none',\n\t// \t\t\t\t\t\ttitle:'暂无该商品'\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\tfail: () => {\n\t// \t\t\tuni.showToast({\n\t// \t\t\t\ticon:'none',\n\t// \t\t\t\ttitle:'扫码失败'\n\t// \t\t\t})\n\t// \t\t}\n\t// \t})\n\t// }\n</script>\n\n<style scoped lang=\"scss\">\n\t.navbar {}\n\n\t.navbar-fixed {\n\t\t/* // 固定定位 */\n\t\tposition: fixed;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tz-index: 999;\n\t\twidth: 100%;\n\t\t/* background: linear-gradient(90deg, #b79dff, #f2a4ff); */\n\t\t/* 渐变背景 */\n\t\tbackground-image: -webkit-linear-gradient(60deg, rgba(233, 100, 67, 1), rgba(198, 77, 255, 1));\n\t\tbackground-image: linear-gradient(30deg, rgba(233, 100, 67, 1), rgba(198, 77, 255, 1));\n\t\tbackground-position: 0 0;\n\t\tbackground-repeat: no-repeat;\n\t\tbackground-size: 100% auto;\n\t\topacity: 1;\n\t\t/* 确保背景不透明 */\n\t}\n\n\t.navbar-content {\n\t\tdisplay: flex;\n\t\tflex-flow: column;\n\n\t\t/* // 水平居中 */\n\t\tjustify-content: center;\n\t\t/* // 垂直居中 */\n\t\t/* // align-items: center; */\n\t\tpadding: 0 30rpx;\n\t\t/* // 盒内显示 (父元素和子元素宽度都是100%,但是父元素加了左右内填充,会导致子元素不在父元素内) */\n\t\tbox-sizing: border-box;\n\t}\n\n\t.company-name {\n\t\tfont-family: Akrobat ExtraBold !important;\n\t\tcolor: #fff;\n\t\tfont-size: 24rpx;\n\t\tfont-weight: 700\n\t}\n\n\t.description {\n\t\tfont-family: Akrobat ExtraBold !important;\n\t\tcolor: #fff;\n\t\tfont-size: 16rpx\n\t}\n</style>","import Component from '/Users/iuu/Developer/PHP/Work/cmgd/mini-app/components/index-custom-navigationbar/index.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;AAwCC,MAAM,wBAAwB;;;;;;;;;;;;;AAC9B,UAAM,QAAQ;;;;;;;;;;;;;;;;;;ACxCf,GAAG,gBAAgB,SAAS;"}

View File

@@ -1 +1 @@
{"version":3,"file":"config.js","sources":["config.ts"],"sourcesContent":["export default {\r\n\r\n\t// 系统名称\r\n\tname: \"云淘机\",\r\n\r\n\t/**\r\n\t * 后端api地址 (必填; 斜杠/结尾; 请确保能访问)\r\n\t * 例如: https://www.你的域名.com/index.php?s=/api/\r\n\t */\r\n\tapi_base_url: \"https://phone.19year.cn/index.php?s=/api\",\r\n\r\n\t/**\r\n\t * 仓库地址\r\n\t * 例如: https://www.你的域名.com/index.php?s=/api/\r\n\t */\r\n\thouse_api_base_url: \"https://newtel.19year.cn/index.php?s=/api\",\r\n\r\n\t/**\r\n\t * 是否启用商城设置缓存\r\n\t * 将减少用户端重复请求; 正式运营时请设为true, 开启后商城设置同步前端需10分钟缓存\r\n\t */\r\n\tenabledSettingCache: true,\r\n\r\n\r\n\t/**\r\n\t * 分销编号\r\n\t */\r\n\twxapp_id: 10001,\n\t\n\t/**\r\n\t * 代理商ID\r\n\t */\n\tagent_no: 10000001\r\n\r\n}"],"names":[],"mappings":";AAAA,MAAe,SAAA;AAAA;AAAA,EAGd,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA,EAMN,cAAc;AAAA;AAAA;AAAA;AAAA;AAAA,EAMd,oBAAoB;AAAA;AAAA;AAAA;AAAA;AAAA,EAMpB,qBAAqB;AAAA;AAAA;AAAA;AAAA,EAMrB,UAAU;AAAA;AAAA;AAAA;AAAA,EAKV,UAAU;AAEX;;"}
{"version":3,"file":"config.js","sources":["config.ts"],"sourcesContent":["export default {\r\n\r\n\tname: \"茶麻古道\",\r\n\t/**\r\n\t * 后端api地址 (必填; 斜杠/结尾; 请确保能访问)\r\n\t * 例如: https://www.你的域名.com/index.php?s=/api/\r\n\t */\r\n\tapi_base_url: \"https://cmgd.19year.cn/index.php?s=/api\",\r\n\r\n\r\n\t/**\r\n\t * 是否启用商城设置缓存\r\n\t * 将减少用户端重复请求; 正式运营时请设为true, 开启后商城设置同步前端需10分钟缓存\r\n\t */\r\n\tenabledSettingCache: true,\r\n\twxapp_id: 10001,\n\t\r\n}"],"names":[],"mappings":";AAAA,MAAe,SAAA;AAAA,EAEd,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA,EAKN,cAAc;AAAA;AAAA;AAAA;AAAA;AAAA,EAOd,qBAAqB;AAAA,EACrB,UAAU;AAEX;;"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"version":3,"file":"index.js","sources":["pages/login/index.vue","pages/login/index.vue?type=page"],"sourcesContent":["<template>\n\t<view class=\"content\">\n\t\t<view class=\"avatar\">\n\t\t\t<nut-avatar size=\"80\">\n\t\t\t\t<nut-icon size=\"30\" name=\"my\" />\n\t\t\t</nut-avatar>\n\t\t</view>\n\t\t<view class=\"divider\">\n\t\t</view>\n\t</view>\n\n\t<view class=\"tip-infos\">\n\t\t<text>申请获取以下权限</text>\n\t\t<text>获得你的公开信息(昵称、头像等)</text>\n\t</view>\n\t<view class=\"authorize-btn-inner\">\n\t\t<nut-button type=\"success\" size=\"large\" open-type=\"getUserInfo\" @getuserinfo=\"getUserInfo\">授权登录</nut-button>\n\t</view>\n\t<view class=\"authorize-btn-inner\">\n\t\t<nut-button type=\"danger\" size=\"large\" @click=\"switchTab('/pages/index/index')\">暂不登录</nut-button>\n\t</view>\n</template>\n\n<script setup>\n\timport {\n\t\tonMounted,\n\t\tref\n\t} from 'vue';\n\timport {\n\t\tlogin\n\t} from '@/api/user';\n\timport {\n\t\tonLoad\n\t} from '@dcloudio/uni-app'\n\timport {\n\t\tnavigateTo,\n\t\tswitchTab\n\t} from '@/utils/helper';\n\tconst code = ref('')\n\tconst redirect_url = ref('')\n\tonLoad((options) => {\n\t\tredirect_url.value = options.redirect_url\n\t})\n\tonMounted(() => {\n\t\tuni.login({\n\t\t\tprovider: \"weixin\",\n\t\t\tsuccess(res) {\n\t\t\t\tif (res.errMsg === 'login:ok') {\n\t\t\t\t\tcode.value = res.code\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\t})\n\tconst getUserInfo = (res) => {\n\t\tif (code.value === '') {\n\t\t\tuni.showToast({\n\t\t\t\ticon: 'none',\n\t\t\t\ttitle: '请稍后再试'\n\t\t\t})\n\t\t\treturn;\n\t\t}\n\t\tlogin(code.value, JSON.stringify(res.detail.userInfo)).then(res => {\n\t\t\tconsole.log(res);\n\t\t\tuni.setStorageSync('token', res.token)\n\t\t\tuni.setStorageSync('uid', res.user_id)\n\t\t\tif(res.is_bind_phone){\n\t\t\t\tnavigateTo('/pages/login/phoneAuthorization');\n\t\t\t\treturn\n\t\t\t}\n\t\t\tuni.showToast({\n\t\t\t\ttitle: '授权成功',\n\t\t\t\ticon: 'none'\n\t\t\t})\n\t\t\tif (redirect_url.value !== 'undefined') {\n\t\t\t\tnavigateTo(redirect_url.value)\n\t\t\t} else {\n\t\t\t\tuni.navigateBack()\n\t\t\t}\n\t\t})\n\t}\n</script>\n\n<style scoped lang=\"scss\">\n\t.divider {\n\t\theight: 1px;\n\t\tbackground: #eee;\n\t\twidth: 100%;\n\t}\n\n\t.content {\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t\tflex-direction: column;\n\t\tpadding: 25px 15px;\n\t\talign-items: center;\n\t\tgap: 20px;\n\t}\n\n\t.tip-infos {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tjustify-content: flex-start;\n\t\tpadding: 10px 25px;\n\t\tgap: 10px;\n\n\t\ttext:nth-child(2) {\n\t\t\tfont-size: 15px;\n\t\t\tcolor: #666;\n\t\t}\n\t}\n\n\t.authorize-btn-inner {\n\t\tpadding: 15px;\n\t}\n</style>","import MiniProgramPage from '/Users/iuu/Developer/PHP/Work/yuntaoji/yuntaoji-mini-app/pages/login/index.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref","onLoad","onMounted","uni","login","res","navigateTo"],"mappings":";;;;;;;;;;;;;;;;;;;AAsCC,UAAM,OAAOA,cAAG,IAAC,EAAE;AACnB,UAAM,eAAeA,cAAG,IAAC,EAAE;AAC3BC,kBAAM,OAAC,CAAC,YAAY;AACnB,mBAAa,QAAQ,QAAQ;AAAA,IAC/B,CAAE;AACDC,kBAAAA,UAAU,MAAM;AACfC,oBAAAA,MAAI,MAAM;AAAA,QACT,UAAU;AAAA,QACV,QAAQ,KAAK;AACZ,cAAI,IAAI,WAAW,YAAY;AAC9B,iBAAK,QAAQ,IAAI;AAAA,UACjB;AAAA,QACD;AAAA,MACJ,CAAG;AAAA,IACH,CAAE;AACD,UAAM,cAAc,CAAC,QAAQ;AAC5B,UAAI,KAAK,UAAU,IAAI;AACtBA,sBAAAA,MAAI,UAAU;AAAA,UACb,MAAM;AAAA,UACN,OAAO;AAAA,QACX,CAAI;AACD;AAAA,MACA;AACDC,eAAAA,MAAM,KAAK,OAAO,KAAK,UAAU,IAAI,OAAO,QAAQ,CAAC,EAAE,KAAK,CAAAC,SAAO;AAClEF,sBAAAA,MAAA,MAAA,OAAA,+BAAYE,IAAG;AACfF,sBAAAA,MAAI,eAAe,SAASE,KAAI,KAAK;AACrCF,sBAAAA,MAAI,eAAe,OAAOE,KAAI,OAAO;AACrC,YAAGA,KAAI,eAAc;AACpBC,uBAAU,WAAC,iCAAiC;AAC5C;AAAA,QACA;AACDH,sBAAAA,MAAI,UAAU;AAAA,UACb,OAAO;AAAA,UACP,MAAM;AAAA,QACV,CAAI;AACD,YAAI,aAAa,UAAU,aAAa;AACvCG,uBAAU,WAAC,aAAa,KAAK;AAAA,QACjC,OAAU;AACNH,wBAAAA,MAAI,aAAc;AAAA,QAClB;AAAA,MACJ,CAAG;AAAA,IACD;;;;;;;;;;;;;;;;;;;;;;;;;;AC9EF,GAAG,WAAW,eAAe;"}
{"version":3,"file":"index.js","sources":["pages/login/index.vue","pages/login/index.vue?type=page"],"sourcesContent":["<template>\n\t<view class=\"content\">\n\t\t<view class=\"avatar\">\n\t\t\t<nut-avatar size=\"80\">\n\t\t\t\t<nut-icon size=\"30\" name=\"my\" />\n\t\t\t</nut-avatar>\n\t\t</view>\n\t\t<view class=\"divider\">\n\t\t</view>\n\t</view>\n\n\t<view class=\"tip-infos\">\n\t\t<text>申请获取以下权限</text>\n\t\t<text>获得你的公开信息(昵称、头像等)</text>\n\t</view>\n\t<view class=\"authorize-btn-inner\">\n\t\t<nut-button type=\"success\" size=\"large\" open-type=\"getUserInfo\" @getuserinfo=\"getUserInfo\">授权登录</nut-button>\n\t</view>\n\t<view class=\"authorize-btn-inner\">\n\t\t<nut-button type=\"danger\" size=\"large\" @click=\"switchTab('/pages/index/index')\">暂不登录</nut-button>\n\t</view>\n</template>\n\n<script setup>\n\timport {\n\t\tonMounted,\n\t\tref\n\t} from 'vue';\n\timport {\n\t\tlogin\n\t} from '@/api/user';\n\timport {\n\t\tonLoad\n\t} from '@dcloudio/uni-app'\n\timport {\n\t\tnavigateTo,\n\t\tswitchTab\n\t} from '@/utils/helper';\n\tconst code = ref('')\n\tconst redirect_url = ref('')\n\tonLoad((options) => {\n\t\tredirect_url.value = options.redirect_url\n\t})\n\tonMounted(() => {\n\t\tuni.login({\n\t\t\tprovider: \"weixin\",\n\t\t\tsuccess(res) {\n\t\t\t\tif (res.errMsg === 'login:ok') {\n\t\t\t\t\tcode.value = res.code\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\t})\n\tconst getUserInfo = (res) => {\n\t\tif (code.value === '') {\n\t\t\tuni.showToast({\n\t\t\t\ticon: 'none',\n\t\t\t\ttitle: '请稍后再试'\n\t\t\t})\n\t\t\treturn;\n\t\t}\n\t\tlogin(code.value, JSON.stringify(res.detail.userInfo)).then(res => {\n\t\t\tconsole.log(res);\n\t\t\tuni.setStorageSync('token', res.token)\n\t\t\tuni.setStorageSync('uid', res.user_id)\n\t\t\tif(res.is_bind_phone){\n\t\t\t\tnavigateTo('/pages/login/phoneAuthorization');\n\t\t\t\treturn\n\t\t\t}\n\t\t\tuni.showToast({\n\t\t\t\ttitle: '授权成功',\n\t\t\t\ticon: 'none'\n\t\t\t})\n\t\t\tif (redirect_url.value !== 'undefined') {\n\t\t\t\tnavigateTo(redirect_url.value)\n\t\t\t} else {\n\t\t\t\tuni.navigateBack()\n\t\t\t}\n\t\t})\n\t}\n</script>\n\n<style scoped lang=\"scss\">\n\t.divider {\n\t\theight: 1px;\n\t\tbackground: #eee;\n\t\twidth: 100%;\n\t}\n\n\t.content {\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t\tflex-direction: column;\n\t\tpadding: 25px 15px;\n\t\talign-items: center;\n\t\tgap: 20px;\n\t}\n\n\t.tip-infos {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tjustify-content: flex-start;\n\t\tpadding: 10px 25px;\n\t\tgap: 10px;\n\n\t\ttext:nth-child(2) {\n\t\t\tfont-size: 15px;\n\t\t\tcolor: #666;\n\t\t}\n\t}\n\n\t.authorize-btn-inner {\n\t\tpadding: 15px;\n\t}\n</style>","import MiniProgramPage from '/Users/iuu/Developer/PHP/Work/cmgd/mini-app/pages/login/index.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref","onLoad","onMounted","uni","login","res","navigateTo"],"mappings":";;;;;;;;;;;;;;;;;;;AAsCC,UAAM,OAAOA,cAAG,IAAC,EAAE;AACnB,UAAM,eAAeA,cAAG,IAAC,EAAE;AAC3BC,kBAAM,OAAC,CAAC,YAAY;AACnB,mBAAa,QAAQ,QAAQ;AAAA,IAC/B,CAAE;AACDC,kBAAAA,UAAU,MAAM;AACfC,oBAAAA,MAAI,MAAM;AAAA,QACT,UAAU;AAAA,QACV,QAAQ,KAAK;AACZ,cAAI,IAAI,WAAW,YAAY;AAC9B,iBAAK,QAAQ,IAAI;AAAA,UACjB;AAAA,QACD;AAAA,MACJ,CAAG;AAAA,IACH,CAAE;AACD,UAAM,cAAc,CAAC,QAAQ;AAC5B,UAAI,KAAK,UAAU,IAAI;AACtBA,sBAAAA,MAAI,UAAU;AAAA,UACb,MAAM;AAAA,UACN,OAAO;AAAA,QACX,CAAI;AACD;AAAA,MACA;AACDC,eAAAA,MAAM,KAAK,OAAO,KAAK,UAAU,IAAI,OAAO,QAAQ,CAAC,EAAE,KAAK,CAAAC,SAAO;AAClEF,sBAAAA,MAAA,MAAA,OAAA,+BAAYE,IAAG;AACfF,sBAAAA,MAAI,eAAe,SAASE,KAAI,KAAK;AACrCF,sBAAAA,MAAI,eAAe,OAAOE,KAAI,OAAO;AACrC,YAAGA,KAAI,eAAc;AACpBC,uBAAU,WAAC,iCAAiC;AAC5C;AAAA,QACA;AACDH,sBAAAA,MAAI,UAAU;AAAA,UACb,OAAO;AAAA,UACP,MAAM;AAAA,QACV,CAAI;AACD,YAAI,aAAa,UAAU,aAAa;AACvCG,uBAAU,WAAC,aAAa,KAAK;AAAA,QACjC,OAAU;AACNH,wBAAAA,MAAI,aAAc;AAAA,QAClB;AAAA,MACJ,CAAG;AAAA,IACD;;;;;;;;;;;;;;;;;;;;;;;;;;AC9EF,GAAG,WAAW,eAAe;"}

View File

@@ -1 +1 @@
{"version":3,"file":"phoneAuthorization.js","sources":["pages/login/phoneAuthorization.vue","pages/login/phoneAuthorization.vue?type=page"],"sourcesContent":["<template>\n\t<!-- <view class=\"content\">\n\t\t<view class=\"avatar\">\n\t\t\t<nut-avatar size=\"80\">\n\t\t\t\t<nut-icon size=\"30\" name=\"my\" />\n\t\t\t</nut-avatar>\n\t\t</view>\n\t\t<view class=\"divider\">\n\t\t</view>\n\t</view> -->\n\n\t<view class=\"tip-infos\">\n\t\t<text>申请获取以下权限</text>\n\t\t<text>获得你的手机号信息</text>\n\t</view>\n\t<view class=\"authorize-btn-inner\">\n\t\t<nut-button type=\"success\" size=\"large\" open-type=\"getPhoneNumber\" @getphonenumber=\"getPhoneNumber\">授权手机号</nut-button>\n\t</view>\n</template>\n\n<script setup>\n\timport {\n\t\tonMounted,\n\t\tref\n\t} from 'vue';\n\timport {\n\t\tlogin,\n\t\tfetchUserPhone\n\t} from '../../api/user';\n\timport {\n\t\tonLoad\n\t} from '@dcloudio/uni-app'\n\timport {\n\t\tnavigateTo\n\t} from '../../utils/helper';\n\tconst code = ref('')\n\tconst redirect_url = ref('')\n\tonLoad((options) => {\n\t\tredirect_url.value = options.redirect_url\n\t})\n\tonMounted(() => {\n\t\tuni.login({\n\t\t\tprovider: \"weixin\",\n\t\t\tsuccess(res) {\n\t\t\t\tif (res.errMsg === 'login:ok') {\n\t\t\t\t\tcode.value = res.code\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\t})\n\tconst getPhoneNumber = (res) => {\n\t\tif(res.detail.code){\n\t\t\tfetchUserPhone(res.detail.code).then(res=>{\n\t\t\t\tconsole.log(res);\n\t\t\t\tif(res.msg==='success' && res.code ===1){\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\tconsole.log(\"code\");\n\t\t\t\t\tuni.switchTab({\n\t\t\t\t\t\turl: '/pages/mine/index'\n\t\t\t\t\t})\n\t\t\t\t\t// uni.navigateBack()\n\t\t\t\t}else{\n\t\t\t\t\tuni.switchTab({\n\t\t\t\t\t\turl: '/pages/mine/index'\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t})\n\t\t}\n\t\t\n\t}\n</script>\n\n<style scoped lang=\"scss\">\n\t.divider {\n\t\theight: 1px;\n\t\tbackground: #eee;\n\t\twidth: 100%;\n\t}\n\n\t.content {\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t\tflex-direction: column;\n\t\tpadding: 25px 15px;\n\t\talign-items: center;\n\t\tgap: 20px;\n\t}\n\n\t.tip-infos {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tjustify-content: flex-start;\n\t\tpadding: 10px 25px;\n\t\tgap: 10px;\n\n\t\ttext:nth-child(2) {\n\t\t\tfont-size: 15px;\n\t\t\tcolor: #666;\n\t\t}\n\t}\n\n\t.authorize-btn-inner {\n\t\tpadding: 15px;\n\t}\n</style>","import MiniProgramPage from '/Users/iuu/Developer/PHP/Work/yuntaoji/yuntaoji-mini-app/pages/login/phoneAuthorization.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref","onLoad","onMounted","uni","fetchUserPhone","res"],"mappings":";;;;;;;;;;;;;;AAmCC,UAAM,OAAOA,cAAG,IAAC,EAAE;AACnB,UAAM,eAAeA,cAAG,IAAC,EAAE;AAC3BC,kBAAM,OAAC,CAAC,YAAY;AACnB,mBAAa,QAAQ,QAAQ;AAAA,IAC/B,CAAE;AACDC,kBAAAA,UAAU,MAAM;AACfC,oBAAAA,MAAI,MAAM;AAAA,QACT,UAAU;AAAA,QACV,QAAQ,KAAK;AACZ,cAAI,IAAI,WAAW,YAAY;AAC9B,iBAAK,QAAQ,IAAI;AAAA,UACjB;AAAA,QACD;AAAA,MACJ,CAAG;AAAA,IACH,CAAE;AACD,UAAM,iBAAiB,CAAC,QAAQ;AAC/B,UAAG,IAAI,OAAO,MAAK;AAClBC,iBAAc,eAAC,IAAI,OAAO,IAAI,EAAE,KAAK,CAAAC,SAAK;AACzCF,wBAAAA,MAAA,MAAA,OAAA,4CAAYE,IAAG;AACf,cAAGA,KAAI,QAAM,aAAaA,KAAI,SAAQ,GAAE;AACvCF,0BAAAA,MAAI,UAAU;AAAA,cACb,OAAO;AAAA,cACP,MAAM;AAAA,YACZ,CAAM;AACDA,0BAAAA,MAAY,MAAA,OAAA,4CAAA,MAAM;AAClBA,0BAAAA,MAAI,UAAU;AAAA,cACb,KAAK;AAAA,YACX,CAAM;AAAA,UAEN,OAAS;AACJA,0BAAAA,MAAI,UAAU;AAAA,cACb,KAAK;AAAA,YACX,CAAM;AAAA,UACD;AAAA,QACL,CAAI;AAAA,MACD;AAAA,IAED;;;;;;;;;;;;;;ACvEF,GAAG,WAAW,eAAe;"}
{"version":3,"file":"phoneAuthorization.js","sources":["pages/login/phoneAuthorization.vue","pages/login/phoneAuthorization.vue?type=page"],"sourcesContent":["<template>\n\t<!-- <view class=\"content\">\n\t\t<view class=\"avatar\">\n\t\t\t<nut-avatar size=\"80\">\n\t\t\t\t<nut-icon size=\"30\" name=\"my\" />\n\t\t\t</nut-avatar>\n\t\t</view>\n\t\t<view class=\"divider\">\n\t\t</view>\n\t</view> -->\n\n\t<view class=\"tip-infos\">\n\t\t<text>申请获取以下权限</text>\n\t\t<text>获得你的手机号信息</text>\n\t</view>\n\t<view class=\"authorize-btn-inner\">\n\t\t<nut-button type=\"success\" size=\"large\" open-type=\"getPhoneNumber\" @getphonenumber=\"getPhoneNumber\">授权手机号</nut-button>\n\t</view>\n</template>\n\n<script setup>\n\timport {\n\t\tonMounted,\n\t\tref\n\t} from 'vue';\n\timport {\n\t\tlogin,\n\t\tfetchUserPhone\n\t} from '../../api/user';\n\timport {\n\t\tonLoad\n\t} from '@dcloudio/uni-app'\n\timport {\n\t\tnavigateTo\n\t} from '../../utils/helper';\n\tconst code = ref('')\n\tconst redirect_url = ref('')\n\tonLoad((options) => {\n\t\tredirect_url.value = options.redirect_url\n\t})\n\tonMounted(() => {\n\t\tuni.login({\n\t\t\tprovider: \"weixin\",\n\t\t\tsuccess(res) {\n\t\t\t\tif (res.errMsg === 'login:ok') {\n\t\t\t\t\tcode.value = res.code\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\t})\n\tconst getPhoneNumber = (res) => {\n\t\tif(res.detail.code){\n\t\t\tfetchUserPhone(res.detail.code).then(res=>{\n\t\t\t\tconsole.log(res);\n\t\t\t\tif(res.msg==='success' && res.code ===1){\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\tconsole.log(\"code\");\n\t\t\t\t\tuni.switchTab({\n\t\t\t\t\t\turl: '/pages/mine/index'\n\t\t\t\t\t})\n\t\t\t\t\t// uni.navigateBack()\n\t\t\t\t}else{\n\t\t\t\t\tuni.switchTab({\n\t\t\t\t\t\turl: '/pages/mine/index'\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t})\n\t\t}\n\t\t\n\t}\n</script>\n\n<style scoped lang=\"scss\">\n\t.divider {\n\t\theight: 1px;\n\t\tbackground: #eee;\n\t\twidth: 100%;\n\t}\n\n\t.content {\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t\tflex-direction: column;\n\t\tpadding: 25px 15px;\n\t\talign-items: center;\n\t\tgap: 20px;\n\t}\n\n\t.tip-infos {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tjustify-content: flex-start;\n\t\tpadding: 10px 25px;\n\t\tgap: 10px;\n\n\t\ttext:nth-child(2) {\n\t\t\tfont-size: 15px;\n\t\t\tcolor: #666;\n\t\t}\n\t}\n\n\t.authorize-btn-inner {\n\t\tpadding: 15px;\n\t}\n</style>","import MiniProgramPage from '/Users/iuu/Developer/PHP/Work/cmgd/mini-app/pages/login/phoneAuthorization.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref","onLoad","onMounted","uni","fetchUserPhone","res"],"mappings":";;;;;;;;;;;;;;AAmCC,UAAM,OAAOA,cAAG,IAAC,EAAE;AACnB,UAAM,eAAeA,cAAG,IAAC,EAAE;AAC3BC,kBAAM,OAAC,CAAC,YAAY;AACnB,mBAAa,QAAQ,QAAQ;AAAA,IAC/B,CAAE;AACDC,kBAAAA,UAAU,MAAM;AACfC,oBAAAA,MAAI,MAAM;AAAA,QACT,UAAU;AAAA,QACV,QAAQ,KAAK;AACZ,cAAI,IAAI,WAAW,YAAY;AAC9B,iBAAK,QAAQ,IAAI;AAAA,UACjB;AAAA,QACD;AAAA,MACJ,CAAG;AAAA,IACH,CAAE;AACD,UAAM,iBAAiB,CAAC,QAAQ;AAC/B,UAAG,IAAI,OAAO,MAAK;AAClBC,iBAAc,eAAC,IAAI,OAAO,IAAI,EAAE,KAAK,CAAAC,SAAK;AACzCF,wBAAAA,MAAA,MAAA,OAAA,4CAAYE,IAAG;AACf,cAAGA,KAAI,QAAM,aAAaA,KAAI,SAAQ,GAAE;AACvCF,0BAAAA,MAAI,UAAU;AAAA,cACb,OAAO;AAAA,cACP,MAAM;AAAA,YACZ,CAAM;AACDA,0BAAAA,MAAY,MAAA,OAAA,4CAAA,MAAM;AAClBA,0BAAAA,MAAI,UAAU;AAAA,cACb,KAAK;AAAA,YACX,CAAM;AAAA,UAEN,OAAS;AACJA,0BAAAA,MAAI,UAAU;AAAA,cACb,KAAK;AAAA,YACX,CAAM;AAAA,UACD;AAAA,QACL,CAAI;AAAA,MACD;AAAA,IAED;;;;;;;;;;;;;;ACvEF,GAAG,WAAW,eAAe;"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"version":3,"file":"raf.js","sources":["uni_modules/nutui-uni/components/_utils/raf.ts"],"sourcesContent":["const _window = window as any\n\nexport const inBrowser = typeof window !== 'undefined'\n\nfunction requestAniFrame() {\n if (typeof _window !== 'undefined') {\n return (\n _window.requestAnimationFrame\n || _window.webkitRequestAnimationFrame\n || function (callback: () => void) {\n _window.setTimeout(callback, 1000 / 60)\n }\n )\n }\n else {\n return function (callback: () => void) {\n setTimeout(callback, 1000 / 60)\n }\n }\n}\n\nexport function cancelRaf(id: number) {\n if (inBrowser)\n cancelAnimationFrame(id)\n\n else\n clearTimeout(id)\n}\n\nexport default requestAniFrame()\n"],"names":[],"mappings":";AAAA,MAAM,UAAU;AAIhB,SAAS,kBAAkB;AACrB,MAAA,OAAO,YAAY,aAAa;AAClC,WACE,QAAQ,yBACL,QAAQ,+BACR,SAAU,UAAsB;AACzB,cAAA,WAAW,UAAU,MAAO,EAAE;AAAA,IAAA;AAAA,EACxC,OAGC;AACH,WAAO,SAAU,UAAsB;AAC1B,iBAAA,UAAU,MAAO,EAAE;AAAA,IAAA;AAAA,EAElC;AACF;AAUA,MAAA,oBAAe,gBAAgB;;"}
{"version":3,"file":"raf.js","sources":["uni_modules/nutui-uni/components/_utils/raf.ts"],"sourcesContent":["const _window = window as any\n\nexport const inBrowser = typeof window !== 'undefined'\n\nfunction requestAniFrame() {\n if (typeof _window !== 'undefined') {\n return (\n _window.requestAnimationFrame\n || _window.webkitRequestAnimationFrame\n || function (callback: () => void) {\n _window.setTimeout(callback, 1000 / 60)\n }\n )\n }\n else {\n return function (callback: () => void) {\n setTimeout(callback, 1000 / 60)\n }\n }\n}\n\nexport function cancelRaf(id: number) {\n if (inBrowser)\n cancelAnimationFrame(id)\n\n else\n clearTimeout(id)\n}\n\nexport default requestAniFrame()\n"],"names":[],"mappings":";AAAA,MAAM,UAAU;AAIhB,SAAS,kBAAkB;AACrB,MAAA,OAAO,YAAY,aAAa;AAClC,WACE,QAAQ,yBACL,QAAQ,+BACR,SAAU,UAAsB;AACzB,cAAA,WAAW,UAAU,MAAO,EAAE;AAAA,IAAA;AAAA,EACxC,OAGC;AACH,WAAO,SAAU,UAAsB;AAC1B,iBAAA,UAAU,MAAO,EAAE;AAAA,IAAA;AAAA,EAElC;AACF;AAUA,MAAA,MAAe,gBAAgB;;"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"version":3,"file":"cellgroup.js","sources":["uni_modules/nutui-uni/components/cellgroup/cellgroup.ts","uni_modules/nutui-uni/components/cellgroup/cellgroup.vue","/Users/iuu/Developer/PHP/Work/yuntaoji/yuntaoji-mini-app/uni_modules/nutui-uni/components/cellgroup/cellgroup.vue?type=component"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport { commonProps } from '../_utils'\n\nexport const cellgroupProps = {\n ...commonProps,\n /**\n * @description 标题名称\n */\n title: String,\n /**\n * @description 右侧描述\n */\n desc: String,\n}\n\nexport type CellGroupProps = ExtractPropTypes<typeof cellgroupProps>\n","<script lang=\"ts\" setup>\nimport { computed, defineComponent, useSlots } from 'vue'\nimport { PREFIX } from '../_constants'\nimport { getMainClass } from '../_utils'\nimport { cellgroupProps } from './cellgroup'\n\nconst props = defineProps(cellgroupProps)\n\nconst slots = useSlots()\n\nconst classes = computed(() => {\n return getMainClass(props, componentName)\n})\n</script>\n\n<script lang=\"ts\">\nconst componentName = `${PREFIX}-cell-group`\n\nexport default defineComponent({\n name: componentName,\n options: {\n virtualHost: true,\n addGlobalClass: true,\n\n styleIsolation: 'shared',\n\n },\n})\n</script>\n\n<template>\n <view :class=\"classes\" :style=\"props.customStyle\">\n <slot v-if=\"slots.title\" name=\"title\" />\n\n <template v-else>\n <view v-if=\"props.title\" class=\"nut-cell-group__title\">\n {{ props.title }}\n </view>\n </template>\n\n <slot v-if=\"slots.desc\" name=\"desc\" />\n\n <template v-else>\n <view v-if=\"props.desc\" class=\"nut-cell-group__desc\">\n {{ props.desc }}\n </view>\n </template>\n\n <view class=\"nut-cell-group__wrap\">\n <slot />\n </view>\n </view>\n</template>\n\n<style lang=\"scss\">\n@import \"./index\";\n</style>\n","import Component from '/Users/iuu/Developer/PHP/Work/yuntaoji/yuntaoji-mini-app/uni_modules/nutui-uni/components/cellgroup/cellgroup.vue'\nwx.createComponent(Component)"],"names":["commonProps","PREFIX","defineComponent","useSlots","computed","getMainClass","Component"],"mappings":";;;;;;AAGO,MAAM,iBAAiB;AAAA,EAC5B,GAAGA,6CAAA;AAAA;AAAA;AAAA;AAAA,EAIH,OAAO;AAAA;AAAA;AAAA;AAAA,EAIP,MAAM;AACR;ACGA,MAAM,gBAAgB,GAAGC,wDAAM;AAE/B,MAAA,cAAeC,cAAAA,gBAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,SAAS;AAAA,IACP,aAAa;AAAA,IACb,gBAAgB;AAAA,IAEhB,gBAAgB;AAAA,EAElB;AACF,CAAC;;;;;AArBD,UAAM,QAAQ;AAEd,UAAM,QAAQC,cAAAA;AAER,UAAA,UAAUC,cAAAA,SAAS,MAAM;AACtB,aAAAC,6CAAA,aAAa,OAAO,aAAa;AAAA,IAAA,CACzC;;;;;;;;;;;;;;;;;;;;;ACXD,GAAG,gBAAgBC,SAAS;"}
{"version":3,"file":"cellgroup.js","sources":["uni_modules/nutui-uni/components/cellgroup/cellgroup.ts","uni_modules/nutui-uni/components/cellgroup/cellgroup.vue","/Users/iuu/Developer/PHP/Work/cmgd/mini-app/uni_modules/nutui-uni/components/cellgroup/cellgroup.vue?type=component"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport { commonProps } from '../_utils'\n\nexport const cellgroupProps = {\n ...commonProps,\n /**\n * @description 标题名称\n */\n title: String,\n /**\n * @description 右侧描述\n */\n desc: String,\n}\n\nexport type CellGroupProps = ExtractPropTypes<typeof cellgroupProps>\n","<script lang=\"ts\" setup>\nimport { computed, defineComponent, useSlots } from 'vue'\nimport { PREFIX } from '../_constants'\nimport { getMainClass } from '../_utils'\nimport { cellgroupProps } from './cellgroup'\n\nconst props = defineProps(cellgroupProps)\n\nconst slots = useSlots()\n\nconst classes = computed(() => {\n return getMainClass(props, componentName)\n})\n</script>\n\n<script lang=\"ts\">\nconst componentName = `${PREFIX}-cell-group`\n\nexport default defineComponent({\n name: componentName,\n options: {\n virtualHost: true,\n addGlobalClass: true,\n\n styleIsolation: 'shared',\n\n },\n})\n</script>\n\n<template>\n <view :class=\"classes\" :style=\"props.customStyle\">\n <slot v-if=\"slots.title\" name=\"title\" />\n\n <template v-else>\n <view v-if=\"props.title\" class=\"nut-cell-group__title\">\n {{ props.title }}\n </view>\n </template>\n\n <slot v-if=\"slots.desc\" name=\"desc\" />\n\n <template v-else>\n <view v-if=\"props.desc\" class=\"nut-cell-group__desc\">\n {{ props.desc }}\n </view>\n </template>\n\n <view class=\"nut-cell-group__wrap\">\n <slot />\n </view>\n </view>\n</template>\n\n<style lang=\"scss\">\n@import \"./index\";\n</style>\n","import Component from '/Users/iuu/Developer/PHP/Work/cmgd/mini-app/uni_modules/nutui-uni/components/cellgroup/cellgroup.vue'\nwx.createComponent(Component)"],"names":["commonProps","PREFIX","defineComponent","useSlots","computed","getMainClass","Component"],"mappings":";;;;;;AAGO,MAAM,iBAAiB;AAAA,EAC5B,GAAGA,6CAAA;AAAA;AAAA;AAAA;AAAA,EAIH,OAAO;AAAA;AAAA;AAAA;AAAA,EAIP,MAAM;AACR;ACGA,MAAM,gBAAgB,GAAGC,wDAAM;AAE/B,MAAA,cAAeC,cAAAA,gBAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,SAAS;AAAA,IACP,aAAa;AAAA,IACb,gBAAgB;AAAA,IAEhB,gBAAgB;AAAA,EAElB;AACF,CAAC;;;;;AArBD,UAAM,QAAQ;AAEd,UAAM,QAAQC,cAAAA;AAER,UAAA,UAAUC,cAAAA,SAAS,MAAM;AACtB,aAAAC,6CAAA,aAAa,OAAO,aAAa;AAAA,IAAA,CACzC;;;;;;;;;;;;;;;;;;;;;ACXD,GAAG,gBAAgBC,SAAS;"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"version":3,"file":"grid.js","sources":["uni_modules/nutui-uni/components/grid/grid.vue","/Users/iuu/Developer/PHP/Work/yuntaoji/yuntaoji-mini-app/uni_modules/nutui-uni/components/grid/grid.vue?type=component"],"sourcesContent":["<script setup lang=\"ts\">\nimport type { CSSProperties } from 'vue'\nimport { computed, defineComponent } from 'vue'\nimport { PREFIX } from '../_constants'\nimport { useProvide } from '../_hooks'\nimport { getMainClass, getMainStyle, pxCheck } from '../_utils'\nimport { GRID_KEY, gridProps } from './grid'\n\nconst props = defineProps(gridProps)\n\nconst componentName = `${PREFIX}-grid`\n\nuseProvide(GRID_KEY, `${componentName}-item`)({ props })\n\nconst classes = computed(() => {\n return getMainClass(props, componentName, {\n [`${componentName}--border`]: props.border && !props.gutter,\n })\n})\n\nconst styles = computed(() => {\n const style: CSSProperties = {}\n if (props.gutter)\n style.paddingLeft = pxCheck(props.gutter)\n\n return getMainStyle(props, style)\n})\n</script>\n\n<script lang=\"ts\">\nexport default defineComponent({\n name: 'NutGrid',\n options: {\n virtualHost: true,\n addGlobalClass: true,\n styleIsolation: 'shared',\n },\n})\n</script>\n\n<template>\n <view :class=\"classes\" :style=\"styles\">\n <slot />\n </view>\n</template>\n\n<style lang=\"scss\">\n@import './index';\n</style>\n","import Component from '/Users/iuu/Developer/PHP/Work/yuntaoji/yuntaoji-mini-app/uni_modules/nutui-uni/components/grid/grid.vue'\nwx.createComponent(Component)"],"names":["defineComponent","PREFIX","useProvide","GRID_KEY","computed","getMainClass","pxCheck","getMainStyle","Component"],"mappings":";;;;;;;;AA8BA,MAAA,cAAeA,cAAAA,gBAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,SAAS;AAAA,IACP,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,gBAAgB;AAAA,EAClB;AACF,CAAC;;;;;AA7BD,UAAM,QAAQ;AAER,UAAA,gBAAgB,GAAGC,kDAAM,MAAA;AAE/BC,iEAAWC,2CAAAA,UAAU,GAAG,aAAa,OAAO,EAAE,EAAE,OAAO;AAEjD,UAAA,UAAUC,cAAAA,SAAS,MAAM;AACtB,aAAAC,6CAAA,aAAa,OAAO,eAAe;AAAA,QACxC,CAAC,GAAG,aAAa,UAAU,GAAG,MAAM,UAAU,CAAC,MAAM;AAAA,MAAA,CACtD;AAAA,IAAA,CACF;AAEK,UAAA,SAASD,cAAAA,SAAS,MAAM;AAC5B,YAAM,QAAuB,CAAA;AAC7B,UAAI,MAAM;AACF,cAAA,cAAcE,+CAAAA,QAAQ,MAAM,MAAM;AAEnC,aAAAC,6CAAA,aAAa,OAAO,KAAK;AAAA,IAAA,CACjC;;;;;;;;;ACzBD,GAAG,gBAAgBC,SAAS;"}
{"version":3,"file":"grid.js","sources":["uni_modules/nutui-uni/components/grid/grid.vue","/Users/iuu/Developer/PHP/Work/cmgd/mini-app/uni_modules/nutui-uni/components/grid/grid.vue?type=component"],"sourcesContent":["<script setup lang=\"ts\">\nimport type { CSSProperties } from 'vue'\nimport { computed, defineComponent } from 'vue'\nimport { PREFIX } from '../_constants'\nimport { useProvide } from '../_hooks'\nimport { getMainClass, getMainStyle, pxCheck } from '../_utils'\nimport { GRID_KEY, gridProps } from './grid'\n\nconst props = defineProps(gridProps)\n\nconst componentName = `${PREFIX}-grid`\n\nuseProvide(GRID_KEY, `${componentName}-item`)({ props })\n\nconst classes = computed(() => {\n return getMainClass(props, componentName, {\n [`${componentName}--border`]: props.border && !props.gutter,\n })\n})\n\nconst styles = computed(() => {\n const style: CSSProperties = {}\n if (props.gutter)\n style.paddingLeft = pxCheck(props.gutter)\n\n return getMainStyle(props, style)\n})\n</script>\n\n<script lang=\"ts\">\nexport default defineComponent({\n name: 'NutGrid',\n options: {\n virtualHost: true,\n addGlobalClass: true,\n styleIsolation: 'shared',\n },\n})\n</script>\n\n<template>\n <view :class=\"classes\" :style=\"styles\">\n <slot />\n </view>\n</template>\n\n<style lang=\"scss\">\n@import './index';\n</style>\n","import Component from '/Users/iuu/Developer/PHP/Work/cmgd/mini-app/uni_modules/nutui-uni/components/grid/grid.vue'\nwx.createComponent(Component)"],"names":["defineComponent","PREFIX","useProvide","GRID_KEY","computed","getMainClass","pxCheck","getMainStyle","Component"],"mappings":";;;;;;;;AA8BA,MAAA,cAAeA,cAAAA,gBAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,SAAS;AAAA,IACP,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,gBAAgB;AAAA,EAClB;AACF,CAAC;;;;;AA7BD,UAAM,QAAQ;AAER,UAAA,gBAAgB,GAAGC,kDAAM,MAAA;AAE/BC,iEAAWC,2CAAAA,UAAU,GAAG,aAAa,OAAO,EAAE,EAAE,OAAO;AAEjD,UAAA,UAAUC,cAAAA,SAAS,MAAM;AACtB,aAAAC,6CAAA,aAAa,OAAO,eAAe;AAAA,QACxC,CAAC,GAAG,aAAa,UAAU,GAAG,MAAM,UAAU,CAAC,MAAM;AAAA,MAAA,CACtD;AAAA,IAAA,CACF;AAEK,UAAA,SAASD,cAAAA,SAAS,MAAM;AAC5B,YAAM,QAAuB,CAAA;AAC7B,UAAI,MAAM;AACF,cAAA,cAAcE,+CAAAA,QAAQ,MAAM,MAAM;AAEnC,aAAAC,6CAAA,aAAa,OAAO,KAAK;AAAA,IAAA,CACjC;;;;;;;;;ACzBD,GAAG,gBAAgBC,SAAS;"}

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"version":3,"file":"icon.js","sources":["uni_modules/nutui-uni/components/icon/icon.ts","uni_modules/nutui-uni/components/icon/icon.vue","/Users/iuu/Developer/PHP/Work/yuntaoji/yuntaoji-mini-app/uni_modules/nutui-uni/components/icon/icon.vue?type=component"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport { CLICK_EVENT } from '../_constants'\nimport { commonProps, makeNumericProp, makeStringProp } from '../_utils'\n\nexport const iconProps = {\n ...commonProps,\n popClass: { type: String, default: '' },\n /**\n * @description 图标宽度\n */\n width: makeNumericProp(''),\n /**\n * @description 图标高度\n */\n height: makeNumericProp(''),\n /**\n * @description 图标名称\n */\n name: makeStringProp(''),\n /**\n * @description 图标大小\n */\n size: makeNumericProp(''),\n /**\n * @description 自定义 `icon` 类名前缀,用于使用自定义图标\n */\n classPrefix: { type: String, default: 'nut-icon' },\n /**\n * @description 自定义 `icon` 字体基础类名\n */\n fontClassName: { type: String, default: 'nutui-iconfont' },\n /**\n * @description 图标颜色\n */\n customColor: { type: String, default: '' },\n}\n\nexport type IconProps = ExtractPropTypes<typeof iconProps>\n\nexport const iconEmits = {\n [CLICK_EVENT]: (evt: Event) => evt instanceof Object,\n}\n\nexport type IconEmits = typeof iconEmits\n","<script setup lang=\"ts\">\nimport { computed, defineComponent } from 'vue'\nimport { CLICK_EVENT, PREFIX } from '../_constants'\nimport { getMainClass, getMainStyle, pxCheck } from '../_utils'\nimport { iconEmits, iconProps } from './icon'\n\nconst props = defineProps(iconProps)\nconst emits = defineEmits(iconEmits)\n\nfunction handleClick(event: unknown) {\n emits(CLICK_EVENT, event as Event)\n}\n\nconst isImage = computed(() => {\n return props.name ? props.name.includes('/') : false\n})\n\nconst classes = computed(() => {\n const obj: Record<string, boolean> = {}\n if (isImage.value) {\n obj[`${componentName}__img`] = true\n }\n else {\n obj[props.fontClassName] = true\n obj[`${props.classPrefix}-${props.name}`] = true\n obj[props.popClass] = true\n }\n return getMainClass(props, componentName, obj)\n})\n\nconst getStyle = computed(() => {\n const style = {\n color: props.customColor,\n fontSize: pxCheck(props.size),\n width: pxCheck(props.width),\n height: pxCheck(props.height),\n }\n return getMainStyle(props, style)\n})\n</script>\n\n<script lang=\"ts\">\nconst componentName = `${PREFIX}-icon`\n\nexport default defineComponent({\n name: componentName,\n options: {\n virtualHost: true,\n addGlobalClass: true,\n styleIsolation: 'shared',\n },\n})\n</script>\n\n<template>\n <image\n v-if=\"isImage\"\n :class=\"classes\"\n :style=\"getStyle\"\n :src=\"name\"\n @click=\"handleClick\"\n />\n <text\n v-else\n :class=\"classes\"\n :style=\"getStyle\"\n @click=\"handleClick\"\n />\n</template>\n\n<style lang=\"scss\">\n@import './index';\n</style>\n","import Component from '/Users/iuu/Developer/PHP/Work/yuntaoji/yuntaoji-mini-app/uni_modules/nutui-uni/components/icon/icon.vue'\nwx.createComponent(Component)"],"names":["commonProps","makeNumericProp","makeStringProp","CLICK_EVENT","PREFIX","defineComponent","computed","getMainClass","pxCheck","getMainStyle","Component"],"mappings":";;;;;;;;AAIO,MAAM,YAAY;AAAA,EACvB,GAAGA,6CAAA;AAAA,EACH,UAAU,EAAE,MAAM,QAAQ,SAAS,GAAG;AAAA;AAAA;AAAA;AAAA,EAItC,OAAOC,6DAAgB,EAAE;AAAA;AAAA;AAAA;AAAA,EAIzB,QAAQA,6DAAgB,EAAE;AAAA;AAAA;AAAA;AAAA,EAI1B,MAAMC,4DAAe,EAAE;AAAA;AAAA;AAAA;AAAA,EAIvB,MAAMD,6DAAgB,EAAE;AAAA;AAAA;AAAA;AAAA,EAIxB,aAAa,EAAE,MAAM,QAAQ,SAAS,WAAW;AAAA;AAAA;AAAA;AAAA,EAIjD,eAAe,EAAE,MAAM,QAAQ,SAAS,iBAAiB;AAAA;AAAA;AAAA;AAAA,EAIzD,aAAa,EAAE,MAAM,QAAQ,SAAS,GAAG;AAC3C;AAIO,MAAM,YAAY;AAAA,EACvB,CAACE,4DAAW,GAAG,CAAC,QAAe,eAAe;AAChD;ACCA,MAAM,gBAAgB,GAAGC,wDAAM;AAE/B,MAAA,cAAeC,cAAAA,gBAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,SAAS;AAAA,IACP,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,gBAAgB;AAAA,EAClB;AACF,CAAC;;;;;;AA7CD,UAAM,QAAQ;AACd,UAAM,QAAQ;AAEd,aAAS,YAAY,OAAgB;AACnC,YAAMF,iDAAAA,aAAa,KAAc;AAAA,IACnC;AAEM,UAAA,UAAUG,cAAAA,SAAS,MAAM;AAC7B,aAAO,MAAM,OAAO,MAAM,KAAK,SAAS,GAAG,IAAI;AAAA,IAAA,CAChD;AAEK,UAAA,UAAUA,cAAAA,SAAS,MAAM;AAC7B,YAAM,MAA+B,CAAA;AACrC,UAAI,QAAQ,OAAO;AACb,YAAA,GAAG,aAAa,OAAO,IAAI;AAAA,MAAA,OAE5B;AACC,YAAA,MAAM,aAAa,IAAI;AAC3B,YAAI,GAAG,MAAM,WAAW,IAAI,MAAM,IAAI,EAAE,IAAI;AACxC,YAAA,MAAM,QAAQ,IAAI;AAAA,MACxB;AACO,aAAAC,0DAAa,OAAO,eAAe,GAAG;AAAA,IAAA,CAC9C;AAEK,UAAA,WAAWD,cAAAA,SAAS,MAAM;AAC9B,YAAM,QAAQ;AAAA,QACZ,OAAO,MAAM;AAAA,QACb,UAAUE,+CAAAA,QAAQ,MAAM,IAAI;AAAA,QAC5B,OAAOA,+CAAAA,QAAQ,MAAM,KAAK;AAAA,QAC1B,QAAQA,+CAAAA,QAAQ,MAAM,MAAM;AAAA,MAAA;AAEvB,aAAAC,6CAAA,aAAa,OAAO,KAAK;AAAA,IAAA,CACjC;;;;;;;;;;;;;;;;;ACrCD,GAAG,gBAAgBC,SAAS;"}
{"version":3,"file":"icon.js","sources":["uni_modules/nutui-uni/components/icon/icon.ts","uni_modules/nutui-uni/components/icon/icon.vue","/Users/iuu/Developer/PHP/Work/cmgd/mini-app/uni_modules/nutui-uni/components/icon/icon.vue?type=component"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport { CLICK_EVENT } from '../_constants'\nimport { commonProps, makeNumericProp, makeStringProp } from '../_utils'\n\nexport const iconProps = {\n ...commonProps,\n popClass: { type: String, default: '' },\n /**\n * @description 图标宽度\n */\n width: makeNumericProp(''),\n /**\n * @description 图标高度\n */\n height: makeNumericProp(''),\n /**\n * @description 图标名称\n */\n name: makeStringProp(''),\n /**\n * @description 图标大小\n */\n size: makeNumericProp(''),\n /**\n * @description 自定义 `icon` 类名前缀,用于使用自定义图标\n */\n classPrefix: { type: String, default: 'nut-icon' },\n /**\n * @description 自定义 `icon` 字体基础类名\n */\n fontClassName: { type: String, default: 'nutui-iconfont' },\n /**\n * @description 图标颜色\n */\n customColor: { type: String, default: '' },\n}\n\nexport type IconProps = ExtractPropTypes<typeof iconProps>\n\nexport const iconEmits = {\n [CLICK_EVENT]: (evt: Event) => evt instanceof Object,\n}\n\nexport type IconEmits = typeof iconEmits\n","<script setup lang=\"ts\">\nimport { computed, defineComponent } from 'vue'\nimport { CLICK_EVENT, PREFIX } from '../_constants'\nimport { getMainClass, getMainStyle, pxCheck } from '../_utils'\nimport { iconEmits, iconProps } from './icon'\n\nconst props = defineProps(iconProps)\nconst emits = defineEmits(iconEmits)\n\nfunction handleClick(event: unknown) {\n emits(CLICK_EVENT, event as Event)\n}\n\nconst isImage = computed(() => {\n return props.name ? props.name.includes('/') : false\n})\n\nconst classes = computed(() => {\n const obj: Record<string, boolean> = {}\n if (isImage.value) {\n obj[`${componentName}__img`] = true\n }\n else {\n obj[props.fontClassName] = true\n obj[`${props.classPrefix}-${props.name}`] = true\n obj[props.popClass] = true\n }\n return getMainClass(props, componentName, obj)\n})\n\nconst getStyle = computed(() => {\n const style = {\n color: props.customColor,\n fontSize: pxCheck(props.size),\n width: pxCheck(props.width),\n height: pxCheck(props.height),\n }\n return getMainStyle(props, style)\n})\n</script>\n\n<script lang=\"ts\">\nconst componentName = `${PREFIX}-icon`\n\nexport default defineComponent({\n name: componentName,\n options: {\n virtualHost: true,\n addGlobalClass: true,\n styleIsolation: 'shared',\n },\n})\n</script>\n\n<template>\n <image\n v-if=\"isImage\"\n :class=\"classes\"\n :style=\"getStyle\"\n :src=\"name\"\n @click=\"handleClick\"\n />\n <text\n v-else\n :class=\"classes\"\n :style=\"getStyle\"\n @click=\"handleClick\"\n />\n</template>\n\n<style lang=\"scss\">\n@import './index';\n</style>\n","import Component from '/Users/iuu/Developer/PHP/Work/cmgd/mini-app/uni_modules/nutui-uni/components/icon/icon.vue'\nwx.createComponent(Component)"],"names":["commonProps","makeNumericProp","makeStringProp","CLICK_EVENT","PREFIX","defineComponent","computed","getMainClass","pxCheck","getMainStyle","Component"],"mappings":";;;;;;;;AAIO,MAAM,YAAY;AAAA,EACvB,GAAGA,6CAAA;AAAA,EACH,UAAU,EAAE,MAAM,QAAQ,SAAS,GAAG;AAAA;AAAA;AAAA;AAAA,EAItC,OAAOC,6DAAgB,EAAE;AAAA;AAAA;AAAA;AAAA,EAIzB,QAAQA,6DAAgB,EAAE;AAAA;AAAA;AAAA;AAAA,EAI1B,MAAMC,4DAAe,EAAE;AAAA;AAAA;AAAA;AAAA,EAIvB,MAAMD,6DAAgB,EAAE;AAAA;AAAA;AAAA;AAAA,EAIxB,aAAa,EAAE,MAAM,QAAQ,SAAS,WAAW;AAAA;AAAA;AAAA;AAAA,EAIjD,eAAe,EAAE,MAAM,QAAQ,SAAS,iBAAiB;AAAA;AAAA;AAAA;AAAA,EAIzD,aAAa,EAAE,MAAM,QAAQ,SAAS,GAAG;AAC3C;AAIO,MAAM,YAAY;AAAA,EACvB,CAACE,4DAAW,GAAG,CAAC,QAAe,eAAe;AAChD;ACCA,MAAM,gBAAgB,GAAGC,wDAAM;AAE/B,MAAA,cAAeC,cAAAA,gBAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,SAAS;AAAA,IACP,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,gBAAgB;AAAA,EAClB;AACF,CAAC;;;;;;AA7CD,UAAM,QAAQ;AACd,UAAM,QAAQ;AAEd,aAAS,YAAY,OAAgB;AACnC,YAAMF,iDAAAA,aAAa,KAAc;AAAA,IACnC;AAEM,UAAA,UAAUG,cAAAA,SAAS,MAAM;AAC7B,aAAO,MAAM,OAAO,MAAM,KAAK,SAAS,GAAG,IAAI;AAAA,IAAA,CAChD;AAEK,UAAA,UAAUA,cAAAA,SAAS,MAAM;AAC7B,YAAM,MAA+B,CAAA;AACrC,UAAI,QAAQ,OAAO;AACb,YAAA,GAAG,aAAa,OAAO,IAAI;AAAA,MAAA,OAE5B;AACC,YAAA,MAAM,aAAa,IAAI;AAC3B,YAAI,GAAG,MAAM,WAAW,IAAI,MAAM,IAAI,EAAE,IAAI;AACxC,YAAA,MAAM,QAAQ,IAAI;AAAA,MACxB;AACO,aAAAC,0DAAa,OAAO,eAAe,GAAG;AAAA,IAAA,CAC9C;AAEK,UAAA,WAAWD,cAAAA,SAAS,MAAM;AAC9B,YAAM,QAAQ;AAAA,QACZ,OAAO,MAAM;AAAA,QACb,UAAUE,+CAAAA,QAAQ,MAAM,IAAI;AAAA,QAC5B,OAAOA,+CAAAA,QAAQ,MAAM,KAAK;AAAA,QAC1B,QAAQA,+CAAAA,QAAQ,MAAM,MAAM;AAAA,MAAA;AAEvB,aAAAC,6CAAA,aAAa,OAAO,KAAK;AAAA,IAAA,CACjC;;;;;;;;;;;;;;;;;ACrCD,GAAG,gBAAgBC,SAAS;"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"version":3,"file":"overlay.js","sources":["uni_modules/nutui-uni/components/overlay/overlay.vue","/Users/iuu/Developer/PHP/Work/yuntaoji/yuntaoji-mini-app/uni_modules/nutui-uni/components/overlay/overlay.vue?type=component"],"sourcesContent":["<script setup lang=\"ts\">\nimport { computed, defineComponent, watchEffect } from 'vue'\nimport { CLICK_EVENT, PREFIX, UPDATE_VISIBLE_EVENT } from '../_constants'\nimport { useLockScroll } from '../_hooks'\nimport { getMainClass, getMainStyle } from '../_utils'\nimport NutTransition from '../transition/transition.vue'\nimport { overlayEmits, overlayProps } from './overlay'\n\nconst props = defineProps(overlayProps)\n\nconst emit = defineEmits(overlayEmits)\n\nconst classes = computed(() => {\n return getMainClass(props, componentName, {\n [props.overlayClass]: true,\n })\n})\n\nconst innerDuration = computed(() => {\n if (typeof props.duration === 'number')\n return props.duration\n\n return Number(props.duration)\n})\n\nconst styles = computed(() => {\n return getMainStyle(props, {\n transitionDuration: `${innerDuration.value}ms`,\n zIndex: props.zIndex,\n ...props.overlayStyle,\n })\n})\n\nfunction onClick(event: any) {\n emit(CLICK_EVENT, event)\n\n if (props.closeOnClickOverlay)\n emit(UPDATE_VISIBLE_EVENT, false)\n}\n\n\n\n\n\n\n\n\n\n\n\n</script>\n\n<script lang=\"ts\">\nconst componentName = `${PREFIX}-overlay`\n\nexport default defineComponent({\n name: componentName,\n options: {\n virtualHost: true,\n addGlobalClass: true,\n styleIsolation: 'shared',\n },\n})\n</script>\n\n<template>\n <NutTransition\n :custom-class=\"classes\"\n :custom-style=\"styles\"\n :show=\"props.visible\"\n name=\"fade\"\n :duration=\"innerDuration\"\n :destroy-on-close=\"props.destroyOnClose\"\n @click=\"onClick\"\n >\n <slot />\n </NutTransition>\n</template>\n\n<style lang=\"scss\">\n@import \"./index\";\n</style>\n","import Component from '/Users/iuu/Developer/PHP/Work/yuntaoji/yuntaoji-mini-app/uni_modules/nutui-uni/components/overlay/overlay.vue'\nwx.createComponent(Component)"],"names":["PREFIX","defineComponent","computed","getMainClass","getMainStyle","CLICK_EVENT","UPDATE_VISIBLE_EVENT","Component"],"mappings":";;;;;;;;;;AAKA,MAAA,gBAA0B,MAAA;AAgD1B,MAAM,gBAAgB,GAAGA,wDAAM;AAE/B,MAAA,cAAeC,cAAAA,gBAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,SAAS;AAAA,IACP,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,gBAAgB;AAAA,EAClB;AACF,CAAC;;;;;;AAtDD,UAAM,QAAQ;AAEd,UAAM,OAAO;AAEP,UAAA,UAAUC,cAAAA,SAAS,MAAM;AACtB,aAAAC,6CAAA,aAAa,OAAO,eAAe;AAAA,QACxC,CAAC,MAAM,YAAY,GAAG;AAAA,MAAA,CACvB;AAAA,IAAA,CACF;AAEK,UAAA,gBAAgBD,cAAAA,SAAS,MAAM;AAC/B,UAAA,OAAO,MAAM,aAAa;AAC5B,eAAO,MAAM;AAER,aAAA,OAAO,MAAM,QAAQ;AAAA,IAAA,CAC7B;AAEK,UAAA,SAASA,cAAAA,SAAS,MAAM;AAC5B,aAAOE,6CAAAA,aAAa,OAAO;AAAA,QACzB,oBAAoB,GAAG,cAAc,KAAK;AAAA,QAC1C,QAAQ,MAAM;AAAA,QACd,GAAG,MAAM;AAAA,MAAA,CACV;AAAA,IAAA,CACF;AAED,aAAS,QAAQ,OAAY;AAC3B,WAAKC,iDAAAA,aAAa,KAAK;AAEvB,UAAI,MAAM;AACR,aAAKC,iDAAAA,sBAAsB,KAAK;AAAA,IACpC;;;;;;;;;;;;;;;;ACrCA,GAAG,gBAAgBC,SAAS;"}
{"version":3,"file":"overlay.js","sources":["uni_modules/nutui-uni/components/overlay/overlay.vue","/Users/iuu/Developer/PHP/Work/cmgd/mini-app/uni_modules/nutui-uni/components/overlay/overlay.vue?type=component"],"sourcesContent":["<script setup lang=\"ts\">\nimport { computed, defineComponent, watchEffect } from 'vue'\nimport { CLICK_EVENT, PREFIX, UPDATE_VISIBLE_EVENT } from '../_constants'\nimport { useLockScroll } from '../_hooks'\nimport { getMainClass, getMainStyle } from '../_utils'\nimport NutTransition from '../transition/transition.vue'\nimport { overlayEmits, overlayProps } from './overlay'\n\nconst props = defineProps(overlayProps)\n\nconst emit = defineEmits(overlayEmits)\n\nconst classes = computed(() => {\n return getMainClass(props, componentName, {\n [props.overlayClass]: true,\n })\n})\n\nconst innerDuration = computed(() => {\n if (typeof props.duration === 'number')\n return props.duration\n\n return Number(props.duration)\n})\n\nconst styles = computed(() => {\n return getMainStyle(props, {\n transitionDuration: `${innerDuration.value}ms`,\n zIndex: props.zIndex,\n ...props.overlayStyle,\n })\n})\n\nfunction onClick(event: any) {\n emit(CLICK_EVENT, event)\n\n if (props.closeOnClickOverlay)\n emit(UPDATE_VISIBLE_EVENT, false)\n}\n\n\n\n\n\n\n\n\n\n\n\n</script>\n\n<script lang=\"ts\">\nconst componentName = `${PREFIX}-overlay`\n\nexport default defineComponent({\n name: componentName,\n options: {\n virtualHost: true,\n addGlobalClass: true,\n styleIsolation: 'shared',\n },\n})\n</script>\n\n<template>\n <NutTransition\n :custom-class=\"classes\"\n :custom-style=\"styles\"\n :show=\"props.visible\"\n name=\"fade\"\n :duration=\"innerDuration\"\n :destroy-on-close=\"props.destroyOnClose\"\n @click=\"onClick\"\n >\n <slot />\n </NutTransition>\n</template>\n\n<style lang=\"scss\">\n@import \"./index\";\n</style>\n","import Component from '/Users/iuu/Developer/PHP/Work/cmgd/mini-app/uni_modules/nutui-uni/components/overlay/overlay.vue'\nwx.createComponent(Component)"],"names":["PREFIX","defineComponent","computed","getMainClass","getMainStyle","CLICK_EVENT","UPDATE_VISIBLE_EVENT","Component"],"mappings":";;;;;;;;;;AAKA,MAAA,gBAA0B,MAAA;AAgD1B,MAAM,gBAAgB,GAAGA,wDAAM;AAE/B,MAAA,cAAeC,cAAAA,gBAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,SAAS;AAAA,IACP,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,gBAAgB;AAAA,EAClB;AACF,CAAC;;;;;;AAtDD,UAAM,QAAQ;AAEd,UAAM,OAAO;AAEP,UAAA,UAAUC,cAAAA,SAAS,MAAM;AACtB,aAAAC,6CAAA,aAAa,OAAO,eAAe;AAAA,QACxC,CAAC,MAAM,YAAY,GAAG;AAAA,MAAA,CACvB;AAAA,IAAA,CACF;AAEK,UAAA,gBAAgBD,cAAAA,SAAS,MAAM;AAC/B,UAAA,OAAO,MAAM,aAAa;AAC5B,eAAO,MAAM;AAER,aAAA,OAAO,MAAM,QAAQ;AAAA,IAAA,CAC7B;AAEK,UAAA,SAASA,cAAAA,SAAS,MAAM;AAC5B,aAAOE,6CAAAA,aAAa,OAAO;AAAA,QACzB,oBAAoB,GAAG,cAAc,KAAK;AAAA,QAC1C,QAAQ,MAAM;AAAA,QACd,GAAG,MAAM;AAAA,MAAA,CACV;AAAA,IAAA,CACF;AAED,aAAS,QAAQ,OAAY;AAC3B,WAAKC,iDAAAA,aAAa,KAAK;AAEvB,UAAI,MAAM;AACR,aAAKC,iDAAAA,sBAAsB,KAAK;AAAA,IACpC;;;;;;;;;;;;;;;;ACrCA,GAAG,gBAAgBC,SAAS;"}

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"version":3,"file":"popup.js","sources":["uni_modules/nutui-uni/components/popup/popup.vue","/Users/iuu/Developer/PHP/Work/yuntaoji/yuntaoji-mini-app/uni_modules/nutui-uni/components/popup/popup.vue?type=component"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { computed, defineComponent } from 'vue'\nimport { PREFIX } from '../_constants'\nimport NutIcon from '../icon/icon.vue'\nimport NutOverlay from '../overlay/overlay.vue'\nimport NutTransition from '../transition/transition.vue'\nimport { popupEmits, popupProps } from './popup'\nimport { usePopup } from './use-popup'\n\nconst props = defineProps(popupProps)\n\nconst emit = defineEmits(popupEmits)\n\nconst {\n classes,\n popStyle,\n innerIndex,\n showSlot,\n transitionName,\n onClick,\n onClickCloseIcon,\n onClickOverlay,\n onOpened,\n onClosed,\n} = usePopup(props, emit)\n\nconst innerDuration = computed(() => {\n return Number(props.duration)\n})\n</script>\n\n<script lang=\"ts\">\nconst componentName = `${PREFIX}-popup`\n\nexport default defineComponent({\n name: componentName,\n options: {\n virtualHost: true,\n addGlobalClass: true,\n styleIsolation: 'shared',\n },\n})\n</script>\n\n<template>\n <NutOverlay\n v-if=\"props.overlay\"\n :overlay-class=\"props.overlayClass\"\n :overlay-style=\"props.overlayStyle\"\n :visible=\"props.visible\"\n :z-index=\"innerIndex\"\n :duration=\"innerDuration\"\n :lock-scroll=\"props.lockScroll\"\n :close-on-click-overlay=\"props.closeOnClickOverlay\"\n :destroy-on-close=\"props.destroyOnClose\"\n @click=\"onClickOverlay\"\n />\n\n <NutTransition\n :custom-class=\"classes\"\n :custom-style=\"popStyle\"\n :name=\"transitionName\"\n :show=\"props.visible\"\n :duration=\"innerDuration\"\n :destroy-on-close=\"props.destroyOnClose\"\n @after-enter=\"onOpened\"\n @after-leave=\"onClosed\"\n @click=\"onClick\"\n >\n <slot v-if=\"showSlot\" />\n\n <view\n v-if=\"props.closeable\"\n class=\"nut-popup__close-icon\"\n :class=\"`nut-popup__close-icon--${props.closeIconPosition}`\"\n @click=\"onClickCloseIcon\"\n >\n <slot name=\"closeIcon\">\n <NutIcon name=\"close\" height=\"12px\" />\n </slot>\n </view>\n </NutTransition>\n</template>\n\n<style lang=\"scss\">\n@import \"./index\";\n</style>\n","import Component from '/Users/iuu/Developer/PHP/Work/yuntaoji/yuntaoji-mini-app/uni_modules/nutui-uni/components/popup/popup.vue'\nwx.createComponent(Component)"],"names":["PREFIX","defineComponent","usePopup","computed","Component"],"mappings":";;;;;;;;AAGA,MAAA,UAAoB,MAAA;AACpB,MAAA,aAAuB,MAAA;AACvB,MAAA,gBAA0B,MAAA;AA2B1B,MAAM,gBAAgB,GAAGA,wDAAM;AAE/B,MAAA,cAAeC,cAAAA,gBAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,SAAS;AAAA,IACP,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,gBAAgB;AAAA,EAClB;AACF,CAAC;;;;;;AAhCD,UAAM,QAAQ;AAEd,UAAM,OAAO;AAEP,UAAA;AAAA,MACJ;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IAAA,IACEC,+CAAS,SAAA,OAAO,IAAI;AAElB,UAAA,gBAAgBC,cAAAA,SAAS,MAAM;AAC5B,aAAA,OAAO,MAAM,QAAQ;AAAA,IAAA,CAC7B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC3BD,GAAG,gBAAgBC,SAAS;"}
{"version":3,"file":"popup.js","sources":["uni_modules/nutui-uni/components/popup/popup.vue","/Users/iuu/Developer/PHP/Work/cmgd/mini-app/uni_modules/nutui-uni/components/popup/popup.vue?type=component"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { computed, defineComponent } from 'vue'\nimport { PREFIX } from '../_constants'\nimport NutIcon from '../icon/icon.vue'\nimport NutOverlay from '../overlay/overlay.vue'\nimport NutTransition from '../transition/transition.vue'\nimport { popupEmits, popupProps } from './popup'\nimport { usePopup } from './use-popup'\n\nconst props = defineProps(popupProps)\n\nconst emit = defineEmits(popupEmits)\n\nconst {\n classes,\n popStyle,\n innerIndex,\n showSlot,\n transitionName,\n onClick,\n onClickCloseIcon,\n onClickOverlay,\n onOpened,\n onClosed,\n} = usePopup(props, emit)\n\nconst innerDuration = computed(() => {\n return Number(props.duration)\n})\n</script>\n\n<script lang=\"ts\">\nconst componentName = `${PREFIX}-popup`\n\nexport default defineComponent({\n name: componentName,\n options: {\n virtualHost: true,\n addGlobalClass: true,\n styleIsolation: 'shared',\n },\n})\n</script>\n\n<template>\n <NutOverlay\n v-if=\"props.overlay\"\n :overlay-class=\"props.overlayClass\"\n :overlay-style=\"props.overlayStyle\"\n :visible=\"props.visible\"\n :z-index=\"innerIndex\"\n :duration=\"innerDuration\"\n :lock-scroll=\"props.lockScroll\"\n :close-on-click-overlay=\"props.closeOnClickOverlay\"\n :destroy-on-close=\"props.destroyOnClose\"\n @click=\"onClickOverlay\"\n />\n\n <NutTransition\n :custom-class=\"classes\"\n :custom-style=\"popStyle\"\n :name=\"transitionName\"\n :show=\"props.visible\"\n :duration=\"innerDuration\"\n :destroy-on-close=\"props.destroyOnClose\"\n @after-enter=\"onOpened\"\n @after-leave=\"onClosed\"\n @click=\"onClick\"\n >\n <slot v-if=\"showSlot\" />\n\n <view\n v-if=\"props.closeable\"\n class=\"nut-popup__close-icon\"\n :class=\"`nut-popup__close-icon--${props.closeIconPosition}`\"\n @click=\"onClickCloseIcon\"\n >\n <slot name=\"closeIcon\">\n <NutIcon name=\"close\" height=\"12px\" />\n </slot>\n </view>\n </NutTransition>\n</template>\n\n<style lang=\"scss\">\n@import \"./index\";\n</style>\n","import Component from '/Users/iuu/Developer/PHP/Work/cmgd/mini-app/uni_modules/nutui-uni/components/popup/popup.vue'\nwx.createComponent(Component)"],"names":["PREFIX","defineComponent","usePopup","computed","Component"],"mappings":";;;;;;;;AAGA,MAAA,UAAoB,MAAA;AACpB,MAAA,aAAuB,MAAA;AACvB,MAAA,gBAA0B,MAAA;AA2B1B,MAAM,gBAAgB,GAAGA,wDAAM;AAE/B,MAAA,cAAeC,cAAAA,gBAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,SAAS;AAAA,IACP,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,gBAAgB;AAAA,EAClB;AACF,CAAC;;;;;;AAhCD,UAAM,QAAQ;AAEd,UAAM,OAAO;AAEP,UAAA;AAAA,MACJ;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IAAA,IACEC,+CAAS,SAAA,OAAO,IAAI;AAElB,UAAA,gBAAgBC,cAAAA,SAAS,MAAM;AAC5B,aAAA,OAAO,MAAM,QAAQ;AAAA,IAAA,CAC7B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC3BD,GAAG,gBAAgBC,SAAS;"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"version":3,"file":"radiogroup.js","sources":["uni_modules/nutui-uni/components/radiogroup/radiogroup.ts","uni_modules/nutui-uni/components/radiogroup/radiogroup.vue","/Users/iuu/Developer/PHP/Work/yuntaoji/yuntaoji-mini-app/uni_modules/nutui-uni/components/radiogroup/radiogroup.vue?type=component"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport { CHANGE_EVENT, UPDATE_MODEL_EVENT } from '../_constants'\nimport { commonProps, isBoolean, isNumber, isString, makeStringProp } from '../_utils'\n\nexport const radiogroupProps = {\n ...commonProps,\n /**\n * @description 当前选中项的标识符,与 `label` 值一致时呈选中状态\n */\n modelValue: {\n type: [Number, String, Boolean],\n default: '',\n },\n /**\n * @description 使用横纵方向,可选值 `horizontal`、`vertical`\n */\n direction: makeStringProp<'vertical' | 'horizontal'>('vertical'),\n /**\n * @description 文本所在的位置,可选值:`left`,`right`\n */\n textPosition: makeStringProp<'left' | 'right'>('right'),\n}\n\nexport type RadioGroupProps = ExtractPropTypes<typeof radiogroupProps>\n\nexport const radiogroupEmits = {\n [CHANGE_EVENT]: (val: string | number | boolean) => isString(val) || isNumber(val) || isBoolean(val),\n [UPDATE_MODEL_EVENT]: (val: string | boolean | number) => isString(val) || isNumber(val) || isBoolean(val),\n}\n\nexport type RadioGroupEmits = typeof radiogroupEmits\n","<script setup lang=\"ts\">\nimport { computed, defineComponent, readonly, watch } from 'vue'\nimport { CHANGE_EVENT, PREFIX, UPDATE_MODEL_EVENT } from '../_constants'\nimport { useProvide } from '../_hooks'\nimport { getMainClass } from '../_utils'\nimport { RADIO_KEY } from '../radio'\nimport { radiogroupEmits, radiogroupProps } from './radiogroup'\n\nconst props = defineProps(radiogroupProps)\nconst emit = defineEmits(radiogroupEmits)\nconst updateValue = (value: string | boolean | number) => emit(UPDATE_MODEL_EVENT, value)\n\nuseProvide(RADIO_KEY)({\n label: readonly(computed(() => props.modelValue)),\n position: readonly(computed(() => props.textPosition)),\n updateValue,\n})\n\nconst classes = computed(() => {\n return getMainClass(props, componentName, {\n [`${componentName}--${props.direction}`]: true,\n })\n})\n\nwatch(\n () => props.modelValue,\n value => emit(CHANGE_EVENT, value),\n)\n</script>\n\n<script lang=\"ts\">\nconst componentName = `${PREFIX}-radio-group`\n\nexport default defineComponent({\n name: componentName,\n options: {\n virtualHost: true,\n addGlobalClass: true,\n styleIsolation: 'shared',\n },\n})\n</script>\n\n<template>\n <view :class=\"classes\" :style=\"customStyle\">\n <slot />\n </view>\n</template>\n\n<style lang=\"scss\">\n@import './index';\n</style>\n","import Component from '/Users/iuu/Developer/PHP/Work/yuntaoji/yuntaoji-mini-app/uni_modules/nutui-uni/components/radiogroup/radiogroup.vue'\nwx.createComponent(Component)"],"names":["commonProps","makeStringProp","CHANGE_EVENT","isString","isNumber","isBoolean","UPDATE_MODEL_EVENT","PREFIX","defineComponent","useProvide","RADIO_KEY","readonly","computed","getMainClass","watch","Component"],"mappings":";;;;;;;;;;AAIO,MAAM,kBAAkB;AAAA,EAC7B,GAAGA,6CAAA;AAAA;AAAA;AAAA;AAAA,EAIH,YAAY;AAAA,IACV,MAAM,CAAC,QAAQ,QAAQ,OAAO;AAAA,IAC9B,SAAS;AAAA,EACX;AAAA;AAAA;AAAA;AAAA,EAIA,WAAWC,4DAA0C,UAAU;AAAA;AAAA;AAAA;AAAA,EAI/D,cAAcA,4DAAiC,OAAO;AACxD;AAIO,MAAM,kBAAkB;AAAA,EAC7B,CAACC,iDAAY,YAAA,GAAG,CAAC,QAAmCC,mDAAS,GAAG,KAAKC,0CAAAA,SAAS,GAAG,KAAKC,0CAAA,UAAU,GAAG;AAAA,EACnG,CAACC,iDAAkB,kBAAA,GAAG,CAAC,QAAmCH,mDAAS,GAAG,KAAKC,0CAAAA,SAAS,GAAG,KAAKC,0CAAA,UAAU,GAAG;AAC3G;ACGA,MAAM,gBAAgB,GAAGE,wDAAM;AAE/B,MAAA,cAAeC,cAAAA,gBAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,SAAS;AAAA,IACP,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,gBAAgB;AAAA,EAClB;AACF,CAAC;;;;;;AAhCD,UAAM,QAAQ;AACd,UAAM,OAAO;AACb,UAAM,cAAc,CAAC,UAAqC,KAAKF,qEAAoB,KAAK;AAExFG,sDAAA,WAAWC,4CAAS,SAAA,EAAE;AAAA,MACpB,OAAOC,cAAAA,SAASC,cAAAA,SAAS,MAAM,MAAM,UAAU,CAAC;AAAA,MAChD,UAAUD,cAAAA,SAASC,cAAAA,SAAS,MAAM,MAAM,YAAY,CAAC;AAAA,MACrD;AAAA,IAAA,CACD;AAEK,UAAA,UAAUA,cAAAA,SAAS,MAAM;AACtB,aAAAC,6CAAA,aAAa,OAAO,eAAe;AAAA,QACxC,CAAC,GAAG,aAAa,KAAK,MAAM,SAAS,EAAE,GAAG;AAAA,MAAA,CAC3C;AAAA,IAAA,CACF;AAEDC,kBAAA;AAAA,MACE,MAAM,MAAM;AAAA,MACZ,CAAA,UAAS,KAAKZ,iDAAA,cAAc,KAAK;AAAA,IAAA;;;;;;;;;ACzBnC,GAAG,gBAAgBa,SAAS;"}
{"version":3,"file":"radiogroup.js","sources":["uni_modules/nutui-uni/components/radiogroup/radiogroup.ts","uni_modules/nutui-uni/components/radiogroup/radiogroup.vue","/Users/iuu/Developer/PHP/Work/cmgd/mini-app/uni_modules/nutui-uni/components/radiogroup/radiogroup.vue?type=component"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport { CHANGE_EVENT, UPDATE_MODEL_EVENT } from '../_constants'\nimport { commonProps, isBoolean, isNumber, isString, makeStringProp } from '../_utils'\n\nexport const radiogroupProps = {\n ...commonProps,\n /**\n * @description 当前选中项的标识符,与 `label` 值一致时呈选中状态\n */\n modelValue: {\n type: [Number, String, Boolean],\n default: '',\n },\n /**\n * @description 使用横纵方向,可选值 `horizontal`、`vertical`\n */\n direction: makeStringProp<'vertical' | 'horizontal'>('vertical'),\n /**\n * @description 文本所在的位置,可选值:`left`,`right`\n */\n textPosition: makeStringProp<'left' | 'right'>('right'),\n}\n\nexport type RadioGroupProps = ExtractPropTypes<typeof radiogroupProps>\n\nexport const radiogroupEmits = {\n [CHANGE_EVENT]: (val: string | number | boolean) => isString(val) || isNumber(val) || isBoolean(val),\n [UPDATE_MODEL_EVENT]: (val: string | boolean | number) => isString(val) || isNumber(val) || isBoolean(val),\n}\n\nexport type RadioGroupEmits = typeof radiogroupEmits\n","<script setup lang=\"ts\">\nimport { computed, defineComponent, readonly, watch } from 'vue'\nimport { CHANGE_EVENT, PREFIX, UPDATE_MODEL_EVENT } from '../_constants'\nimport { useProvide } from '../_hooks'\nimport { getMainClass } from '../_utils'\nimport { RADIO_KEY } from '../radio'\nimport { radiogroupEmits, radiogroupProps } from './radiogroup'\n\nconst props = defineProps(radiogroupProps)\nconst emit = defineEmits(radiogroupEmits)\nconst updateValue = (value: string | boolean | number) => emit(UPDATE_MODEL_EVENT, value)\n\nuseProvide(RADIO_KEY)({\n label: readonly(computed(() => props.modelValue)),\n position: readonly(computed(() => props.textPosition)),\n updateValue,\n})\n\nconst classes = computed(() => {\n return getMainClass(props, componentName, {\n [`${componentName}--${props.direction}`]: true,\n })\n})\n\nwatch(\n () => props.modelValue,\n value => emit(CHANGE_EVENT, value),\n)\n</script>\n\n<script lang=\"ts\">\nconst componentName = `${PREFIX}-radio-group`\n\nexport default defineComponent({\n name: componentName,\n options: {\n virtualHost: true,\n addGlobalClass: true,\n styleIsolation: 'shared',\n },\n})\n</script>\n\n<template>\n <view :class=\"classes\" :style=\"customStyle\">\n <slot />\n </view>\n</template>\n\n<style lang=\"scss\">\n@import './index';\n</style>\n","import Component from '/Users/iuu/Developer/PHP/Work/cmgd/mini-app/uni_modules/nutui-uni/components/radiogroup/radiogroup.vue'\nwx.createComponent(Component)"],"names":["commonProps","makeStringProp","CHANGE_EVENT","isString","isNumber","isBoolean","UPDATE_MODEL_EVENT","PREFIX","defineComponent","useProvide","RADIO_KEY","readonly","computed","getMainClass","watch","Component"],"mappings":";;;;;;;;;;AAIO,MAAM,kBAAkB;AAAA,EAC7B,GAAGA,6CAAA;AAAA;AAAA;AAAA;AAAA,EAIH,YAAY;AAAA,IACV,MAAM,CAAC,QAAQ,QAAQ,OAAO;AAAA,IAC9B,SAAS;AAAA,EACX;AAAA;AAAA;AAAA;AAAA,EAIA,WAAWC,4DAA0C,UAAU;AAAA;AAAA;AAAA;AAAA,EAI/D,cAAcA,4DAAiC,OAAO;AACxD;AAIO,MAAM,kBAAkB;AAAA,EAC7B,CAACC,iDAAY,YAAA,GAAG,CAAC,QAAmCC,mDAAS,GAAG,KAAKC,0CAAAA,SAAS,GAAG,KAAKC,0CAAA,UAAU,GAAG;AAAA,EACnG,CAACC,iDAAkB,kBAAA,GAAG,CAAC,QAAmCH,mDAAS,GAAG,KAAKC,0CAAAA,SAAS,GAAG,KAAKC,0CAAA,UAAU,GAAG;AAC3G;ACGA,MAAM,gBAAgB,GAAGE,wDAAM;AAE/B,MAAA,cAAeC,cAAAA,gBAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,SAAS;AAAA,IACP,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,gBAAgB;AAAA,EAClB;AACF,CAAC;;;;;;AAhCD,UAAM,QAAQ;AACd,UAAM,OAAO;AACb,UAAM,cAAc,CAAC,UAAqC,KAAKF,qEAAoB,KAAK;AAExFG,sDAAA,WAAWC,4CAAS,SAAA,EAAE;AAAA,MACpB,OAAOC,cAAAA,SAASC,cAAAA,SAAS,MAAM,MAAM,UAAU,CAAC;AAAA,MAChD,UAAUD,cAAAA,SAASC,cAAAA,SAAS,MAAM,MAAM,YAAY,CAAC;AAAA,MACrD;AAAA,IAAA,CACD;AAEK,UAAA,UAAUA,cAAAA,SAAS,MAAM;AACtB,aAAAC,6CAAA,aAAa,OAAO,eAAe;AAAA,QACxC,CAAC,GAAG,aAAa,KAAK,MAAM,SAAS,EAAE,GAAG;AAAA,MAAA,CAC3C;AAAA,IAAA,CACF;AAEDC,kBAAA;AAAA,MACE,MAAM,MAAM;AAAA,MACZ,CAAA,UAAS,KAAKZ,iDAAA,cAAc,KAAK;AAAA,IAAA;;;;;;;;;ACzBnC,GAAG,gBAAgBa,SAAS;"}

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"version":3,"file":"step.js","sources":["uni_modules/nutui-uni/components/step/step.ts","uni_modules/nutui-uni/components/step/step.vue","/Users/iuu/Developer/PHP/Work/yuntaoji/yuntaoji-mini-app/uni_modules/nutui-uni/components/step/step.vue?type=component"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport { commonProps, isNumber } from '../_utils'\n\nexport const stepProps = {\n ...commonProps,\n /**\n * @description 流程步骤的标题\n */\n title: String,\n /**\n * @description 流程步骤的描述性文字(支持 html 结构)\n */\n content: String,\n}\n\nexport type StepProps = ExtractPropTypes<typeof stepProps>\n\nexport const stepEmits = {\n clickStep: (val: number) => isNumber(val),\n}\n\nexport type StepEmits = typeof stepEmits\n","<script setup lang=\"ts\">\nimport type { ComponentInternalInstance } from 'vue'\nimport { computed, defineComponent, getCurrentInstance, inject, reactive } from 'vue'\nimport { PREFIX } from '../_constants'\nimport { getMainClass } from '../_utils'\nimport { stepEmits, stepProps } from './step'\n\nconst props = defineProps(stepProps)\ndefineEmits(stepEmits)\nconst instance = getCurrentInstance() as ComponentInternalInstance\nconst parent: any = inject('parent')\nparent.relation(instance)\n\nconst state = reactive({\n dot: parent.props.progressDot,\n})\n\nconst index = computed(() => parent.state.children.indexOf(instance) + 1)\nfunction getCurrentStatus() {\n const activeIndex = index.value\n if (activeIndex < +parent.props.current)\n return 'finish'\n return activeIndex === +parent.props.current ? 'process' : 'wait'\n}\n\nconst status = computed(() => {\n return getCurrentStatus()\n})\n\nconst classes = computed(() => {\n return getMainClass(props, componentName, {\n [`${componentName}-${status.value}`]: true,\n })\n})\n\nfunction handleClickStep() {\n parent.onEmit(index.value)\n}\n</script>\n\n<script lang=\"ts\">\nconst componentName = `${PREFIX}-step`\n\nexport default defineComponent({\n name: componentName,\n options: {\n virtualHost: true,\n addGlobalClass: true,\n styleIsolation: 'shared',\n },\n})\n</script>\n\n<template>\n <view :class=\"classes\" :style=\"customStyle\" @click=\"handleClickStep\">\n <view class=\"nut-step-head\">\n <view class=\"nut-step-line\" />\n <view class=\"nut-step-icon\" :class=\"[!state.dot ? 'is-icon' : '']\">\n <view class=\"nut-step-icon-inner\">\n <slot name=\"icon\">\n <template v-if=\"state.dot\" />\n <template v-else>\n <view class=\"nut-step-inner\">\n {{ index }}\n </view>\n </template>\n </slot>\n </view>\n </view>\n </view>\n <view class=\"nut-step-main\">\n <view class=\"nut-step-title\">\n <view v-if=\"!$slots.title\">\n {{ title }}\n </view>\n <slot name=\"title\" />\n </view>\n <view v-if=\"content || $slots.content\" class=\"nut-step-content\">\n <rich-text v-if=\"!$slots.content\" :nodes=\"content\" />\n <slot name=\"content\" />\n </view>\n </view>\n </view>\n</template>\n\n<style lang=\"scss\">\n@import './index';\n</style>\n","import Component from '/Users/iuu/Developer/PHP/Work/yuntaoji/yuntaoji-mini-app/uni_modules/nutui-uni/components/step/step.vue'\nwx.createComponent(Component)"],"names":["commonProps","isNumber","PREFIX","defineComponent","getCurrentInstance","inject","reactive","computed","getMainClass","Component"],"mappings":";;;;;;;AAGO,MAAM,YAAY;AAAA,EACvB,GAAGA,6CAAA;AAAA;AAAA;AAAA;AAAA,EAIH,OAAO;AAAA;AAAA;AAAA;AAAA,EAIP,SAAS;AACX;AAIO,MAAM,YAAY;AAAA,EACvB,WAAW,CAAC,QAAgBC,0CAAA,SAAS,GAAG;AAC1C;ACsBA,MAAM,gBAAgB,GAAGC,wDAAM;AAE/B,MAAA,cAAeC,cAAAA,gBAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,SAAS;AAAA,IACP,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,gBAAgB;AAAA,EAClB;AACF,CAAC;;;;;;AA3CD,UAAM,QAAQ;AAEd,UAAM,WAAWC,cAAAA;AACX,UAAA,SAAcC,qBAAO,QAAQ;AACnC,WAAO,SAAS,QAAQ;AAExB,UAAM,QAAQC,cAAAA,SAAS;AAAA,MACrB,KAAK,OAAO,MAAM;AAAA,IAAA,CACnB;AAEK,UAAA,QAAQC,uBAAS,MAAM,OAAO,MAAM,SAAS,QAAQ,QAAQ,IAAI,CAAC;AACxE,aAAS,mBAAmB;AAC1B,YAAM,cAAc,MAAM;AACtB,UAAA,cAAc,CAAC,OAAO,MAAM;AACvB,eAAA;AACT,aAAO,gBAAgB,CAAC,OAAO,MAAM,UAAU,YAAY;AAAA,IAC7D;AAEM,UAAA,SAASA,cAAAA,SAAS,MAAM;AAC5B,aAAO,iBAAiB;AAAA,IAAA,CACzB;AAEK,UAAA,UAAUA,cAAAA,SAAS,MAAM;AACtB,aAAAC,6CAAA,aAAa,OAAO,eAAe;AAAA,QACxC,CAAC,GAAG,aAAa,IAAI,OAAO,KAAK,EAAE,GAAG;AAAA,MAAA,CACvC;AAAA,IAAA,CACF;AAED,aAAS,kBAAkB;AAClB,aAAA,OAAO,MAAM,KAAK;AAAA,IAC3B;;;;;;;;;;;;;;;;;;;;;;;;;ACpCA,GAAG,gBAAgBC,SAAS;"}
{"version":3,"file":"step.js","sources":["uni_modules/nutui-uni/components/step/step.ts","uni_modules/nutui-uni/components/step/step.vue","/Users/iuu/Developer/PHP/Work/cmgd/mini-app/uni_modules/nutui-uni/components/step/step.vue?type=component"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport { commonProps, isNumber } from '../_utils'\n\nexport const stepProps = {\n ...commonProps,\n /**\n * @description 流程步骤的标题\n */\n title: String,\n /**\n * @description 流程步骤的描述性文字(支持 html 结构)\n */\n content: String,\n}\n\nexport type StepProps = ExtractPropTypes<typeof stepProps>\n\nexport const stepEmits = {\n clickStep: (val: number) => isNumber(val),\n}\n\nexport type StepEmits = typeof stepEmits\n","<script setup lang=\"ts\">\nimport type { ComponentInternalInstance } from 'vue'\nimport { computed, defineComponent, getCurrentInstance, inject, reactive } from 'vue'\nimport { PREFIX } from '../_constants'\nimport { getMainClass } from '../_utils'\nimport { stepEmits, stepProps } from './step'\n\nconst props = defineProps(stepProps)\ndefineEmits(stepEmits)\nconst instance = getCurrentInstance() as ComponentInternalInstance\nconst parent: any = inject('parent')\nparent.relation(instance)\n\nconst state = reactive({\n dot: parent.props.progressDot,\n})\n\nconst index = computed(() => parent.state.children.indexOf(instance) + 1)\nfunction getCurrentStatus() {\n const activeIndex = index.value\n if (activeIndex < +parent.props.current)\n return 'finish'\n return activeIndex === +parent.props.current ? 'process' : 'wait'\n}\n\nconst status = computed(() => {\n return getCurrentStatus()\n})\n\nconst classes = computed(() => {\n return getMainClass(props, componentName, {\n [`${componentName}-${status.value}`]: true,\n })\n})\n\nfunction handleClickStep() {\n parent.onEmit(index.value)\n}\n</script>\n\n<script lang=\"ts\">\nconst componentName = `${PREFIX}-step`\n\nexport default defineComponent({\n name: componentName,\n options: {\n virtualHost: true,\n addGlobalClass: true,\n styleIsolation: 'shared',\n },\n})\n</script>\n\n<template>\n <view :class=\"classes\" :style=\"customStyle\" @click=\"handleClickStep\">\n <view class=\"nut-step-head\">\n <view class=\"nut-step-line\" />\n <view class=\"nut-step-icon\" :class=\"[!state.dot ? 'is-icon' : '']\">\n <view class=\"nut-step-icon-inner\">\n <slot name=\"icon\">\n <template v-if=\"state.dot\" />\n <template v-else>\n <view class=\"nut-step-inner\">\n {{ index }}\n </view>\n </template>\n </slot>\n </view>\n </view>\n </view>\n <view class=\"nut-step-main\">\n <view class=\"nut-step-title\">\n <view v-if=\"!$slots.title\">\n {{ title }}\n </view>\n <slot name=\"title\" />\n </view>\n <view v-if=\"content || $slots.content\" class=\"nut-step-content\">\n <rich-text v-if=\"!$slots.content\" :nodes=\"content\" />\n <slot name=\"content\" />\n </view>\n </view>\n </view>\n</template>\n\n<style lang=\"scss\">\n@import './index';\n</style>\n","import Component from '/Users/iuu/Developer/PHP/Work/cmgd/mini-app/uni_modules/nutui-uni/components/step/step.vue'\nwx.createComponent(Component)"],"names":["commonProps","isNumber","PREFIX","defineComponent","getCurrentInstance","inject","reactive","computed","getMainClass","Component"],"mappings":";;;;;;;AAGO,MAAM,YAAY;AAAA,EACvB,GAAGA,6CAAA;AAAA;AAAA;AAAA;AAAA,EAIH,OAAO;AAAA;AAAA;AAAA;AAAA,EAIP,SAAS;AACX;AAIO,MAAM,YAAY;AAAA,EACvB,WAAW,CAAC,QAAgBC,0CAAA,SAAS,GAAG;AAC1C;ACsBA,MAAM,gBAAgB,GAAGC,wDAAM;AAE/B,MAAA,cAAeC,cAAAA,gBAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,SAAS;AAAA,IACP,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,gBAAgB;AAAA,EAClB;AACF,CAAC;;;;;;AA3CD,UAAM,QAAQ;AAEd,UAAM,WAAWC,cAAAA;AACX,UAAA,SAAcC,qBAAO,QAAQ;AACnC,WAAO,SAAS,QAAQ;AAExB,UAAM,QAAQC,cAAAA,SAAS;AAAA,MACrB,KAAK,OAAO,MAAM;AAAA,IAAA,CACnB;AAEK,UAAA,QAAQC,uBAAS,MAAM,OAAO,MAAM,SAAS,QAAQ,QAAQ,IAAI,CAAC;AACxE,aAAS,mBAAmB;AAC1B,YAAM,cAAc,MAAM;AACtB,UAAA,cAAc,CAAC,OAAO,MAAM;AACvB,eAAA;AACT,aAAO,gBAAgB,CAAC,OAAO,MAAM,UAAU,YAAY;AAAA,IAC7D;AAEM,UAAA,SAASA,cAAAA,SAAS,MAAM;AAC5B,aAAO,iBAAiB;AAAA,IAAA,CACzB;AAEK,UAAA,UAAUA,cAAAA,SAAS,MAAM;AACtB,aAAAC,6CAAA,aAAa,OAAO,eAAe;AAAA,QACxC,CAAC,GAAG,aAAa,IAAI,OAAO,KAAK,EAAE,GAAG;AAAA,MAAA,CACvC;AAAA,IAAA,CACF;AAED,aAAS,kBAAkB;AAClB,aAAA,OAAO,MAAM,KAAK;AAAA,IAC3B;;;;;;;;;;;;;;;;;;;;;;;;;ACpCA,GAAG,gBAAgBC,SAAS;"}

View File

@@ -1 +1 @@
{"version":3,"file":"steps.js","sources":["uni_modules/nutui-uni/components/steps/steps.ts","uni_modules/nutui-uni/components/steps/steps.vue","/Users/iuu/Developer/PHP/Work/yuntaoji/yuntaoji-mini-app/uni_modules/nutui-uni/components/steps/steps.vue?type=component"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport { commonProps, isNumber, makeNumericProp, makeStringProp } from '../_utils'\n\nexport const stepsProps = {\n ...commonProps,\n /**\n * @description 显示方向,`horizontal`,`vertical`\n */\n direction: makeStringProp<'horizontal' | 'vertical'>('horizontal'),\n /**\n * @description 当前所在的步骤\n */\n current: makeNumericProp(0),\n /**\n * @description 点状步骤条\n */\n progressDot: Boolean,\n}\n\nexport type StepsProps = ExtractPropTypes<typeof stepsProps>\n\nexport const stepsEmits = {\n clickStep: (val: number) => isNumber(val),\n}\n\nexport type StepsEmits = typeof stepsEmits\n","<script setup lang=\"ts\">\nimport type { ComponentInternalInstance } from 'vue'\nimport { computed, defineComponent, provide, reactive } from 'vue'\nimport { PREFIX } from '../_constants'\nimport { getMainClass } from '../_utils'\nimport { stepsEmits, stepsProps } from './steps'\n\nconst props = defineProps(stepsProps)\nconst emit = defineEmits(stepsEmits)\n\nconst state = reactive({\n children: [] as ComponentInternalInstance[],\n})\n\nconst classes = computed(() => {\n return getMainClass(props, componentName, {\n [`${componentName}-${props.direction}`]: true,\n [`${componentName}-dot`]: !!props.progressDot,\n })\n})\n\nfunction relation(child: ComponentInternalInstance) {\n child && state.children.push(child as any)\n}\n\nfunction onEmit(index: number) {\n emit('clickStep', index)\n}\n\nprovide('parent', {\n relation,\n state,\n props,\n onEmit,\n})\n</script>\n\n<script lang=\"ts\">\nconst componentName = `${PREFIX}-steps`\n\nexport default defineComponent({\n name: componentName,\n options: {\n virtualHost: true,\n addGlobalClass: true,\n styleIsolation: 'shared',\n },\n})\n</script>\n\n<template>\n <view :class=\"classes\" :style=\"customStyle\">\n <slot />\n </view>\n</template>\n\n<style lang=\"scss\">\n@import './index';\n</style>\n","import Component from '/Users/iuu/Developer/PHP/Work/yuntaoji/yuntaoji-mini-app/uni_modules/nutui-uni/components/steps/steps.vue'\nwx.createComponent(Component)"],"names":["commonProps","makeStringProp","makeNumericProp","isNumber","PREFIX","defineComponent","reactive","computed","getMainClass","provide","Component"],"mappings":";;;;;;;AAGO,MAAM,aAAa;AAAA,EACxB,GAAGA,6CAAA;AAAA;AAAA;AAAA;AAAA,EAIH,WAAWC,4DAA0C,YAAY;AAAA;AAAA;AAAA;AAAA,EAIjE,SAASC,6DAAgB,CAAC;AAAA;AAAA;AAAA;AAAA,EAI1B,aAAa;AACf;AAIO,MAAM,aAAa;AAAA,EACxB,WAAW,CAAC,QAAgBC,0CAAA,SAAS,GAAG;AAC1C;ACeA,MAAM,gBAAgB,GAAGC,wDAAM;AAE/B,MAAA,cAAeC,cAAAA,gBAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,SAAS;AAAA,IACP,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,gBAAgB;AAAA,EAClB;AACF,CAAC;;;;;;AAxCD,UAAM,QAAQ;AACd,UAAM,OAAO;AAEb,UAAM,QAAQC,cAAAA,SAAS;AAAA,MACrB,UAAU,CAAC;AAAA,IAAA,CACZ;AAEK,UAAA,UAAUC,cAAAA,SAAS,MAAM;AACtB,aAAAC,6CAAA,aAAa,OAAO,eAAe;AAAA,QACxC,CAAC,GAAG,aAAa,IAAI,MAAM,SAAS,EAAE,GAAG;AAAA,QACzC,CAAC,GAAG,aAAa,MAAM,GAAG,CAAC,CAAC,MAAM;AAAA,MAAA,CACnC;AAAA,IAAA,CACF;AAED,aAAS,SAAS,OAAkC;AACzC,eAAA,MAAM,SAAS,KAAK,KAAY;AAAA,IAC3C;AAEA,aAAS,OAAO,OAAe;AAC7B,WAAK,aAAa,KAAK;AAAA,IACzB;AAEAC,kBAAAA,QAAQ,UAAU;AAAA,MAChB;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IAAA,CACD;;;;;;;;;ACjCD,GAAG,gBAAgBC,SAAS;"}
{"version":3,"file":"steps.js","sources":["uni_modules/nutui-uni/components/steps/steps.ts","uni_modules/nutui-uni/components/steps/steps.vue","/Users/iuu/Developer/PHP/Work/cmgd/mini-app/uni_modules/nutui-uni/components/steps/steps.vue?type=component"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport { commonProps, isNumber, makeNumericProp, makeStringProp } from '../_utils'\n\nexport const stepsProps = {\n ...commonProps,\n /**\n * @description 显示方向,`horizontal`,`vertical`\n */\n direction: makeStringProp<'horizontal' | 'vertical'>('horizontal'),\n /**\n * @description 当前所在的步骤\n */\n current: makeNumericProp(0),\n /**\n * @description 点状步骤条\n */\n progressDot: Boolean,\n}\n\nexport type StepsProps = ExtractPropTypes<typeof stepsProps>\n\nexport const stepsEmits = {\n clickStep: (val: number) => isNumber(val),\n}\n\nexport type StepsEmits = typeof stepsEmits\n","<script setup lang=\"ts\">\nimport type { ComponentInternalInstance } from 'vue'\nimport { computed, defineComponent, provide, reactive } from 'vue'\nimport { PREFIX } from '../_constants'\nimport { getMainClass } from '../_utils'\nimport { stepsEmits, stepsProps } from './steps'\n\nconst props = defineProps(stepsProps)\nconst emit = defineEmits(stepsEmits)\n\nconst state = reactive({\n children: [] as ComponentInternalInstance[],\n})\n\nconst classes = computed(() => {\n return getMainClass(props, componentName, {\n [`${componentName}-${props.direction}`]: true,\n [`${componentName}-dot`]: !!props.progressDot,\n })\n})\n\nfunction relation(child: ComponentInternalInstance) {\n child && state.children.push(child as any)\n}\n\nfunction onEmit(index: number) {\n emit('clickStep', index)\n}\n\nprovide('parent', {\n relation,\n state,\n props,\n onEmit,\n})\n</script>\n\n<script lang=\"ts\">\nconst componentName = `${PREFIX}-steps`\n\nexport default defineComponent({\n name: componentName,\n options: {\n virtualHost: true,\n addGlobalClass: true,\n styleIsolation: 'shared',\n },\n})\n</script>\n\n<template>\n <view :class=\"classes\" :style=\"customStyle\">\n <slot />\n </view>\n</template>\n\n<style lang=\"scss\">\n@import './index';\n</style>\n","import Component from '/Users/iuu/Developer/PHP/Work/cmgd/mini-app/uni_modules/nutui-uni/components/steps/steps.vue'\nwx.createComponent(Component)"],"names":["commonProps","makeStringProp","makeNumericProp","isNumber","PREFIX","defineComponent","reactive","computed","getMainClass","provide","Component"],"mappings":";;;;;;;AAGO,MAAM,aAAa;AAAA,EACxB,GAAGA,6CAAA;AAAA;AAAA;AAAA;AAAA,EAIH,WAAWC,4DAA0C,YAAY;AAAA;AAAA;AAAA;AAAA,EAIjE,SAASC,6DAAgB,CAAC;AAAA;AAAA;AAAA;AAAA,EAI1B,aAAa;AACf;AAIO,MAAM,aAAa;AAAA,EACxB,WAAW,CAAC,QAAgBC,0CAAA,SAAS,GAAG;AAC1C;ACeA,MAAM,gBAAgB,GAAGC,wDAAM;AAE/B,MAAA,cAAeC,cAAAA,gBAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,SAAS;AAAA,IACP,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,gBAAgB;AAAA,EAClB;AACF,CAAC;;;;;;AAxCD,UAAM,QAAQ;AACd,UAAM,OAAO;AAEb,UAAM,QAAQC,cAAAA,SAAS;AAAA,MACrB,UAAU,CAAC;AAAA,IAAA,CACZ;AAEK,UAAA,UAAUC,cAAAA,SAAS,MAAM;AACtB,aAAAC,6CAAA,aAAa,OAAO,eAAe;AAAA,QACxC,CAAC,GAAG,aAAa,IAAI,MAAM,SAAS,EAAE,GAAG;AAAA,QACzC,CAAC,GAAG,aAAa,MAAM,GAAG,CAAC,CAAC,MAAM;AAAA,MAAA,CACnC;AAAA,IAAA,CACF;AAED,aAAS,SAAS,OAAkC;AACzC,eAAA,MAAM,SAAS,KAAK,KAAY;AAAA,IAC3C;AAEA,aAAS,OAAO,OAAe;AAC7B,WAAK,aAAa,KAAK;AAAA,IACzB;AAEAC,kBAAAA,QAAQ,UAAU;AAAA,MAChB;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IAAA,CACD;;;;;;;;;ACjCD,GAAG,gBAAgBC,SAAS;"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"version":3,"file":"tabpane.js","sources":["uni_modules/nutui-uni/components/tabpane/tabpane.ts","uni_modules/nutui-uni/components/tabpane/tabpane.vue","/Users/iuu/Developer/PHP/Work/yuntaoji/yuntaoji-mini-app/uni_modules/nutui-uni/components/tabpane/tabpane.vue?type=component"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport { CLICK_EVENT } from '../_constants'\nimport { commonProps, makeNumericProp } from '../_utils'\n\nexport const tabpaneProps = {\n ...commonProps,\n /**\n * @description 标题\n */\n title: makeNumericProp(''),\n /**\n * @description 标签 Key, 匹配的标识符\n */\n paneKey: makeNumericProp(''),\n /**\n * @description 是否禁用标签\n */\n disabled: Boolean,\n}\n\nexport type TabPaneProps = ExtractPropTypes<typeof tabpaneProps>\n\nexport const tabpaneEmits = {\n [CLICK_EVENT]: () => true,\n}\n\nexport type TabPaneEmits = typeof tabpaneEmits\n","<script setup lang=\"ts\">\nimport type { ComputedRef, CSSProperties } from 'vue'\nimport { computed, defineComponent } from 'vue'\nimport { PREFIX } from '../_constants'\nimport { useInject } from '../_hooks'\nimport { getMainClass, getMainStyle } from '../_utils'\nimport { TAB_KEY } from '../tabs'\nimport { tabpaneEmits, tabpaneProps } from './tabpane'\n\nconst props = defineProps(tabpaneProps)\ndefineEmits(tabpaneEmits)\nconst { parent } = useInject<{ activeKey: ComputedRef<string>, autoHeight: ComputedRef<boolean>, animatedTime: ComputedRef<string | number> }>(TAB_KEY)\n\nconst paneStyle = computed(() => {\n const style: CSSProperties = {\n display:\n parent?.animatedTime.value === 0 && props.paneKey !== parent.activeKey.value ? 'none' : undefined,\n }\n return getMainStyle(props, style)\n})\nconst classes = computed(() => {\n return getMainClass(props, componentName, {\n inactive: String(props.paneKey) !== parent?.activeKey.value && parent?.autoHeight.value,\n })\n})\n</script>\n\n<script lang=\"ts\">\nconst componentName = `${PREFIX}-tab-pane`\nexport default defineComponent({\n name: componentName,\n options: {\n virtualHost: true,\n addGlobalClass: true,\n styleIsolation: 'shared',\n },\n})\n</script>\n\n<template>\n <view :style=\"paneStyle\" :class=\"classes\">\n <slot />\n </view>\n</template>\n\n<style lang=\"scss\">\n@import './index';\n</style>\n","import Component from '/Users/iuu/Developer/PHP/Work/yuntaoji/yuntaoji-mini-app/uni_modules/nutui-uni/components/tabpane/tabpane.vue'\nwx.createComponent(Component)"],"names":["commonProps","makeNumericProp","CLICK_EVENT","PREFIX","defineComponent","useInject","TAB_KEY","computed","getMainStyle","getMainClass","Component"],"mappings":";;;;;;;;;AAIO,MAAM,eAAe;AAAA,EAC1B,GAAGA,6CAAA;AAAA;AAAA;AAAA;AAAA,EAIH,OAAOC,6DAAgB,EAAE;AAAA;AAAA;AAAA;AAAA,EAIzB,SAASA,6DAAgB,EAAE;AAAA;AAAA;AAAA;AAAA,EAI3B,UAAU;AACZ;AAIO,MAAM,eAAe;AAAA,EAC1B,CAACC,iDAAAA,WAAW,GAAG,MAAM;AACvB;ACIA,MAAM,gBAAgB,GAAGC,wDAAM;AAC/B,MAAA,cAAeC,cAAAA,gBAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,SAAS;AAAA,IACP,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,gBAAgB;AAAA,EAClB;AACF,CAAC;;;;;;AA3BD,UAAM,QAAQ;AAEd,UAAM,EAAE,OAAA,IAAWC,iDAAA,UAA4HC,2CAAO,OAAA;AAEhJ,UAAA,YAAYC,cAAAA,SAAS,MAAM;AAC/B,YAAM,QAAuB;AAAA,QAC3B,UACE,iCAAQ,aAAa,WAAU,KAAK,MAAM,YAAY,OAAO,UAAU,QAAQ,SAAS;AAAA,MAAA;AAErF,aAAAC,6CAAA,aAAa,OAAO,KAAK;AAAA,IAAA,CACjC;AACK,UAAA,UAAUD,cAAAA,SAAS,MAAM;AACtB,aAAAE,6CAAA,aAAa,OAAO,eAAe;AAAA,QACxC,UAAU,OAAO,MAAM,OAAO,OAAM,iCAAQ,UAAU,WAAS,iCAAQ,WAAW;AAAA,MAAA,CACnF;AAAA,IAAA,CACF;;;;;;;;;ACvBD,GAAG,gBAAgBC,SAAS;"}
{"version":3,"file":"tabpane.js","sources":["uni_modules/nutui-uni/components/tabpane/tabpane.ts","uni_modules/nutui-uni/components/tabpane/tabpane.vue","/Users/iuu/Developer/PHP/Work/cmgd/mini-app/uni_modules/nutui-uni/components/tabpane/tabpane.vue?type=component"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport { CLICK_EVENT } from '../_constants'\nimport { commonProps, makeNumericProp } from '../_utils'\n\nexport const tabpaneProps = {\n ...commonProps,\n /**\n * @description 标题\n */\n title: makeNumericProp(''),\n /**\n * @description 标签 Key, 匹配的标识符\n */\n paneKey: makeNumericProp(''),\n /**\n * @description 是否禁用标签\n */\n disabled: Boolean,\n}\n\nexport type TabPaneProps = ExtractPropTypes<typeof tabpaneProps>\n\nexport const tabpaneEmits = {\n [CLICK_EVENT]: () => true,\n}\n\nexport type TabPaneEmits = typeof tabpaneEmits\n","<script setup lang=\"ts\">\nimport type { ComputedRef, CSSProperties } from 'vue'\nimport { computed, defineComponent } from 'vue'\nimport { PREFIX } from '../_constants'\nimport { useInject } from '../_hooks'\nimport { getMainClass, getMainStyle } from '../_utils'\nimport { TAB_KEY } from '../tabs'\nimport { tabpaneEmits, tabpaneProps } from './tabpane'\n\nconst props = defineProps(tabpaneProps)\ndefineEmits(tabpaneEmits)\nconst { parent } = useInject<{ activeKey: ComputedRef<string>, autoHeight: ComputedRef<boolean>, animatedTime: ComputedRef<string | number> }>(TAB_KEY)\n\nconst paneStyle = computed(() => {\n const style: CSSProperties = {\n display:\n parent?.animatedTime.value === 0 && props.paneKey !== parent.activeKey.value ? 'none' : undefined,\n }\n return getMainStyle(props, style)\n})\nconst classes = computed(() => {\n return getMainClass(props, componentName, {\n inactive: String(props.paneKey) !== parent?.activeKey.value && parent?.autoHeight.value,\n })\n})\n</script>\n\n<script lang=\"ts\">\nconst componentName = `${PREFIX}-tab-pane`\nexport default defineComponent({\n name: componentName,\n options: {\n virtualHost: true,\n addGlobalClass: true,\n styleIsolation: 'shared',\n },\n})\n</script>\n\n<template>\n <view :style=\"paneStyle\" :class=\"classes\">\n <slot />\n </view>\n</template>\n\n<style lang=\"scss\">\n@import './index';\n</style>\n","import Component from '/Users/iuu/Developer/PHP/Work/cmgd/mini-app/uni_modules/nutui-uni/components/tabpane/tabpane.vue'\nwx.createComponent(Component)"],"names":["commonProps","makeNumericProp","CLICK_EVENT","PREFIX","defineComponent","useInject","TAB_KEY","computed","getMainStyle","getMainClass","Component"],"mappings":";;;;;;;;;AAIO,MAAM,eAAe;AAAA,EAC1B,GAAGA,6CAAA;AAAA;AAAA;AAAA;AAAA,EAIH,OAAOC,6DAAgB,EAAE;AAAA;AAAA;AAAA;AAAA,EAIzB,SAASA,6DAAgB,EAAE;AAAA;AAAA;AAAA;AAAA,EAI3B,UAAU;AACZ;AAIO,MAAM,eAAe;AAAA,EAC1B,CAACC,iDAAAA,WAAW,GAAG,MAAM;AACvB;ACIA,MAAM,gBAAgB,GAAGC,wDAAM;AAC/B,MAAA,cAAeC,cAAAA,gBAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,SAAS;AAAA,IACP,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,gBAAgB;AAAA,EAClB;AACF,CAAC;;;;;;AA3BD,UAAM,QAAQ;AAEd,UAAM,EAAE,OAAA,IAAWC,iDAAA,UAA4HC,2CAAO,OAAA;AAEhJ,UAAA,YAAYC,cAAAA,SAAS,MAAM;AAC/B,YAAM,QAAuB;AAAA,QAC3B,UACE,iCAAQ,aAAa,WAAU,KAAK,MAAM,YAAY,OAAO,UAAU,QAAQ,SAAS;AAAA,MAAA;AAErF,aAAAC,6CAAA,aAAa,OAAO,KAAK;AAAA,IAAA,CACjC;AACK,UAAA,UAAUD,cAAAA,SAAS,MAAM;AACtB,aAAAE,6CAAA,aAAa,OAAO,eAAe;AAAA,QACxC,UAAU,OAAO,MAAM,OAAO,OAAM,iCAAQ,UAAU,WAAS,iCAAQ,WAAW;AAAA,MAAA,CACnF;AAAA,IAAA,CACF;;;;;;;;;ACvBD,GAAG,gBAAgBC,SAAS;"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"version":3,"file":"transition.js","sources":["uni_modules/nutui-uni/components/transition/transition.ts","uni_modules/nutui-uni/components/transition/transition.vue","/Users/iuu/Developer/PHP/Work/yuntaoji/yuntaoji-mini-app/uni_modules/nutui-uni/components/transition/transition.vue?type=component"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport { CLICK_EVENT } from '../_constants'\nimport { commonProps, makeNumberProp, makeStringProp } from '../_utils'\nimport type { NutAnimationName, NutAnimationtimingFunction } from './types'\n\nexport const transitionProps = {\n ...commonProps,\n /**\n * @description 内置动画名称,可选值为 `fade` `fade-up` `fade-down` f`ade-left` `fade-right` `slide-up` `slide-down` `slide-left` `slide-right`\n */\n name: makeStringProp<NutAnimationName>('fade'),\n /**\n * @description 是否展示过渡动画级\n */\n show: Boolean,\n /**\n * @description 动画时长,单位为毫秒\n */\n duration: makeNumberProp(300),\n /**\n * @description 动画函数\n */\n timingFunction: makeStringProp<NutAnimationtimingFunction>('ease'),\n destroyOnClose: Boolean,\n /**\n * @description 进入动画前的类名\n */\n enterFromClass: String,\n /**\n * @description 进入动画时的类名\n */\n enterActiveClass: String,\n /**\n * @description 进入动画后的类名\n */\n enterToClass: String,\n /**\n * @description 离开动画前的类名\n */\n leaveFromClass: String,\n /**\n * @description 离开动画时的类名\n */\n leaveActiveClass: String,\n /**\n * @description 离开动画后的类名\n */\n leaveToClass: String,\n}\n\nexport const transitionEmits = {\n beforeEnter: () => true,\n enter: () => true,\n afterEnter: () => true,\n beforeLeave: () => true,\n leave: () => true,\n afterLeave: () => true,\n [CLICK_EVENT]: (evt: MouseEvent) => evt instanceof Object,\n}\n\nexport type TransitionProps = ExtractPropTypes<typeof transitionProps>\nexport type TransitionEmits = typeof transitionEmits\n","<script setup lang=\"ts\">\nimport { defineComponent } from 'vue'\nimport { PREFIX } from '../_constants'\nimport { transitionEmits, transitionProps } from './transition'\nimport { useTransition } from './use-transition'\n\nconst props = defineProps(transitionProps)\nconst emits = defineEmits(transitionEmits)\nconst { display, classes, clickHandler, styles } = useTransition(props, emits)\n</script>\n\n<script lang=\"ts\">\nconst componentName = `${PREFIX}-transition`\nexport default defineComponent({\n name: componentName,\n options: {\n virtualHost: true,\n addGlobalClass: true,\n styleIsolation: 'shared',\n },\n})\n</script>\n\n<template>\n <view\n v-if=\"!props.destroyOnClose || display\"\n :class=\"classes\"\n :style=\"styles\"\n @click=\"clickHandler\"\n >\n <slot />\n </view>\n</template>\n\n<style lang=\"scss\">\n@import './index';\n</style>\n","import Component from '/Users/iuu/Developer/PHP/Work/yuntaoji/yuntaoji-mini-app/uni_modules/nutui-uni/components/transition/transition.vue'\nwx.createComponent(Component)"],"names":["commonProps","makeStringProp","makeNumberProp","CLICK_EVENT","PREFIX","defineComponent","useTransition","Component"],"mappings":";;;;;;;AAKO,MAAM,kBAAkB;AAAA,EAC7B,GAAGA,6CAAA;AAAA;AAAA;AAAA;AAAA,EAIH,MAAMC,4DAAiC,MAAM;AAAA;AAAA;AAAA;AAAA,EAI7C,MAAM;AAAA;AAAA;AAAA;AAAA,EAIN,UAAUC,4DAAe,GAAG;AAAA;AAAA;AAAA;AAAA,EAI5B,gBAAgBD,4DAA2C,MAAM;AAAA,EACjE,gBAAgB;AAAA;AAAA;AAAA;AAAA,EAIhB,gBAAgB;AAAA;AAAA;AAAA;AAAA,EAIhB,kBAAkB;AAAA;AAAA;AAAA;AAAA,EAIlB,cAAc;AAAA;AAAA;AAAA;AAAA,EAId,gBAAgB;AAAA;AAAA;AAAA;AAAA,EAIhB,kBAAkB;AAAA;AAAA;AAAA;AAAA,EAIlB,cAAc;AAChB;AAEO,MAAM,kBAAkB;AAAA,EAC7B,aAAa,MAAM;AAAA,EACnB,OAAO,MAAM;AAAA,EACb,YAAY,MAAM;AAAA,EAClB,aAAa,MAAM;AAAA,EACnB,OAAO,MAAM;AAAA,EACb,YAAY,MAAM;AAAA,EAClB,CAACE,4DAAW,GAAG,CAAC,QAAoB,eAAe;AACrD;AC9CA,MAAM,gBAAgB,GAAGC,wDAAM;AAC/B,MAAA,cAAeC,cAAAA,gBAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,SAAS;AAAA,IACP,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,gBAAgB;AAAA,EAClB;AACF,CAAC;;;;;;AAdD,UAAM,QAAQ;AACd,UAAM,QAAQ;AACR,UAAA,EAAE,SAAS,SAAS,cAAc,WAAWC,yDAAA,cAAc,OAAO,KAAK;;;;;;;;;;;;;;;ACP7E,GAAG,gBAAgBC,SAAS;"}
{"version":3,"file":"transition.js","sources":["uni_modules/nutui-uni/components/transition/transition.ts","uni_modules/nutui-uni/components/transition/transition.vue","/Users/iuu/Developer/PHP/Work/cmgd/mini-app/uni_modules/nutui-uni/components/transition/transition.vue?type=component"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport { CLICK_EVENT } from '../_constants'\nimport { commonProps, makeNumberProp, makeStringProp } from '../_utils'\nimport type { NutAnimationName, NutAnimationtimingFunction } from './types'\n\nexport const transitionProps = {\n ...commonProps,\n /**\n * @description 内置动画名称,可选值为 `fade` `fade-up` `fade-down` f`ade-left` `fade-right` `slide-up` `slide-down` `slide-left` `slide-right`\n */\n name: makeStringProp<NutAnimationName>('fade'),\n /**\n * @description 是否展示过渡动画级\n */\n show: Boolean,\n /**\n * @description 动画时长,单位为毫秒\n */\n duration: makeNumberProp(300),\n /**\n * @description 动画函数\n */\n timingFunction: makeStringProp<NutAnimationtimingFunction>('ease'),\n destroyOnClose: Boolean,\n /**\n * @description 进入动画前的类名\n */\n enterFromClass: String,\n /**\n * @description 进入动画时的类名\n */\n enterActiveClass: String,\n /**\n * @description 进入动画后的类名\n */\n enterToClass: String,\n /**\n * @description 离开动画前的类名\n */\n leaveFromClass: String,\n /**\n * @description 离开动画时的类名\n */\n leaveActiveClass: String,\n /**\n * @description 离开动画后的类名\n */\n leaveToClass: String,\n}\n\nexport const transitionEmits = {\n beforeEnter: () => true,\n enter: () => true,\n afterEnter: () => true,\n beforeLeave: () => true,\n leave: () => true,\n afterLeave: () => true,\n [CLICK_EVENT]: (evt: MouseEvent) => evt instanceof Object,\n}\n\nexport type TransitionProps = ExtractPropTypes<typeof transitionProps>\nexport type TransitionEmits = typeof transitionEmits\n","<script setup lang=\"ts\">\nimport { defineComponent } from 'vue'\nimport { PREFIX } from '../_constants'\nimport { transitionEmits, transitionProps } from './transition'\nimport { useTransition } from './use-transition'\n\nconst props = defineProps(transitionProps)\nconst emits = defineEmits(transitionEmits)\nconst { display, classes, clickHandler, styles } = useTransition(props, emits)\n</script>\n\n<script lang=\"ts\">\nconst componentName = `${PREFIX}-transition`\nexport default defineComponent({\n name: componentName,\n options: {\n virtualHost: true,\n addGlobalClass: true,\n styleIsolation: 'shared',\n },\n})\n</script>\n\n<template>\n <view\n v-if=\"!props.destroyOnClose || display\"\n :class=\"classes\"\n :style=\"styles\"\n @click=\"clickHandler\"\n >\n <slot />\n </view>\n</template>\n\n<style lang=\"scss\">\n@import './index';\n</style>\n","import Component from '/Users/iuu/Developer/PHP/Work/cmgd/mini-app/uni_modules/nutui-uni/components/transition/transition.vue'\nwx.createComponent(Component)"],"names":["commonProps","makeStringProp","makeNumberProp","CLICK_EVENT","PREFIX","defineComponent","useTransition","Component"],"mappings":";;;;;;;AAKO,MAAM,kBAAkB;AAAA,EAC7B,GAAGA,6CAAA;AAAA;AAAA;AAAA;AAAA,EAIH,MAAMC,4DAAiC,MAAM;AAAA;AAAA;AAAA;AAAA,EAI7C,MAAM;AAAA;AAAA;AAAA;AAAA,EAIN,UAAUC,4DAAe,GAAG;AAAA;AAAA;AAAA;AAAA,EAI5B,gBAAgBD,4DAA2C,MAAM;AAAA,EACjE,gBAAgB;AAAA;AAAA;AAAA;AAAA,EAIhB,gBAAgB;AAAA;AAAA;AAAA;AAAA,EAIhB,kBAAkB;AAAA;AAAA;AAAA;AAAA,EAIlB,cAAc;AAAA;AAAA;AAAA;AAAA,EAId,gBAAgB;AAAA;AAAA;AAAA;AAAA,EAIhB,kBAAkB;AAAA;AAAA;AAAA;AAAA,EAIlB,cAAc;AAChB;AAEO,MAAM,kBAAkB;AAAA,EAC7B,aAAa,MAAM;AAAA,EACnB,OAAO,MAAM;AAAA,EACb,YAAY,MAAM;AAAA,EAClB,aAAa,MAAM;AAAA,EACnB,OAAO,MAAM;AAAA,EACb,YAAY,MAAM;AAAA,EAClB,CAACE,4DAAW,GAAG,CAAC,QAAoB,eAAe;AACrD;AC9CA,MAAM,gBAAgB,GAAGC,wDAAM;AAC/B,MAAA,cAAeC,cAAAA,gBAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,SAAS;AAAA,IACP,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,gBAAgB;AAAA,EAClB;AACF,CAAC;;;;;;AAdD,UAAM,QAAQ;AACd,UAAM,QAAQ;AACR,UAAA,EAAE,SAAS,SAAS,cAAc,WAAWC,yDAAA,cAAc,OAAO,KAAK;;;;;;;;;;;;;;;ACP7E,GAAG,gBAAgBC,SAAS;"}

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"version":3,"file":"z-paging.js","sources":["/Users/iuu/Developer/PHP/Work/yuntaoji/yuntaoji-mini-app/uni_modules/z-paging/components/z-paging/z-paging.vue?type=component"],"sourcesContent":["import Component from '/Users/iuu/Developer/PHP/Work/yuntaoji/yuntaoji-mini-app/uni_modules/z-paging/components/z-paging/z-paging.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}
{"version":3,"file":"z-paging.js","sources":["/Users/iuu/Developer/PHP/Work/cmgd/mini-app/uni_modules/z-paging/components/z-paging/z-paging.vue?type=component"],"sourcesContent":["import Component from '/Users/iuu/Developer/PHP/Work/cmgd/mini-app/uni_modules/z-paging/components/z-paging/z-paging.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,GAAG,gBAAgB,SAAS;"}

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"version":3,"file":"helper.js","sources":["utils/helper.ts"],"sourcesContent":["\nimport {\n\tfetchConfig\n} from '../api/index';\n\n\nconst tabbar_pages = [\n\t'/pages/index/index',\n\t'/pages/cart/index',\n\t'/pages/mine/index',\n]\n\n\nexport const navigateTo = (url : string) => {\n\tlet is_tabbar_pages = false\n\ttabbar_pages.forEach(item => {\n\t\tif (url.indexOf(item) === 0) {\n\t\t\tis_tabbar_pages = true\n\t\t}\n\t})\n\tif (is_tabbar_pages) {\n\t\tswitchTab(url)\n\t} else {\n\t\tuni.navigateTo({\n\t\t\turl: url\n\t\t})\n\t}\n\n}\n\nexport const switchTab = (url : string) => {\n\tuni.switchTab({\n\t\turl: url\n\t})\n}\n\nexport const goToLoginPage = (redirect_url ?: string) => {\n\tnavigateTo('/pages/login/index?redirect_url=' + redirect_url)\n}\n// export const showWechatImg = () => {\n// \tuni.previewImage({\n// \t\turls: ['https://qn.19year.cn/20250329143234415bb1067.jpg']\n// \t})\n// }\n// export const showWechatPayImg = () => {\n// \tuni.previewImage({\n// \t\turls: ['https://qn.19year.cn/20250330193232a6aca4595.jpg']\n// \t})\n// }\n\nexport const goToOtherMiniProgram = async () => {\n\ttry {\n\t\tconst res = await fetchConfig();\n\t\tconsole.log('config response:', res);\n\t\tconst appid = res.go_to_app_id;\n\t\tconst path = res.go_to_app_path;\n\t\tuni.navigateToMiniProgram({\n\t\t\tappId: appid, // 替换为目标小程序的appid\n\t\t\tpath: path,\n\t\t\tsuccess(res) {\n\t\t\t\tconsole.log('跳转成功', res);\n\t\t\t},\n\t\t\tfail(err) {\n\t\t\t\tconsole.error('跳转失败', err);\n\t\t\t}\n\t\t});\n\t} catch (error) {\n\t\tconsole.error('Failed to load shop config:', error);\n\t\tuni.showToast({\n\t\t\ttitle: '加载失败',\n\t\t\ticon: 'none'\n\t\t});\n\t}\n}\n\nexport const showPayImgs = async () => {\n try {\n const res = await fetchConfig();\n console.log('config response:', res);\n // 注意这里可能要根据你的实际数据结构调整\n const store_qr_codes = res.pay_qr_code?.map(item => item.url) || [];\n if (store_qr_codes.length === 0) {\n uni.showToast({\n title: '暂无图片',\n icon: 'none'\n });\n return;\n }\n console.log('preview images:', store_qr_codes);\n uni.previewImage({\n urls: store_qr_codes\n });\n } catch (error) {\n console.error('Failed to load shop config:', error);\n uni.showToast({\n title: '加载失败',\n icon: 'none'\n });\n }\n}\n\nexport const clearReactiveData = (obj) => {\n\tfor (const key in obj) {\n\t\tdelete obj[key]\n\t}\n}\n\n\n// export const switchCart = (type) => {\n// \tuni.setStorageSync('SHOPPING_CART_TYPE', type)\n// \tuni.switchTab({ url: '/pages/cart/index' })\n// }"],"names":["uni"],"mappings":";;AAMA,MAAM,eAAe;AAAA,EACpB;AAAA,EACA;AAAA,EACA;AACD;AAGa,MAAA,aAAa,CAAC,QAAiB;AAC3C,MAAI,kBAAkB;AACtB,eAAa,QAAQ,CAAQ,SAAA;AAC5B,QAAI,IAAI,QAAQ,IAAI,MAAM,GAAG;AACV,wBAAA;AAAA,IACnB;AAAA,EAAA,CACA;AACD,MAAI,iBAAiB;AACpB,cAAU,GAAG;AAAA,EAAA,OACP;AACNA,kBAAAA,MAAI,WAAW;AAAA,MACd;AAAA,IAAA,CACA;AAAA,EACF;AAED;AAEa,MAAA,YAAY,CAAC,QAAiB;AAC1CA,gBAAAA,MAAI,UAAU;AAAA,IACb;AAAA,EAAA,CACA;AACF;AAEa,MAAA,gBAAgB,CAAC,iBAA2B;AACxD,aAAW,qCAAqC,YAAY;AAC7D;;;;"}
{"version":3,"file":"helper.js","sources":["utils/helper.ts"],"sourcesContent":["\n\n\nconst tabbar_pages = [\n\t'/pages/index/index',\n\t'/pages/cart/index',\n\t'/pages/mine/index',\n]\n\n\nexport const navigateTo = (url : string) => {\n\tlet is_tabbar_pages = false\n\ttabbar_pages.forEach(item => {\n\t\tif (url.indexOf(item) === 0) {\n\t\t\tis_tabbar_pages = true\n\t\t}\n\t})\n\tif (is_tabbar_pages) {\n\t\tswitchTab(url)\n\t} else {\n\t\tuni.navigateTo({\n\t\t\turl: url\n\t\t})\n\t}\n\n}\n\nexport const switchTab = (url : string) => {\n\tuni.switchTab({\n\t\turl: url\n\t})\n}\n\nexport const goToLoginPage = (redirect_url ?: string) => {\n\tnavigateTo('/pages/login/index?redirect_url=' + redirect_url)\n}\n// export const showWechatImg = () => {\n// \tuni.previewImage({\n// \t\turls: ['https://qn.19year.cn/20250329143234415bb1067.jpg']\n// \t})\n// }\n// export const showWechatPayImg = () => {\n// \tuni.previewImage({\n// \t\turls: ['https://qn.19year.cn/20250330193232a6aca4595.jpg']\n// \t})\n// }\n\nexport const goToOtherMiniProgram = async () => {\n\ttry {\n\t\tconst res = await fetchConfig();\n\t\tconsole.log('config response:', res);\n\t\tconst appid = res.go_to_app_id;\n\t\tconst path = res.go_to_app_path;\n\t\tuni.navigateToMiniProgram({\n\t\t\tappId: appid, // 替换为目标小程序的appid\n\t\t\tpath: path,\n\t\t\tsuccess(res) {\n\t\t\t\tconsole.log('跳转成功', res);\n\t\t\t},\n\t\t\tfail(err) {\n\t\t\t\tconsole.error('跳转失败', err);\n\t\t\t}\n\t\t});\n\t} catch (error) {\n\t\tconsole.error('Failed to load shop config:', error);\n\t\tuni.showToast({\n\t\t\ttitle: '加载失败',\n\t\t\ticon: 'none'\n\t\t});\n\t}\n}\n\nexport const showPayImgs = async () => {\n try {\n const res = await fetchConfig();\n console.log('config response:', res);\n // 注意这里可能要根据你的实际数据结构调整\n const store_qr_codes = res.pay_qr_code?.map(item => item.url) || [];\n if (store_qr_codes.length === 0) {\n uni.showToast({\n title: '暂无图片',\n icon: 'none'\n });\n return;\n }\n console.log('preview images:', store_qr_codes);\n uni.previewImage({\n urls: store_qr_codes\n });\n } catch (error) {\n console.error('Failed to load shop config:', error);\n uni.showToast({\n title: '加载失败',\n icon: 'none'\n });\n }\n}\n\nexport const clearReactiveData = (obj) => {\n\tfor (const key in obj) {\n\t\tdelete obj[key]\n\t}\n}\n\n\n// export const switchCart = (type) => {\n// \tuni.setStorageSync('SHOPPING_CART_TYPE', type)\n// \tuni.switchTab({ url: '/pages/cart/index' })\n// }"],"names":["uni"],"mappings":";;AAGA,MAAM,eAAe;AAAA,EACpB;AAAA,EACA;AAAA,EACA;AACD;AAGa,MAAA,aAAa,CAAC,QAAiB;AAC3C,MAAI,kBAAkB;AACtB,eAAa,QAAQ,CAAQ,SAAA;AAC5B,QAAI,IAAI,QAAQ,IAAI,MAAM,GAAG;AACV,wBAAA;AAAA,IACnB;AAAA,EAAA,CACA;AACD,MAAI,iBAAiB;AACpB,cAAU,GAAG;AAAA,EAAA,OACP;AACNA,kBAAAA,MAAI,WAAW;AAAA,MACd;AAAA,IAAA,CACA;AAAA,EACF;AAED;AAEa,MAAA,YAAY,CAAC,QAAiB;AAC1CA,gBAAAA,MAAI,UAAU;AAAA,IACb;AAAA,EAAA,CACA;AACF;AAEa,MAAA,gBAAgB,CAAC,iBAA2B;AACxD,aAAW,qCAAqC,YAAY;AAC7D;;;;"}