first commit

This commit is contained in:
PC-202306242200\Administrator
2026-03-28 23:10:55 +08:00
commit 1c24452b6c
1735 changed files with 150474 additions and 0 deletions

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

@@ -0,0 +1 @@
{"version":3,"names":["swiperList","ref","wx","createPage","_sfc_main"],"sources":["goods.vue","cGFnZXMvZ29vZHMvZ29vZHMudnVl"],"sourcesContent":["<template>\n\t<view>\n\t\t<wd-swiper :list=\"swiperList\" direction=\"vertical\" indicatorPosition=\"right\" autoplay v-model:current=\"current\" @click=\"handleClick\" @change=\"onChange\">\n\t\t\t<template #indicator=\"{ current, total }\">\n\t\t\t\t<view class=\"custom-indicator\" style=\"position: absolute; bottom: 24rpx; right: 24rpx\">{{ current + 1 }}/{{ total }}</view>\n\t\t\t</template>\n\t\t</wd-swiper>\n\t</view>\n</template>\n\n<script setup lang=\"ts\">\nconst swiperList = ref(['https://wot-ui.cn/assets/redpanda.jpg', 'https://wot-ui.cn/assets/capybara.jpg']);\n</script>\n\n<style></style>\n","import MiniProgramPage from 'D:/Backup/Documents/HBuilderProjects/dajiankuang/pages/goods/goods.vue'\nwx.createPage(MiniProgramPage)"],"mappings":";;;;;;;;;;;;;;;;;IAWA,IAAMA,UAAA,GAAaC,GAAA,CAAI,CAAC,yCAAyC,uCAAuC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACVzGC,EAAA,CAAGC,UAAA,CAAWC,SAAe","ignoreList":[]}

View File

