征信小程序
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
11 KiB

{"version":3,"sources":["uni-app:///main.js","webpack:///D:/仁周项目/2024-09-02 征信/zhengxin/pages/user/collect.vue?8d6b","webpack:///D:/仁周项目/2024-09-02 征信/zhengxin/pages/user/collect.vue?01d2","webpack:///D:/仁周项目/2024-09-02 征信/zhengxin/pages/user/collect.vue?af2d","webpack:///D:/仁周项目/2024-09-02 征信/zhengxin/pages/user/collect.vue?aa22","uni-app:///pages/user/collect.vue","webpack:///D:/仁周项目/2024-09-02 征信/zhengxin/pages/user/collect.vue?6ff5","webpack:///D:/仁周项目/2024-09-02 征信/zhengxin/pages/user/collect.vue?fea1"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","list","baseUrl","isShow","mounted","methods","toGuanzhu","uni","url","getList","token","code","destroyed"],"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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eCmBprB;EACAC;IACA;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACA;IACA;EACA;EACAC;IACA;IACAC;MAAA;QAAA;UAAA;YAAA;cAAA;gBACAC;gBACAA;kBACAC;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OACA;kBACAC;gBACA;cAAA;gBAAA;gBAFAC;gBAAAX;gBAGA;kBACA;kBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;EACA;EACAY;IACAL;EACA;AACA;AAAA,2B;;;;;;;;;;;;;ACrDA;AAAA;AAAA;AAAA;AAAmxC,CAAgB,ysCAAG,EAAC,C;;;;;;;;;;;ACAvyC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/user/collect.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/collect.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./collect.vue?vue&type=template&id=6ebc7e42&scoped=true&\"\nvar renderjs\nimport script from \"./collect.vue?vue&type=script&lang=js&\"\nexport * from \"./collect.vue?vue&type=script&lang=js&\"\nimport style0 from \"./collect.vue?vue&type=style&index=0&id=6ebc7e42&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 \"6ebc7e42\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/user/collect.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!./collect.vue?vue&type=template&id=6ebc7e42&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!./collect.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!./collect.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"collect\">\r\n\t\t<view class=\"item\" v-for=\"(a,i) in list\" :key=\"i\" @click=\"toGuanzhu(a)\">\r\n\t\t\t<view class=\"a\">\r\n\t\t\t\t<image v-if=\"a.avatar\" :src=\"baseUrl+a.avatar\"></image>\r\n\t\t\t\t<image v-else src=\"https://www.lijkj.cn/static/default.png\"></image>{{a.nickname}}\r\n\t\t\t</view>\r\n\t\t\t<view class=\"b\">\r\n\t\t\t\t<image src=\"https://www.lijkj.cn/static/icon-dui.png\"></image>已关注\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"empty\" v-if=\"isShow\">\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\tlist: [],\r\n\t\t\t\tbaseUrl: \"\",\r\n\t\t\t\tisShow: false,\r\n\t\t\t};\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\tthis.baseUrl = this.$baseUrl;\r\n\t\t\tthis.getList();\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t//关注\r\n\t\t\tasync toGuanzhu(a) {\r\n\t\t\t\tuni.setStorageSync(\"guanzhuInfo\",a);\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: \"/pages/user/mycollect\"\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t//获取列表\r\n\t\t\tasync getList() {\r\n\t\t\t\tconst { code, data } = await this.$api.getguanzhu({\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\tthis.list = data;\r\n\t\t\t\t\tthis.isShow = (data.length == 0?true:false);\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t},\r\n\t\tdestroyed() {\r\n\t\t\tuni.removeStorageSync(\"guanzhuInfo\")\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n.collect{\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.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\tdisplay: flex;\r\n\t\t\talign-items: center;\r\n\t\t\tfont-weight: 500;\r\n\t\t\tfont-size: 30rpx;\r\n\t\t\tcolor: #222222;\r\n\t\t\timage{\r\n\t\t\t\twidth: 80rpx;\r\n\t\t\t\theight: 80rpx;\r\n\t\t\t\tborder-radius: 50%;\r\n\t\t\t\tmargin-right: 20rpx;\r\n\t\t\t}\r\n\t\t}\r\n\t\t.b{\r\n\t\t\twidth: 130rpx;\r\n\t\t\theight: 50rpx;\r\n\t\t\tline-height: 50rpx;\r\n\t\t\tbackground: #00C6A9;\r\n\t\t\tborder-radius: 4rpx;\r\n\t\t\tfont-weight: 500;\r\n\t\t\tfont-size: 22rpx;\r\n\t\t\tdisplay: flex;\r\n\t\t\talign-items: center;\r\n\t\t\tjustify-content: center;\r\n\t\t\tcolor: #FFFFFF;\r\n\t\t\timage{\r\n\t\t\t\twidth: 20rpx;\r\n\t\t\t\theight: 14rpx;\r\n\t\t\t\tmargin-right: 10rpx;\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!./collect.vue?vue&type=style&index=0&id=6ebc7e42&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!./collect.vue?vue&type=style&index=0&id=6ebc7e42&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1730099834206\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":""}