公司小程序
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
27 KiB

{"version":3,"sources":["uni-app:///main.js","webpack:///D:/Uni-App/HBuilderProjects/Test/pages/CooperationApply/CooperationApply.vue?36a5","webpack:///D:/Uni-App/HBuilderProjects/Test/pages/CooperationApply/CooperationApply.vue?3176","webpack:///D:/Uni-App/HBuilderProjects/Test/pages/CooperationApply/CooperationApply.vue?9c21","uni-app:///pages/CooperationApply/CooperationApply.vue","webpack:///D:/Uni-App/HBuilderProjects/Test/pages/CooperationApply/CooperationApply.vue?e721"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","renderjs","component","options","__file","components","uNavbar","uForm","uFormItem","uIcon","pickRegions","uGap","uParse","uPopup","UploadSuccess","e","message","indexOf","console","error","render","_vm","this","_h","$createElement","m0","_self","_c","getTitleText","g0","isAgree","toString","_isMounted","e0","rules","validator","e1","$mp","data","Object","assign","$root","staticRenderFns","_withStripped"],"mappings":"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","file":"pages/CooperationApply/CooperationApply.js","sourcesContent":["import 'uni-pages';wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/CooperationApply/CooperationApply.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./CooperationApply.vue?vue&type=template&id=683ba9e6&scoped=true&\"\nvar renderjs\nimport script from \"./CooperationApply.vue?vue&type=script&lang=js&\"\nexport * from \"./CooperationApply.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CooperationApply.vue?vue&type=style&index=0&id=683ba9e6&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../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 \"683ba9e6\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/CooperationApply/CooperationApply.vue\"\nexport default component.exports","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./CooperationApply.vue?vue&type=style&index=0&id=683ba9e6&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./CooperationApply.vue?vue&type=style&index=0&id=683ba9e6&lang=scss&scoped=true&\"","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./CooperationApply.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./CooperationApply.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"main\">\r\n\t\t<view class=\"back\" />\r\n\t\t<u-navbar\r\n\t\t\ttitle=\"合作申请\"\r\n\t\t\t:safeAreaInsetTop=\"true\"\r\n\t\t\t:fixed=\"true\"\r\n\t\t\tbgColor=\"#FFFFFF00\"\r\n\t\t\t@leftClick=\"onTouchBack\"\r\n\t\t>\r\n\t\t</u-navbar>\n\t\t<image class=\"top_banner_global\" :src=\"pageData.toppic.picurl\" mode=\"widthFix\"></image>\r\n\t\t<view class=\"body\">\r\n\t\t\t<view style=\"width:100%;height:auto;position: relative;top: 30rpx;left: 0;right: 0;display: flex;flex-direction: row;align-items: center;justify-content: flex-start;\">\r\n\t\t\t\t<view style=\"width: 8rpx;height: 22rpx;background: #D49B4B;opacity: 1;border-radius: 1px 5px 5px 1px;margin-left: 20rpx;\"/>\r\n\t\t\t\t<text class=\"title_text\">{{getTitleText()}}</text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"u-form-body\">\r\n\t\t\t\t<u-form\r\n\t\t\t\t\tlabelPosition=\"left\"\r\n\t\t\t\t\tref=\"form1\"\r\n\t\t\t\t\t:model=\"person\"\r\n\t\t\t\t\t:rules=\"rules\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<u-form-item\r\n\t\t\t\t\t\tprop=\"person.name\"\r\n\t\t\t\t\t\tborderBottom\r\n\t\t\t\t\t\tref=\"name\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t<view class=\"form_box\">\r\n\t\t\t\t\t\t\t<text class=\"form_tile_title\">姓名*</text>\r\n\t\t\t\t\t\t\t<input\r\n\t\t\t\t\t\t\t\t:placeholder=\"rules['person.name'].message\"\r\n\t\t\t\t\t\t\t\tclass=\"form_input\"\r\n\t\t\t\t\t\t\t\t:value=\"person.name\"\r\n\t\t\t\t\t\t\t\tplaceholder-class=\"form_holder\"\r\n\t\t\t\t\t\t\t\t@blur=\"rules['person.name'].validator\"\r\n\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</u-form-item>\r\n\t\t\t\t\t<u-form-item\r\n\t\t\t\t\t\tprop=\"person.phone\"\r\n\t\t\t\t\t\tborderBottom\r\n\t\t\t\t\t\tref=\"phone\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t<view class=\"form_box\">\r\n\t\t\t\t\t\t\t<text class=\"form_tile_title\">电话*</text>\r\n\t\t\t\t\t\t\t<view v-if=\"person.phone == ''\" style=\"width: 500rpx;height: 110rpx;\r\n\t\t\t\t\t\t\t\t\t\tflex-direction: row;\r\n\t\t\t\t\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\t\t\t\t\tjustify-content: flex-end;\">\r\n\t\t\t\t\t\t\t\t<button class=\"phone_get_button\" open-type=\"getPhoneNumber\" @getphonenumber=\"onTouchToGetPhone\">\r\n\t\t\t\t\t\t\t\t\t<text style=\"color: #999999;font-size: 28rpx;\">点击获取手机号码</text>\r\n\t\t\t\t\t\t\t\t</button>\r\n\t\t\t\t\t\t\t\t<u-icon\r\n\t\t\t\t\t\t\t\t\tslot=\"right\" \r\n\t\t\t\t\t\t\t\t\tname=\"arrow-right\"\r\n\t\t\t\t\t\t\t\t></u-icon>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t<text v-else class=\"form_value\">{{person.phone}}</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</u-form-item>\r\n\t\t\t\t\t<u-form-item\r\n\t\t\t\t\t\tprop=\"person.address\"\r\n\t\t\t\t\t\tborderBottom\r\n\t\t\t\t\t\tref=\"city\"\r\n\t\t\t\t\t\t@click=\"onClickToSelectCity\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t<view class=\"form_box\">\r\n\t\t\t\t\t\t\t<text class=\"form_tile_title\">所在区域</text>\r\n\t\t\t\t\t\t\t<view style=\"width: 500rpx;height: 110rpx;\r\n\t\t\t\t\t\t\t\t\t\tflex-direction: row;\r\n\t\t\t\t\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\t\t\t\t\tjustify-content: flex-end;\r\n\t\t\t\t\t\t\t\">\r\n\t\t\t\t\t\t\t\t<pick-regions :defaultRegion=\"defaultRegion\" @getRegion=\"handleGetRegion\">\r\n\t\t\t\t\t\t\t\t\t<input\r\n\t\t\t\t\t\t\t\t\t\t:placeholder=\"rules['person.address'].message\"\r\n\t\t\t\t\t\t\t\t\t\tclass=\"form_input\"\r\n\t\t\t\t\t\t\t\t\t\t:disabled=\"true\"\r\n\t\t\t\t\t\t\t\t\t\t:value=\"person.address\"\r\n\t\t\t\t\t\t\t\t\t\tplaceholder-class=\"form_holder\"\r\n\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t</pick-regions>\r\n\t\t\t\t\t\t\t\t<u-icon\r\n\t\t\t\t\t\t\t\t\tslot=\"right\" \r\n\t\t\t\t\t\t\t\t\tname=\"arrow-right\"\r\n\t\t\t\t\t\t\t\t></u-icon>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</u-form-item>\r\n\t\t\t\t\t<u-form-item\r\n\t\t\t\t\t\tprop=\"person.referrer\"\r\n\t\t\t\t\t\tborderBottom\r\n\t\t\t\t\t\tref=\"referrer\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t<view class=\"form_box\">\r\n\t\t\t\t\t\t<text class=\"form_tile_title\">推荐人电话</text>\r\n\t\t\t\t\t\t<input\r\n\t\t\t\t\t\t\t:placeholder=\"rules['person.referrer'].message\"\r\n\t\t\t\t\t\t\tclass=\"form_input\"\r\n\t\t\t\t\t\t\tplaceholder-class=\"form_holder\"\r\n\t\t\t\t\t\t\t:value=\"person.referrer\"\r\n\t\t\t\t\t\t\t@blur=\"rules['person.referrer'].validator\"\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t</u-form-item>\r\n\t\t\t\t</u-form>\r\n\t\t\t\t<view class=\"checkboxgroup\" :key=\"isAgree.toString()\">\r\n\t\t\t\t\t<checkbox :checked=\"isAgree\" value=\"1\" @click=\"onChechBoxChange\"/>\r\n\t\t\t\t\t<text class=\"label\" @click=\"onClickAreement\">\r\n\t\t\t\t\t\t我已阅读并同意 [协议条款]\r\n\t\t\t\t\t</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view style=\"width: 702rpx;height: auto;position: relative;top: 24rpx;\">\r\n\t\t\t\t\t<text style=\"font-size: 28rpx;font-weight: 400;color: #666666;\">注意事项</text>\r\n\t\t\t\t\t<u-gap height=\"12rpx\" />\r\n\t\t\t\t\t<view class=\"attentionInfo\">\r\n\t\t\t\t\t\t<u-parse :content=\"pageData.toppic.textmsg\" class=\"attentionInfo\"></u-parse>\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<button class=\"button\" @click=\"onTouchConfirm\">提交</button>\r\n\t\t<u-popup \r\n\t\t\t:show=\"isShowUpload\"\r\n\t\t\t:closeOnClickOverlay=\"false\"\r\n\t\t\tmode=\"center\"\r\n\t\t\tbgColor=\"transparent\"\r\n\t\t>\r\n\t\t\t<UploadSuccess @confirm=\"onTouchBack\" />\r\n\t\t</u-popup>\r\n\t</view>\n</template>\n\n<script>\r\n\timport {post} from '@/common/api.js'\r\n\timport UploadSuccess from \"@/components/UploadSuccess/UploadSuccess.vue\";\r\n\t\r\n\tvar Player \t= getApp().globalData.Player;\r\n\tvar Define\t= getApp().globalData.Define;\r\n\tvar pageData = {\r\n\t\tnote : '',\r\n\t\tpartnerinfo : {},\r\n\t\t//0->未申请,1->已申请,未审核。2->通过。3->已拒绝\r\n\t\tpartnerstatus : 0,\r\n\t\ttoppic : {},\r\n\t};\n\texport default {\r\n\t\tcomponents:{\r\n\t\t\tUploadSuccess,\r\n\t\t},\r\n\t\tonLoad() {\r\n\t\t\tuni.showLoading({\r\n\t\t\t\t\r\n\t\t\t});\r\n\t\t\tvar agreementData = getApp().globalData.agreementData;\r\n\t\t\tthis.$utils.getAgreementData();\r\n\t\t\tlet self\t= this;\r\n\t\t\tpost('pages/getbecpartner',{}).then(\r\n\t\t\t\tres=>{\r\n\t\t\t\t\tuni.hideLoading();\r\n\t\t\t\t\tvar info = Define.onNetMessage(res);\r\n\t\t\t\t\tif(!info){\r\n\t\t\t\t\t\t//没有取到数据\r\n\t\t\t\t\t\treturn;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tself.pageData \t\t\t\t= info;\r\n\t\t\t\t\tvar partnerstatus \t\t\t= info.partnerstatus;\r\n\t\t\t\t\tvar mainPageData\t\t\t= getApp().globalData.mainPageData;\r\n\t\t\t\t\tmainPageData.partnerstatus\t= partnerstatus;\r\n\t\t\t\t\tconsole.log(\"合作申请页面信息:\",info);\r\n\t\t\t\t\t//这是用户数据\r\n\t\t\t\t\tvar partnerinfo = info.partnerinfo;\r\n\t\t\t\t\tvar person\t\t= self.person;\r\n\t\t\t\t\tperson.name\t\t= partnerinfo.name ?? '';\r\n\t\t\t\t\tperson.phone\t= partnerinfo.phone ?? '';\r\n\t\t\t\t\tperson.referrer\t= partnerinfo.recommender ?? '';\r\n\t\t\t\t\tvar province\t= partnerinfo.province;\r\n\t\t\t\t\tvar city\t\t= partnerinfo.city;\r\n\t\t\t\t\tvar area\t\t= partnerinfo.area;\r\n\t\t\t\t\tif(province && province!=''){\r\n\t\t\t\t\t\tself.defaultRegion \t= [province,city,area];\r\n\t\t\t\t\t\tperson.address\t\t= province + \" \" + city + \" \" + area;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif(info.partnerstatus > 0){\r\n\t\t\t\t\t\tself.isAgree\t= true;\r\n\t\t\t\t\t\tconsole.log(\"强制改变当前选中状态\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t);\r\n\t\t},\n\t\tdata() {\n\t\t\treturn {\r\n\t\t\t\tpageData,\r\n\t\t\t\t///是否同意协议条款\r\n\t\t\t\tisAgree : false,\r\n\t\t\t\t///是否显示提交成功的界面\r\n\t\t\t\tisShowUpload : false,\n\t\t\t\tperson : {\r\n\t\t\t\t\t///名字\r\n\t\t\t\t\tname : '',\r\n\t\t\t\t\t///电话号码\r\n\t\t\t\t\tphone : Player.phone,\r\n\t\t\t\t\t///所在地址\r\n\t\t\t\t\taddress : '',\r\n\t\t\t\t\t///推荐人电话\r\n\t\t\t\t\treferrer : '',\r\n\t\t\t\t},\r\n\t\t\t\trules : {\r\n\t\t\t\t\t\"person.name\" : {\r\n\t\t\t\t\t\ttype: 'string',\r\n\t\t\t\t\t\trequired: true,\r\n\t\t\t\t\t\tmessage : '请输入您的姓名',\r\n\t\t\t\t\t\tvalidator : (object)=>{\r\n\t\t\t\t\t\t\tthis.person.name = object.detail.value;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t\t'person.phone' : {\r\n\t\t\t\t\t\ttype: 'string',\r\n\t\t\t\t\t\trequired: true,\r\n\t\t\t\t\t\tmessage : '请输入您的联系电话',\r\n\t\t\t\t\t\t///校验用户是否输入了正确的手机号码\r\n\t\t\t\t\t\tvalidator : (object)=>{\r\n\t\t\t\t\t\t\tvar suc = uni.$u.test.mobile(object.detail.value);\r\n\t\t\t\t\t\t\tif(!suc){\r\n\t\t\t\t\t\t\t\tuni.$u.toast(\"请输入正确的电话号码!\");\r\n\t\t\t\t\t\t\t\tthis.person.phone\t= '';\r\n\t\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\tthis.person.phone = object.detail.value;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\treturn suc;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t\t'person.address' : {\r\n\t\t\t\t\t\ttype : 'string',\r\n\t\t\t\t\t\trequired : false,\r\n\t\t\t\t\t\tmessage: '请选择您的地址',\r\n\t\t\t\t\t},\r\n\t\t\t\t\t'person.referrer' : {\r\n\t\t\t\t\t\ttype : 'string',\r\n\t\t\t\t\t\trequired : false,\r\n\t\t\t\t\t\tmessage : '请输入推荐人电话号码',\r\n\t\t\t\t\t\t///校验用户是否输入了正确的手机号码\r\n\t\t\t\t\t\tvalidator : (object)=>{\r\n\t\t\t\t\t\t\tvar suc = uni.$u.test.mobile(object.detail.value);\r\n\t\t\t\t\t\t\tif(!suc){\r\n\t\t\t\t\t\t\t\tuni.$u.toast(\"请输入正确的电话号码!\");\r\n\t\t\t\t\t\t\t\tthis.person.referrer = '';\r\n\t\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\tthis.person.referrer = object.detail.value;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\treturn suc;\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\t\r\n\t\t\t\tdefaultRegion:['四川省','成都市','武侯区'],\r\n\t\t\t\tregion:[],\r\n\t\t\t\t\n\t\t\t};\n\t\t},\r\n\t\tmethods:{\r\n\t\t\tonTouchBack(){\r\n\t\t\t\tuni.navigateBack({\r\n\t\t\t\t\t\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\t///点击并选择城市\r\n\t\t\tonClickToSelectCity(){\r\n\t\t\t\tuni.hideKeyboard();\r\n\t\t\t},\r\n\t\t\t// 获取选择的地区\r\n\t\t\thandleGetRegion(region){\r\n\t\t\t\tthis.region = region;\r\n\t\t\t\tthis.person.address = this.regionName();\r\n\t\t\t\tthis.$refs.form1.validateField('person.address');\r\n\t\t\t},\r\n\t\t\tregionName(){\r\n\t\t\t\treturn this.region.map(item=>item.name).join(' ');\r\n\t\t\t},\r\n\t\t\tonChechBoxChange(e){\r\n\t\t\t\tconsole.log(e);\r\n\t\t\t\tthis.isAgree = !this.isAgree;\r\n\t\t\t},\r\n\t\t\t/**\r\n\t\t\t * 点击了协议字体,要去看看协议内容\r\n\t\t\t */\r\n\t\t\tonClickAreement(){\r\n\t\t\t\t/*uni.navigateTo({\r\n\t\t\t\t\turl:'/pages/Agreement/Agreement',\r\n\t\t\t\t})*/\r\n\t\t\t\tvar data\t= getApp().globalData.agreementData;\r\n\t\t\t\tgetApp().globalData.showingSkipData = data;\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl:'/pages/SkipView/SkipView'\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tshowToast(content){\r\n\t\t\t\tuni.$u.toast(content);\r\n\t\t\t},\r\n\t\t\t/**\r\n\t\t\t * 点击了提交按钮\r\n\t\t\t */\r\n\t\t\tasync onTouchConfirm(){\r\n\t\t\t\tif(!this.isAgree){\r\n\t\t\t\t\tthis.showToast('请阅读并同意协议条款');\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tvar name = this.person.name;\r\n\t\t\t\tif(name == ''){\r\n\t\t\t\t\tthis.showToast('请输入您的名字');\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tvar phone = this.person.phone;\r\n\t\t\t\tif(phone == ''){\r\n\t\t\t\t\tthis.showToast('请输入您的电话号码');\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tvar data = {\r\n\t\t\t\t\tname : name,\r\n\t\t\t\t\tphone : phone,\r\n\t\t\t\t\tstatus : 0,\r\n\t\t\t\t\tprovincecode : 0,\r\n\t\t\t\t\tcitycode : 0,\r\n\t\t\t\t\tareacode : 0,\r\n\t\t\t\t\tprovince : '',\r\n\t\t\t\t\tcity : '',\r\n\t\t\t\t\tarea : '',\r\n\t\t\t\t\trecommender : this.person.referrer,\r\n\t\t\t\t};\r\n\t\t\t\tif(this.region.length > 0){\r\n\t\t\t\t\t//如果当前有地址\r\n\t\t\t\t\tvar p = this.region[0].name ?? '';\r\n\t\t\t\t\tvar c = this.region[1].name ?? '';\r\n\t\t\t\t\tvar a = this.region[2].name ?? '';\r\n\t\t\t\t\tdata['province'] \t= p;\r\n\t\t\t\t\tdata['city']\t\t= c;\r\n\t\t\t\t\tdata['area']\t\t= a;\r\n\t\t\t\t}\r\n\t\t\t\tconsole.log(data);\r\n\t\t\t\tuni.showLoading();\r\n\t\t\t\tvar res = await post(\"pages/becpartner\",data);\r\n\t\t\t\tuni.hideLoading();\r\n\t\t\t\tvar out = getApp().globalData.Define.onNetMessage(res);\r\n\t\t\t\tif(!out){\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tconsole.log(\"申请结果:\",out);\r\n\t\t\t\tgetApp().globalData.mainPageData.partnerstatus = 1;\r\n\t\t\t\tthis.isShowUpload = true;\r\n\t\t\t},\r\n\t\t\t/**\r\n\t\t\t * 获取显示最上面的文字\r\n\t\t\t */\r\n\t\t\tgetTitleText(){\r\n\t\t\t\tvar partnerstatus = this.pageData.partnerstatus;\r\n\t\t\t\tvar str\t= '';\r\n\t\t\t\tif(partnerstatus == 0){\r\n\t\t\t\t\tstr = '尚未申请';\r\n\t\t\t\t}else if(partnerstatus == 1){\r\n\t\t\t\t\tstr = '请等待审核';\r\n\t\t\t\t}else if(partnerstatus == 2){\r\n\t\t\t\t\tstr = '您已是官方合作人员';\r\n\t\t\t\t}else{\r\n\t\t\t\t\tstr = '您的申请已被拒绝,请重新申请';\r\n\t\t\t\t}\r\n\t\t\t\tstr = \"个人信息 (\" + str + \")\";\r\n\t\t\t\treturn str;\r\n\t\t\t},\r\n\t\t\t///点击按钮,开始获取用户的手机号码\r\n\t\t\tasync onTouchToGetPhone(e){\r\n\t\t\t\tvar phonenumber \t= await this.$utils.wechatGetPlayerPhoneNumberBack(e);\r\n\t\t\t\tif(!phonenumber){\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tthis.person.phone \t= phonenumber;\r\n\t\t\t},\r\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\r\n\tbutton::after{border: none;padding: 0;}\r\n\t.top_banner_global{\r\n\t\tposition: relative;\r\n\t\twidth: 750rpx;\r\n\t\theight: auto;\r\n\t}\r\n\t.body{\r\n\t\twidth: 702rpx;\r\n\t\theight: 1015rpx;\r\n\t\tposition: relative;\r\n\t\tleft: 24rpx;\r\n\t\tright: 24rpx;\r\n\t\ttop: -75rpx;\r\n\t\tbackground: #FFFFFF;\r\n\t\topacity: 1;\r\n\t\tborder-radius: 20rpx;\r\n\t}\r\n\t.title_text{\r\n\t\t//width: 192rpx;\r\n\t\tfont-size: 32rpx;\r\n\t\tfont-weight: bold;\r\n\t\tcolor: #333333;\r\n\t\topacity: 1;\r\n\t\tmargin-left: 10rpx;\r\n\t}\r\n\t.u-form-body{\r\n\t\tposition: relative;\r\n\t\twidth: 662rpx;\r\n\t\tleft: 20rpx;\r\n\t\tright: 20rpx;\r\n\t\theight: 910rpx;\r\n\t\t//background-color: #1CBBB4;\r\n\t\tborder-radius: 20rpx;\r\n\t\ttop: 30rpx;\r\n\t}\r\n\t.form_input{\r\n\t\t//background-color: #0081FF;\r\n\t\twidth: 100%;\r\n\t\theight: 90rpx;\r\n\t\ttext-align: right;\r\n\t\tfont-size: 28rpx;\r\n\t\tfont-weight: 400;\r\n\t\tcolor: #333333;\r\n\t}\r\n\t.form_holder{\r\n\t\twidth: 100%;\r\n\t\theight: 90rpx;\r\n\t\ttext-align: right;\r\n\t\tfont-size: 24rpx;\r\n\t\tfont-weight: 400;\r\n\t\tcolor: #999999;\r\n\t\tmargin-right: 10rpx;\r\n\t}\r\n\t.form_label_style{\r\n\t\theight: 37rpx;\r\n\t\tfont-size: 26rpx;\r\n\t\tfont-weight: 400;\r\n\t\tcolor: #666666;\r\n\t\topacity: 1;\r\n\t}\r\n\t.attentionInfo{\r\n\t\t//width: 648rpx;\r\n\t\tfont-size: 24rpx;\r\n\t\tfont-weight: 400;\r\n\t\tcolor: #999999;\r\n\t\topacity: 1;\r\n\t\theight: auto;\r\n\t\t//background-color: #39B54A;\r\n\t}\r\n\t\r\n\t.label{\r\n\t\ttext-decoration: underline;\r\n\t\tcolor: #39B54A;\r\n\t\tfont-size: 26rpx;\r\n\t\tfont-weight: 400;\r\n\t}\r\n\t.checkboxgroup{\r\n\t\twidth: 662rpx;\r\n\t\theight: 100rpx;\r\n\t\t//background-color: #9000FF;\r\n\t\tposition: relative;\r\n\t\ttop: 10rpx;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tflex-direction: row;\r\n\t\tjustify-content: flex-start\r\n\t}\r\n\t.button{\r\n\t\twidth: 702rpx;\r\n\t\theight: 90rpx;\r\n\t\tbackground: #D49B4B;\r\n\t\topacity: 1;\r\n\t\tborder-radius: 93rpx;\r\n\t\tposition: relative;\r\n\t\tfont-size: 36rpx;\r\n\t\tfont-weight: 400;\r\n\t\ttop: -40rpx;\r\n\t\tcolor: #FFFFFF;\t\r\n\t}\r\n\t.phone_get_button{\r\n\t\twidth: 600rpx;\r\n\t\theight: 110rpx;\r\n\t\tbackground-color: #FFFFFF;\r\n\t\tfont-size: 28rpx;\r\n\t\tcolor: #999999;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: flex-end;\r\n\t\talign-items: center;\r\n\t\tborder: none;\r\n\t\t\r\n\t}\r\n\t.form_value{\r\n\t\twidth: 550rpx;\r\n\t\t//height: 110rpx;\r\n\t\ttext-align: right;\r\n\t\t//background-color: #39B54A;\r\n\t\tfont-size: 28rpx;\r\n\t\tfont-weight: 400;\r\n\t\tcolor: #333333;\r\n\t\topacity: 1;\r\n\t}\r\n\t\r\n\t.form_box{\r\n\t\twidth: 662rpx;\r\n\t\theight: 110rpx;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: row;\r\n\t\talign-items: center;\r\n\t\tjustify-content: space-between;\r\n\t\t//background-color: #0081FF;\r\n\t}\r\n\t.form_tile_title{\r\n\t\twidth: 170rpx;\r\n\t\theight: 37rpx;\r\n\t\tfont-size: 26rpx;\r\n\t\tfont-weight: 500;\r\n\t\tcolor: #333333;\r\n\t}\n</style>\n","var components\ntry {\n components = {\n uNavbar: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-navbar/u-navbar\" */ \"@/uni_modules/uview-ui/components/u-navbar/u-navbar.vue\"\n )\n },\n uForm: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-form/u-form\" */ \"@/uni_modules/uview-ui/components/u-form/u-form.vue\"\n )\n },\n uFormItem: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-form-item/u-form-item\" */ \"@/uni_modules/uview-ui/components/u-form-item/u-form-item.vue\"\n )\n },\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-icon/u-icon\" */ \"@/uni_modules/uview-ui/components/u-icon/u-icon.vue\"\n )\n },\n pickRegions: function() {\n return import(\n /* webpackChunkName: \"components/pick-regions/pick-regions\" */ \"@/components/pick-regions/pick-regions.vue\"\n )\n },\n uGap: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-gap/u-gap\" */ \"@/uni_modules/uview-ui/components/u-gap/u-gap.vue\"\n )\n },\n uParse: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-parse/u-parse\" */ \"@/uni_modules/uview-ui/components/u-parse/u-parse.vue\"\n )\n },\n uPopup: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-popup/u-popup\" */ \"@/uni_modules/uview-ui/components/u-popup/u-popup.vue\"\n )\n },\n UploadSuccess: function() {\n return import(\n /* webpackChunkName: \"components/UploadSuccess/UploadSuccess\" */ \"@/components/UploadSuccess/UploadSuccess.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.getTitleText()\n var g0 = _vm.isAgree.toString()\n\n if (!_vm._isMounted) {\n _vm.e0 = _vm.rules[\"person.name\"].validator\n _vm.e1 = _vm.rules[\"person.referrer\"].validator\n }\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n m0: m0,\n g0: g0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }"],"sourceRoot":""}