You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1 lines
10 KiB

{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/liudan/Desktop/git/huajucanyin/pages/notice/logistics/logistics.vue?66ea","webpack:///C:/Users/liudan/Desktop/git/huajucanyin/pages/notice/logistics/logistics.vue?3276","webpack:///C:/Users/liudan/Desktop/git/huajucanyin/pages/notice/logistics/logistics.vue?ad17","webpack:///C:/Users/liudan/Desktop/git/huajucanyin/pages/notice/logistics/logistics.vue?54a2","uni-app:///pages/notice/logistics/logistics.vue"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","dataList","reload","total","current_page","last_page","status","contentText","contentdown","contentrefresh","contentnomore","onLoad","order","onPullDownRefresh","onReachBottom","methods","loadData","url","type","page","success","uni"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,kBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAsH;AACtH;AAC6D;AACL;;;AAGxD;AACwK;AACxK,gBAAgB,+KAAU;AAC1B,EAAE,+EAAM;AACR,EAAE,oFAAM;AACR,EAAE,6FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,wFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACtBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,qMAEN;AACP,KAAK;AACL;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtEA;AAAA;AAAA;AAAA;AAA+nB,CAAgB,6nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eC8BnpB;EACAC;IACA;MACAC;MACAC;MAAA;MACAC;MAAA;MACAC;MAAA;MACAC;MAAA;MACAC;MACAC;QACAC;QACAC;QACAC;MACA;IACA;EACA;EACAC;IACA;IACA;MAAAC;IAAA;EACA;EACAC;IACA;IACA;IACA;EACA;EACAC;IACA;IACA;MACA;IACA;MACA;MACA;MACA;MACA;IACA;EACA;EACAC;IACAC;MAAA;MAAA;QAAA;UAAA;YAAA;cAAA;gBACA;kBACAC;kBACAjB;oBACAkB;oBACAC;kBACA;kBACAC;oBACAC;oBACA;oBACA;oBACA;oBACA;oBACA;kBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;EACA;AACA;AAAA,2B","file":"pages/notice/logistics/logistics.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/notice/logistics/logistics.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./logistics.vue?vue&type=template&id=423f0ace&\"\nvar renderjs\nimport script from \"./logistics.vue?vue&type=script&lang=js&\"\nexport * from \"./logistics.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../k/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/notice/logistics/logistics.vue\"\nexport default component.exports","export * from \"-!../../../../../k/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../k/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../k/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../k/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../k/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../k/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./logistics.vue?vue&type=template&id=423f0ace&\"","var components\ntry {\n components = {\n wanlEmpty: function () {\n return import(\n /* webpackChunkName: \"components/wanl-empty/wanl-empty\" */ \"@/components/wanl-empty/wanl-empty.vue\"\n )\n },\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.dataList.length\n var l0 =\n g0 != 0\n ? _vm.__map(_vm.dataList, function (item, index) {\n var $orig = _vm.__get_orig(item)\n var g1 = _vm.$wanlshop.timeToChat(item.createtime)\n var g2 = _vm.$wanlshop.oss(item.image, 82, 82)\n return {\n $orig: $orig,\n g1: g1,\n g2: g2,\n }\n })\n : null\n if (!_vm._isMounted) {\n _vm.e0 = function ($event, item) {\n var _temp = arguments[arguments.length - 1].currentTarget.dataset,\n _temp2 = _temp.eventParams || _temp[\"event-params\"],\n item = _temp2.item\n var _temp, _temp2\n return _vm.$wanlshop.to(item.url)\n }\n }\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0,\n l0: l0,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../k/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../k/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../k/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../k/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../k/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./logistics.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../k/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../k/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../k/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../k/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../k/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./logistics.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n\t\t<view class=\"edgeInsetTop\"></view>\r\n\t\t<view class=\"wanl-logistics-list margin-top-bj\" v-if=\"dataList.length != 0\"> \r\n\t\t\t<block v-for=\"(item, index) in dataList\" :key=\"index\">\r\n\t\t\t<view class=\"text-center wanl-gray\">\r\n\t\t\t\t{{$wanlshop.timeToChat(item.createtime)}}\r\n\t\t\t</view>\r\n\t\t\t<view class=\"item margin-lr-bj margin-tb bg-white radius-bock padding-bj\" @tap=\"$wanlshop.to(item.url)\">\r\n\t\t\t\t<view class=\"title margin-bottom-bj\">\r\n\t\t\t\t\t<text class=\"text-df\">{{item.title}}</text>\r\n\t\t\t\t\t<text class=\"text-sm wanl-gray-light wlIcon-fanhui2\"></text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"action\">\r\n\t\t\t\t\t<image :src=\"$wanlshop.oss(item.image, 82, 82)\"></image>\r\n\t\t\t\t\t<view class=\"padding-xs flex flex-wrap align-content-between\">\r\n\t\t\t\t\t\t<view class=\"text-df margin-bottom-xs\">{{item.content}}</view>\r\n\t\t\t\t\t\t<view class=\"text-sm wanl-gray\">来自 {{item.come}}</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</block>\r\n\t\t</view>\r\n\t\t<wanl-empty src=\"notice_default3x\" text=\"没有找到任何交易物流消息\" v-else/>\r\n\t\t<uni-load-more :status=\"status\" :content-text=\"contentText\" />\r\n\t\t<view class=\"edgeInsetBottom\"></view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tdataList: [],\r\n\t\t\t\treload: false, //判断是否上拉\r\n\t\t\t\ttotal: 0, //数据量\r\n\t\t\t\tcurrent_page: 1, //当前页码\r\n\t\t\t\tlast_page: 1, //总页码\r\n\t\t\t\tstatus: 'more',\r\n\t\t\t\tcontentText: {\r\n\t\t\t\t\tcontentdown: ' ',\r\n\t\t\t\t\tcontentrefresh: '加载中',\r\n\t\t\t\t\tcontentnomore: ''\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad() {\r\n\t\t\tthis.loadData();\r\n\t\t\tthis.$store.commit('statistics/noticec', {order: 0});\r\n\t\t},\r\n\t\tonPullDownRefresh() {\r\n\t\t\tthis.current_page = 1;\r\n\t\t\tthis.reload = true;\r\n\t\t\tthis.loadData();\r\n\t\t},\r\n\t\tonReachBottom() {\r\n\t\t\t//判断是否最后一页\r\n\t\t\tif (this.current_page >= this.last_page) {\r\n\t\t\t\tthis.status = 'noMore';\r\n\t\t\t} else {\r\n\t\t\t\tthis.reload = false;\r\n\t\t\t\tthis.current_page = this.current_page + 1; //页码+1\r\n\t\t\t\tthis.status = 'loading';\r\n\t\t\t\tthis.loadData();\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tasync loadData() {\r\n\t\t\t\tthis.$api.get({\r\n\t\t\t\t\turl: '/wanlshop/notice/getNoticeList',\r\n\t\t\t\t\tdata: {\r\n\t\t\t\t\t\ttype: 'order',\r\n\t\t\t\t\t\tpage: this.current_page\r\n\t\t\t\t\t},\r\n\t\t\t\t\tsuccess: res => {\r\n\t\t\t\t\t\tuni.stopPullDownRefresh();\r\n\t\t\t\t\t\tthis.dataList = this.reload ? res.data : this.dataList.concat(res.data); //数据 追加\r\n\t\t\t\t\t\tthis.total = res.total; //数据量\r\n\t\t\t\t\t\tthis.current_page = res.current_page; //当前页码\r\n\t\t\t\t\t\tthis.last_page = res.last_page; //总页码\r\n\t\t\t\t\t\tthis.status = res.total == 0 ? 'noMore' : 'more';\r\n\t\t\t\t\t}\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"],"sourceRoot":""}