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
14 KiB
1 lines
14 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:///D:/仁周项目/2024-09-02 征信/zhengxin/pages/user/release.vue?2cea","webpack:///D:/仁周项目/2024-09-02 征信/zhengxin/pages/user/release.vue?40b5","webpack:///D:/仁周项目/2024-09-02 征信/zhengxin/pages/user/release.vue?b4d8","webpack:///D:/仁周项目/2024-09-02 征信/zhengxin/pages/user/release.vue?7c69","uni-app:///pages/user/release.vue","webpack:///D:/仁周项目/2024-09-02 征信/zhengxin/pages/user/release.vue?2b17","webpack:///D:/仁周项目/2024-09-02 征信/zhengxin/pages/user/release.vue?c5c6"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","tabIndex","list","total","offset","typeList","mounted","onShow","onReachBottom","uni","title","that","setTimeout","methods","arrayUnique","hash","getTylelist","code","arr","a","name","querytContentList","limit","content_type_id","user_id","token","tabItem","openPage","url"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,gBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AAC+K;AAC/K,gBAAgB,sLAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;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;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAgqB,CAAgB,8pBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eCuBprB;EACAC;IACA;MACAC;MACAC;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACA;EACA;EACAC;IACA;EACA;EACAC;IACA;IACAC;MACAC;IACA;IACA;MACAC;MACAC;QACAD;MACA;IACA;EACA;EACAE;IACA;IACAC;MACA;MACA;QACAC,mBACA,KACAA;QACA;MACA;IACA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OACA;cAAA;gBAAA;gBAAAC;gBAAAjB;gBACA;kBACAkB;kBACA;oBACAlB;sBACAmB;oBACA;kBACA;kBACA;oBAAAC;kBAAA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBACAV;gBACA;kBACA;kBACA;gBACA;gBAAA;gBAAA,OACAA;kBACAP;kBACAkB;kBACAC;kBACAC;kBACAC;gBACA;cAAA;gBAAA;gBANAR;gBAAAjB;gBAOA;kBACA;oBACAS;kBACA;kBACAE;kBACAA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACAe;MACA;MACA;MACA;MACA;IACA;IACAC;MACAlB;QACAmB;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;AC7GA;AAAA;AAAA;AAAA;AAAmxC,CAAgB,ysCAAG,EAAC,C;;;;;;;;;;;ACAvyC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/user/release.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/release.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./release.vue?vue&type=template&id=66e2d13c&scoped=true&\"\nvar renderjs\nimport script from \"./release.vue?vue&type=script&lang=js&\"\nexport * from \"./release.vue?vue&type=script&lang=js&\"\nimport style0 from \"./release.vue?vue&type=style&index=0&id=66e2d13c&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../ruanjian/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 \"66e2d13c\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/user/release.vue\"\nexport default component.exports","export * from \"-!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./release.vue?vue&type=template&id=66e2d13c&scoped=true&\"","var components\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./release.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./release.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"release\">\r\n\t\t<view class=\"tab\">\r\n\t\t\t<view class=\"li\" v-for=\"(a,i) in typeList\" :class=\"tabIndex == i?'li-on':''\" @click=\"tabItem(i)\">{{a.name}}</view>\r\n\t\t</view>\r\n\t\t<view class=\"item\" v-for=\"(a,i) in list\" :key=\"i\" @click=\"openPage(a.id)\">\r\n\t\t\t<view class=\"a\">\r\n\t\t\t\t{{a.title}}\r\n\t\t\t\t<text>{{a.content_tag}}</text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"b\">\r\n\t\t\t\t<view class=\"tag\" :class=\"a.status!=-1?'':'tag-on'\">{{a.status_text}}</view>\r\n\t\t\t\t阅读:{{a.readnum}}\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"empty\" v-if=\"total == 0\">\r\n\t\t\t<image src=\"https://www.lijkj.cn/static/empty.png\"></image>\r\n\t\t\t<view class=\"txt\">暂无数据 ~</view>\r\n\t\t</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\ttabIndex: 0,\r\n\t\t\t\tlist: [],\r\n\t\t\t\ttotal: 1,\r\n\t\t\t\toffset: 1,\r\n\t\t\t\ttypeList: []\r\n\t\t\t};\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\tthis.getTylelist();\r\n\t\t},\r\n\t\tonShow() {\r\n\t\t\tthis.querytContentList(2);\r\n\t\t},\r\n\t\tonReachBottom() {\r\n\t\t\tconst that = this;\r\n\t\t\tuni.showLoading({\r\n\t\t\t\ttitle: \"加载中\"\r\n\t\t\t})\r\n\t\t\tif(this.list.length <= this.total){\r\n\t\t\t\tthat.offset ++;\r\n\t\t\t\tsetTimeout(function() {\r\n\t\t\t\t\tthat.querytContentList(1);\r\n\t\t\t\t}, 1000);\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t//数组对象去重\r\n\t\t\tarrayUnique (arr, name) {\r\n\t\t\t\tvar hash = {};\r\n\t\t\t\treturn arr.reduce(function (item, next) {\r\n\t\t\t\t\thash[next[name]]\r\n\t\t\t\t\t\t? \"\"\r\n\t\t\t\t\t\t: (hash[next[name]] = true && item.push(next));\r\n\t\t\t\t\treturn item;\r\n\t\t\t\t}, []);\r\n\t\t\t},\r\n\t\t\t//事件类型\r\n\t\t\tasync getTylelist() {\r\n\t\t\t\tconst { code, data } = await this.$api.getTylelist({})\r\n\t\t\t\tif(code == 1){\r\n\t\t\t\t\tlet arr = []\r\n\t\t\t\t\tif(data && data.length > 0){\r\n\t\t\t\t\t\tdata.map(a=>{\r\n\t\t\t\t\t\t\ta.name = a.title\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.typeList = [{name: \"全部事件\"},...data]\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t//获取事件\r\n\t\t\tasync querytContentList(type) {\r\n\t\t\t\tconst that = this;\r\n\t\t\t\tif(type==2){\r\n\t\t\t\t\tthis.offset = 1;\r\n\t\t\t\t\tthis.tabIndex= 0;\r\n\t\t\t\t}\r\n\t\t\t\tconst { code, data } = await that.$api.getUserContentList({\r\n\t\t\t\t\toffset: this.offset,\r\n\t\t\t\t\tlimit: 20,\r\n\t\t\t\t\tcontent_type_id: (this.tabIndex==0?0:this.typeList[this.tabIndex].id),\r\n\t\t\t\t\tuser_id: uni.getStorageSync(\"userInfo\").id,\r\n\t\t\t\t\ttoken: uni.getStorageSync(\"token\")\r\n\t\t\t\t})\r\n\t\t\t\tif(code == 1){\r\n\t\t\t\t\tif(type==1){\r\n\t\t\t\t\t\tuni.hideLoading();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthat.list = this.arrayUnique([...that.list,...data.rows],'id');\r\n\t\t\t\t\tthat.total = data.total;\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\ttabItem(index){\r\n\t\t\t\tthis.tabIndex = index;\r\n\t\t\t\tthis.list = [];\r\n\t\t\t\tthis.offset = 1;\r\n\t\t\t\tthis.querytContentList();\r\n\t\t\t},\r\n\t\t\topenPage(id){\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: \"/pages/release/detail?id=\"+id\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 scoped lang=\"scss\">\r\n.release{\r\n\tpadding: 0 25rpx 25rpx;\r\n\toverflow: hidden;\r\n\t.empty{\r\n\t\tpadding: 150rpx 0;\r\n\t\ttext-align: center;\r\n\t\tfont-size: 26rpx;\r\n\t\tcolor: #666;\r\n\t\timage{\r\n\t\t\twidth: 460rpx;\r\n\t\t\theight: 400rpx;\r\n\t\t\tmargin-bottom: 30rpx;\r\n\t\t}\r\n\t}\r\n\t.tab{\r\n\t\twidth: 110%;\r\n\t\toverflow: hidden;\r\n\t\tpadding-top: 10rpx;\r\n\t\t.li{\r\n\t\t\twidth: 150rpx;\r\n\t\t\tline-height: 60rpx;\r\n\t\t\tborder-radius: 10rpx;\r\n\t\t\tborder: 1px solid #D4E4DF;\r\n\t\t\ttext-align: center;\r\n\t\t\tfont-weight: 500;\r\n\t\t\tfont-size: 28rpx;\r\n\t\t\tcolor: #999999;\r\n\t\t\tmargin-top: 20rpx;\r\n\t\t\tfloat: left;\r\n\t\t\tmargin-right: 20rpx;\r\n\t\t\t&-on{\r\n\t\t\t\tcolor: #00C6A9;\r\n\t\t\t\tborder-color: #00C6A9;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t.item{\r\n\t\tpadding: 30rpx 25rpx;\r\n\t\toverflow: hidden;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: space-between;\r\n\t\tbackground-color: #FFFFFF;\r\n\t\tmargin-top: 20rpx;\r\n\t\tbox-shadow: 0px 3rpx 10rpx 0px rgba(9,44,39,0.05);\r\n\t\tborder-radius: 20rpx;\r\n\t\t.a{\r\n\t\t\tflex: 1;\r\n\t\t\tfont-weight: 500;\r\n\t\t\tfont-size: 30rpx;\r\n\t\t\tcolor: #222222;\r\n\t\t\ttext{\r\n\t\t\t\tfont-weight: 500;\r\n\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\tcolor: #999999;\r\n\t\t\t\tdisplay: block;\r\n\t\t\t\tmargin-top: 15rpx;\r\n\t\t\t}\r\n\t\t}\r\n\t\t.b{\r\n\t\t\tfont-weight: 500;\r\n\t\t\tfont-size: 24rpx;\r\n\t\t\tcolor: #333333;\r\n\t\t\tmargin-left: 20rpx;\r\n\t\t\t.tag{\r\n\t\t\t\twidth: 100rpx;\r\n\t\t\t\theight: 50rpx;\r\n\t\t\t\tline-height: 50rpx;\r\n\t\t\t\tbackground: #00C6A9;\r\n\t\t\t\tborder-radius: 4rpx;\r\n\t\t\t\tfont-weight: 500;\r\n\t\t\t\tfont-size: 22rpx;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tjustify-content: center;\r\n\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\tmargin: 0 auto 10rpx;\r\n\t\t\t\t&-on{\r\n\t\t\t\t\tbackground-color: #D80C0C;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t}\r\n}\r\n</style>\r\n","import mod from \"-!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./release.vue?vue&type=style&index=0&id=66e2d13c&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./release.vue?vue&type=style&index=0&id=66e2d13c&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1729838418615\n var cssReload = require(\"D:/ruanjian/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":""} |