@@ -0,0 +1 @@
{"version":3,"names":["active","common_vendor","ref","categoryId","paging","dataList","noticeCateList","onLoad","api_index","api","noticeCatePage","then","res","value","list","queryList","pageNo","pageSize","goodsPage","type","complete","catch","back","index","navigateBack","wx","createPage","MiniProgramPage"],"sources":["prefecture.vue","cGFnZXMvZ29vZHMvcHJlZmVjdHVyZS52dWU"],"sourcesContent":["<template>\n\t<view class=\"notice\">\n\t\t<wd-navbar title=\"进货专区\" safeAreaInsetTop left-arrow @click-left=\"back\"></wd-navbar>\n\t\t<z-paging ref=\"paging\" v-model=\"dataList\" use-page-scroll @query=\"queryList\">\n\t\t\t<view class=\"p30\">\n\t\t\t\t<view class=\"home_block\" @click=\"toGoods(item.id)\" v-for=\"(item, index) in dataList\" :key=\"index\">\n\t\t\t\t\t<image class=\"home_block_left\" :src=\"item.cover\"></image>\n\t\t\t\t\t<view class=\"home_block_right\">\n\t\t\t\t\t\t<view class=\"home_block_right_title\">{{ item.name }}</view>\n\t\t\t\t\t\t<view class=\"home_block_right_info\">{{ item.specs }}</view>\n\t\t\t\t\t\t<view style=\"display: flex; justify-content: space-between; align-items: center; margin-top: 25rpx\">\n\t\t\t\t\t\t\t<view style=\"font-size: 36rpx; font-weight: bold; color: #ff2929\">¥{{ item.currentPrice }}</view>\n\t\t\t\t\t\t\t<view class=\"home_block_right_button\">下单</view>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t</z-paging>\n\t</view>\n</template>\n\n<script setup lang=\"ts\">\nimport { onLoad } from '@dcloudio/uni-app';\nimport { ref, computed } from 'vue';\nimport api from '@/api/index';\nconst active = ref(1);\nconst categoryId = ref<string | number>('');\nconst paging = ref(null);\nconst dataList = ref([]);\nconst noticeCateList = ref([]);\nonLoad(() => {\n\tapi.noticeCatePage().then((res) => {\n\t\tnoticeCateList.value = res.list;\n\t});\n});\n\nconst activeChange = (e, cateId) => {\n\tactive.value = e;\n\tcategoryId.value = cateId;\n\tpaging.value.reload();\n};\n\nconst queryList = (pageNo, pageSize) => {\n\tapi.goodsPage({ pageNo, pageSize, type: active.value, categoryId: categoryId.value })\n\t\t.then((res: any) => {\n\t\t\tpaging.value.complete(res.list);\n\t\t})\n\t\t.catch((res) => {\n\t\t\tpaging.value.complete(false);\n\t\t});\n};\n\nconst back = () => {\n\tuni.navigateBack();\n};\n</script>\n\n<style lang=\"scss\" scoped>\n.notice {\n\t&_block {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: space-between;\n\t\tpadding: 0 35rpx;\n\t\twidth: 690rpx;\n\t\theight: 106rpx;\n\t\tbackground: #ffffff;\n\t\tborder-radius: 16rpx;\n\t\tposition: relative;\n\n\t\tfont-weight: 400;\n\t\tfont-size: 24rpx;\n\t\tcolor: #232323;\n\t}\n}\n\n.home_block {\n\twidth: 690rpx;\n\theight: 250rpx;\n\tbackground: #ffffff;\n\tborder-radius: 8rpx 8rpx 8rpx 8rpx;\n\tdisplay: flex;\n\talign-items: center;\n\tpadding-right: 25rpx;\n\t&_left {\n\t\twidth: 250rpx;\n\t\theight: 250rpx;\n\t\tborder-radius: 8rpx 8rpx 8rpx 8rpx;\n\t\tmargin-right: 25rpx;\n\t}\n\t&_right {\n\t\tflex: 1;\n\t\t&_title {\n\t\t\tfont-weight: 600;\n\t\t\tfont-size: 28rpx;\n\t\t\tcolor: #232323;\n\t\t}\n\t\t&_info {\n\t\t\tfont-weight: 400;\n\t\t\tfont-size: 24rpx;\n\t\t\tcolor: #232323;\n\t\t\tmargin-top: 25rpx;\n\t\t}\n\t\t&_button {\n\t\t\twidth: 128rpx;\n\t\t\theight: 48rpx;\n\t\t\tbackground: #ff2a2a;\n\t\t\tbox-shadow: 0rpx 2rpx 4rpx 2rpx #dbdbdb;\n\t\t\tborder-radius: 10rpx 10rpx 10rpx 10rpx;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\tfont-weight: 800;\n\t\t\tfont-size: 20rpx;\n\t\t\tcolor: #ffffff;\n\t\t}\n\t}\n}\n</style>\n","import MiniProgramPage from 'D:/Backup/Documents/HBuilderProjects/dajiankuang/pages/goods/prefecture.vue'\nwx.createPage(MiniProgramPage)"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;IAyBM,IAAAA,MAAA,GAASC,aAAA,CAAAC,GAAA,CAAI,CAAC;IACd,IAAAC,UAAA,GAAaF,aAAA,CAAAC,GAAA,CAAqB,EAAE;IACpC,IAAAE,MAAA,GAASH,aAAA,CAAAC,GAAA,CAAI,IAAI;IACjB,IAAAG,QAAA,GAAWJ,aAAA,CAAAC,GAAA,CAAI,EAAE;IACjB,IAAAI,cAAA,GAAiBL,aAAA,CAAAC,GAAA,CAAI,EAAE;IAC7BD,aAAA,CAAAM,MAAA,CAAO,YAAM;MACZC,SAAA,CAAAC,GAAA,CAAIC,cAAA,EAAe,CAAEC,IAAA,CAAK,UAACC,GAAA,EAAQ;QAClCN,cAAA,CAAeO,KAAA,GAAQD,GAAA,CAAIE,IAAA;MAAA,CAC3B;IAAA,CACD;IAQK,IAAAC,SAAA,GAAY,SAAZA,UAAaC,MAAA,EAAQC,QAAA,EAAa;MACvCT,SAAA,CAAAC,GAAA,CAAIS,SAAA,CAAU;QAAEF,MAAA,EAAAA,MAAA;QAAQC,QAAA,EAAAA,QAAA;QAAUE,IAAA,EAAMnB,MAAA,CAAOa,KAAA;QAAOV,UAAA,EAAYA,UAAA,CAAWU;MAAM,CAAC,EAClFF,IAAA,CAAK,UAACC,GAAA,EAAa;QACZR,MAAA,CAAAS,KAAA,CAAMO,QAAA,CAASR,GAAA,CAAIE,IAAI;MAAA,CAC9B,EACAO,KAAA,CAAM,UAACT,GAAA,EAAQ;QACRR,MAAA,CAAAS,KAAA,CAAMO,QAAA,CAAS,KAAK;MAAA,CAC3B;IAAA;IAGH,IAAME,IAAA,GAAO,SAAPA,KAAA,EAAa;MAClBrB,aAAA,CAAAsB,KAAA,CAAIC,YAAA,EAAa;IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACpDlBC,EAAA,CAAGC,UAAA,CAAWC,eAAe","ignoreList":[]}

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

@@ -0,0 +1 @@
{"version":3,"names":["wx","createPage","_sfc_main"],"sources":["cGFnZXMvbWluZS9tb2JpbGUudnVl"],"sourcesContent":["import MiniProgramPage from 'D:/Backup/Documents/HBuilderProjects/dajiankuang/pages/mine/mobile.vue'\nwx.createPage(MiniProgramPage)"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACAA,EAAA,CAAGC,UAAA,CAAWC,SAAe","ignoreList":[]}

View File

@@ -0,0 +1 @@
{"version":3,"names":["articleItem","common_vendor","ref","onLoad","options","api_index","api","noticeInfo","id","then","res","value","wx","createPage","_sfc_main"],"sources":["details.vue","cGFnZXMvbm90aWNlL2RldGFpbHMudnVl"],"sourcesContent":["<template>\n\t<view style=\"padding: 30rpx\">\n\t\t<view style=\"font-size: 34rpx\">{{ articleItem.title }}</view>\n\t\t<view style=\"height: 20rpx\"></view>\n\t\t<view style=\"color: #999; font-size: 30rpx\">发布时间:{{ articleItem.createdAt }}</view>\n\t\t<view style=\"height: 20rpx\"></view>\n\t\t<video v-if=\"articleItem.video\" style=\"width: 690rpx; height: 388rpx\" :poster=\"articleItem.cover\" :src=\"articleItem.video\" :direction=\"90\"></video>\n\t\t<view style=\"height: 20rpx\"></view>\n\t\t<view>\n\t\t\t<mp-html :content=\"goods.detail\" />\n\t\t</view>\n\t\t<view style=\"50rpx\"></view>\n\t</view>\n</template>\n\n<script setup lang=\"ts\">\nimport { onLoad } from '@dcloudio/uni-app';\nimport { ref, computed } from 'vue';\nimport api from '@/api/index';\n\nconst articleItem = ref({});\n\nonLoad((options: any) => {\n\tapi.noticeInfo({ id: options.id }).then((res) => {\n\t\tarticleItem.value = res;\n\t});\n});\n</script>\n\n<style></style>\n","import MiniProgramPage from 'D:/Backup/Documents/HBuilderProjects/dajiankuang/pages/notice/details.vue'\nwx.createPage(MiniProgramPage)"],"mappings":";;;;;;;;;;;;;;;;;;IAoBM,IAAAA,WAAA,GAAcC,aAAA,CAAAC,GAAA,CAAI,EAAE;IAE1BD,aAAA,CAAAE,MAAA,CAAO,UAACC,OAAA,EAAiB;MACpBC,SAAA,CAAAC,GAAA,CAAAC,UAAA,CAAW;QAAEC,EAAA,EAAIJ,OAAA,CAAQI;MAAA,CAAI,EAAEC,IAAA,CAAK,UAACC,GAAA,EAAQ;QAChDV,WAAA,CAAYW,KAAA,GAAQD,GAAA;MAAA,CACpB;IAAA,CACD;;;;;;;;;;;;;;;;;ACzBDE,EAAA,CAAGC,UAAA,CAAWC,SAAe","ignoreList":[]}

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

@@ -0,0 +1 @@
{"version":3,"file":"http.js","sources":["api/http.ts"],"sourcesContent":["import { toast } from '@/utils/fun.js';\r\n\r\nexport const proxyObj = {\r\n\t// 开发版\r\n\tdevelopment: 'https://apidjk.jitujt.com',\r\n\t// development: 'http://192.168.1.62:48080',\r\n\t// development: 'http://192.168.1.191:48080',\r\n\t// 正式版\r\n\tproduction: 'https://apidjk.jitujt.com',\r\n}\r\n\r\ninterface shortcutsType {\r\n\turl : string\r\n\tparams : any\r\n\tmethod : any\r\n}\r\n\r\n\r\n\r\nexport const http = ({ url, params, method } : shortcutsType) => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\tlet Authorization : string = uni.getStorageSync('Authorization') || ''\r\n\t\tlet header = {\r\n\t\t\tAuthorization,\r\n\t\t\t\"Tenant-id\": \"134\",\r\n\t\t}\r\n\t\tuni.request({\r\n\t\t\turl: proxyObj[process.env.NODE_ENV || 'development'] + url,\r\n\t\t\tdata: params || {},\r\n\t\t\tmethod: method || 'POST',\r\n\t\t\theader: header,\r\n\t\t\tsuccess: (res : any) => {\r\n\t\t\t\tconst data = res.data\r\n\t\t\t\tif (data.code == 401 || res.statusCode == 401) {\r\n\t\t\t\t\tuni.removeStorageSync('Authorization');\r\n\t\t\t\t\tuni.removeStorageSync('userInfo');\r\n\r\n\r\n\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\ttitle: '提示',\r\n\t\t\t\t\t\tcontent: `${Authorization ? '登录失效' : '你还未登录'},是否前往登录?`,\r\n\t\t\t\t\t\tsuccess: function (res) {\r\n\t\t\t\t\t\t\tif (res.confirm) {\r\n\t\t\t\t\t\t\t\t// uni.clearStorageSync();\r\n\t\t\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\t\t\turl: '/pages/login/login'\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t} else if (res.cancel) {\r\n\t\t\t\t\t\t\t\tuni.clearStorageSync();\r\n\t\t\t\t\t\t\t\tconsole.log('用户点击取消');\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t\treject(data)\r\n\t\t\t\t\treturn\r\n\t\t\t\t}\r\n\t\t\t\tif (data.code === 0) {\r\n\t\t\t\t\tresolve(data.data || null)\r\n\t\t\t\t} else {\r\n\t\t\t\t\ttoast(data.msg)\r\n\t\t\t\t\treject(data)\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tfail: (err) => {\r\n\t\t\t\treject(err)\r\n\t\t\t}\r\n\t\t})\r\n\t});\r\n};"],"names":["uni","res","toast"],"mappings":";;;AAEO,MAAM,WAAW;AAAA;AAAA,EAEvB,aAAa;AAAA;AAAA;AAAA;AAAA,EAIb,YAAY;AACb;AAUO,MAAM,OAAO,CAAC,EAAE,KAAK,QAAQ,aAA6B;AAChE,SAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACvC,QAAI,gBAAyBA,cAAA,MAAI,eAAe,eAAe,KAAK;AACpE,QAAI,SAAS;AAAA,MACZ;AAAA,MACA,aAAa;AAAA,IAAA;AAEdA,kBAAAA,MAAI,QAAQ;AAAA,MACX,KAAK,SAAS,aAAqC,IAAI;AAAA,MACvD,MAAM,UAAU,CAAC;AAAA,MACjB,QAAQ,UAAU;AAAA,MAClB;AAAA,MACA,SAAS,CAAC,QAAc;AACvB,cAAM,OAAO,IAAI;AACjB,YAAI,KAAK,QAAQ,OAAO,IAAI,cAAc,KAAK;AAC9CA,8BAAI,kBAAkB,eAAe;AACrCA,8BAAI,kBAAkB,UAAU;AAGhCA,wBAAAA,MAAI,UAAU;AAAA,YACb,OAAO;AAAA,YACP,SAAS,GAAG,gBAAgB,SAAS,OAAO;AAAA,YAC5C,SAAS,SAAUC,MAAK;AACvB,kBAAIA,KAAI,SAAS;AAEhBD,8BAAAA,MAAI,WAAW;AAAA,kBACd,KAAK;AAAA,gBAAA,CACL;AAAA,cAAA,WACSC,KAAI,QAAQ;AACtBD,8BAAA,MAAI,iBAAiB;AACTA,8BAAAA,MAAA,MAAA,OAAA,qBAAA,QAAQ;AAAA,cACrB;AAAA,YACD;AAAA,UAAA,CACA;AACD,iBAAO,IAAI;AACX;AAAA,QACD;AACI,YAAA,KAAK,SAAS,GAAG;AACZ,kBAAA,KAAK,QAAQ,IAAI;AAAA,QAAA,OACnB;AACNE,0BAAM,KAAK,GAAG;AACd,iBAAO,IAAI;AAAA,QACZ;AAAA,MACD;AAAA,MACA,MAAM,CAAC,QAAQ;AACd,eAAO,GAAG;AAAA,MACX;AAAA,IAAA,CACA;AAAA,EAAA,CACD;AACF;;;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.js","sources":["api/index.ts"],"sourcesContent":["import users from './modules/users'\r\nimport goods from './modules/goods'\r\nimport config from './modules/config'\r\nimport order from './modules/order'\r\n// 公用接口申明\r\nconst api = {\r\n\t// 用户相关接口\r\n\t...users,\r\n\t...goods,\r\n\t...config,\r\n\t...order\r\n}\r\nexport default api"],"names":["users","goods","config","order"],"mappings":";;;;;AAKA,MAAM,MAAM;AAAA;AAAA,EAEX,GAAGA,kBAAA;AAAA,EACH,GAAGC,kBAAA;AAAA,EACH,GAAGC,mBAAA;AAAA,EACH,GAAGC,kBAAA;AACJ;;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"config.js","sources":["api/modules/config.ts"],"sourcesContent":["import { http } from '../http'\r\n\r\n\r\n\r\n\r\n// 用户相关接口\r\nconst api = {\r\n\t// 轮播图列表\r\n\tbanner: (params = {}) => http({ url: '/app-api/djk/app/banner/page', params, method: 'GET' }),\r\n\t// 公告列表\r\n\tnoticePage: (params = {}) => http({ url: '/app-api/djk/app/notice/page', params, method: 'GET' }),\r\n\t// 公告分类\r\n\tnoticeCatePage: (params = {}) => http({ url: '/app-api/djk/app/notice-category/page', params, method: 'GET' }),\r\n\t// 公告详情\r\n\tnoticeInfo: (params = {}) => http({ url: '/app-api/djk/app/notice/get', params, method: 'GET' }),\r\n}\r\nexport default api"],"names":["http"],"mappings":";;AAMA,MAAM,MAAM;AAAA;AAAA,EAEX,QAAQ,CAAC,SAAS,CAAO,MAAAA,cAAK,EAAE,KAAK,gCAAgC,QAAQ,QAAQ,OAAO;AAAA;AAAA,EAE5F,YAAY,CAAC,SAAS,CAAO,MAAAA,cAAK,EAAE,KAAK,gCAAgC,QAAQ,QAAQ,OAAO;AAAA;AAAA,EAEhG,gBAAgB,CAAC,SAAS,CAAO,MAAAA,cAAK,EAAE,KAAK,yCAAyC,QAAQ,QAAQ,OAAO;AAAA;AAAA,EAE7G,YAAY,CAAC,SAAS,CAAO,MAAAA,cAAK,EAAE,KAAK,+BAA+B,QAAQ,QAAQ,OAAO;AAChG;;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"goods.js","sources":["api/modules/goods.ts"],"sourcesContent":["import { http } from '../http'\r\n\r\n\r\n\r\n\r\n// 用户相关接口\r\nconst api = {\r\n\t// 商品列表\r\n\tgoodsPage: (params = {}) => http({ url: '/app-api/djk/app/goods/page', params, method: 'GET' }),\r\n\t// 商品详情\r\n\tgoodsInfo: (params = {}) => http({ url: '/app-api/djk/app/goods/get', params, method: 'GET' }),\r\n\t// 商品分类\r\n\tgoodsCate: (params = {}) => http({ url: '/app-api/djk/app/goods/category/page', params, method: 'GET' }),\r\n}\r\nexport default api"],"names":["http"],"mappings":";;AAMA,MAAM,MAAM;AAAA;AAAA,EAEX,WAAW,CAAC,SAAS,CAAO,MAAAA,cAAK,EAAE,KAAK,+BAA+B,QAAQ,QAAQ,OAAO;AAAA;AAAA,EAE9F,WAAW,CAAC,SAAS,CAAO,MAAAA,cAAK,EAAE,KAAK,8BAA8B,QAAQ,QAAQ,OAAO;AAAA;AAAA,EAE7F,WAAW,CAAC,SAAS,CAAO,MAAAA,cAAK,EAAE,KAAK,wCAAwC,QAAQ,QAAQ,OAAO;AACxG;;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"order.js","sources":["api/modules/order.ts"],"sourcesContent":["import { http } from '../http'\r\n\r\n\r\n\r\n\r\n// 用户相关接口\r\nconst api = {\r\n\t// 创建用户订单\r\n\torderCreate: (params = {}) => http({ url: '/app-api/djk/app/order/create', params, method: 'POST' }),\r\n\t// 用户订单列表\r\n\torderPage: (params = {}) => http({ url: '/app-api/djk/app/order/page', params, method: 'GET' }),\r\n\t// 获取用户订单详情\r\n\torderInfo: (params = {}) => http({ url: '/app-api/djk/app/order/get', params, method: 'GET' }),\r\n}\r\nexport default api"],"names":["http"],"mappings":";;AAMA,MAAM,MAAM;AAAA;AAAA,EAEX,aAAa,CAAC,SAAS,CAAO,MAAAA,cAAK,EAAE,KAAK,iCAAiC,QAAQ,QAAQ,QAAQ;AAAA;AAAA,EAEnG,WAAW,CAAC,SAAS,CAAO,MAAAA,cAAK,EAAE,KAAK,+BAA+B,QAAQ,QAAQ,OAAO;AAAA;AAAA,EAE9F,WAAW,CAAC,SAAS,CAAO,MAAAA,cAAK,EAAE,KAAK,8BAA8B,QAAQ,QAAQ,OAAO;AAC9F;;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"users.js","sources":["api/modules/users.ts"],"sourcesContent":["import { http } from '../http'\r\n\r\n\r\n\r\n\r\n// 用户相关接口\r\nconst api = {\r\n\t// 密码登录\r\n\tloginApi: (params = {}) => http({ url: '/app-api/member/auth/login', params, method: 'POST' }),\r\n\t// 验证码登录\r\n\tsmsLoginApi: (params = {}) => http({ url: '/app-api/member/auth/sms-login', params, method: 'POST' }),\r\n\t//用户注册\r\n\tregisterApi: (params = {}) => http({ url: '/app-api/member/auth/register', params, method: 'POST' }),\r\n\t// 发送验证码\r\n\tsmsCode: (params = {}) => http({ url: '/app-api/member/auth/send-sms-code', params, method: 'POST' }),\r\n\t// 用户基本信息\r\n\tusersGetInfo: (params = {}) => http({ url: '/app-api/member/user/get', params, method: 'GET' }),\r\n\t// 获取团队列表\r\n\tusersGetInfoTeam: (params = {}) => http({ url: '/app-api/member/user/getPage', params, method: 'GET' }),\r\n\t// 修改个人信息\r\n\tusersUpdate: (params = {}) => http({ url: '/app-api/member/user/update', params, method: 'PUT' }),\r\n\t// 收货地址分页\r\n\taddressPage: (params = {}) => http({ url: '/app-api/djk/app/user-receiver/page', params, method: 'GET' }),\r\n\t// 新增收货地址\r\n\taddressAdd: (params = {}) => http({ url: '/app-api/djk/app/user-receiver/create', params, method: 'POST' }),\r\n\t// 编辑收货地址\r\n\taddressUp: (params = {}) => http({ url: '/app-api/djk/app/user-receiver/update', params, method: 'PUT' }),\r\n\t// 编辑收货地址\r\n\taddressInfo: (params = {}) => http({ url: '/app-api/djk/app/user-receiver/get', params, method: 'GET' }),\r\n\t// 删除收货地址\r\n\taddressDel: (params = {}) => http({ url: '/app-api/djk/app/user-receiver/delete?id=' + params.id, params, method: 'DELETE' }),\r\n\t// 余额记录\r\n\tmoneyRecord: (params = {}) => http({ url: '/app-api/member/money-record/djk/page', params, method: 'GET' }),\r\n\t// 修改用户手机号\r\n\tupdateMobile: (params = {}) => http({ url: '/app-api/member/user/update-mobile', params, method: 'PUT' }),\r\n\t// 报单综合\r\n\trewardReport: (params = {}) => http({ url: '/app-api/member/money-record/djk/rewardReport', params, method: 'GET' }),\r\n\t// 团队月度业绩奖查询\r\n\tgetTeamMonthlyPerformanceAward: (params = {}) => http({ url: '/app-api/member/money-record/djk/getTeamMonthlyPerformanceAward', params, method: 'GET' }),\r\n\t\r\n\t// 划转\r\n\ttransfer2other: (params = {}) => http({ url: '/app-api/member/user/pay/transfer2other', params, method: 'POST' }),\r\n}\r\nexport default api"],"names":["http"],"mappings":";;AAMA,MAAM,MAAM;AAAA;AAAA,EAEX,UAAU,CAAC,SAAS,CAAO,MAAAA,cAAK,EAAE,KAAK,8BAA8B,QAAQ,QAAQ,QAAQ;AAAA;AAAA,EAE7F,aAAa,CAAC,SAAS,CAAO,MAAAA,cAAK,EAAE,KAAK,kCAAkC,QAAQ,QAAQ,QAAQ;AAAA;AAAA,EAEpG,aAAa,CAAC,SAAS,CAAO,MAAAA,cAAK,EAAE,KAAK,iCAAiC,QAAQ,QAAQ,QAAQ;AAAA;AAAA,EAEnG,SAAS,CAAC,SAAS,CAAO,MAAAA,cAAK,EAAE,KAAK,sCAAsC,QAAQ,QAAQ,QAAQ;AAAA;AAAA,EAEpG,cAAc,CAAC,SAAS,CAAO,MAAAA,cAAK,EAAE,KAAK,4BAA4B,QAAQ,QAAQ,OAAO;AAAA;AAAA,EAE9F,kBAAkB,CAAC,SAAS,CAAO,MAAAA,cAAK,EAAE,KAAK,gCAAgC,QAAQ,QAAQ,OAAO;AAAA;AAAA,EAEtG,aAAa,CAAC,SAAS,CAAO,MAAAA,cAAK,EAAE,KAAK,+BAA+B,QAAQ,QAAQ,OAAO;AAAA;AAAA,EAEhG,aAAa,CAAC,SAAS,CAAO,MAAAA,cAAK,EAAE,KAAK,uCAAuC,QAAQ,QAAQ,OAAO;AAAA;AAAA,EAExG,YAAY,CAAC,SAAS,CAAO,MAAAA,cAAK,EAAE,KAAK,yCAAyC,QAAQ,QAAQ,QAAQ;AAAA;AAAA,EAE1G,WAAW,CAAC,SAAS,CAAO,MAAAA,cAAK,EAAE,KAAK,yCAAyC,QAAQ,QAAQ,OAAO;AAAA;AAAA,EAExG,aAAa,CAAC,SAAS,CAAO,MAAAA,cAAK,EAAE,KAAK,sCAAsC,QAAQ,QAAQ,OAAO;AAAA;AAAA,EAEvG,YAAY,CAAC,SAAS,OAAOA,SAAAA,KAAK,EAAE,KAAK,8CAA8C,OAAO,IAAI,QAAQ,QAAQ,UAAU;AAAA;AAAA,EAE5H,aAAa,CAAC,SAAS,CAAO,MAAAA,cAAK,EAAE,KAAK,yCAAyC,QAAQ,QAAQ,OAAO;AAAA;AAAA,EAE1G,cAAc,CAAC,SAAS,CAAO,MAAAA,cAAK,EAAE,KAAK,sCAAsC,QAAQ,QAAQ,OAAO;AAAA;AAAA,EAExG,cAAc,CAAC,SAAS,CAAO,MAAAA,cAAK,EAAE,KAAK,iDAAiD,QAAQ,QAAQ,OAAO;AAAA;AAAA,EAEnH,gCAAgC,CAAC,SAAS,CAAO,MAAAA,cAAK,EAAE,KAAK,mEAAmE,QAAQ,QAAQ,OAAO;AAAA;AAAA,EAGvJ,gBAAgB,CAAC,SAAS,CAAO,MAAAA,cAAK,EAAE,KAAK,2CAA2C,QAAQ,QAAQ,QAAQ;AACjH;;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["<script>\nimport { Store } from '@/store';\n \nexport default {\n\tonLaunch: async function (options) {\n\t\tif (options && options.query) {\r\n\t\t\tuni.setStorageSync('inviteCode', options.query.scene);\r\n\t\t\tconsole.log('----',uni.getStorageSync('inviteCode'));\n\t\t}\n\n\t\tconst store = Store();\n\t\tawait store.usersGetInfo();\n\t},\n\tonShow: function (options) {\r\n\t\tuni.setStorageSync('inviteCode', options.query.scene);\r\n\t\tconsole.log('App Show');\n\t},\n\tonHide: function () {\n\t\tconsole.log('App Hide');\n\t}\n};\n</script>\n\n<style lang=\"scss\">\n/*每个页面公共css */\n@import '@/uni_modules/uni-scss/index.scss';\n/* #ifndef APP-NVUE */\n@import '@/static/customicons.css';\n// 设置整个项目的背景色\n\n@import '@/common/index.scss';\n\npage {\n\tbackground-color: #f5f5f5;\n}\n\n/* #endif */\n.example-info {\n\tfont-size: 14px;\n\tcolor: #333;\n\tpadding: 10px;\n}\n</style>\n","// #ifndef VUE3\r\nimport Vue from 'vue'\r\nimport App from './App'\r\n\r\nVue.config.productionTip = false\r\n\r\nApp.mpType = 'app'\r\n\r\nconst app = new Vue({\r\n\t...App\r\n})\r\n\r\n\r\nimport share from \"./utils/mpShare.js\";\r\nVue.mixin(share)\r\n\r\napp.$mount()\r\n// #endif\r\n\r\n// #ifdef VUE3\r\nimport {\r\n\tcreateSSRApp\r\n} from 'vue'\r\nimport App from './App.vue'\r\nimport * as Pinia from 'pinia'\r\nimport share from \"./utils/mpShare.js\";\r\n\r\n\r\nexport function createApp() {\r\n\tconst app = createSSRApp(App)\r\n\tapp.mixin(share)\r\n\tapp.use(Pinia.createPinia())\r\n\treturn {\r\n\t\tapp\r\n\t}\r\n}\r\n// #endif"],"names":["uni","Store","createSSRApp","App","share","Pinia.createPinia"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,MAAK,YAAU;AAAA,EACd,UAAU,eAAgB,SAAS;AAClC,QAAI,WAAW,QAAQ,OAAO;AAC7BA,oBAAG,MAAC,eAAe,cAAc,QAAQ,MAAM,KAAK;AACpDA,0BAAY,MAAA,OAAA,gBAAA,QAAOA,oBAAI,eAAe,YAAY,CAAC;AAAA,IACpD;AAEA,UAAM,QAAQC,YAAAA;AACd,UAAM,MAAM;EACZ;AAAA,EACD,QAAQ,SAAU,SAAS;AAC1BD,kBAAG,MAAC,eAAe,cAAc,QAAQ,MAAM,KAAK;AACpDA,kBAAAA,MAAA,MAAA,OAAA,iBAAY,UAAU;AAAA,EACtB;AAAA,EACD,QAAQ,WAAY;AACnBA,kBAAAA,MAAA,MAAA,OAAA,iBAAY,UAAU;AAAA,EACvB;AACD;ACQO,SAAS,YAAY;AAC3B,QAAM,MAAME,cAAY,aAACC,SAAG;AAC5B,MAAI,MAAMC,mBAAK;AACf,MAAI,IAAIC,cAAAA,aAAmB;AAC3B,SAAO;AAAA,IACN;AAAA,EACA;AACF;;;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"assets.js","sources":["static/homeBanner.png","static/logo.png","static/hui.png","static/yao.png","static/warn.png","static/icons/cha.png","static/mineBanner.png","static/icons/code.png","static/icons/youh.png","static/y.png","static/icons/info.png","static/icons/money.png","static/icons/tj.png","static/icons/address.png","static/icons/kf.png","../../../../static/image/login.png","static/icons/fx.png","static/icons/goodkf.png","static/team.png","static/icons/yue.png","static/settbie.png","../../../../static/icon/icon_img.png","static/equityBei.png","static/equity_pack.png","static/equity/s1.png","static/equity/s2.png","static/equity/s3.png","static/icons/gou.png","static/qianBeiAs.png","static/qianbaoBei.png","static/icons/huazhuan.png","static/icons/wen.png","static/icons/zhangdan.png","static/icons/xia.png"],"sourcesContent":["export default \"__VITE_ASSET__e3bb4717__\"","export default \"__VITE_ASSET__ed2da831__\"","export default \"__VITE_ASSET__94cb21a4__\"","export default \"__VITE_ASSET__a541c814__\"","export default \"__VITE_ASSET__85514052__\"","export default \"__VITE_ASSET__ba93d0d5__\"","export default \"__VITE_ASSET__8c613b9d__\"","export default \"__VITE_ASSET__50e76cc3__\"","export default \"__VITE_ASSET__48f10fd1__\"","export default \"__VITE_ASSET__48f77c9e__\"","export default \"__VITE_ASSET__508b795d__\"","export default \"__VITE_ASSET__b2ea6e16__\"","export default \"__VITE_ASSET__451ee32a__\"","export default \"__VITE_ASSET__d6227597__\"","export default \"__VITE_ASSET__ca325ced__\"","export default \"/static/image/login.png\"","export default \"__VITE_ASSET__9dae9e2c__\"","export default \"__VITE_ASSET__296fd3bb__\"","export default \"__VITE_ASSET__fd1bab6f__\"","export default \"__VITE_ASSET__45336ac4__\"","export default \"__VITE_ASSET__76c04766__\"","export default \"/static/icon/icon_img.png\"","export default \"__VITE_ASSET__093a5f55__\"","export default \"__VITE_ASSET__50c8411b__\"","export default \"__VITE_ASSET__d39877b8__\"","export default \"__VITE_ASSET__89b986d4__\"","export default \"__VITE_ASSET__08e53343__\"","export default \"__VITE_ASSET__8cbb3304__\"","export default \"__VITE_ASSET__f7ac59d3__\"","export default \"__VITE_ASSET__07e072e8__\"","export default \"__VITE_ASSET__47cb0e9f__\"","export default \"__VITE_ASSET__324eeddf__\"","export default \"__VITE_ASSET__a1d2ce1e__\"","export default \"__VITE_ASSET__8c5effc7__\""],"names":[],"mappings":";AAAA,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,aAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;ACAf,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
{"version":3,"file":"useNav.js","sources":["hooks/useNav.js"],"sourcesContent":["import {\r\n\tref,\r\n\twatch\r\n} from 'vue';\r\nimport {\r\n\tStore\r\n} from '@/store';\r\nconst store = Store();\r\n\r\nexport function useNav() {\r\n\r\n\tconst navTo = (path, token, call) => {\r\n\t\tif (call) {\r\n\t\t\tuni.makePhoneCall({\r\n\t\t\t\tphoneNumber: '17707569278'\r\n\t\t\t});\r\n\t\t\treturn\r\n\t\t}\r\n\r\n\t\tconst Authorization = uni.getStorageSync('Authorization') || ''\r\n\t\tif (token && !Authorization) {\r\n\t\t\treturn uni.showModal({\r\n\t\t\t\ttitle: '提示',\r\n\t\t\t\tcontent: '你还未登录,是否前往登录?',\r\n\t\t\t\tsuccess: function(res) {\r\n\t\t\t\t\tif (res.confirm) {\r\n\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\turl: '/pages/login/login'\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t} else if (res.cancel) {\r\n\t\t\t\t\t\tconsole.log('用户点击取消');\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\tuni.navigateTo({\r\n\t\t\t\turl: path\r\n\t\t\t})\r\n\t\t}\r\n\t}\r\n\r\n\tconst nav = (e) => {\r\n\t\tuni[e.type == 'nav' || !e.type ? 'navigateTo' : e.type == 'switchTab' ? 'switchTab' : 'navigateTo']({\r\n\t\t\turl: e.path\r\n\t\t})\r\n\t}\r\n\r\n\treturn {\r\n\t\tnav,\r\n\t\tnavTo\r\n\t}\r\n}\r\n\r\nexport default useNav"],"names":["Store","uni"],"mappings":";;;AAOcA,YAAAA,MAAQ;AAEf,SAAS,SAAS;AAExB,QAAM,QAAQ,CAAC,MAAM,OAAO,SAAS;AACpC,QAAI,MAAM;AACTC,oBAAAA,MAAI,cAAc;AAAA,QACjB,aAAa;AAAA,MACjB,CAAI;AACD;AAAA,IACA;AAED,UAAM,gBAAgBA,cAAG,MAAC,eAAe,eAAe,KAAK;AAC7D,QAAI,SAAS,CAAC,eAAe;AAC5B,aAAOA,cAAAA,MAAI,UAAU;AAAA,QACpB,OAAO;AAAA,QACP,SAAS;AAAA,QACT,SAAS,SAAS,KAAK;AACtB,cAAI,IAAI,SAAS;AAChBA,0BAAAA,MAAI,WAAW;AAAA,cACd,KAAK;AAAA,YACZ,CAAO;AAAA,UACP,WAAgB,IAAI,QAAQ;AACtBA,0BAAAA,4CAAY,QAAQ;AAAA,UACpB;AAAA,QACD;AAAA,MACL,CAAI;AAAA,IACJ,OAAS;AACNA,oBAAAA,MAAI,WAAW;AAAA,QACd,KAAK;AAAA,MACT,CAAI;AAAA,IACD;AAAA,EACD;AAED,QAAM,MAAM,CAAC,MAAM;AAClBA,kBAAAA,MAAI,EAAE,QAAQ,SAAS,CAAC,EAAE,OAAO,eAAe,EAAE,QAAQ,cAAc,cAAc,YAAY,EAAE;AAAA,MACnG,KAAK,EAAE;AAAA,IACV,CAAG;AAAA,EACD;AAED,SAAO;AAAA,IACN;AAAA,IACA;AAAA,EACA;AACF;;"}

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

@@ -0,0 +1 @@
{"version":3,"file":"prefecture.js","sources":["pages/goods/prefecture.vue","../../../../program/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvZ29vZHMvcHJlZmVjdHVyZS52dWU"],"sourcesContent":["<template>\n\t<view class=\"notice\">\n\t\t<wd-navbar title=\"进货专区\" safeAreaInsetTop left-arrow @click-left=\"back\"></wd-navbar>\n\t\t<z-paging ref=\"paging\" v-model=\"dataList\" use-page-scroll @query=\"queryList\">\n\t\t\t<view class=\"p30\">\n\t\t\t\t<view class=\"home_block\" @click=\"toGoods(item.id)\" v-for=\"(item, index) in dataList\" :key=\"index\">\n\t\t\t\t\t<image class=\"home_block_left\" :src=\"item.cover\"></image>\n\t\t\t\t\t<view class=\"home_block_right\">\n\t\t\t\t\t\t<view class=\"home_block_right_title\">{{ item.name }}</view>\n\t\t\t\t\t\t<view class=\"home_block_right_info\">{{ item.specs }}</view>\n\t\t\t\t\t\t<view style=\"display: flex; justify-content: space-between; align-items: center; margin-top: 25rpx\">\n\t\t\t\t\t\t\t<view style=\"font-size: 36rpx; font-weight: bold; color: #ff2929\">¥{{ item.currentPrice }}</view>\n\t\t\t\t\t\t\t<view class=\"home_block_right_button\">下单</view>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t</z-paging>\n\t</view>\n</template>\n\n<script setup lang=\"ts\">\nimport { onLoad } from '@dcloudio/uni-app';\nimport { ref, computed } from 'vue';\nimport api from '@/api/index';\nconst active = ref(1);\nconst categoryId = ref<string | number>('');\nconst paging = ref(null);\nconst dataList = ref([]);\nconst noticeCateList = ref([]);\nonLoad(() => {\n\tapi.noticeCatePage().then((res) => {\n\t\tnoticeCateList.value = res.list;\n\t});\n});\n\nconst activeChange = (e, cateId) => {\n\tactive.value = e;\n\tcategoryId.value = cateId;\n\tpaging.value.reload();\n};\n\nconst queryList = (pageNo, pageSize) => {\n\tapi.goodsPage({ pageNo, pageSize, type: active.value, categoryId: categoryId.value,recommended:1 })\n\t\t.then((res: any) => {\n\t\t\tpaging.value.complete(res.list);\n\t\t})\n\t\t.catch((res) => {\n\t\t\tpaging.value.complete(false);\n\t\t});\n};\n\nconst toGoods = (e) => {\n\tuni.navigateTo({\n\t\turl: `/pages/goods/goods?id=${e}`\n\t});\n};\n\nconst back = () => {\n\tuni.navigateBack();\n};\n</script>\n\n<style lang=\"scss\" scoped>\n.notice {\n\t&_block {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: space-between;\n\t\tpadding: 0 35rpx;\n\t\twidth: 690rpx;\n\t\theight: 106rpx;\n\t\tbackground: #ffffff;\n\t\tborder-radius: 16rpx;\n\t\tposition: relative;\n\n\t\tfont-weight: 400;\n\t\tfont-size: 24rpx;\n\t\tcolor: #232323;\n\t}\n}\n\n.home_block {\n\twidth: 690rpx;\n\theight: 250rpx;\n\tbackground: #ffffff;\n\tborder-radius: 8rpx 8rpx 8rpx 8rpx;\n\tdisplay: flex;\n\talign-items: center;\n\tpadding-right: 25rpx;\n\tmargin-bottom: 25rpx;\n\t&_left {\n\t\twidth: 250rpx;\n\t\theight: 250rpx;\n\t\tborder-radius: 8rpx 8rpx 8rpx 8rpx;\n\t\tmargin-right: 25rpx;\n\t}\n\t&_right {\n\t\tflex: 1;\n\t\t&_title {\n\t\t\tfont-weight: 600;\n\t\t\tfont-size: 28rpx;\n\t\t\tcolor: #232323;\n\t\t}\n\t\t&_info {\n\t\t\tfont-weight: 400;\n\t\t\tfont-size: 24rpx;\n\t\t\tcolor: #232323;\n\t\t\tmargin-top: 25rpx;\n\t\t}\n\t\t&_button {\n\t\t\twidth: 128rpx;\n\t\t\theight: 48rpx;\n\t\t\tbackground: #ff2a2a;\n\t\t\tbox-shadow: 0rpx 2rpx 4rpx 2rpx #dbdbdb;\n\t\t\tborder-radius: 10rpx 10rpx 10rpx 10rpx;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\tfont-weight: 800;\n\t\t\tfont-size: 20rpx;\n\t\t\tcolor: #ffffff;\n\t\t}\n\t}\n}\n</style>\n","import MiniProgramPage from 'D:/Backup/Documents/HBuilderProjects/dajiankuang/pages/goods/prefecture.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref","onLoad","api","uni"],"mappings":";;;;;;;;;;;;;;;;AAyBM,UAAA,SAASA,kBAAI,CAAC;AACd,UAAA,aAAaA,kBAAqB,EAAE;AACpC,UAAA,SAASA,kBAAI,IAAI;AACjB,UAAA,WAAWA,kBAAI,CAAA,CAAE;AACjB,UAAA,iBAAiBA,kBAAI,CAAA,CAAE;AAC7BC,kBAAAA,OAAO,MAAM;AACZC,gBAAAA,IAAI,eAAe,EAAE,KAAK,CAAC,QAAQ;AAClC,uBAAe,QAAQ,IAAI;AAAA,MAAA,CAC3B;AAAA,IAAA,CACD;AAQK,UAAA,YAAY,CAAC,QAAQ,aAAa;AACvCA,gBAAA,IAAI,UAAU,EAAE,QAAQ,UAAU,MAAM,OAAO,OAAO,YAAY,WAAW,OAAM,aAAY,EAAG,CAAA,EAChG,KAAK,CAAC,QAAa;AACZ,eAAA,MAAM,SAAS,IAAI,IAAI;AAAA,MAAA,CAC9B,EACA,MAAM,CAAC,QAAQ;AACR,eAAA,MAAM,SAAS,KAAK;AAAA,MAAA,CAC3B;AAAA,IAAA;AAGG,UAAA,UAAU,CAAC,MAAM;AACtBC,oBAAAA,MAAI,WAAW;AAAA,QACd,KAAK,yBAAyB,CAAC;AAAA,MAAA,CAC/B;AAAA,IAAA;AAGF,UAAM,OAAO,MAAM;AAClBA,oBAAA,MAAI,aAAa;AAAA,IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC1DlB,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

View File

@@ -0,0 +1 @@
{"version":3,"file":"details.js","sources":["pages/notice/details.vue","../../../../program/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvbm90aWNlL2RldGFpbHMudnVl"],"sourcesContent":["<template>\n\t<view style=\"padding: 30rpx\">\n\t\t<view style=\"font-size: 34rpx\">{{ articleItem.title }}</view>\n\t\t<view style=\"height: 20rpx\"></view>\n\t\t<view style=\"color: #999; font-size: 30rpx\">发布时间:{{ timeFormat(articleItem.createTime, 'yyyy-MM-dd hh:mm:ss') }}</view>\n\t\t<view style=\"height: 20rpx\"></view>\n\t\t<video v-if=\"articleItem.video\" style=\"width: 690rpx; height: 388rpx\" :poster=\"articleItem.cover\" :src=\"articleItem.video\" :direction=\"90\"></video>\n\t\t<view style=\"height: 20rpx\"></view>\n\t\t<view>\n\t\t\t<mp-html :content=\"articleItem.content\" />\n\t\t</view>\n\t\t<view style=\"50rpx\"></view>\n\t</view>\n</template>\n\n<script setup lang=\"ts\">\nimport { onLoad } from '@dcloudio/uni-app';\nimport { ref, computed } from 'vue';\nimport api from '@/api/index';\nimport { timeFormat } from '@/utils/fun.js';\r\n\r\n\nconst articleItem = ref({});\n\nonLoad((options: any) => {\n\tapi.noticeInfo({ id: options.id }).then((res) => {\n\t\tarticleItem.value = res;\n\t});\n});\n</script>\n\n<style></style>\n","import MiniProgramPage from 'D:/Backup/Documents/HBuilderProjects/dajiankuang/pages/notice/details.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref","onLoad","api","MiniProgramPage"],"mappings":";;;;;;;;;;;;;;;AAsBM,UAAA,cAAcA,kBAAI,CAAA,CAAE;AAE1BC,kBAAA,OAAO,CAAC,YAAiB;AACpBC,oBAAA,WAAW,EAAE,IAAI,QAAQ,IAAI,EAAE,KAAK,CAAC,QAAQ;AAChD,oBAAY,QAAQ;AAAA,MAAA,CACpB;AAAA,IAAA,CACD;;;;;;;;;;;;;;;;;AC3BD,GAAG,WAAWC,SAAe;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"notice.js","sources":["pages/notice/notice.vue","../../../../program/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvbm90aWNlL25vdGljZS52dWU"],"sourcesContent":["<template>\n\t<view class=\"notice\">\n\t\t<wd-navbar title=\"公告\" safeAreaInsetTop left-arrow @click-left=\"back\"></wd-navbar>\n\n\t\t<!-- 顶部导航栏 -->\n\t\t<view class=\"nav-tabs\">\n\t\t\t<view class=\"tab-item\" :class=\"active == 1 ? 'active' : ''\" @click=\"activeChange(1, '')\">通知</view>\n\t\t\t<!-- <view class=\"tab-item\" :class=\"active == 2 ? 'active' : ''\" @click=\"activeChange(2, null)\">公告</view> -->\n\t\t\t<view\n\t\t\t\tclass=\"tab-item\"\n\t\t\t\t:class=\"active == 2 && categoryId == item.id ? 'active' : ''\"\n\t\t\t\t@click=\"activeChange(2, item.id)\"\n\t\t\t\tv-for=\"(item, index) in noticeCateList\"\n\t\t\t\t:key=\"index\"\n\t\t\t>\n\t\t\t\t{{ item.categoryName }}\n\t\t\t</view>\n\t\t</view>\n\n\t\t<z-paging ref=\"paging\" v-model=\"dataList\" use-page-scroll @query=\"queryList\">\n\t\t\t<view class=\"p30\">\n\t\t\t\t<view class=\"notice_block\" v-for=\"(item, index) in dataList\" :key=\"index\" @click=\"toDeitl(item)\">\n\t\t\t\t\t<view>\n\t\t\t\t\t\t{{ active == 1 ? '通知' : active == 2 ? noticeCateList.find((val) => val.id == categoryId).categoryName : '' }}{{\n\t\t\t\t\t\t\tactive == 1 ? item.content : item.title\n\t\t\t\t\t\t}}\n\t\t\t\t\t</view>\n\t\t\t\t\t<image style=\"width: 40rpx; height: 40rpx\" src=\"/static/y.png\" v-if=\"active == 2\"></image>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t</z-paging>\n\t</view>\n</template>\n\n<script setup lang=\"ts\">\nimport { onLoad } from '@dcloudio/uni-app';\nimport { ref, computed } from 'vue';\nimport api from '@/api/index';\nconst active = ref(1);\nconst categoryId = ref<string | number>('');\nconst paging = ref(null);\nconst dataList = ref([]);\nconst noticeCateList = ref([]);\nonLoad(() => {\n\tapi.noticeCatePage().then((res) => {\n\t\tnoticeCateList.value = res.list;\n\t});\n});\n\nconst toDeitl = (item) => {\n\tif (active.value == 1) {\n\t\tuni.showModal({\n\t\t\ttitle: '通知',\n\t\t\tcontent: item.content,\n\t\t\tshowCancel: false\n\t\t});\n\t} else {\n\t\tuni.navigateTo({\n\t\t\turl: '/pages/notice/details?id=' + item.id\n\t\t});\n\t}\n};\n\nconst activeChange = (e, cateId) => {\n\tactive.value = e;\n\tcategoryId.value = cateId;\n\tpaging.value.reload();\n};\n\nconst queryList = (pageNo, pageSize) => {\n\tapi.noticePage({ pageNo, pageSize, type: active.value, categoryId: categoryId.value })\n\t\t.then((res: any) => {\n\t\t\tpaging.value.complete(res.list);\n\t\t})\n\t\t.catch((res) => {\n\t\t\tpaging.value.complete(false);\n\t\t});\n};\n\nconst back = () => {\n\tuni.navigateBack();\n};\n</script>\n\n<style lang=\"scss\" scoped>\n.notice {\n\t&_block {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: space-between;\n\t\tpadding: 0 35rpx;\n\t\twidth: 690rpx;\n\t\theight: 106rpx;\n\t\tbackground: #ffffff;\n\t\tborder-radius: 16rpx;\n\t\tposition: relative;\n\n\t\tfont-weight: 400;\n\t\tfont-size: 24rpx;\n\t\tcolor: #232323;\n\t}\n\n\t/* 导航标签样式 */\n\t.nav-tabs {\n\t\tdisplay: flex;\n\t\t/* justify-content: space-around; */\n\t\tbackground-color: #ffffff;\n\t\tpadding: 24rpx 0;\n\t\tborder-bottom: 1rpx solid #eee;\n\t}\n\n\t.tab-item {\n\t\tfont-size: 15px;\n\t\tcolor: #999;\n\t\tposition: relative;\n\t\tpadding: 0 10px;\n\t\tz-index: 9;\n\t}\n\n\t.tab-item.active {\n\t\tcolor: #333;\n\t\tfont-weight: bold;\n\t}\n\n\t.tab-item.active::after {\n\t\tcontent: '';\n\t\tposition: absolute;\n\t\tbottom: 0rpx;\n\t\tright: 20rpx;\n\t\twidth: 40rpx;\n\t\theight: 12rpx;\n\t\tbackground: #627c54;\n\t\tborder-radius: 24rpx 24rpx 24rpx 24rpx;\n\t\tz-index: 5;\n\t\topacity: 0.8;\n\t}\n}\n</style>\n","import MiniProgramPage from 'D:/Backup/Documents/HBuilderProjects/dajiankuang/pages/notice/notice.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref","onLoad","api","uni"],"mappings":";;;;;;;;;;;;;;;;;AAsCM,UAAA,SAASA,kBAAI,CAAC;AACd,UAAA,aAAaA,kBAAqB,EAAE;AACpC,UAAA,SAASA,kBAAI,IAAI;AACjB,UAAA,WAAWA,kBAAI,CAAA,CAAE;AACjB,UAAA,iBAAiBA,kBAAI,CAAA,CAAE;AAC7BC,kBAAAA,OAAO,MAAM;AACZC,gBAAAA,IAAI,eAAe,EAAE,KAAK,CAAC,QAAQ;AAClC,uBAAe,QAAQ,IAAI;AAAA,MAAA,CAC3B;AAAA,IAAA,CACD;AAEK,UAAA,UAAU,CAAC,SAAS;AACrB,UAAA,OAAO,SAAS,GAAG;AACtBC,sBAAAA,MAAI,UAAU;AAAA,UACb,OAAO;AAAA,UACP,SAAS,KAAK;AAAA,UACd,YAAY;AAAA,QAAA,CACZ;AAAA,MAAA,OACK;AACNA,sBAAAA,MAAI,WAAW;AAAA,UACd,KAAK,8BAA8B,KAAK;AAAA,QAAA,CACxC;AAAA,MACF;AAAA,IAAA;AAGK,UAAA,eAAe,CAAC,GAAG,WAAW;AACnC,aAAO,QAAQ;AACf,iBAAW,QAAQ;AACnB,aAAO,MAAM;IAAO;AAGf,UAAA,YAAY,CAAC,QAAQ,aAAa;AACvCD,gBAAAA,IAAI,WAAW,EAAE,QAAQ,UAAU,MAAM,OAAO,OAAO,YAAY,WAAW,MAAM,CAAC,EACnF,KAAK,CAAC,QAAa;AACZ,eAAA,MAAM,SAAS,IAAI,IAAI;AAAA,MAAA,CAC9B,EACA,MAAM,CAAC,QAAQ;AACR,eAAA,MAAM,SAAS,KAAK;AAAA,MAAA,CAC3B;AAAA,IAAA;AAGH,UAAM,OAAO,MAAM;AAClBC,oBAAA,MAAI,aAAa;AAAA,IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC/ElB,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

View File

@@ -0,0 +1 @@
{"version":3,"file":"protocol.js","sources":["pages/protocol/protocol.vue","../../../../program/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvcHJvdG9jb2wvcHJvdG9jb2wudnVl"],"sourcesContent":["<template>\n\t<view>\n\t\t\n\t</view>\n</template>\n\n<script>\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\t\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\t\n\t\t}\n\t}\n</script>\n\n<style>\n\n</style>\n","import MiniProgramPage from 'D:/Backup/Documents/HBuilderProjects/dajiankuang/pages/protocol/protocol.vue'\nwx.createPage(MiniProgramPage)"],"names":[],"mappings":";;AAOC,MAAK,YAAU;AAAA,EACd,OAAO;AACN,WAAO,CAEP;AAAA,EACA;AAAA,EACD,SAAS,CAET;AACD;;;;;ACfD,GAAG,WAAW,eAAe;"}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
{"version":3,"file":"list.js","sources":["pages/wallet/list.vue","../../../../program/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvd2FsbGV0L2xpc3QudnVl"],"sourcesContent":["<template>\n\t<view>\n\t\t<wd-navbar title=\"我的账单\" :bordered=\"false\" left-arrow custom-style=\"background-color: transparent !important;\" safeAreaInsetTop @click-left=\"back\"></wd-navbar>\n\t\t<z-paging ref=\"paging\" :refresher-enabled=\"showLoading\" v-model=\"dataList\" use-page-scroll @query=\"queryList\">\n\t\t\t<view class=\"p30\">\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\n\t\t\t\t<view>\n\t\t\t\t\t<view style=\"display: flex; align-items: center; justify-content: space-between\">\n\t\t\t\t\t\t<image style=\"width: 74rpx; height: 34rpx\" mode=\"widthFix\" src=\"/static/icons/zhangdan.png\"></image>\n\n\t\t\t\t\t\t<wd-picker @close=\"showLoading = true\" @open=\"showLoading = false\" :columns=\"columns\" v-model=\"queryPrams.bizType\" use-default-slot @confirm=\"handleConfirm\">\n\t\t\t\t\t\t\t<view style=\"display: flex; align-items: center; font-size: 28rpx\">\n\t\t\t\t\t\t\t\t{{ typeName || '筛选' }}\n\t\t\t\t\t\t\t\t<image style=\"margin-left: 15rpx; width: 35rpx; height: 35rpx\" src=\"/static/icons/xia.png\"></image>\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t</wd-picker>\n\t\t\t\t\t</view>\n\n\t\t\t\t\t<view class=\"wall_list\" v-for=\"(item, index) in dataList\" :key=\"index\">\n\t\t\t\t\t\t<view>\n\t\t\t\t\t\t\t<view style=\"margin-bottom: 25rpx; font-size: 28rpx\">{{ item.title }}</view>\n\t\t\t\t\t\t\t<view style=\"font-size: 24rpx; color: #999\">\n\t\t\t\t\t\t\t\t{{ timeFormat(item.createTime, 'yyyy-MM-dd hh:mm:ss') }}\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view style=\"font-size: 32rpx; font-weight: bold; color: #799675\">¥{{ item.money }}</view>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t</z-paging>\n\t</view>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, computed } from 'vue';\nimport api from '@/api/index';\nimport { Store } from '@/store';\nconst store = Store();\nconst paging = ref(null);\nconst dataList = ref([]);\nconst columns = ref([]);\n\nconst showLoading = ref(true);\n\nconst typeName = ref('');\n\nconst queryPrams = ref({\n\tbizType: ''\n});\n\nconst userInfo = computed(\n\t() =>\n\t\tstore.userInfo || {\n\t\t\tinviteCode: '',\n\t\t\tnickname: '',\n\t\t\tmobile: '',\n\t\t\tavatar: '',\n\t\t\tpaywallet: {\n\t\t\t\tbalance: 0\n\t\t\t}\n\t\t}\n);\n\nimport { timeFormat } from '@/utils/fun.js';\n\nconst queryList = (pageNo, pageSize) => {\n\tapi.moneyRecord({ pageNo, pageSize, ...queryPrams.value })\n\t\t.then((res: any) => {\n\t\t\tcolumns.value = Object.entries(res.bizType).map(([value, label]) => ({\n\t\t\t\tvalue,\n\t\t\t\tlabel\n\t\t\t}));\n\t\t\tcolumns.value.unshift({\n\t\t\t\tlabel: '全部',\n\t\t\t\tvalue: ''\n\t\t\t});\n\t\t\tpaging.value.complete(res.list);\n\t\t})\n\t\t.catch((res) => {\n\t\t\tpaging.value.complete(false);\n\t\t});\n};\n\nconst handleConfirm = (e) => {\n\tif (!e.value) {\n\t\ttypeName.value = '';\n\t} else {\n\t\ttypeName.value = e.selectedItems.label;\n\t}\n\tpaging.value.reload();\n};\n\nconst back = () => {\n\tuni.navigateBack();\n};\n</script>\n\n<style lang=\"scss\" scoped>\n.block_wall {\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tflex-direction: column;\n\t&_tit {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t}\n}\n\n.wall_list {\n\twidth: 690rpx;\n\theight: 118rpx;\n\tbackground: #ffffff;\n\tbox-shadow: 0rpx 2rpx 8rpx 2rpx rgba(0, 88, 219, 0.06);\n\tborder-radius: 8rpx 8rpx 8rpx 8rpx;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: space-between;\n\tpadding: 0 30rpx;\n\tmargin-top: 30rpx;\n}\n</style>\n","import MiniProgramPage from 'D:/Backup/Documents/HBuilderProjects/dajiankuang/pages/wallet/list.vue'\nwx.createPage(MiniProgramPage)"],"names":["Store","ref","computed","api","uni"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAuCA,UAAM,QAAQA,YAAAA;AACR,UAAA,SAASC,kBAAI,IAAI;AACjB,UAAA,WAAWA,kBAAI,CAAA,CAAE;AACjB,UAAA,UAAUA,kBAAI,CAAA,CAAE;AAEhB,UAAA,cAAcA,kBAAI,IAAI;AAEtB,UAAA,WAAWA,kBAAI,EAAE;AAEvB,UAAM,aAAaA,cAAAA,IAAI;AAAA,MACtB,SAAS;AAAA,IAAA,CACT;AAEgBC,kBAAA;AAAA,MAChB,MACC,MAAM,YAAY;AAAA,QACjB,YAAY;AAAA,QACZ,UAAU;AAAA,QACV,QAAQ;AAAA,QACR,QAAQ;AAAA,QACR,WAAW;AAAA,UACV,SAAS;AAAA,QACV;AAAA,MACD;AAAA,IACF;AAIM,UAAA,YAAY,CAAC,QAAQ,aAAa;AACnCC,gBAAAA,IAAA,YAAY,EAAE,QAAQ,UAAU,GAAG,WAAW,OAAO,EACvD,KAAK,CAAC,QAAa;AACX,gBAAA,QAAQ,OAAO,QAAQ,IAAI,OAAO,EAAE,IAAI,CAAC,CAAC,OAAO,KAAK,OAAO;AAAA,UACpE;AAAA,UACA;AAAA,QACC,EAAA;AACF,gBAAQ,MAAM,QAAQ;AAAA,UACrB,OAAO;AAAA,UACP,OAAO;AAAA,QAAA,CACP;AACM,eAAA,MAAM,SAAS,IAAI,IAAI;AAAA,MAAA,CAC9B,EACA,MAAM,CAAC,QAAQ;AACR,eAAA,MAAM,SAAS,KAAK;AAAA,MAAA,CAC3B;AAAA,IAAA;AAGG,UAAA,gBAAgB,CAAC,MAAM;AACxB,UAAA,CAAC,EAAE,OAAO;AACb,iBAAS,QAAQ;AAAA,MAAA,OACX;AACG,iBAAA,QAAQ,EAAE,cAAc;AAAA,MAClC;AACA,aAAO,MAAM;IAAO;AAGrB,UAAM,OAAO,MAAM;AAClBC,oBAAA,MAAI,aAAa;AAAA,IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC9FlB,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

@@ -0,0 +1 @@
{"version":3,"file":"uni-dateformat.js","sources":["uni_modules/uni-dateformat/components/uni-dateformat/uni-dateformat.vue","../../../../program/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovQmFja3VwL0RvY3VtZW50cy9IQnVpbGRlclByb2plY3RzL2Rhamlhbmt1YW5nL3VuaV9tb2R1bGVzL3VuaS1kYXRlZm9ybWF0L2NvbXBvbmVudHMvdW5pLWRhdGVmb3JtYXQvdW5pLWRhdGVmb3JtYXQudnVl"],"sourcesContent":["<template>\r\n\t<text>{{dateShow}}</text>\r\n</template>\r\n\r\n<script>\r\n\timport {friendlyDate} from './date-format.js'\r\n\t/**\r\n\t * Dateformat 日期格式化\r\n\t * @description 日期格式化组件\r\n\t * @tutorial https://ext.dcloud.net.cn/plugin?id=3279\r\n\t * @property {Object|String|Number} date 日期对象/日期字符串/时间戳\r\n\t * @property {String} locale 格式化使用的语言\r\n\t * \t@value zh 中文\r\n\t * \t@value en 英文\r\n\t * @property {Array} threshold 应用不同类型格式化的阈值\r\n\t * @property {String} format 输出日期字符串时的格式\r\n\t */\r\n\texport default {\r\n\t\tname: 'uniDateformat',\r\n\t\tprops: {\r\n\t\t\tdate: {\r\n\t\t\t\ttype: [Object, String, Number],\r\n\t\t\t\tdefault () {\r\n\t\t\t\t\treturn '-'\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tlocale: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'zh',\r\n\t\t\t},\r\n\t\t\tthreshold: {\r\n\t\t\t\ttype: Array,\r\n\t\t\t\tdefault () {\r\n\t\t\t\t\treturn [0, 0]\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tformat: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'yyyy/MM/dd hh:mm:ss'\r\n\t\t\t},\r\n\t\t\t// refreshRate使用不当可能导致性能问题谨慎使用\r\n\t\t\trefreshRate: {\r\n\t\t\t\ttype: [Number, String],\r\n\t\t\t\tdefault: 0\r\n\t\t\t}\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\trefreshMark: 0\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\tdateShow() {\r\n\t\t\t\tthis.refreshMark\r\n\t\t\t\treturn friendlyDate(this.date, {\r\n\t\t\t\t\tlocale: this.locale,\r\n\t\t\t\t\tthreshold: this.threshold,\r\n\t\t\t\t\tformat: this.format\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t},\r\n\t\twatch: {\r\n\t\t\trefreshRate: {\r\n\t\t\t\thandler() {\r\n\t\t\t\t\tthis.setAutoRefresh()\r\n\t\t\t\t},\r\n\t\t\t\timmediate: true\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\trefresh() {\r\n\t\t\t\tthis.refreshMark++\r\n\t\t\t},\r\n\t\t\tsetAutoRefresh() {\r\n\t\t\t\tclearInterval(this.refreshInterval)\r\n\t\t\t\tif (this.refreshRate) {\r\n\t\t\t\t\tthis.refreshInterval = setInterval(() => {\r\n\t\t\t\t\t\tthis.refresh()\r\n\t\t\t\t\t}, parseInt(this.refreshRate))\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\r\n</style>\r\n","import Component from 'D:/Backup/Documents/HBuilderProjects/dajiankuang/uni_modules/uni-dateformat/components/uni-dateformat/uni-dateformat.vue'\nwx.createComponent(Component)"],"names":["friendlyDate"],"mappings":";;;AAiBC,MAAK,YAAU;AAAA,EACd,MAAM;AAAA,EACN,OAAO;AAAA,IACN,MAAM;AAAA,MACL,MAAM,CAAC,QAAQ,QAAQ,MAAM;AAAA,MAC7B,UAAW;AACV,eAAO;AAAA,MACR;AAAA,IACA;AAAA,IACD,QAAQ;AAAA,MACP,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,WAAW;AAAA,MACV,MAAM;AAAA,MACN,UAAW;AACV,eAAO,CAAC,GAAG,CAAC;AAAA,MACb;AAAA,IACA;AAAA,IACD,QAAQ;AAAA,MACP,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA,IAED,aAAa;AAAA,MACZ,MAAM,CAAC,QAAQ,MAAM;AAAA,MACrB,SAAS;AAAA,IACV;AAAA,EACA;AAAA,EACD,OAAO;AACN,WAAO;AAAA,MACN,aAAa;AAAA,IACd;AAAA,EACA;AAAA,EACD,UAAU;AAAA,IACT,WAAW;AACV,WAAK;AACL,aAAOA,8DAAY,aAAC,KAAK,MAAM;AAAA,QAC9B,QAAQ,KAAK;AAAA,QACb,WAAW,KAAK;AAAA,QAChB,QAAQ,KAAK;AAAA,OACb;AAAA,IACF;AAAA,EACA;AAAA,EACD,OAAO;AAAA,IACN,aAAa;AAAA,MACZ,UAAU;AACT,aAAK,eAAe;AAAA,MACpB;AAAA,MACD,WAAW;AAAA,IACZ;AAAA,EACA;AAAA,EACD,SAAS;AAAA,IACR,UAAU;AACT,WAAK;AAAA,IACL;AAAA,IACD,iBAAiB;AAChB,oBAAc,KAAK,eAAe;AAClC,UAAI,KAAK,aAAa;AACrB,aAAK,kBAAkB,YAAY,MAAM;AACxC,eAAK,QAAQ;AAAA,WACX,SAAS,KAAK,WAAW,CAAC;AAAA,MAC9B;AAAA,IACD;AAAA,EACD;AACD;;;;;;;ACjFD,GAAG,gBAAgB,SAAS;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"uni-icons.js","sources":["uni_modules/uni-icons/components/uni-icons/uni-icons.vue","../../../../program/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovQmFja3VwL0RvY3VtZW50cy9IQnVpbGRlclByb2plY3RzL2Rhamlhbmt1YW5nL3VuaV9tb2R1bGVzL3VuaS1pY29ucy9jb21wb25lbnRzL3VuaS1pY29ucy91bmktaWNvbnMudnVl"],"sourcesContent":["<template>\r\n\t<!-- #ifdef APP-NVUE -->\r\n\t<text :style=\"styleObj\" class=\"uni-icons\" @click=\"_onClick\">{{unicode}}</text>\r\n\t<!-- #endif -->\r\n\t<!-- #ifndef APP-NVUE -->\r\n\t<text :style=\"styleObj\" class=\"uni-icons\" :class=\"['uniui-'+type,customPrefix,customPrefix?type:'']\" @click=\"_onClick\">\r\n\t\t<slot></slot>\r\n\t</text>\r\n\t<!-- #endif -->\r\n</template>\r\n\r\n<script>\r\n\timport { fontData } from './uniicons_file_vue.js';\r\n\r\n\tconst getVal = (val) => {\r\n\t\tconst reg = /^[0-9]*$/g\r\n\t\treturn (typeof val === 'number' || reg.test(val)) ? val + 'px' : val;\r\n\t}\r\n\r\n\t// #ifdef APP-NVUE\r\n\tvar domModule = weex.requireModule('dom');\r\n\timport iconUrl from './uniicons.ttf'\r\n\tdomModule.addRule('fontFace', {\r\n\t\t'fontFamily': \"uniicons\",\r\n\t\t'src': \"url('\" + iconUrl + \"')\"\r\n\t});\r\n\t// #endif\r\n\r\n\t/**\r\n\t * Icons 图标\r\n\t * @description 用于展示 icons 图标\r\n\t * @tutorial https://ext.dcloud.net.cn/plugin?id=28\r\n\t * @property {Number} size 图标大小\r\n\t * @property {String} type 图标图案,参考示例\r\n\t * @property {String} color 图标颜色\r\n\t * @property {String} customPrefix 自定义图标\r\n\t * @event {Function} click 点击 Icon 触发事件\r\n\t */\r\n\texport default {\r\n\t\tname: 'UniIcons',\r\n\t\temits: ['click'],\r\n\t\tprops: {\r\n\t\t\ttype: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\tcolor: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: '#333333'\r\n\t\t\t},\r\n\t\t\tsize: {\r\n\t\t\t\ttype: [Number, String],\r\n\t\t\t\tdefault: 16\r\n\t\t\t},\r\n\t\t\tcustomPrefix: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\tfontFamily: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t}\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\ticons: fontData\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\tunicode() {\r\n\t\t\t\tlet code = this.icons.find(v => v.font_class === this.type)\r\n\t\t\t\tif (code) {\r\n\t\t\t\t\treturn code.unicode\r\n\t\t\t\t}\r\n\t\t\t\treturn ''\r\n\t\t\t},\r\n\t\t\ticonSize() {\r\n\t\t\t\treturn getVal(this.size)\r\n\t\t\t},\r\n\t\t\tstyleObj() {\r\n\t\t\t\tif (this.fontFamily !== '') {\r\n\t\t\t\t\treturn `color: ${this.color}; font-size: ${this.iconSize}; font-family: ${this.fontFamily};`\r\n\t\t\t\t}\r\n\t\t\t\treturn `color: ${this.color}; font-size: ${this.iconSize};`\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t_onClick() {\r\n\t\t\t\tthis.$emit('click')\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t/* #ifndef APP-NVUE */\r\n\t@import './uniicons.css';\r\n\r\n\t@font-face {\r\n\t\tfont-family: uniicons;\r\n\t\tsrc: url('./uniicons.ttf');\r\n\t}\r\n\r\n\t/* #endif */\r\n\t.uni-icons {\r\n\t\tfont-family: uniicons;\r\n\t\ttext-decoration: none;\r\n\t\ttext-align: center;\r\n\t}\r\n</style>\n","import Component from 'D:/Backup/Documents/HBuilderProjects/dajiankuang/uni_modules/uni-icons/components/uni-icons/uni-icons.vue'\nwx.createComponent(Component)"],"names":["fontData"],"mappings":";;;AAcC,MAAM,SAAS,CAAC,QAAQ;AACvB,QAAM,MAAM;AACZ,SAAQ,OAAO,QAAQ,YAAY,IAAI,KAAK,GAAG,IAAK,MAAM,OAAO;AAClE;AAqBA,MAAK,YAAU;AAAA,EACd,MAAM;AAAA,EACN,OAAO,CAAC,OAAO;AAAA,EACf,OAAO;AAAA,IACN,MAAM;AAAA,MACL,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,OAAO;AAAA,MACN,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,MAAM;AAAA,MACL,MAAM,CAAC,QAAQ,MAAM;AAAA,MACrB,SAAS;AAAA,IACT;AAAA,IACD,cAAc;AAAA,MACb,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,YAAY;AAAA,MACX,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA,EACA;AAAA,EACD,OAAO;AACN,WAAO;AAAA,MACN,OAAOA,2DAAO;AAAA,IACf;AAAA,EACA;AAAA,EACD,UAAU;AAAA,IACT,UAAU;AACT,UAAI,OAAO,KAAK,MAAM,KAAK,OAAK,EAAE,eAAe,KAAK,IAAI;AAC1D,UAAI,MAAM;AACT,eAAO,KAAK;AAAA,MACb;AACA,aAAO;AAAA,IACP;AAAA,IACD,WAAW;AACV,aAAO,OAAO,KAAK,IAAI;AAAA,IACvB;AAAA,IACD,WAAW;AACV,UAAI,KAAK,eAAe,IAAI;AAC3B,eAAO,UAAU,KAAK,KAAK,gBAAgB,KAAK,QAAQ,kBAAkB,KAAK,UAAU;AAAA,MAC1F;AACA,aAAO,UAAU,KAAK,KAAK,gBAAgB,KAAK,QAAQ;AAAA,IACzD;AAAA,EACA;AAAA,EACD,SAAS;AAAA,IACR,WAAW;AACV,WAAK,MAAM,OAAO;AAAA,IACnB;AAAA,EACD;AACD;;;;;;;;;;;AC1FD,GAAG,gBAAgB,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

@@ -0,0 +1 @@
{"version":3,"file":"AbortablePromise.js","sources":["uni_modules/wot-design-uni/components/common/AbortablePromise.ts"],"sourcesContent":["export class AbortablePromise<T> {\n promise: Promise<T>\n private _reject: ((res?: any) => void) | null = null\n\n constructor(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void) {\n this.promise = new Promise<T>((resolve, reject) => {\n executor(resolve, reject)\n this._reject = reject // 保存reject方法的引用以便在abort时调用\n })\n }\n // 提供abort方法来中止Promise\n abort(error?: any) {\n if (this._reject) {\n this._reject(error) // 调用reject方法来中止Promise\n }\n }\n\n then<TResult1 = T, TResult2 = never>(\n onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null,\n onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null\n ): Promise<TResult1 | TResult2> {\n return this.promise.then(onfulfilled, onrejected)\n }\n\n catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): Promise<T | TResult> {\n return this.promise.catch(onrejected)\n }\n}\n"],"names":[],"mappings":";AAAO,MAAM,iBAAoB;AAAA,EAI/B,YAAY,UAAkG;AAF9G,SAAQ,UAAwC;AAG9C,SAAK,UAAU,IAAI,QAAW,CAAC,SAAS,WAAW;AACjD,eAAS,SAAS,MAAM;AACxB,WAAK,UAAU;AAAA,IAAA,CAChB;AAAA,EACH;AAAA;AAAA,EAEA,MAAM,OAAa;AACjB,QAAI,KAAK,SAAS;AAChB,WAAK,QAAQ,KAAK;AAAA,IACpB;AAAA,EACF;AAAA,EAEA,KACE,aACA,YAC8B;AAC9B,WAAO,KAAK,QAAQ,KAAK,aAAa,UAAU;AAAA,EAClD;AAAA,EAEA,MAAuB,YAAyG;AACvH,WAAA,KAAK,QAAQ,MAAM,UAAU;AAAA,EACtC;AACF;;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"base64.js","sources":["uni_modules/wot-design-uni/components/common/base64.ts"],"sourcesContent":["const _b64chars: string[] = [...'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/']\nconst _mkUriSafe = (src: string): string => src.replace(/[+/]/g, (m0: string) => (m0 === '+' ? '-' : '_')).replace(/=+\\$/m, '')\nconst fromUint8Array = (src: Uint8Array, rfc4648 = false): string => {\n let b64 = ''\n for (let i = 0, l = src.length; i < l; i += 3) {\n const [a0, a1, a2] = [src[i], src[i + 1], src[i + 2]]\n const ord = (a0 << 16) | (a1 << 8) | a2\n b64 += _b64chars[ord >>> 18]\n b64 += _b64chars[(ord >>> 12) & 63]\n b64 += typeof a1 !== 'undefined' ? _b64chars[(ord >>> 6) & 63] : '='\n b64 += typeof a2 !== 'undefined' ? _b64chars[ord & 63] : '='\n }\n return rfc4648 ? _mkUriSafe(b64) : b64\n}\nconst _btoa: (s: string) => string =\n typeof btoa === 'function'\n ? (s: string) => btoa(s)\n : (s: string) => {\n if (s.charCodeAt(0) > 255) {\n throw new RangeError('The string contains invalid characters.')\n }\n return fromUint8Array(Uint8Array.from(s, (c: string) => c.charCodeAt(0)))\n }\nconst utob = (src: string): string => unescape(encodeURIComponent(src))\n\nexport default function encode(src: string, rfc4648 = false): string {\n const b64 = _btoa(utob(src))\n return rfc4648 ? _mkUriSafe(b64) : b64\n}\n"],"names":[],"mappings":";AAAA,MAAM,YAAsB,CAAC,GAAG,kEAAkE;AAClG,MAAM,aAAa,CAAC,QAAwB,IAAI,QAAQ,SAAS,CAAC,OAAgB,OAAO,MAAM,MAAM,GAAI,EAAE,QAAQ,SAAS,EAAE;AAC9H,MAAM,iBAAiB,CAAC,KAAiB,UAAU,UAAkB;AACnE,MAAI,MAAM;AACD,WAAA,IAAI,GAAG,IAAI,IAAI,QAAQ,IAAI,GAAG,KAAK,GAAG;AAC7C,UAAM,CAAC,IAAI,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,CAAC;AACpD,UAAM,MAAO,MAAM,KAAO,MAAM,IAAK;AAC9B,WAAA,UAAU,QAAQ,EAAE;AACpB,WAAA,UAAW,QAAQ,KAAM,EAAE;AAClC,WAAO,OAAO,OAAO,cAAc,UAAW,QAAQ,IAAK,EAAE,IAAI;AACjE,WAAO,OAAO,OAAO,cAAc,UAAU,MAAM,EAAE,IAAI;AAAA,EAC3D;AACO,SAAA,UAAU,WAAW,GAAG,IAAI;AACrC;AACA,MAAM,QACJ,OAAO,SAAS,aACZ,CAAC,MAAc,KAAK,CAAC,IACrB,CAAC,MAAc;AACb,MAAI,EAAE,WAAW,CAAC,IAAI,KAAK;AACnB,UAAA,IAAI,WAAW,yCAAyC;AAAA,EAChE;AACO,SAAA,eAAe,WAAW,KAAK,GAAG,CAAC,MAAc,EAAE,WAAW,CAAC,CAAC,CAAC;AAC1E;AACN,MAAM,OAAO,CAAC,QAAwB,SAAS,mBAAmB,GAAG,CAAC;AAE9C,SAAA,OAAO,KAAa,UAAU,OAAe;AACnE,QAAM,MAAM,MAAM,KAAK,GAAG,CAAC;AACpB,SAAA,UAAU,WAAW,GAAG,IAAI;AACrC;;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"clickoutside.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}

View File

@@ -0,0 +1 @@
{"version":3,"file":"interceptor.js","sources":["uni_modules/wot-design-uni/components/common/interceptor.ts"],"sourcesContent":["import { isPromise } from './util'\n\nfunction noop() {}\n\nexport type Interceptor = (...args: any[]) => Promise<boolean> | boolean | undefined | void\n\nexport function callInterceptor(\n interceptor: Interceptor | undefined,\n {\n args = [],\n done,\n canceled,\n error\n }: {\n args?: unknown[]\n done: () => void\n canceled?: () => void\n error?: () => void\n }\n) {\n if (interceptor) {\n // eslint-disable-next-line prefer-spread\n const returnVal = interceptor.apply(null, args)\n\n if (isPromise(returnVal)) {\n returnVal\n .then((value) => {\n if (value) {\n done()\n } else if (canceled) {\n canceled()\n }\n })\n .catch(error || noop)\n } else if (returnVal) {\n done()\n } else if (canceled) {\n canceled()\n }\n } else {\n done()\n }\n}\n"],"names":["isPromise"],"mappings":";;AAEA,SAAS,OAAO;AAAC;AAIV,SAAS,gBACd,aACA;AAAA,EACE,OAAO,CAAC;AAAA,EACR;AAAA,EACA;AAAA,EACA;AACF,GAMA;AACA,MAAI,aAAa;AAEf,UAAM,YAAY,YAAY,MAAM,MAAM,IAAI;AAE1C,QAAAA,gDAAAA,UAAU,SAAS,GAAG;AAErB,gBAAA,KAAK,CAAC,UAAU;AACf,YAAI,OAAO;AACJ;mBACI,UAAU;AACV;QACX;AAAA,MACD,CAAA,EACA,MAAM,SAAS,IAAI;AAAA,eACb,WAAW;AACf;eACI,UAAU;AACV;IACX;AAAA,EAAA,OACK;AACA;EACP;AACF;;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"props.js","sources":["uni_modules/wot-design-uni/components/common/props.ts"],"sourcesContent":["import type { PropType } from 'vue'\n\nexport const unknownProp = null as unknown as PropType<unknown>\n\nexport const numericProp = [Number, String]\n\nexport const truthProp = {\n type: Boolean,\n default: true as const\n}\n\nexport const makeRequiredProp = <T>(type: T) => ({\n type,\n required: true as const\n})\n\nexport const makeArrayProp = <T>() => ({\n type: Array as PropType<T[]>,\n default: () => []\n})\n\nexport const makeBooleanProp = <T>(defaultVal: T) => ({\n type: Boolean,\n default: defaultVal\n})\n\nexport const makeNumberProp = <T>(defaultVal: T) => ({\n type: Number,\n default: defaultVal\n})\n\nexport const makeNumericProp = <T>(defaultVal: T) => ({\n type: numericProp,\n default: defaultVal\n})\n\nexport const makeStringProp = <T>(defaultVal: T) => ({\n type: String as unknown as PropType<T>,\n default: defaultVal\n})\n\nexport const baseProps = {\n /**\n * 自定义根节点样式\n */\n customStyle: makeStringProp(''),\n /**\n * 自定义根节点样式类\n */\n customClass: makeStringProp('')\n}\n"],"names":[],"mappings":";AAIa,MAAA,cAAc,CAAC,QAAQ,MAAM;AAO7B,MAAA,mBAAmB,CAAI,UAAa;AAAA,EAC/C;AAAA,EACA,UAAU;AACZ;AAEO,MAAM,gBAAgB,OAAU;AAAA,EACrC,MAAM;AAAA,EACN,SAAS,MAAM,CAAC;AAClB;AAEa,MAAA,kBAAkB,CAAI,gBAAmB;AAAA,EACpD,MAAM;AAAA,EACN,SAAS;AACX;AAEa,MAAA,iBAAiB,CAAI,gBAAmB;AAAA,EACnD,MAAM;AAAA,EACN,SAAS;AACX;AAEa,MAAA,kBAAkB,CAAI,gBAAmB;AAAA,EACpD,MAAM;AAAA,EACN,SAAS;AACX;AAEa,MAAA,iBAAiB,CAAI,gBAAmB;AAAA,EACnD,MAAM;AAAA,EACN,SAAS;AACX;AAEO,MAAM,YAAY;AAAA;AAAA;AAAA;AAAA,EAIvB,aAAa,eAAe,EAAE;AAAA;AAAA;AAAA;AAAA,EAI9B,aAAa,eAAe,EAAE;AAChC;;;;;;;;;"}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"useCell.js","sources":["uni_modules/wot-design-uni/components/composables/useCell.ts"],"sourcesContent":["import { computed } from 'vue'\nimport { useParent } from './useParent'\nimport { CELL_GROUP_KEY } from '../wd-cell-group/types'\n\nexport function useCell() {\n const { parent: cellGroup, index } = useParent(CELL_GROUP_KEY)\n\n const border = computed(() => {\n return cellGroup && cellGroup.props.border && index.value\n })\n\n return { border }\n}\n"],"names":["useParent","CELL_GROUP_KEY","computed"],"mappings":";;;;AAIO,SAAS,UAAU;AACxB,QAAM,EAAE,QAAQ,WAAW,MAAM,IAAIA,0DAAAA,UAAUC,sDAAAA,cAAc;AAEvD,QAAA,SAASC,cAAAA,SAAS,MAAM;AAC5B,WAAO,aAAa,UAAU,MAAM,UAAU,MAAM;AAAA,EAAA,CACrD;AAED,SAAO,EAAE,OAAO;AAClB;;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"useChildren.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
{"version":3,"file":"useLockScroll.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"useParent.js","sources":["uni_modules/wot-design-uni/components/composables/useParent.ts"],"sourcesContent":["import {\n ref,\n inject,\n computed,\n onUnmounted,\n type InjectionKey,\n getCurrentInstance,\n type ComponentPublicInstance,\n type ComponentInternalInstance\n} from 'vue'\n\ntype ParentProvide<T> = T & {\n link(child: ComponentInternalInstance): void\n unlink(child: ComponentInternalInstance): void\n children: ComponentPublicInstance[]\n internalChildren: ComponentInternalInstance[]\n}\n\nexport function useParent<T>(key: InjectionKey<ParentProvide<T>>) {\n const parent = inject(key, null)\n\n if (parent) {\n const instance = getCurrentInstance()!\n const { link, unlink, internalChildren } = parent\n\n link(instance)\n onUnmounted(() => unlink(instance))\n\n const index = computed(() => internalChildren.indexOf(instance))\n\n return {\n parent,\n index\n }\n }\n\n return {\n parent: null,\n index: ref(-1)\n }\n}\n"],"names":["inject","getCurrentInstance","onUnmounted","computed","ref"],"mappings":";;AAkBO,SAAS,UAAa,KAAqC;AAC1D,QAAA,SAASA,cAAAA,OAAO,KAAK,IAAI;AAE/B,MAAI,QAAQ;AACV,UAAM,WAAWC,cAAAA;AACjB,UAAM,EAAE,MAAM,QAAQ,iBAAA,IAAqB;AAE3C,SAAK,QAAQ;AACDC,kBAAAA,YAAA,MAAM,OAAO,QAAQ,CAAC;AAElC,UAAM,QAAQC,cAAAA,SAAS,MAAM,iBAAiB,QAAQ,QAAQ,CAAC;AAExD,WAAA;AAAA,MACL;AAAA,MACA;AAAA,IAAA;AAAA,EAEJ;AAEO,SAAA;AAAA,IACL,QAAQ;AAAA,IACR,OAAOC,cAAAA,IAAI,EAAE;AAAA,EAAA;AAEjB;;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"usePopover.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"useQueue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"useRaf.js","sources":["uni_modules/wot-design-uni/components/composables/useRaf.ts"],"sourcesContent":["import { ref, onUnmounted } from 'vue'\nimport { isDef, isH5, isNumber } from '../common/util'\n\n// 定义回调函数类型\ntype RafCallback = (time: number) => void\n\nexport function useRaf(callback: RafCallback) {\n const requestRef = ref<number | null | ReturnType<typeof setTimeout>>(null)\n\n // 启动动画帧\n const start = () => {\n const handle = (time: number) => {\n callback(time)\n }\n\n if (isH5) {\n requestRef.value = requestAnimationFrame(handle)\n } else {\n requestRef.value = setTimeout(() => handle(Date.now()), 1000 / 30)\n }\n }\n\n // 取消动画帧\n const cancel = () => {\n if (isH5 && isNumber(requestRef.value)) {\n cancelAnimationFrame(requestRef.value!)\n } else if (isDef(requestRef.value)) {\n clearTimeout(requestRef.value)\n }\n }\n\n onUnmounted(() => {\n cancel()\n })\n\n return { start, cancel }\n}\n"],"names":["ref","isH5","isNumber","isDef","onUnmounted"],"mappings":";;;AAMO,SAAS,OAAO,UAAuB;AACtC,QAAA,aAAaA,kBAAmD,IAAI;AAG1E,QAAM,QAAQ,MAAM;AACZ,UAAA,SAAS,CAAC,SAAiB;AAC/B,eAAS,IAAI;AAAA,IAAA;AAGf,QAAIC,sDAAM;AACG,iBAAA,QAAQ,sBAAsB,MAAM;AAAA,IAAA,OAC1C;AACM,iBAAA,QAAQ,WAAW,MAAM,OAAO,KAAK,KAAK,GAAG,MAAO,EAAE;AAAA,IACnE;AAAA,EAAA;AAIF,QAAM,SAAS,MAAM;AACnB,QAAIA,wDAAQC,gDAAAA,SAAS,WAAW,KAAK,GAAG;AACtC,2BAAqB,WAAW,KAAM;AAAA,IAC7B,WAAAC,gDAAA,MAAM,WAAW,KAAK,GAAG;AAClC,mBAAa,WAAW,KAAK;AAAA,IAC/B;AAAA,EAAA;AAGFC,gBAAAA,YAAY,MAAM;AACT;EAAA,CACR;AAEM,SAAA,EAAE,OAAO;AAClB;;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"useTouch.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"useTranslate.js","sources":["uni_modules/wot-design-uni/components/composables/useTranslate.ts"],"sourcesContent":["import { camelCase, getPropByPath, isDef, isFunction } from '../common/util'\nimport Locale from '../../locale'\n\nexport const useTranslate = (name?: string) => {\n const prefix = name ? camelCase(name) + '.' : ''\n const translate = (key: string, ...args: unknown[]) => {\n const currentMessages = Locale.messages()\n const message = getPropByPath(currentMessages, prefix + key)\n return isFunction(message) ? message(...args) : isDef(message) ? message : `${prefix}${key}`\n }\n return { translate }\n}\n"],"names":["camelCase","Locale","getPropByPath","isFunction","isDef"],"mappings":";;;AAGa,MAAA,eAAe,CAAC,SAAkB;AAC7C,QAAM,SAAS,OAAOA,gDAAAA,UAAU,IAAI,IAAI,MAAM;AACxC,QAAA,YAAY,CAAC,QAAgB,SAAoB;AAC/C,UAAA,kBAAkBC,6CAAO;AAC/B,UAAM,UAAUC,gDAAA,cAAc,iBAAiB,SAAS,GAAG;AAC3D,WAAOC,gDAAW,WAAA,OAAO,IAAI,QAAQ,GAAG,IAAI,IAAIC,gDAAAA,MAAM,OAAO,IAAI,UAAU,GAAG,MAAM,GAAG,GAAG;AAAA,EAAA;AAE5F,SAAO,EAAE,UAAU;AACrB;;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"useUpload.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"types.js","sources":["uni_modules/wot-design-uni/components/wd-button/types.ts"],"sourcesContent":["/*\n * @Author: weisheng\n * @Date: 2024-03-15 11:36:12\n * @LastEditTime: 2024-11-04 21:33:52\n * @LastEditors: weisheng\n * @Description:\n * @FilePath: \\wot-design-uni\\src\\uni_modules\\wot-design-uni\\components\\wd-button\\types.ts\n * 记得注释\n */\nimport type { ExtractPropTypes, PropType } from 'vue'\nimport { baseProps, makeBooleanProp, makeStringProp } from '../common/props'\n\nexport type ButtonType = 'primary' | 'success' | 'info' | 'warning' | 'error' | 'default' | 'text' | 'icon'\nexport type ButtonSize = 'small' | 'medium' | 'large'\nexport type ButtonLang = 'zh_CN' | 'zh_TW' | 'en'\n\nexport type ButtonOpenType =\n | 'feedback'\n | 'share'\n | 'getUserInfo'\n | 'contact'\n | 'getPhoneNumber'\n | 'getRealtimePhoneNumber'\n | 'launchApp'\n | 'openSetting'\n | 'chooseAvatar'\n | 'getAuthorize'\n | 'lifestyle'\n | 'contactShare'\n | 'openGroupProfile'\n | 'openGuildProfile'\n | 'openPublicProfile'\n | 'shareMessageToFriend'\n | 'addFriend'\n | 'addColorSign'\n | 'addGroupApp'\n | 'addToFavorites'\n | 'chooseAddress'\n | 'chooseInvoiceTitle'\n | 'login'\n | 'subscribe'\n | 'favorite'\n | 'watchLater'\n | 'openProfile'\n | 'agreePrivacyAuthorization'\n\nexport type ButtonScope = 'phoneNumber' | 'userInfo'\n\nexport const buttonProps = {\n ...baseProps,\n /**\n * 幽灵按钮\n */\n plain: makeBooleanProp(false),\n /**\n * 圆角按钮\n */\n round: makeBooleanProp(true),\n /**\n * 禁用按钮\n */\n disabled: makeBooleanProp(false),\n /**\n * 是否细边框\n */\n hairline: makeBooleanProp(false),\n /**\n * 块状按钮\n */\n block: makeBooleanProp(false),\n /**\n * 按钮类型可选值primary / success / info / warning / error / text / icon\n */\n type: makeStringProp<ButtonType>('primary'),\n /**\n * 按钮尺寸可选值small / medium / large\n */\n size: makeStringProp<ButtonSize>('medium'),\n /**\n * 图标类名\n */\n icon: String,\n /**\n * 类名前缀用于使用自定义图标用法参考Icon组件\n */\n classPrefix: makeStringProp('wd-icon'),\n /**\n * 加载中按钮\n */\n loading: makeBooleanProp(false),\n /**\n * 加载图标颜色\n */\n loadingColor: String,\n /**\n * 开放能力\n */\n openType: String as PropType<ButtonOpenType>,\n /**\n * 指定是否阻止本节点的祖先节点出现点击态\n */\n hoverStopPropagation: Boolean,\n /**\n * 指定返回用户信息的语言zh_CN 简体中文zh_TW 繁体中文en 英文\n */\n lang: String as PropType<ButtonLang>,\n /**\n * 会话来源open-type=\"contact\"时有效\n */\n sessionFrom: String,\n /**\n * 会话内消息卡片标题open-type=\"contact\"时有效\n */\n sendMessageTitle: String,\n /**\n * 会话内消息卡片点击跳转小程序路径open-type=\"contact\"时有效\n */\n sendMessagePath: String,\n /**\n * 会话内消息卡片图片open-type=\"contact\"时有效\n */\n sendMessageImg: String,\n /**\n * 打开 APP 时,向 APP 传递的参数open-type=launchApp时有效\n */\n appParameter: String,\n /**\n * 是否显示会话内消息卡片,设置此参数为 true用户进入客服会话会在右下角显示\"可能要发送的小程序\"提示用户点击后可以快速发送小程序消息open-type=\"contact\"时有效\n */\n showMessageCard: Boolean,\n /**\n * 按钮的唯一标识可用于设置隐私同意授权按钮的id\n */\n buttonId: String,\n /**\n * 支付宝小程序,当 open-type 为 getAuthorize 时有效。\n * 可选值:'phoneNumber' | 'userInfo'\n */\n scope: String as PropType<ButtonScope>\n}\n\nexport type ButtonProps = ExtractPropTypes<typeof buttonProps>\n"],"names":["baseProps","makeBooleanProp","makeStringProp"],"mappings":";;AAgDO,MAAM,cAAc;AAAA,EACzB,GAAGA,iDAAA;AAAA;AAAA;AAAA;AAAA,EAIH,OAAOC,iEAAgB,KAAK;AAAA;AAAA;AAAA;AAAA,EAI5B,OAAOA,iEAAgB,IAAI;AAAA;AAAA;AAAA;AAAA,EAI3B,UAAUA,iEAAgB,KAAK;AAAA;AAAA;AAAA;AAAA,EAI/B,UAAUA,iEAAgB,KAAK;AAAA;AAAA;AAAA;AAAA,EAI/B,OAAOA,iEAAgB,KAAK;AAAA;AAAA;AAAA;AAAA,EAI5B,MAAMC,gEAA2B,SAAS;AAAA;AAAA;AAAA;AAAA,EAI1C,MAAMA,gEAA2B,QAAQ;AAAA;AAAA;AAAA;AAAA,EAIzC,MAAM;AAAA;AAAA;AAAA;AAAA,EAIN,aAAaA,gEAAe,SAAS;AAAA;AAAA;AAAA;AAAA,EAIrC,SAASD,iEAAgB,KAAK;AAAA;AAAA;AAAA;AAAA,EAI9B,cAAc;AAAA;AAAA;AAAA;AAAA,EAId,UAAU;AAAA;AAAA;AAAA;AAAA,EAIV,sBAAsB;AAAA;AAAA;AAAA;AAAA,EAItB,MAAM;AAAA;AAAA;AAAA;AAAA,EAIN,aAAa;AAAA;AAAA;AAAA;AAAA,EAIb,kBAAkB;AAAA;AAAA;AAAA;AAAA,EAIlB,iBAAiB;AAAA;AAAA;AAAA;AAAA,EAIjB,gBAAgB;AAAA;AAAA;AAAA;AAAA,EAIhB,cAAc;AAAA;AAAA;AAAA;AAAA,EAId,iBAAiB;AAAA;AAAA;AAAA;AAAA,EAIjB,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA,EAKV,OAAO;AACT;;"}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
{"version":3,"file":"types.js","sources":["uni_modules/wot-design-uni/components/wd-cell-group/types.ts"],"sourcesContent":["/*\n * @Author: weisheng\n * @Date: 2023-12-14 11:21:58\n * @LastEditTime: 2024-03-18 13:57:14\n * @LastEditors: weisheng\n * @Description:\n * @FilePath: \\wot-design-uni\\src\\uni_modules\\wot-design-uni\\components\\wd-cell-group\\types.ts\n * 记得注释\n */\nimport { type ExtractPropTypes, type InjectionKey } from 'vue'\nimport { baseProps, makeBooleanProp } from '../common/props'\n\nexport type CelllGroupProvide = {\n props: {\n border?: boolean\n }\n}\n\nexport const CELL_GROUP_KEY: InjectionKey<CelllGroupProvide> = Symbol('wd-cell-group')\n\nexport const cellGroupProps = {\n ...baseProps,\n /**\n * 分组标题\n */\n title: String,\n /**\n * 分组右侧内容\n */\n value: String,\n /**\n * 分组启用插槽\n */\n useSlot: makeBooleanProp(false),\n /**\n * 是否展示边框线\n */\n border: makeBooleanProp(false)\n}\n\nexport type CellGroupProps = ExtractPropTypes<typeof cellGroupProps>\n"],"names":[],"mappings":";AAkBa,MAAA,iBAAkD,OAAO,eAAe;;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"wd-cell-group.js","sources":["uni_modules/wot-design-uni/components/wd-cell-group/wd-cell-group.vue","../../../../program/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovQmFja3VwL0RvY3VtZW50cy9IQnVpbGRlclByb2plY3RzL2Rhamlhbmt1YW5nL3VuaV9tb2R1bGVzL3dvdC1kZXNpZ24tdW5pL2NvbXBvbmVudHMvd2QtY2VsbC1ncm91cC93ZC1jZWxsLWdyb3VwLnZ1ZQ"],"sourcesContent":["<template>\n <view :class=\"['wd-cell-group', border ? 'is-border' : '', customClass]\" :style=\"customStyle\">\n <view v-if=\"title || value || useSlot\" class=\"wd-cell-group__title\">\n <!--左侧标题-->\n <view class=\"wd-cell-group__left\">\n <text v-if=\"!$slots.title\">{{ title }}</text>\n <slot v-else name=\"title\"></slot>\n </view>\n <!--右侧标题-->\n <view class=\"wd-cell-group__right\">\n <text v-if=\"!$slots.value\">{{ value }}</text>\n <slot v-else name=\"value\"></slot>\n </view>\n </view>\n <view class=\"wd-cell-group__body\">\n <slot></slot>\n </view>\n </view>\n</template>\n\n<script lang=\"ts\">\nexport default {\n name: 'wd-cell-group',\n options: {\n addGlobalClass: true,\n virtualHost: true,\n styleIsolation: 'shared'\n }\n}\n</script>\n\n<script lang=\"ts\" setup>\nimport { useChildren } from '../composables/useChildren'\nimport { CELL_GROUP_KEY, cellGroupProps } from './types'\n\nconst props = defineProps(cellGroupProps)\n\nconst { linkChildren } = useChildren(CELL_GROUP_KEY)\n\nlinkChildren({ props })\n</script>\n\n<style lang=\"scss\" scoped>\n@import './index.scss';\n</style>\n","import Component from 'D:/Backup/Documents/HBuilderProjects/dajiankuang/uni_modules/wot-design-uni/components/wd-cell-group/wd-cell-group.vue'\nwx.createComponent(Component)"],"names":["useChildren","CELL_GROUP_KEY"],"mappings":";;;;AAqBA,MAAA,cAAe;AAAA,EACb,MAAM;AAAA,EACN,SAAS;AAAA,IACP,gBAAgB;AAAA,IAChB,aAAa;AAAA,IACb,gBAAgB;AAAA,EAClB;AACF;;;;;AAOA,UAAM,QAAQ;AAEd,UAAM,EAAE,aAAA,IAAiBA,4DAAA,YAAYC,sDAAc,cAAA;AAEtC,iBAAA,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;ACtCtB,GAAG,gBAAgB,SAAS;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"types.js","sources":["uni_modules/wot-design-uni/components/wd-cell/types.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport { baseProps, makeArrayProp, makeBooleanProp, makeStringProp, makeNumericProp, numericProp } from '../common/props'\n\nimport { type FormItemRule } from '../wd-form/types'\n\nexport const cellProps = {\n ...baseProps,\n /**\n * 标题\n */\n title: String,\n /**\n * 右侧内容\n */\n value: makeNumericProp(''),\n /**\n * 图标类名\n */\n icon: String,\n /**\n * 图标大小\n */\n iconSize: numericProp,\n /**\n * 描述信息\n */\n label: String,\n /**\n * 是否为跳转链接\n */\n isLink: makeBooleanProp(false),\n /**\n * 跳转地址\n */\n to: String,\n /**\n * 跳转时是否替换栈顶页面\n */\n replace: makeBooleanProp(false),\n /**\n * 开启点击反馈is-link 默认开启\n */\n clickable: makeBooleanProp(false),\n /**\n * 设置单元格大小可选值large\n */\n size: String,\n /**\n * 是否展示边框线\n */\n border: makeBooleanProp(void 0),\n /**\n * 设置左侧标题宽度\n */\n titleWidth: String,\n /**\n * 是否垂直居中,默认顶部居中\n */\n center: makeBooleanProp(false),\n /**\n * 是否必填\n */\n required: makeBooleanProp(false),\n /**\n * 表单属性,上下结构\n */\n vertical: makeBooleanProp(false),\n /**\n * 表单域 model 字段名,在使用表单校验功能的情况下,该属性是必填的\n */\n prop: String,\n /**\n * 表单验证规则结合wd-form组件使用\n */\n rules: makeArrayProp<FormItemRule>(),\n /**\n * icon 使用 slot 时的自定义样式\n */\n customIconClass: makeStringProp(''),\n /**\n * label 使用 slot 时的自定义样式\n */\n customLabelClass: makeStringProp(''),\n /**\n * value 使用 slot 时的自定义样式\n */\n customValueClass: makeStringProp(''),\n /**\n * title 使用 slot 时的自定义样式\n */\n customTitleClass: makeStringProp(''),\n /**\n * value 文字对齐方式可选值left、right、center\n */\n valueAlign: makeStringProp<'left' | 'right'>('right'),\n /**\n * 是否超出隐藏,显示省略号\n */\n ellipsis: makeBooleanProp(false),\n /**\n * 是否启用title插槽默认启用用来解决插槽传递时v-slot和v-if冲突问题。\n * 问题见https://github.com/dcloudio/uni-app/issues/4847\n */\n useTitleSlot: makeBooleanProp(true),\n /**\n * 必填标记位置可选值before标签前、after标签后\n */\n markerSide: makeStringProp<'before' | 'after'>('before')\n}\n\nexport type CellProps = ExtractPropTypes<typeof cellProps>\n"],"names":["baseProps","makeNumericProp","numericProp","makeBooleanProp","makeArrayProp","makeStringProp"],"mappings":";;AAKO,MAAM,YAAY;AAAA,EACvB,GAAGA,iDAAA;AAAA;AAAA;AAAA;AAAA,EAIH,OAAO;AAAA;AAAA;AAAA;AAAA,EAIP,OAAOC,iEAAgB,EAAE;AAAA;AAAA;AAAA;AAAA,EAIzB,MAAM;AAAA;AAAA;AAAA;AAAA,EAIN,UAAUC,iDAAA;AAAA;AAAA;AAAA;AAAA,EAIV,OAAO;AAAA;AAAA;AAAA;AAAA,EAIP,QAAQC,iEAAgB,KAAK;AAAA;AAAA;AAAA;AAAA,EAI7B,IAAI;AAAA;AAAA;AAAA;AAAA,EAIJ,SAASA,iEAAgB,KAAK;AAAA;AAAA;AAAA;AAAA,EAI9B,WAAWA,iEAAgB,KAAK;AAAA;AAAA;AAAA;AAAA,EAIhC,MAAM;AAAA;AAAA;AAAA;AAAA,EAIN,QAAQA,iDAAAA,gBAAgB,MAAM;AAAA;AAAA;AAAA;AAAA,EAI9B,YAAY;AAAA;AAAA;AAAA;AAAA,EAIZ,QAAQA,iEAAgB,KAAK;AAAA;AAAA;AAAA;AAAA,EAI7B,UAAUA,iEAAgB,KAAK;AAAA;AAAA;AAAA;AAAA,EAI/B,UAAUA,iEAAgB,KAAK;AAAA;AAAA;AAAA;AAAA,EAI/B,MAAM;AAAA;AAAA;AAAA;AAAA,EAIN,OAAOC,iDAAAA,cAA4B;AAAA;AAAA;AAAA;AAAA,EAInC,iBAAiBC,gEAAe,EAAE;AAAA;AAAA;AAAA;AAAA,EAIlC,kBAAkBA,gEAAe,EAAE;AAAA;AAAA;AAAA;AAAA,EAInC,kBAAkBA,gEAAe,EAAE;AAAA;AAAA;AAAA;AAAA,EAInC,kBAAkBA,gEAAe,EAAE;AAAA;AAAA;AAAA;AAAA,EAInC,YAAYA,gEAAiC,OAAO;AAAA;AAAA;AAAA;AAAA,EAIpD,UAAUF,iEAAgB,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA,EAK/B,cAAcA,iEAAgB,IAAI;AAAA;AAAA;AAAA;AAAA,EAIlC,YAAYE,gEAAmC,QAAQ;AACzD;;"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
{"version":3,"file":"util.js","sources":["uni_modules/wot-design-uni/components/wd-datetime-picker-view/util.ts"],"sourcesContent":["import { type DateTimeType } from './types'\n\n/**\n * @description 根据传入的值和类型,获取当前的选项数组,便于传入 pickerView\n * @param value\n * @param type picker类型\n * @param useSecond 是否使用秒,仅在 time 和 datetime 类型下生效\n */\nexport function getPickerValue(value: string | number, type: DateTimeType, useSecond: boolean = false) {\n const values: number[] = []\n const date = new Date(value)\n if (type === 'time') {\n const pair = String(value).split(':')\n values.push(parseInt(pair[0]), parseInt(pair[1]))\n if (useSecond && pair[2]) {\n values.push(parseInt(pair[2]))\n }\n } else {\n values.push(date.getFullYear(), date.getMonth() + 1)\n if (type === 'date') {\n values.push(date.getDate())\n } else if (type === 'datetime') {\n values.push(date.getDate(), date.getHours(), date.getMinutes())\n if (useSecond) {\n values.push(date.getSeconds())\n }\n }\n }\n return values\n}\n"],"names":[],"mappings":";AAQO,SAAS,eAAe,OAAwB,MAAoB,YAAqB,OAAO;AACrG,QAAM,SAAmB,CAAA;AACnB,QAAA,OAAO,IAAI,KAAK,KAAK;AAC3B,MAAI,SAAS,QAAQ;AACnB,UAAM,OAAO,OAAO,KAAK,EAAE,MAAM,GAAG;AAC7B,WAAA,KAAK,SAAS,KAAK,CAAC,CAAC,GAAG,SAAS,KAAK,CAAC,CAAC,CAAC;AAC5C,QAAA,aAAa,KAAK,CAAC,GAAG;AACxB,aAAO,KAAK,SAAS,KAAK,CAAC,CAAC,CAAC;AAAA,IAC/B;AAAA,EAAA,OACK;AACL,WAAO,KAAK,KAAK,YAAA,GAAe,KAAK,SAAA,IAAa,CAAC;AACnD,QAAI,SAAS,QAAQ;AACZ,aAAA,KAAK,KAAK,QAAS,CAAA;AAAA,IAAA,WACjB,SAAS,YAAY;AACvB,aAAA,KAAK,KAAK,QAAQ,GAAG,KAAK,YAAY,KAAK,WAAA,CAAY;AAC9D,UAAI,WAAW;AACN,eAAA,KAAK,KAAK,WAAY,CAAA;AAAA,MAC/B;AAAA,IACF;AAAA,EACF;AACO,SAAA;AACT;;"}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
{"version":3,"file":"types.js","sources":["uni_modules/wot-design-uni/components/wd-form/types.ts"],"sourcesContent":["/*\n * @Author: weisheng\n * @Date: 2023-12-14 11:21:58\n * @LastEditTime: 2025-01-11 13:31:20\n * @LastEditors: weisheng\n * @Description:\n * @FilePath: /wot-design-uni/src/uni_modules/wot-design-uni/components/wd-form/types.ts\n * 记得注释\n */\nimport { type ComponentPublicInstance, type ExtractPropTypes, type InjectionKey, type PropType } from 'vue'\nimport { baseProps, makeBooleanProp, makeRequiredProp } from '../common/props'\n\nexport type FormProvide = {\n props: {\n model: Record<string, any>\n rules?: FormRules\n border?: boolean\n }\n errorMessages?: Record<string, string>\n}\n\nexport const FORM_KEY: InjectionKey<FormProvide> = Symbol('wd-form')\n\nexport type FormRules = {\n [key: string]: FormItemRule[]\n}\n\nexport type ErrorMessage = {\n prop: string\n message: string\n}\n\nexport interface FormItemRule {\n [key: string]: any\n required: boolean\n message: string\n pattern?: RegExp\n validator?: (value: any, rule: FormItemRuleWithoutValidator) => boolean | Promise<string> | Promise<boolean> | Promise<void> | Promise<unknown>\n}\n\nexport type FormItemRuleWithoutValidator = Omit<FormItemRule, 'validator'>\n\nexport const formProps = {\n ...baseProps,\n /**\n * 表单数据对象\n */\n model: makeRequiredProp(Object as PropType<Record<string, any>>),\n /**\n * 表单验证规则\n */\n rules: {\n type: Object as PropType<FormRules>,\n default: () => ({})\n },\n /**\n * 是否在输入时重置表单校验信息\n */\n resetOnChange: makeBooleanProp(true),\n /**\n * 错误提示类型\n */\n errorType: {\n type: String as PropType<'toast' | 'message' | 'none'>,\n default: 'message'\n }\n}\nexport type FormProps = ExtractPropTypes<typeof formProps>\n\nexport type FormExpose = {\n /**\n * 表单校验\n * @param prop 指定校验字段\n */\n validate: (prop?: string | Array<string>) => Promise<{\n valid: boolean\n errors: ErrorMessage[]\n }>\n /**\n * 重置表单项的验证提示\n */\n reset: () => void\n}\n\nexport type FormInstance = ComponentPublicInstance<FormProps, FormExpose>\n"],"names":[],"mappings":";AAqBa,MAAA,WAAsC,OAAO,SAAS;;"}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
{"version":3,"file":"types.js","sources":["uni_modules/wot-design-uni/components/wd-icon/types.ts"],"sourcesContent":["import { baseProps, makeRequiredProp, makeStringProp, numericProp } from '../common/props'\n\nexport const iconProps = {\n ...baseProps,\n /**\n * 使用的图标名字,可以使用链接图片\n */\n name: makeRequiredProp(String),\n /**\n * 图标的颜色\n */\n color: String,\n /**\n * 图标的字体大小\n */\n size: numericProp,\n /**\n * 类名前缀,用于使用自定义图标\n */\n classPrefix: makeStringProp('wd-icon')\n}\n"],"names":["baseProps","makeRequiredProp","numericProp","makeStringProp"],"mappings":";;AAEO,MAAM,YAAY;AAAA,EACvB,GAAGA,iDAAA;AAAA;AAAA;AAAA;AAAA,EAIH,MAAMC,kEAAiB,MAAM;AAAA;AAAA;AAAA;AAAA,EAI7B,OAAO;AAAA;AAAA;AAAA;AAAA,EAIP,MAAMC,iDAAA;AAAA;AAAA;AAAA;AAAA,EAIN,aAAaC,gEAAe,SAAS;AACvC;;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"wd-icon.js","sources":["uni_modules/wot-design-uni/components/wd-icon/wd-icon.vue","../../../../program/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovQmFja3VwL0RvY3VtZW50cy9IQnVpbGRlclByb2plY3RzL2Rhamlhbmt1YW5nL3VuaV9tb2R1bGVzL3dvdC1kZXNpZ24tdW5pL2NvbXBvbmVudHMvd2QtaWNvbi93ZC1pY29uLnZ1ZQ"],"sourcesContent":["<template>\n <view @click=\"handleClick\" :class=\"rootClass\" :style=\"rootStyle\">\n <image v-if=\"isImage\" class=\"wd-icon__image\" :src=\"name\"></image>\n </view>\n</template>\n\n<script lang=\"ts\">\nexport default {\n name: 'wd-icon',\n options: {\n virtualHost: true,\n addGlobalClass: true,\n styleIsolation: 'shared'\n }\n}\n</script>\n\n<script lang=\"ts\" setup>\nimport { computed, type CSSProperties } from 'vue'\nimport { addUnit, isDef, objToStyle } from '../common/util'\nimport { iconProps } from './types'\n\nconst props = defineProps(iconProps)\nconst emit = defineEmits(['click', 'touch'])\n\nconst isImage = computed(() => {\n return isDef(props.name) && props.name.includes('/')\n})\n\nconst rootClass = computed(() => {\n const prefix = props.classPrefix\n return `${prefix} ${props.customClass} ${isImage.value ? 'wd-icon--image' : prefix + '-' + props.name}`\n})\n\nconst rootStyle = computed(() => {\n const style: CSSProperties = {}\n if (props.color) {\n style['color'] = props.color\n }\n if (props.size) {\n style['font-size'] = addUnit(props.size)\n }\n return `${objToStyle(style)} ${props.customStyle}`\n})\n\nfunction handleClick(event: any) {\n emit('click', event)\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import './index.scss';\n</style>\n","import Component from 'D:/Backup/Documents/HBuilderProjects/dajiankuang/uni_modules/wot-design-uni/components/wd-icon/wd-icon.vue'\nwx.createComponent(Component)"],"names":["computed","isDef","addUnit","objToStyle"],"mappings":";;;;AAOA,MAAA,cAAe;AAAA,EACb,MAAM;AAAA,EACN,SAAS;AAAA,IACP,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,gBAAgB;AAAA,EAClB;AACF;;;;;;AAQA,UAAM,QAAQ;AACd,UAAM,OAAO;AAEP,UAAA,UAAUA,cAAAA,SAAS,MAAM;AAC7B,aAAOC,sDAAM,MAAM,IAAI,KAAK,MAAM,KAAK,SAAS,GAAG;AAAA,IAAA,CACpD;AAEK,UAAA,YAAYD,cAAAA,SAAS,MAAM;AAC/B,YAAM,SAAS,MAAM;AACrB,aAAO,GAAG,MAAM,IAAI,MAAM,WAAW,IAAI,QAAQ,QAAQ,mBAAmB,SAAS,MAAM,MAAM,IAAI;AAAA,IAAA,CACtG;AAEK,UAAA,YAAYA,cAAAA,SAAS,MAAM;AAC/B,YAAM,QAAuB,CAAA;AAC7B,UAAI,MAAM,OAAO;AACT,cAAA,OAAO,IAAI,MAAM;AAAA,MACzB;AACA,UAAI,MAAM,MAAM;AACd,cAAM,WAAW,IAAIE,gDAAQ,QAAA,MAAM,IAAI;AAAA,MACzC;AACA,aAAO,GAAGC,gDAAAA,WAAW,KAAK,CAAC,IAAI,MAAM,WAAW;AAAA,IAAA,CACjD;AAED,aAAS,YAAY,OAAY;AAC/B,WAAK,SAAS,KAAK;AAAA,IACrB;;;;;;;;;;;;;;;AC9CA,GAAG,gBAAgB,SAAS;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"types.js","sources":["uni_modules/wot-design-uni/components/wd-input-number/types.ts"],"sourcesContent":["/*\n * @Author: weisheng\n * @Date: 2024-03-15 20:40:34\n * @LastEditTime: 2025-06-21 18:23:35\n * @LastEditors: weisheng\n * @Description:\n * @FilePath: /wot-design-uni/src/uni_modules/wot-design-uni/components/wd-input-number/types.ts\n * 记得注释\n */\nimport type { ExtractPropTypes, PropType } from 'vue'\nimport { baseProps, makeBooleanProp, makeNumberProp, makeNumericProp, makeRequiredProp, makeStringProp, numericProp } from '../common/props'\n\n/**\n * 输入框值变化前的回调函数类型定义\n * @param value 输入框的新值\n * @returns 返回布尔值或Promise<boolean>,用于控制是否允许值的变化\n */\nexport type InputNumberBeforeChange = (value: number | string) => boolean | Promise<boolean>\n\nexport type OperationType = 'add' | 'sub'\n\nexport const inputNumberProps = {\n ...baseProps,\n /**\n * 绑定值\n */\n modelValue: makeRequiredProp(numericProp),\n /**\n * 最小值\n */\n min: makeNumberProp(1),\n /**\n * 最大值\n */\n max: makeNumberProp(Number.MAX_SAFE_INTEGER),\n /**\n * 步进值\n */\n step: makeNumberProp(1),\n /**\n * 是否严格按照步进值递增或递减\n */\n stepStrictly: makeBooleanProp(false),\n /**\n * 数值精度\n */\n precision: makeNumericProp(0),\n /**\n * 是否禁用\n */\n disabled: makeBooleanProp(false),\n /**\n * 是否禁用输入框\n */\n disableInput: makeBooleanProp(false),\n /**\n * 是否禁用减号按钮\n */\n disableMinus: makeBooleanProp(false),\n /**\n * 是否禁用加号按钮\n */\n disablePlus: makeBooleanProp(false),\n /**\n * 是否不显示输入框\n */\n withoutInput: makeBooleanProp(false),\n /**\n * 输入框宽度\n */\n inputWidth: makeNumericProp(36),\n /**\n * 是否允许为空\n */\n allowNull: makeBooleanProp(false),\n /**\n * 输入框占位符\n */\n placeholder: makeStringProp(''),\n /**\n * 原生属性,键盘弹起时,是否自动上推页面\n */\n adjustPosition: makeBooleanProp(true),\n /**\n * 输入值变化前的回调函数,返回 `false` 可阻止输入,支持返回 `Promise`\n */\n beforeChange: Function as PropType<InputNumberBeforeChange>,\n /**\n * 是否开启长按加减手势\n */\n longPress: makeBooleanProp(false),\n /**\n * 是否立即响应输入变化false 时仅在失焦和按钮点击时更新\n */\n immediateChange: makeBooleanProp(true),\n /**\n * 是否在初始化时更新 v-model 为修正后的值\n * true: 自动修正并更新 v-model\n * false: 保持原始值不修正,但仍会进行显示格式化\n */\n updateOnInit: makeBooleanProp(true),\n /**\n * 输入框类型\n * number: 数字输入\n * digit: 整数输入\n */\n inputType: makeStringProp<'number' | 'digit'>('digit')\n}\n\nexport type InputNumberProps = ExtractPropTypes<typeof inputNumberProps>\n"],"names":["baseProps","makeRequiredProp","numericProp","makeNumberProp","makeBooleanProp","makeNumericProp","makeStringProp"],"mappings":";;AAqBO,MAAM,mBAAmB;AAAA,EAC9B,GAAGA,iDAAA;AAAA;AAAA;AAAA;AAAA,EAIH,YAAYC,kEAAiBC,4DAAW;AAAA;AAAA;AAAA;AAAA,EAIxC,KAAKC,gEAAe,CAAC;AAAA;AAAA;AAAA;AAAA,EAIrB,KAAKA,iDAAAA,eAAe,OAAO,gBAAgB;AAAA;AAAA;AAAA;AAAA,EAI3C,MAAMA,gEAAe,CAAC;AAAA;AAAA;AAAA;AAAA,EAItB,cAAcC,iEAAgB,KAAK;AAAA;AAAA;AAAA;AAAA,EAInC,WAAWC,iEAAgB,CAAC;AAAA;AAAA;AAAA;AAAA,EAI5B,UAAUD,iEAAgB,KAAK;AAAA;AAAA;AAAA;AAAA,EAI/B,cAAcA,iEAAgB,KAAK;AAAA;AAAA;AAAA;AAAA,EAInC,cAAcA,iEAAgB,KAAK;AAAA;AAAA;AAAA;AAAA,EAInC,aAAaA,iEAAgB,KAAK;AAAA;AAAA;AAAA;AAAA,EAIlC,cAAcA,iEAAgB,KAAK;AAAA;AAAA;AAAA;AAAA,EAInC,YAAYC,iEAAgB,EAAE;AAAA;AAAA;AAAA;AAAA,EAI9B,WAAWD,iEAAgB,KAAK;AAAA;AAAA;AAAA;AAAA,EAIhC,aAAaE,gEAAe,EAAE;AAAA;AAAA;AAAA;AAAA,EAI9B,gBAAgBF,iEAAgB,IAAI;AAAA;AAAA;AAAA;AAAA,EAIpC,cAAc;AAAA;AAAA;AAAA;AAAA,EAId,WAAWA,iEAAgB,KAAK;AAAA;AAAA;AAAA;AAAA,EAIhC,iBAAiBA,iEAAgB,IAAI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMrC,cAAcA,iEAAgB,IAAI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMlC,WAAWE,gEAAmC,OAAO;AACvD;;"}

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

Some files were not shown because too many files have changed in this diff Show More