1 |
- {"version":3,"sources":["uni-app:///main.js","webpack:///D:/2022/9/sx/pages/user/myjslis.vue?7be1","webpack:///D:/2022/9/sx/pages/user/myjslis.vue?e554","webpack:///D:/2022/9/sx/pages/user/myjslis.vue?5c15","webpack:///D:/2022/9/sx/pages/user/myjslis.vue?93a8","uni-app:///pages/user/myjslis.vue","webpack:///D:/2022/9/sx/pages/user/myjslis.vue?bd65","webpack:///D:/2022/9/sx/pages/user/myjslis.vue?b1d5"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","height","loadingType","list","page","limit","onLoad","onShow","onReachBottom","onReady","uni","success","query","obj","fail","methods","getList","showSc","title","content","complete","navto","url"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,gBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoH;AACpH;AAC2D;AACL;AACc;;;AAGpE;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,kFAAM;AACR,EAAE,2FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,sFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,sNAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1CA;AAAA;AAAA;AAAA;AAAimB,CAAgB,2nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;AC2CrnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eACA;EACAC;IACA;MACAC;MACAC;MACAC;MACAC;MACAC;IACA;EACA;EACAC,2BAEA;EACAC;IACA;EACA;EACAC,yCAEA;EACAC;IACA;IACAC;MACAC;QACA;QACAC;QACAA;UACAC;QACA;MACA;MACAC;IACA;EACA;EACAC;IACAC;MACA;MACA;QACA;MACA;MACAH;MACA;QACA;QACAA;QACAA;QACA;UACAA;QACA;UACAA;QACA;MACA;IACA;IACAI;MACA;MACAP;QACAQ;QACAC;QACAC;UACA;YACA;YACA;YACAP;UACA;QACA;MACA;IACA;IACAQ;MACAX;QACAY;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;AClHA;AAAA;AAAA;AAAA;AAA4oC,CAAgB,knCAAG,EAAC,C;;;;;;;;;;;ACAhqC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/user/myjslis.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/user/myjslis.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./myjslis.vue?vue&type=template&id=4f891eb6&\"\nvar renderjs\nimport script from \"./myjslis.vue?vue&type=script&lang=js&\"\nexport * from \"./myjslis.vue?vue&type=script&lang=js&\"\nimport style0 from \"./myjslis.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/user/myjslis.vue\"\nexport default component.exports","export * from \"-!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--17-0!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./myjslis.vue?vue&type=template&id=4f891eb6&\"","var components\ntry {\n components = {\n uniLoadMore: function () {\n return import(\n /* webpackChunkName: \"components/uni-load-more/uni-load-more\" */ \"@/components/uni-load-more/uni-load-more.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var g0 = _vm.list.length\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./myjslis.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./myjslis.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"content\">\r\n\t\t<!-- <view class=\"\" style=\"height: 20rpx;\"></view> -->\r\n\t\t<view class=\"list-top flex\" v-if=\"list.length > 0\">\r\n\t\t\t<view class=\"list-left\">\r\n\t\t\t\t规格\r\n\t\t\t</view>\r\n\t\t\t<view class=\"list-mid\">\r\n\t\t\t\t预估价格\r\n\t\t\t</view>\r\n\t\t\t<view class=\"list-right\">\r\n\t\t\t\t操作\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"jg\">\r\n\r\n\t\t</view>\r\n\t\t<scroll-view scroll-y=\"true\" class=\"scroll-wrap\" :style=\"{'height': height}\" @scrolltolower=\"getList\">\r\n\t\t\t<view class=\"list-box\" v-for=\"item in list\">\r\n\t\t\t\t<view class=\"list-item flex list-top\">\r\n\t\t\t\t\t<view class=\"list-left clamp\">\r\n\t\t\t\t\t\t长:<text>{{item.long*1}}</text>宽:<text>{{item.wide*1}}</text>高:<text>{{item.high*1}}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"list-mid\">\r\n\t\t\t\t\t\t<text>¥{{item.price*1}}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"list-right flex\">\r\n<!-- \t\t\t\t\t\t<view class=\"sc btn\" @click=\"showSc(item)\">\r\n\t\t\t\t\t\t\t删除\r\n\t\t\t\t\t\t</view> -->\r\n\t\t\t\t\t\t<view class=\"xq btn\" @click=\"navto('/pages/user/jsxq?id=' + item.id + '&price=' + item.price + '&weight=' + item.weight + '&long=' + item.long + '&wide=' + item.wide + '&high=' + item.high + '&iswarm=' + item.is_warm)\">\r\n\t\t\t\t\t\t\t详情\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<uni-load-more :status=\"loadingType\"></uni-load-more>\r\n\t\t</scroll-view>\r\n\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport { getJsList } from '@/api/user.js'\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\theight: '',\r\n\t\t\t\tloadingType: 'more',\r\n\t\t\t\tlist: [],\r\n\t\t\t\tpage: 1,\r\n\t\t\t\tlimit: 20,\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad() {\r\n\r\n\t\t},\r\n\t\tonShow() {\r\nthis.getList()\r\n\t\t},\r\n\t\tonReachBottom() {\r\n\r\n\t\t},\r\n\t\tonReady(res) {\r\n\t\t\tvar obj = this;\r\n\t\t\tuni.getSystemInfo({\r\n\t\t\t\tsuccess: resu => {\r\n\t\t\t\t\tconst query = uni.createSelectorQuery();\r\n\t\t\t\t\tquery.select('.scroll-wrap').boundingClientRect();\r\n\t\t\t\t\tquery.exec(function(res) {\r\n\t\t\t\t\t\tobj.height = resu.windowHeight - res[0].top + 'px';\r\n\t\t\t\t\t});\r\n\t\t\t\t},\r\n\t\t\t\tfail: res => {}\r\n\t\t\t});\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tgetList() {\r\n\t\t\t\tlet obj = this\r\n\t\t\t\tif(obj.loadingType == 'noMore' || obj.loadingType == 'loading') {\r\n\t\t\t\t\treturn\r\n\t\t\t\t}\r\n\t\t\t\tobj.loadingType = 'loading'\r\n\t\t\t\tgetJsList().then(res => {\r\n\t\t\t\t\tlet arr = res.data\r\n\t\t\t\t\tobj.list = obj.list.concat(arr)\r\n\t\t\t\t\tobj.page++\r\n\t\t\t\t\tif(arr.length == obj.limit) {\r\n\t\t\t\t\t\tobj.loadingType = 'more'\r\n\t\t\t\t\t}else {\r\n\t\t\t\t\t\tobj.loadingType = 'noMore'\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tshowSc(item) {\r\n\t\t\t\tlet obj = this\r\n\t\t\t\tuni.showModal({\r\n\t\t\t\t\ttitle: '提示',\r\n\t\t\t\t\tcontent: '确定删除该计算记录?',\r\n\t\t\t\t\tcomplete(e) {\r\n\t\t\t\t\t\tif(e.confirm) {\r\n\t\t\t\t\t\t\t// 确定删除\r\n\t\t\t\t\t\t\t// console.log()\r\n\t\t\t\t\t\t\tobj.$api.msg('已删除')\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tnavto(url) {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\tpage {\r\n\t\tbackground: #fff;\r\n\t}\r\n\r\n\t.list-top {\r\n\t\twidth: 708rpx;\r\n\t\tmargin: auto;\r\n\t\tpadding: 0 20rpx;\r\n\t\ttext-align: center;\r\n\t\tfont-size: 30rpx;\r\n\t\tfont-weight: bold;\r\n\t\tcolor: #666666;\r\n\t\tbackground-color: #fff;\r\n\t\tline-height: 83rpx;\r\n\r\n\t\t.list-left {\r\n\t\t\tflex-shrink: 0;\r\n\t\t\twidth: 55%;\r\n\t\t}\r\n\r\n\t\t.list-mid {\r\n\t\t\tflex-shrink: 0;\r\n\t\t\twidth: 30%;\r\n\t\t}\r\n\r\n\t\t.list-right {\r\n\t\t\tflex-shrink: 0;\r\n\t\t\twidth: 15%;\r\n\t\t}\r\n\t}\r\n\r\n\t.list-box {\r\n\t\twidth: 708rpx;\r\n\t\tmargin: auto;\r\n\r\n\t\t.list-item {\r\n\t\t\tborder-bottom: 1px solid #EAEAEA;\r\n\t\t}\r\n\r\n\t\t.list-left {\r\n\t\t\ttext {\r\n\t\t\t\tpadding-right: 10rpx;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\ttext {\r\n\t\t\tcolor: #4261E3 !important;\r\n\t\t}\r\n\r\n\t\t.list-right {\r\n\t\t\tjustify-content: center;\r\n\r\n\t\t\t.btn {\r\n\t\t\t\twidth: 86rpx;\r\n\t\t\t\theight: 41rpx;\r\n\t\t\t\tborder-radius: 21rpx;\r\n\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\tfont-weight: 500;\r\n\t\t\t\tline-height: 41rpx;\r\n\r\n\t\t\t}\r\n\r\n\t\t\t.sc {\r\n\t\t\t\tborder: 1px solid #D8D8D8;\r\n\t\t\t\tmargin-right: 10rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.xq {\r\n\t\t\t\tbackground: #ECEFFC;\r\n\t\t\t\tborder: 1px solid #4261E3;\r\n\t\t\t\tcolor: #4261E3;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t.jg {\r\n\t\twidth: 750rpx;\r\n\t\theight: 1rpx;\r\n\t\tbackground: #EAEAEA;\r\n\t}\r\n</style>\n","import mod from \"-!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./myjslis.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./myjslis.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1681462082094\n var cssReload = require(\"E:/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}
|