1 line
27 KiB
Plaintext
1 line
27 KiB
Plaintext
{"version":3,"sources":["webpack:///E:/云商会/云商会/pages/index/user.vue?6327","webpack:///E:/云商会/云商会/pages/index/user.vue?7696","webpack:///E:/云商会/云商会/pages/index/user.vue?0801","webpack:///E:/云商会/云商会/pages/index/user.vue?b12e","uni-app:///pages/index/user.vue","webpack:///E:/云商会/云商会/pages/index/user.vue?897c","webpack:///E:/云商会/云商会/pages/index/user.vue?21aa","uni-app:///main.js"],"names":["data","topCurrent","login","loginMod","userInfo","apiImgUrl","loginData","openid","phone","password","association_id","code","identifyCode","identifyCodeName","colors","mounted","methods","getcheckCode","codeName","msg","getUserInfo","member_b_id","member_id","then","console","catch","uni","title","icon","duration","submitLogin","loginAut","content","success","that","tn_ru","url","tn","wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiH;AACjH;AACwD;AACL;AACa;;;AAGhE;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;;;;;;;;;;;;ACvBf;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,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,MAAM;AACN;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC/EA;AAAA;AAAA;AAAA;AAAguB,CAAgB,qvBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;ACmLpvB;AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAEA;EACAA;IACA;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;QACAC;QACAC;QACAC;QACAC;MACA;MACAC;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACA;IACA;IACA;MACA;IACA;IAEA;EACA;EACAC;IACAC;MACA;MACA;MACA;MACA,cACA,wEACA,iEACA,cACA;MACA;QACA;QACAN;QACAO;MACA;MACA;MACA;IACA;IACAC;MACA;IACA;IACAC;MAAA;MACA;QACAC;QACAC;MACA,GACAC;QACAC;QACA;UACA;UACA;QACA;MACA,GACAC;QACAC;UACAC;UACAC;UACAC;QACA;MACA;IACA;IACAC;MAAA;MACAN;MACAA;MACA;QACAE;UACAC;UACAC;UACAC;QACA;QACA;MACA;MACA;QACAH;UACAC;UACAC;UACAC;QACA;QACA;MACA;MACA;QACAH;UACAC;UACAC;UACAC;QACA;QACA;MACA;MACA;MACA,kCACAN;QACAC;QACA;UACAE;YACAC;YACAC;YACAC;UACA;UACAH;UACA;UACA;UACA;QACA;UACAA;YACAC;YACAC;YACAC;UACA;QACA;MACA,GACAJ;QACAC;UACAC;UACAC;UACAC;QACA;MACA;IACA;IACAE;MACA;MACAL;QACAC;QACAK;QACAC;UACA;YACAP;YACAQ;YACAA;YACAA;YACAA;YACAA;YACAA;UACA;QACA;MACA;IACA;IACAC;MACA;MACAT;QACAU;MACA;IACA;IACAC;MACA;MACA;QACA;QACA;MACA;MACAX;QACAU;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;AC3VA;AAAA;AAAA;AAAA;AAAsiC,CAAgB,giCAAG,EAAC,C;;;;;;;;;;;ACA1jC;AACA,OAAO,KAAU,EAAE,kBAKd;;;;;;;;;;;;;;;;ACNL;AAGA;AACA;AAHA;AACAE,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&\"\nimport style0 from \"./user.vue?vue&type=style&index=0&lang=css&\"\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 tnBadge: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-badge/tn-badge\" */ \"@/tuniao-ui/components/tn-badge/tn-badge.vue\"\n )\n },\n tnPopup: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-popup/tn-popup\" */ \"@/tuniao-ui/components/tn-popup/tn-popup.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 var m0 = _vm.msg()\n var m1 = m0 > 0 ? _vm.msg() : null\n if (!_vm._isMounted) {\n _vm.e0 = function ($event) {\n _vm.loginMod = true\n }\n }\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n m0: m0,\n m1: m1,\n },\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 && userInfo.photo_image\">\r\n\t\t\t\t\t<image :src=\"apiImgUrl+userInfo.photo_image\"\r\n\t\t\t\t\t\t@click=\"tn_ru('/pages/index/my_card?id='+userInfo.member_id)\"\r\n\t\t\t\t\t\tstyle=\"width: 100rpx;height: 100rpx;border-radius: 50%;\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view v-if=\"!login || !userInfo.photo_image\">\r\n\t\t\t\t\t<image src=\"/static/def.png\" style=\"width: 100rpx;height: 100rpx;border-radius: 50%;\"></image>\r\n\t\t\t\t</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@click=\"tn_ru('/pages/index/my_card?id='+userInfo.member_id)\">\r\n\t\t\t\t\t\t\t<view style=\"font-size: 35rpx;\">{{ userInfo.nikename }}</view>\r\n\t\t\t\t\t\t\t<view style=\"font-size: 24rpx;margin-top: 10rpx;\">{{userInfo.position_name}}</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\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<tn-button @click=\"loginMod = true\">点击登陆</tn-button>\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<!-- <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\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/pizz_info?id='+userInfo.association_id)\">\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?id='+userInfo.member_id)\">\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_card_holder')\">\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/icon13.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_edit')\">\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/icon14.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<!--\t\t\t\t\t<tn-list-cell :arrow=\"true\" @click=\"tn('/pages/index/my_pizz')\">-->\r\n\t\t\t\t\t<!--\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\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\t\t\t\t\t<view style=\"margin-left: 20rpx;\">所在商/协会</view>-->\r\n\t\t\t\t\t<!--\t\t\t\t\t\t</view>-->\r\n\t\t\t\t\t<!--\t\t\t\t\t</tn-list-cell>-->\r\n\t\t\t\t\t<tn-list-cell :arrow=\"true\" v-if=\"userInfo.if_xianshi!=1 || !login\"\r\n\t\t\t\t\t\t@click=\"tn_ru('/pages/index/apply_in?association_id='+loginData.association_id)\">\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\" style=\"position: relative;\">\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\t<tn-badge v-if=\"msg()>0\" style=\"position: absolute;right: 40rpx;\" backgroundColor=\"#E83A30\"\r\n\t\t\t\t\t\t\t\tfontColor=\"#ffffff\">{{msg()}}</tn-badge>\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_invite')\">\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<!--\t\t\t\t\t<tn-list-cell :arrow=\"true\" @click=\"tn('/pages/index/my_assist')\">-->\r\n\t\t\t\t\t<!--\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\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\t\t\t\t\t<view style=\"margin-left: 20rpx;\">常见问题</view>-->\r\n\t\t\t\t\t<!--\t\t\t\t\t\t</view>-->\r\n\t\t\t\t\t<!--\t\t\t\t\t</tn-list-cell>-->\r\n\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\t<tn-list-cell :arrow=\"true\" @click=\"loginAut\">\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</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<tn-popup v-model=\"loginMod\" mode=\"bottom\" :safeAreaInsetBottom=\"true\">\r\n\t\t\t<view class=\"custom-modal-content\">\r\n\t\t\t\t<view style=\"font-size: 30rpx;padding: 30rpx 30rpx 0rpx 30rpx;font-weight: 600;letter-spacing: 2rpx\">\r\n\t\t\t\t\t会员登陆</view>\r\n\t\t\t\t<view class=\"text\" style=\"padding: 40rpx;\">\r\n\t\t\t\t\t<tn-form ref=\"form\" :labelWidth=\"120\">\r\n\t\t\t\t\t\t<tn-form-item prop=\"phone\">\r\n\t\t\t\t\t\t\t<tn-input placeholder=\"手机号\" :customStyle=\"{width: '660rpx'}\" v-model=\"loginData.phone\" />\r\n\t\t\t\t\t\t</tn-form-item>\r\n\t\t\t\t\t\t<view style=\"height: 20rpx;\"></view>\r\n\t\t\t\t\t\t<tn-form-item prop=\"password\">\r\n\t\t\t\t\t\t\t<tn-input placeholder=\"密码\" :customStyle=\"{width: '660rpx'}\" :passwordIcon=\"false\"\r\n\t\t\t\t\t\t\t\tv-model=\"loginData.password\" type=\"password\" />\r\n\t\t\t\t\t\t</tn-form-item>\r\n\t\t\t\t\t\t<tn-form-item prop=\"code\">\r\n\t\t\t\t\t\t\t<tn-input v-model=\"code\" :customStyle=\"{width: '400rpx'}\" type=\"text\"\r\n\t\t\t\t\t\t\t\tplaceholder=\"请输入验证码\"></tn-input>\r\n\r\n\t\t\t\t\t\t\t<view slot=\"right\">\r\n\t\t\t\t\t\t\t\t<view @click=\"getcheckCode\"\r\n\t\t\t\t\t\t\t\t\tstyle=\"letter-spacing: 2px; font-size: 42rpx; background-color: antiquewhite; padding: 5rpx 15rpx;\">\r\n\t\t\t\t\t\t\t\t\t<text v-for=\"(item,index) in identifyCode\" :style=\"{color:colors[index]}\">\r\n\t\t\t\t\t\t\t\t\t\t{{ item }}\r\n\t\t\t\t\t\t\t\t\t</text>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</tn-form-item>\r\n\t\t\t\t\t</tn-form>\r\n\t\t\t\t\t<view style=\"text-align: center;margin-top: 50rpx;\">\r\n\t\t\t\t\t\t<!-- <tn-button backgroundColor=\"#E6E6E6\" fontColor=\"#ffffff\"\r\n\t\t\t\t\t\t\t@click=\"loginMod = false\">取消</tn-button> -->\r\n\t\t\t\t\t\t<tn-button style=\"border-radius: 0px;\" height=\"80rpx\" backgroundColor=\"#EEF0F2\" width=\"100%\"\r\n\t\t\t\t\t\t\tfontColor=\"#000000\" @click=\"submitLogin\">确定</tn-button>\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=\"height: 120rpx;\"></view>\r\n\t\t</tn-popup>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tgetUserIndex,\r\n\t\tloginDo\r\n\t} from \"@/util/api\";\r\n\timport store from \"@/store\";\r\n\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\ttopCurrent: 0,\r\n\t\t\t\tlogin: false,\r\n\t\t\t\tloginMod: false,\r\n\t\t\t\tuserInfo: {},\r\n\t\t\t\tapiImgUrl: this.$store.state.imgUrl,\r\n\t\t\t\tloginData: {\r\n\t\t\t\t\topenid: '',\r\n\t\t\t\t\tphone: '',\r\n\t\t\t\t\tpassword: '',\r\n\t\t\t\t\tassociation_id: store.state.Gid\r\n\t\t\t\t},\r\n\t\t\t\tcode: '',\r\n\t\t\t\tidentifyCode: '',\r\n\t\t\t\tidentifyCodeName: '',\r\n\t\t\t\tcolors: ['#00CCFF', '#FF0000', '#FF9933', '#33CC99'], // 可以根据需要增加颜色\r\n\t\t\t}\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\tvar uid = uni.getStorageSync('uid');\r\n\t\t\tthis.uid = uid;\r\n\t\t\tif (uid) {\r\n\t\t\t\tthis.getUserInfo();\r\n\t\t\t}\r\n\r\n\t\t\tthis.getcheckCode();\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tgetcheckCode() {\r\n\t\t\t\tlet code = [];\r\n\t\t\t\tconst codeLength = 4;\r\n\t\t\t\tvar codeName = '';\r\n\t\t\t\tconst random = [\r\n\t\t\t\t\t1, 2, 3, 4, 5, 6, 7, 8, 9, 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I',\r\n\t\t\t\t\t'J', 'K', 'L', 'M', 'N', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W',\r\n\t\t\t\t\t'X', 'Y', 'Z',\r\n\t\t\t\t];\r\n\t\t\t\tfor (let i = 0; i < codeLength; i++) {\r\n\t\t\t\t\tlet index = Math.floor(Math.random() * 34);\r\n\t\t\t\t\tcode.push(random[index]);\r\n\t\t\t\t\tcodeName += random[index];\r\n\t\t\t\t}\r\n\t\t\t\tthis.identifyCodeName = codeName;\r\n\t\t\t\tthis.identifyCode = code;\r\n\t\t\t},\r\n\t\t\tmsg() {\r\n\t\t\t\treturn this.$store.state.msgCount;\r\n\t\t\t},\r\n\t\t\tgetUserInfo() {\r\n\t\t\t\tgetUserIndex({\r\n\t\t\t\t\t\tmember_b_id: this.uid,\r\n\t\t\t\t\t\tmember_id: this.uid\r\n\t\t\t\t\t})\r\n\t\t\t\t\t.then(res => {\r\n\t\t\t\t\t\tconsole.log(res);\r\n\t\t\t\t\t\tif (res.code == 1) {\r\n\t\t\t\t\t\t\tthis.userInfo = res.data;\r\n\t\t\t\t\t\t\tthis.login = true;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t})\r\n\t\t\t\t\t.catch(error => {\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle: error,\r\n\t\t\t\t\t\t\ticon: 'none',\r\n\t\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tsubmitLogin() {\r\n\t\t\t\tconsole.log(this.code);\r\n\t\t\t\tconsole.log(this.identifyCodeName);\r\n\t\t\t\tif (this.code.toLowerCase() !== this.identifyCodeName.toLowerCase()) {\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '验证码错误!',\r\n\t\t\t\t\t\ticon: 'none',\r\n\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t});\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tif (this.loginData.phone == '') {\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '请填写手机号!',\r\n\t\t\t\t\t\ticon: 'none',\r\n\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t});\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tif (this.loginData.password == '') {\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '请填写密码!',\r\n\t\t\t\t\t\ticon: 'none',\r\n\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t});\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tthis.loginData.openid = uni.getStorageSync('openid');\r\n\t\t\t\tloginDo(this.loginData)\r\n\t\t\t\t\t.then(res => {\r\n\t\t\t\t\t\tconsole.log(res);\r\n\t\t\t\t\t\tif (res.code == 1) {\r\n\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle: '登陆成功!',\r\n\t\t\t\t\t\t\t\ticon: 'none',\r\n\t\t\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tuni.setStorageSync('uid', res.data.id);\r\n\t\t\t\t\t\t\tthis.userInfo = res.data;\r\n\t\t\t\t\t\t\tthis.login = true;\r\n\t\t\t\t\t\t\tthis.loginMod = false;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle: '帐号或密码错误!',\r\n\t\t\t\t\t\t\t\ticon: 'none',\r\n\t\t\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t})\r\n\t\t\t\t\t.catch(error => {\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle: error,\r\n\t\t\t\t\t\t\ticon: 'none',\r\n\t\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tloginAut() {\r\n\t\t\t\tvar that = 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\tsuccess: function(res) {\r\n\t\t\t\t\t\tif (res.confirm) {\r\n\t\t\t\t\t\t\tuni.removeStorageSync('uid');\r\n\t\t\t\t\t\t\tthat.login = false;\r\n\t\t\t\t\t\t\tthat.loginData.openid = '';\r\n\t\t\t\t\t\t\tthat.loginData.phone = '';\r\n\t\t\t\t\t\t\tthat.loginData.password = '';\r\n\t\t\t\t\t\t\tthat.code = '';\r\n\t\t\t\t\t\t\tthat.getcheckCode();\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\ttn_ru(e) {\r\n\t\t\t\tvar url = \"/pages/index/apply_in?association_id=\" + store.state.Gid;\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\ttn(e) {\r\n\t\t\t\tvar uid = uni.getStorageSync('uid');\r\n\t\t\t\tif (!uid) {\r\n\t\t\t\t\tthis.loginMod = true;\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\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\t.my_input view {\r\n\t\twidth: 100% !important;\r\n\t}\r\n\r\n\t.my_input input {\r\n\t\twidth: 100% !important;\r\n\t}\r\n</style>","import mod from \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.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--6-oneOf-1-2!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!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=style&index=0&lang=css&\"; export default mod; export * from \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.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--6-oneOf-1-2!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!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=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1717483153273\n var cssReload = require(\"F:/HBuilderX.3.5.3.20220729/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 ","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":""} |