yunshangxie/unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/user.js.map

1 line
16 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"version":3,"sources":["webpack:///E:/云商会/云商会/pages/index/user.vue?5813","webpack:///E:/云商会/云商会/pages/index/user.vue?60c8","webpack:///E:/云商会/云商会/pages/index/user.vue?a3b9","webpack:///E:/云商会/云商会/pages/index/user.vue?1616","uni-app:///pages/index/user.vue","uni-app:///main.js"],"names":["data","topCurrent","login","loginMod","loginData","phone","password","mounted","methods","getUserInfo","submitLogin","then","console","uni","title","icon","duration","catch","tn","url","wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiH;AACjH;AACwD;AACL;;;AAGnD;AAC+L;AAC/L,gBAAgB,wMAAU;AAC1B,EAAE,0EAAM;AACR,EAAE,+EAAM;AACR,EAAE,wFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mFAAU;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,kRAEN;AACP,KAAK;AACL;AACA,aAAa,oSAEN;AACP,KAAK;AACL;AACA,aAAa,4QAEN;AACP,KAAK;AACL;AACA,aAAa,gNAEN;AACP,KAAK;AACL;AACA,aAAa,oSAEN;AACP,KAAK;AACL;AACA,aAAa,4QAEN;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;;;;;;;;;;;;;;AClEA;AAAA;AAAA;AAAA;AAAguB,CAAgB,qvBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;ACuIpvB;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAEA;EACAA;IACA;MACAC;MACAC;MACAC;MACAC;QACAC;QACAC;MACA;IACA;EACA;EACAC;IACA;IACA;MACA;IACA;EACA;EACAC;IACAC,qCAEA;IACAC;MACA,kCACAC;QACAC;QACA;UACAC;YACAC;YACAC;YACAC;UACA;UACAH;QACA;MACA,GACAI;QACAJ;UACAC;UACAC;UACAC;QACA;MACA;IACA;IACAE;MACA;MACA;QACA;QACA;MACA;MACAL;QACAM;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;;;;AChMA;AAGA;AACA;AAHA;AACAC,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,aAAI,CAAC,C","file":"pages/index/user.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./user.vue?vue&type=template&id=21bf4c21&\"\nvar renderjs\nimport script from \"./user.vue?vue&type=script&lang=js&\"\nexport * from \"./user.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\HBuilderX.3.5.3.20220729\\\\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/index/user.vue\"\nexport default component.exports","export * from \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--17-0!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./user.vue?vue&type=template&id=21bf4c21&\"","var components\ntry {\n components = {\n tnButton: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-button/tn-button\" */ \"@/tuniao-ui/components/tn-button/tn-button.vue\"\n )\n },\n tnListCell: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-list-cell/tn-list-cell\" */ \"@/tuniao-ui/components/tn-list-cell/tn-list-cell.vue\"\n )\n },\n tnModal: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-modal/tn-modal\" */ \"@/tuniao-ui/components/tn-modal/tn-modal.vue\"\n )\n },\n tnForm: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-form/tn-form\" */ \"@/tuniao-ui/components/tn-form/tn-form.vue\"\n )\n },\n tnFormItem: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-form-item/tn-form-item\" */ \"@/tuniao-ui/components/tn-form-item/tn-form-item.vue\"\n )\n },\n tnInput: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-input/tn-input\" */ \"@/tuniao-ui/components/tn-input/tn-input.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 if (!_vm._isMounted) {\n _vm.e0 = function ($event) {\n _vm.loginMod = true\n }\n _vm.e1 = function ($event) {\n _vm.loginMod = false\n }\n }\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./user.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./user.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view style=\"background-color: #EBF4F7;letter-spacing: 1rpx;\">\r\n\t\t<view :style=\"{paddingTop: vuex_custom_bar_height +40+ 'rpx'}\"\r\n\t\t\tstyle=\"background: linear-gradient(50deg, #034EF9 0%, #05ACFF 99%);height: 400rpx;\">\r\n\r\n\t\t\t<view class=\"tn-flex tn-flex-center tn-flex-col-center\" style=\"padding: 30rpx;width: 100%;\">\r\n\t\t\t\t<view v-if=\"login\" >\r\n\t\t\t\t\t<image src=\"/static/u1.jpg\" style=\"width: 100rpx;height: 100rpx;border-radius: 50%;\"></image>\r\n\t\t\t\t</view>\r\n <view v-if=\"!login\" >\r\n <image src=\"/static/def.png\" style=\"width: 100rpx;height: 100rpx;border-radius: 50%;\"></image>\r\n </view>\r\n\t\t\t\t<view style=\"width: 100%;\">\r\n\t\t\t\t\t<view v-if=\"login\" class=\"tn-flex tn-flex-col-center tn-flex-row-between\">\r\n\t\t\t\t\t\t<view style=\"margin-left: 20rpx;color: #fff\">\r\n\t\t\t\t\t\t\t<view style=\"font-size: 35rpx;\">朱荣梅</view>\r\n\t\t\t\t\t\t\t<view style=\"font-size: 24rpx;margin-top: 10rpx;\">康桥集团执行总裁</view>\r\n\t\t\t\t\t\t</view>\r\n<!--\t\t\t\t\t\t<view @click=\"tn('/pages/index/my_edit')\">-->\r\n<!--\t\t\t\t\t\t\t<image src=\"/static/ico13.png\" style=\"width: 40rpx ;\" mode=\"widthFix\"></image>-->\r\n<!--\t\t\t\t\t\t</view>-->\r\n\t\t\t\t\t</view>\r\n <view v-if=\"!login\" class=\"tn-flex tn-flex-col-center tn-flex-row-between\">\r\n <view style=\"margin-left: 20rpx;color: #fff\">\r\n <tn-button @click=\"loginMod = true\">点击登陆</tn-button>\r\n </view>\r\n<!-- <view @click=\"tn('/pages/index/my_edit')\">-->\r\n<!-- <image src=\"/static/ico13.png\" style=\"width: 40rpx ;\" mode=\"widthFix\"></image>-->\r\n<!-- </view>-->\r\n </view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view>\r\n\t\t\t<view style=\"padding: 30rpx;margin-top:-115rpx;background-color: transparent;\">\r\n\t\t\t\t<view class=\"tn-flex tn-flex-center tn-flex-col-center tn-flex-row-between\"\r\n\t\t\t\t\tstyle=\"text-align: center;padding: 30rpx;background-color: #FFF;border-radius: 20rpx;box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.1);\">\r\n\t\t\t\t\t<view @click=\"tn('/pages/index/my_pizz')\">\r\n\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t<image src=\"/static/ico5.png\" style=\"width: 50rpx;height: 50rpx;\"></image>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view style=\"margin-top: 10rpx;\">\r\n\t\t\t\t\t\t\t<text>所在商/协会</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view @click=\"tn('/pages/index/events_my')\">\r\n\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t<image src=\"/static/ico1.png\" style=\"width: 50rpx;height: 50rpx;\"></image>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view style=\"margin-top: 10rpx;\">\r\n\t\t\t\t\t\t\t<text>参与活动</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view @click=\"tn('/pages/index/my_desc')\">\r\n\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t<image src=\"/static/02_2.png\" style=\"width: 50rpx;height: 50rpx;\"></image>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view style=\"margin-top: 10rpx;\">\r\n\t\t\t\t\t\t\t<text>协会服务</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view @click=\"tn('/pages/index/my_card')\">\r\n\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t<image src=\"/static/ico6.png\" style=\"width: 50rpx;height: 50rpx;\"></image>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view style=\"margin-top: 10rpx;\">\r\n\t\t\t\t\t\t\t<text>我的名片</text>\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<view style=\"background-color: #fff;\">\r\n\t\t\t\t<view style=\"padding:0px 20rpx;\">\r\n<!--\t\t\t\t\t<tn-list-cell :arrow=\"true\" @click=\"tn('/pages/index/my_pizz')\">-->\r\n<!--\t\t\t\t\t\t<view class=\"tn-flex tn-flex-center tn-flex-col-center\">-->\r\n<!--\t\t\t\t\t\t\t<image src=\"/static/ico7.png\" style=\"width: 50rpx;height: 50rpx\"></image>-->\r\n<!--\t\t\t\t\t\t\t<view style=\"margin-left: 20rpx;\">所在商/协会</view>-->\r\n<!--\t\t\t\t\t\t</view>-->\r\n<!--\t\t\t\t\t</tn-list-cell>-->\r\n\t\t\t\t\t<tn-list-cell :arrow=\"true\" @click=\"tn('/pages/index/my_apply')\">\r\n\t\t\t\t\t\t<view class=\"tn-flex tn-flex-center tn-flex-col-center\">\r\n\t\t\t\t\t\t\t<image src=\"/static/ico8.png\" style=\"width: 50rpx;height: 50rpx\"></image>\r\n\t\t\t\t\t\t\t<view style=\"margin-left: 20rpx;\">入会申请记录</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</tn-list-cell>\r\n\t\t\t\t\t<tn-list-cell :arrow=\"true\" @click=\"tn('/pages/index/my_msg')\">\r\n\t\t\t\t\t\t<view class=\"tn-flex tn-flex-center tn-flex-col-center\">\r\n\t\t\t\t\t\t\t<image src=\"/static/ico9.png\" style=\"width: 50rpx;height: 50rpx\"></image>\r\n\t\t\t\t\t\t\t<view style=\"margin-left: 20rpx;\">我的消息</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</tn-list-cell>\r\n\t\t\t\t\t<tn-list-cell :arrow=\"true\" @click=\"tn('/pages/index/my_assist')\">\r\n\t\t\t\t\t\t<view class=\"tn-flex tn-flex-center tn-flex-col-center\">\r\n\t\t\t\t\t\t\t<image src=\"/static/ico10.png\" style=\"width: 50rpx;height: 50rpx\"></image>\r\n\t\t\t\t\t\t\t<view style=\"margin-left: 20rpx;\">常见问题</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</tn-list-cell>\r\n\t\t\t\t\t<!-- <tn-list-cell :arrow=\"true\" @click=\"tn('/pages/index/my_settings')\">\r\n\t\t\t\t\t\t<view class=\"tn-flex tn-flex-center tn-flex-col-center\">\r\n\t\t\t\t\t\t\t<image src=\"/static/ico11.png\" style=\"width: 50rpx;height: 50rpx\"></image>\r\n\t\t\t\t\t\t\t<view style=\"margin-left: 20rpx;\">设置</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</tn-list-cell> -->\r\n\t\t\t\t\t<tn-list-cell :arrow=\"true\" @click=\"tn('/pages/index/my_idea')\">\r\n\t\t\t\t\t\t<view class=\"tn-flex tn-flex-center tn-flex-col-center\">\r\n\t\t\t\t\t\t\t<image src=\"/static/ico12.png\" style=\"width: 50rpx;height: 50rpx\"></image>\r\n\t\t\t\t\t\t\t<view style=\"margin-left: 20rpx;\">意见反馈</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</tn-list-cell>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n <tn-modal v-model=\"loginMod\" :custom=\"true\">\r\n <view class=\"custom-modal-content\">\r\n <view style=\"text-align: center;font-size: 34rpx;\">会员登陆</view>\r\n <view class=\"text\">\r\n <tn-form ref=\"form\" :labelWidth=\"120\">\r\n <tn-form-item label=\"手机号\" prop=\"phone\">\r\n <tn-input v-model=\"loginData.phone\"/>\r\n </tn-form-item>\r\n <tn-form-item label=\"密码\" prop=\"password\">\r\n <tn-input v-model=\"loginData.password\" type=\"password\"/>\r\n </tn-form-item>\r\n </tn-form>\r\n <view style=\"text-align: center;margin-top: 30rpx;\">\r\n <tn-button backgroundColor=\"#E6E6E6\" fontColor=\"#ffffff\" @click=\"loginMod = false\">取消</tn-button>\r\n <tn-button backgroundColor=\"tn-bg-blue\" fontColor=\"tn-color-white\" style=\"margin-left: 30rpx\" @click=\"submitLogin\">确定</tn-button>\r\n </view>\r\n </view>\r\n </view>\r\n </tn-modal>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\nimport { loginDo} from \"@/util/api\";\r\n import store from \"@/store\";\r\n\r\n export default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\ttopCurrent: 0,\r\n login:false,\r\n loginMod:false,\r\n loginData:{\r\n phone:'',\r\n password:'',\r\n }\r\n\t\t\t}\r\n\t\t},\r\n mounted() {\r\n var uid = uni.getStorageSync('uid');\r\n if(uid){\r\n this.getUserInfo();\r\n }\r\n },\r\n\t\tmethods: {\r\n getUserInfo(){\r\n \r\n },\r\n submitLogin(){\r\n loginDo(this.loginData)\r\n .then(res => {\r\n console.log(res);\r\n if(res.code==1){\r\n uni.showToast({\r\n title: '登陆成功!',\r\n icon: 'none',\r\n duration: 2000\r\n });\r\n uni.setStorageSync('uid', res.data.id);\r\n }\r\n })\r\n .catch(error => {\r\n uni.showToast({\r\n title: error,\r\n icon: 'none',\r\n duration: 2000\r\n });\r\n })\r\n },\r\n\t\t\ttn(e) {\r\n var uid = uni.getStorageSync('uid');\r\n if(!uid){\r\n this.loginMod=true;\r\n return;\r\n }\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: e\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 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index/user.vue'\ncreatePage(Page)"],"sourceRoot":""}