You cannot 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 line
26 KiB
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/土豆泥/Documents/HBuilderProjects/3/pages/cloudStore/apply.vue?4704","webpack:///C:/Users/土豆泥/Documents/HBuilderProjects/3/pages/cloudStore/apply.vue?6bb1","webpack:///C:/Users/土豆泥/Documents/HBuilderProjects/3/pages/cloudStore/apply.vue?570d","webpack:///C:/Users/土豆泥/Documents/HBuilderProjects/3/pages/cloudStore/apply.vue?412b","uni-app:///pages/cloudStore/apply.vue","webpack:///C:/Users/土豆泥/Documents/HBuilderProjects/3/pages/cloudStore/apply.vue?d656","webpack:///C:/Users/土豆泥/Documents/HBuilderProjects/3/pages/cloudStore/apply.vue?2621"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","components","shopCardDeatil","data","background","model","name","phone","idCard","sales","salesChannels","salesModel","rules","required","message","trigger","validator","idCardList","idCardUpList","channelList","num","checked","modelList","onReady","methods","deletePic","afterRead","lists","fileListLen","item","status","i","result","console","url","saveClick","selectChannel","parameterList","selectModel"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,cAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAA8H;AAC9H;AACyD;AACL;AACsC;;;AAG1F;AACgL;AAChL,gBAAgB,yLAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,4FAAM;AACR,EAAE,qGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,gGAAU;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,6SAEN;AACP,KAAK;AACL;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,+TAEN;AACP,KAAK;AACL;AACA,aAAa,uSAEN;AACP,KAAK;AACL;AACA,aAAa,6SAEN;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,MAAM;AACN;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACnEA;AAAA;AAAA;AAAA;AAAspB,CAAgB,2qBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACyJ1qB;AAAA;AAAA;AAAA;EAAA;IAAA;EAAA;AAAA;AAAA,eAEA;EACAC;IAAAC;EAAA;EACAC;IACA;MACAC;MACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;MACA;MACAC;QACAN;UACAO;UACAC;UACAC;QACA;QACAR;UACAM;UACAC;UACAC;QACA,GACA;UACAC;YACA;YACA;UACA;UACAF;UACAC;QACA;QACAP;UACAK;UACAC;UACAC;QACA,GACA;UACAC;YACA;UACA;UACAF;UACAC;QACA;QACAN;UACAI;UACAC;UACAC;QACA;MAEA;MACAE;MACAC;MACAC;QACAb;QACAc;QACAC;MACA,GACA;QACAf;QACAc;QACAC;MACA,GACA;QACAf;QACAc;QACAC;MACA,GACA;QACAf;QACAc;QACAC;MACA,GACA;QACAf;QACAc;QACAC;MACA;MACAC;QACAhB;QACAc;QACAC;MACA,GACA;QACAf;QACAc;QACAC;MACA,GACA;QACAf;QACAc;QACAC;MACA,GACA;QACAf;QACAc;QACAC;MACA;IACA;EACA;EACAE;IACA;EACA;EACAC;IACA;IACAC;MACA;IACA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBACA;gBACAC;gBACAC;gBACAD;kBACA,4DACAE;oBACAC;oBACAhB;kBAAA,GACA;gBACA;gBACAiB;cAAA;gBAAA;kBAAA;kBAAA;gBAAA;gBAAA;gBAAA,OACA;cAAA;gBAAAC;gBACAC;gBACAJ;gBACA;kBACAC;kBACAhB;kBACAoB;gBACA;gBACAN;cAAA;gBATAG;gBAAA;gBAAA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IAWA;IACA;IACAI;MAAA;MACA;QACA;UACA;UACA;UACA;UACA;UACA;QACA;MACA;IACA;IACA;IACAC;MACA;MACA;MACAH;MACA;QACAI;MACA;QACAA;MACA;MACA;IACA;IACAC;MACA;MACA;MACAL;MACA;QACAI;MACA;QACAA;MACA;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;ACnUA;AAAA;AAAA;AAAA;AAAqwC,CAAgB,kuCAAG,EAAC,C;;;;;;;;;;;ACAzxC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/cloudStore/apply.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/cloudStore/apply.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./apply.vue?vue&type=template&id=39b0fa44&scoped=true&\"\nvar renderjs\nimport script from \"./apply.vue?vue&type=script&lang=js&\"\nexport * from \"./apply.vue?vue&type=script&lang=js&\"\nimport style0 from \"./apply.vue?vue&type=style&index=0&id=39b0fa44&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!E:\\\\HBuilderX\\\\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 \"39b0fa44\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/cloudStore/apply.vue\"\nexport default component.exports","export * from \"-!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--17-0!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./apply.vue?vue&type=template&id=39b0fa44&scoped=true&\"","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 uInput: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-input/u-input\" */ \"@/uni_modules/uview-ui/components/u-input/u-input.vue\"\n )\n },\n uUpload: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-upload/u-upload\" */ \"@/uni_modules/uview-ui/components/u-upload/u-upload.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 a0 = {\n color: \"#000000\",\n fontWeight: 600,\n lineHeight: 1.2,\n fontSize: \"32rpx\",\n }\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n a0: a0,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./apply.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./apply.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"apply\">\r\n\t\t<u-navbar title=\"云拣仓代理申请\" height=\"108rpx\" :bgColor=\"background\" placeholder=\"true\" :titleStyle=\"{color: '#FFF', fontSize: '32rpx'}\" leftIconColor=\"#FFF\"></u-navbar>\r\n\t\t<view class=\"shop-detail\">\r\n\t\t\t<shop-card-deatil></shop-card-deatil>\r\n\t\t</view>\r\n\t\t<view class=\"main-body\">\r\n\t\t\t<u-form :model='model' :rules=\"rules\" ref=\"uForm\" :label-style=\"{'color':'#000000',fontWeight:600,lineHeight:1.2,fontSize:'32rpx'}\" label-position=\"top\" >\r\n\t\t\t\t<view class=\"item-con\">\r\n\t\t\t\t\t<u-form-item\r\n\t\t\t\t\t\tlabel=\"姓名\"\r\n\t\t\t\t\t\tlabelWidth=\"280rpx\"\r\n\t\t\t\t\t\tprop=\"name\"\r\n\t\t\t\t\t\tlabel-position=\"top\"\r\n\t\t\t\t\t\trequired\r\n\t\t\t\t\t\t:border-bottom=\"false\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t<u-input placeholder=\"请输入您的姓名\" maxlength=\"40\" v-model=\"model.name\" placeholderStyle=\"color:#999\" border=\"none\"></u-input>\r\n\t\t\t\t\t</u-form-item>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"item-con\">\r\n\t\t\t\t\t<u-form-item\r\n\t\t\t\t\t\tlabel=\"手机号\"\r\n\t\t\t\t\t\tlabelWidth=\"280rpx\"\r\n\t\t\t\t\t\tprop=\"phone\"\r\n\t\t\t\t\t\tlabel-position=\"top\"\r\n\t\t\t\t\t\trequired\r\n\t\t\t\t\t\t:border-bottom=\"false\"\t\t\t\t\t\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t<u-input placeholder=\"请输入您的手机号\" maxlength=\"40\" v-model=\"model.phone\" placeholderStyle=\"color:#999\" border=\"none\"></u-input>\r\n\t\t\t\t\t</u-form-item>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"item-con\">\r\n\t\t\t\t\t<u-form-item\r\n\t\t\t\t\t\tlabel=\"身份证号\"\r\n\t\t\t\t\t\tlabelWidth=\"280rpx\"\r\n\t\t\t\t\t\tprop=\"idCard\"\r\n\t\t\t\t\t\tlabel-position=\"top\"\r\n\t\t\t\t\t\trequired\r\n\t\t\t\t\t\t:border-bottom=\"false\"\t\t\t\t\t\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t<u-input placeholder=\"请输入您的身份证号\" maxlength=\"40\" v-model=\"model.idCard\" placeholderStyle=\"color:#999\" border=\"none\"></u-input>\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\tlabel=\"补充身份证照片\"\r\n\t\t\t\t\t\tlabelWidth=\"280rpx\"\r\n\t\t\t\t\t\tprop=\"idCardImage\"\r\n\t\t\t\t\t\tlabel-position=\"top\"\r\n\t\t\t\t\t\trequired\r\n\t\t\t\t\t\t:border-bottom=\"false\"\t\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t<view class=\"idCardCon\">\r\n\t\t\t\t\t\t\t<view class=\"idCardItem\">\r\n\t\t\t\t\t\t\t\t<u-upload\r\n\t\t\t\t\t\t\t\t\t:fileList=\"idCardList\"\r\n\t\t\t\t\t\t\t\t\t@afterRead=\"afterRead\"\r\n\t\t\t\t\t\t\t\t\t@delete=\"deletePic\"\r\n\t\t\t\t\t\t\t\t\tname=\"idCardList\"\r\n\t\t\t\t\t\t\t\t\t:maxCount=\"1\"\r\n\t\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t\t<image class=\"idCardImg\" src=\"http://file.hecrab.com/crab-net/yxs-yxsSfzQ.png\"></image>\r\n\t\t\t\t\t\t\t\t</u-upload>\r\n\t\t\t\t\t\t\t\t<text class=\"idCardText\">点击上传头像面</text>\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<view class=\"idCardItem\">\r\n\t\t\t\t\t\t\t\t<u-upload\r\n\t\t\t\t\t\t\t\t\t:fileList=\"idCardUpList\"\r\n\t\t\t\t\t\t\t\t\t@afterRead=\"afterRead\"\r\n\t\t\t\t\t\t\t\t\t@delete=\"deletePic\"\r\n\t\t\t\t\t\t\t\t\tname=\"idCardUpList\"\r\n\t\t\t\t\t\t\t\t\t:maxCount=\"1\"\r\n\t\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t\t<image class=\"idCardImg\" src=\"http://file.hecrab.com/crab-net/yxs-yxsSfzH.png\"></image>\r\n\t\t\t\t\t\t\t\t</u-upload>\r\n\t\t\t\t\t\t\t\t<text class=\"idCardText\">点击上传国徽面</text>\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\r\n\t\t\t\t\t<!-- <u-form-item \r\n\t\t\t\t\t\tlabel=\"补充身份证照片\"\r\n\t\t\t\t\t\tlabelWidth=\"280rpx\"\r\n\t\t\t\t\t\tprop=\"idCardImage\"\r\n\t\t\t\t\t\tlabel-position=\"top\"\r\n\t\t\t\t\t\trequired\r\n\t\t\t\t\t\t:border-bottom=\"false\">\r\n\t\t\t\t\t\t<view class=\"idCardCon\">\r\n\t\t\t\t\t\t\t<image class=\"idCardImg\" src=\"http://file.hecrab.com/crab-net/yxs-yxsSfzQ.png\"\r\n\t\t\t\t\t\t\t\tmode=\"aspectFit\"></image>\r\n\t\t\t\t\t\t\t<file-upload :maxNum=\"1\" uploadText=\"身份证人像面\" v-model=\"idCardList\"\r\n\t\t\t\t\t\t\t\t:showTipsNumber=\"false\" @okCallBack=\"uploadSuccess(1)\"></file-upload>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"idCardCon\">\r\n\t\t\t\t\t\t\t<image class=\"idCardImg\" src=\"http://file.hecrab.com/crab-net/yxs-yxsSfzH.png\"\r\n\t\t\t\t\t\t\t\tmode=\"aspectFit\"></image>\r\n\t\t\t\t\t\t\t<file-upload :maxNum=\"1\" uploadText=\"身份证国徽面\" v-model=\"idCardUpList\" :showTipsNumber=\"false\"\r\n\t\t\t\t\t\t\t\t@okCallBack=\"uploadSuccess(2)\"></file-upload>\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</view>\r\n\t\t\t\t\r\n\t\t\t\t<view class=\"item-con\">\r\n\t\t\t\t\t<u-form-item\r\n\t\t\t\t\t\tlabel=\"预计销量(万年/年)\"\r\n\t\t\t\t\t\tlabelWidth=\"280rpx\"\r\n\t\t\t\t\t\tprop=\"sales\"\r\n\t\t\t\t\t\tlabel-position=\"top\"\r\n\t\t\t\t\t\trequired\r\n\t\t\t\t\t\t:border-bottom=\"false\"\t\t\t\t\t\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t<u-input placeholder=\"请输入你的每年预计销量\" maxlength=\"40\" v-model=\"model.sales\" placeholderStyle=\"color:#999\" border=\"none\"></u-input>\r\n\t\t\t\t\t</u-form-item>\r\n\t\t\t\t</view>\r\n\t\t\t\t\r\n\t\t\t\t<view class=\"item-con\">\r\n\t\t\t\t\t<u-form-item\r\n\t\t\t\t\t\tlabel=\"选择你的销售渠道(多选)\"\r\n\t\t\t\t\t\tlabelWidth=\"630rpx\"\r\n\t\t\t\t\t\tprop=\"\"\r\n\t\t\t\t\t\tlabel-position=\"top\"\r\n\t\t\t\t\t\trequired\r\n\t\t\t\t\t\t:border-bottom=\"false\"\t\t\t\t\t\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t<view class=\"Item\" >\r\n\t\t\t\t\t\t\t<view class=\"Con\" v-for=\"(item,index) in channelList\" :key=\"index\" :class=\"item.checked?'checked':''\" :data-id=\"item.num\" @tap=\"selectChannel\">{{item.name}}</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</view>\r\n\t\t\t\t\r\n\t\t\t\t<view class=\"item-con\">\r\n\t\t\t\t\t<u-form-item\r\n\t\t\t\t\t\tlabel=\"选择你的分销模式(多选)\"\r\n\t\t\t\t\t\tlabelWidth=\"630rpx\"\r\n\t\t\t\t\t\tprop=\"\"\r\n\t\t\t\t\t\tlabel-position=\"top\"\r\n\t\t\t\t\t\trequired\r\n\t\t\t\t\t\t:border-bottom=\"false\"\t\t\t\t\t\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t<view class=\"Item\" >\r\n\t\t\t\t\t\t\t<view class=\"Con\" v-for=\"(item,index) in modelList\" :key=\"index\" :class=\"item.checked?'checked':''\" :data-id=\"item.num\" @tap=\"selectModel\">{{item.name}}</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</view>\r\n\t\t\t</u-form>\r\n\t\t</view>\r\n\t\t<view class=\"bottom\">\r\n\t\t\t<button class=\"saveBtn\" @click=\"saveClick\">提交申请</button>\r\n\t\t</view>\r\n\t</view>\n</template>\n\n<script>\r\n\timport list from \"../../uni_modules/uview-ui/libs/config/props/list\";\n\timport shopCardDeatil from \"./components/shopDetailCard.vue\"\r\n\texport default{\r\n\t\tcomponents:{shopCardDeatil},\r\n\t\tdata() {\r\n\t\t\treturn{\r\n\t\t\t\tbackground:'transparent',\r\n\t\t\t\tmodel:{\r\n\t\t\t\t\tname:'',\r\n\t\t\t\t\tphone:'',\r\n\t\t\t\t\tidCard:'',\r\n\t\t\t\t\tsales:'',\r\n\t\t\t\t\tsalesChannels:'',\r\n\t\t\t\t\tsalesModel:''\r\n\t\t\t\t},\r\n\t\t\t\trules:{\r\n\t\t\t\t\tname:[{\r\n\t\t\t\t\t\trequired:true,\r\n\t\t\t\t\t\tmessage:'请输入代理商姓名',\r\n\t\t\t\t\t\ttrigger:['change','blur']\r\n\t\t\t\t\t}],\r\n\t\t\t\t\tphone:[{\r\n\t\t\t\t\t\trequired:true,\r\n\t\t\t\t\t\tmessage:'请输入代理商手机号',\r\n\t\t\t\t\t\ttrigger:['change','blur']\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tvalidator:(rule,value,callback)=>{\r\n\t\t\t\t\t\t\t//true表示通过验证,false表示不通过验证\r\n\t\t\t\t\t\t\treturn uni.$u.test.mobile(value);\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tmessage:'手机号码不正确',\r\n\t\t\t\t\t\ttrigger:['change'],\r\n\t\t\t\t\t}],\r\n\t\t\t\t\tidCard:[{\r\n\t\t\t\t\t\trequired:true,\r\n\t\t\t\t\t\tmessage:\"请输入代理商身份证号\",\r\n\t\t\t\t\t\ttrigger:['change','blur']\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tvalidator:(rule,value,callback)=>{\r\n\t\t\t\t\t\t\treturn uni.$u.test.idCard(value);\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tmessage:'身份证号不正确',\r\n\t\t\t\t\t\ttrigger:['change']\r\n\t\t\t\t\t}],\r\n\t\t\t\t\tsales:[{\r\n\t\t\t\t\t\trequired:true,\r\n\t\t\t\t\t\tmessage:\"请输入预计年销量\",\r\n\t\t\t\t\t\ttrigger:['change','blur']\r\n\t\t\t\t\t}],\r\n\t\t\t\t\t\r\n\t\t\t\t},\r\n\t\t\t\tidCardList:[],\r\n\t\t\t\tidCardUpList:[],\r\n\t\t\t\tchannelList:[{\r\n\t\t\t\t\tname:\"微信\",\r\n\t\t\t\t\tnum:'1',\r\n\t\t\t\t\tchecked:false\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname:\"淘宝\",\r\n\t\t\t\t\tnum:'2',\r\n\t\t\t\t\tchecked:false\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname:\"抖音\",\r\n\t\t\t\t\tnum:'3',\r\n\t\t\t\t\tchecked:false\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname:\"京东\",\r\n\t\t\t\t\tnum:'4',\r\n\t\t\t\t\tchecked:false\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname:\"实体店\",\r\n\t\t\t\t\tnum:'5',\r\n\t\t\t\t\tchecked:false\r\n\t\t\t\t}],\r\n\t\t\t\tmodelList:[{\r\n\t\t\t\t\tname:\"卡券代理\",\r\n\t\t\t\t\tnum:'1',\r\n\t\t\t\t\tchecked:false\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname:\"批发\",\r\n\t\t\t\t\tnum:'2',\r\n\t\t\t\t\tchecked:false\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname:\"一键代发(通用包装)\",\r\n\t\t\t\t\tnum:'3',\r\n\t\t\t\t\tchecked:false\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname:\"一键代发(自有包装)\",\r\n\t\t\t\t\tnum:'4',\r\n\t\t\t\t\tchecked:false\r\n\t\t\t\t}]\r\n\t\t\t}\r\n\t\t},\r\n\t\tonReady() {\r\n\t\t\tthis.$refs.uForm.setRules(this.rules)\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\t//删除图片\r\n\t\t\tdeletePic(event){\r\n\t\t\t\tthis['${event.name}'].splice(event.index,1)\r\n\t\t\t},\r\n\t\t\t//新增图片\r\n\t\t\tasync afterRead(event){\r\n\t\t\t\t//当设置multiple为true时file为数组格式否则为对象格式\r\n\t\t\t\tlet lists = [].concat(event.file)\r\n\t\t\t\tlet fileListLen = this['${event.name}'].length\r\n\t\t\t\tlists.map((item)=>{\r\n\t\t\t\t\tthis['${event.name}'].push({\r\n\t\t\t\t\t\t...item,\r\n\t\t\t\t\t\tstatus: 'uploading',\r\n\t\t\t\t\t\tmessage: '上传中'\r\n\t\t\t\t\t})\r\n\t\t\t\t})\r\n\t\t\t\tfor (let i = 0; i < lists.length; i++) {\r\n\t\t\t\t\tconst result = await this.uploadFilePromise(lists[i].url)\r\n\t\t\t\t\tconsole.log(result, '上传图像result');\r\n\t\t\t\t\tlet item = this[`${event.name}`][fileListLen]\r\n\t\t\t\t\tthis[`${event.name}`].splice(fileListLen, 1, Object.assign(item, {\r\n\t\t\t\t\t\tstatus: result.status,\r\n\t\t\t\t\t\tmessage: result.status == 'failed' ? '上传失败' : '',\r\n\t\t\t\t\t\turl: result.url\r\n\t\t\t\t\t}))\r\n\t\t\t\t\t\tfileListLen++\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t//提交按钮\r\n\t\t\tsaveClick() {\r\n\t\t\t\tthis.$refs.uForm.validate(isOk => {\r\n\t\t\t\t\tif (isOk) {\r\n\t\t\t\t\t\tif (!this.idCardList.length) return this.$u.toast(\"请上传身份证人像面!\")\r\n\t\t\t\t\t\tif (!this.idCardUpList.length) return this.$u.toast(\"请上传身份证国徽面!\")\r\n\t\t\t\t\t\t// if (!this.channelChecked.length) return this.$u.toast(\"请至少选择一个销售渠道!\")\r\n\t\t\t\t\t\t// if (!this.distributionChecked.length) return this.$u.toast(\"请至少选择一个分销模式!\")\r\n\t\t\t\t\t\tthis.request()\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\tselectChannel:function(e){\r\n\t\t\t\tvar this_checked = e.currentTarget.dataset.id //获取对应的条目id\r\n\t\t\t\tvar parameterList = this.channelList //获取Json数组\r\n\t\t\t\tconsole.log(this_checked)\r\n\t\t\t\tif(parameterList[this_checked-1].checked){\r\n\t\t\t\t\tparameterList[this_checked-1].checked = false\r\n\t\t\t\t}else{\r\n\t\t\t\t\tparameterList[this_checked-1].checked=true;\r\n\t\t\t\t}\r\n\t\t\t\tthis.channelList=parameterList;\r\n\t\t\t},\r\n\t\t\tselectModel:function(e){\r\n\t\t\t\tvar this_checked = e.currentTarget.dataset.id //获取对应的条目id\r\n\t\t\t\tvar parameterList = this.modelList //获取Json数组\r\n\t\t\t\tconsole.log(this_checked)\r\n\t\t\t\tif(parameterList[this_checked-1].checked){\r\n\t\t\t\t\tparameterList[this_checked-1].checked = false\r\n\t\t\t\t}else{\r\n\t\t\t\t\tparameterList[this_checked-1].checked=true;\r\n\t\t\t\t}\r\n\t\t\t\tthis.modelList=parameterList;\r\n\t\t\t},\r\n\t\t}\r\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\r\n\t.apply{\r\n\t\theight: 100vh;\r\n\t\tbackground: linear-gradient( 270deg, #3975F1 0%, #4AA4F5 100%);\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\t.shop-detail{\r\n\t\t\tborder-radius: 20rpx;\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\tmargin-bottom: 24rpx;\r\n\t\t}\r\n\t\t.main-body{\r\n\t\t\tbox-sizing: border-box;\r\n\t\t\tbackground: #F5F6FA;\r\n\t\t\tborder-radius: 20rpx 20rpx 0rpx 0rpx;\r\n\t\t\tpadding: 36rpx;\r\n\t\t\tflex: 1;\r\n\t\t\toverflow: auto;\r\n\t\t\t.item-con{\r\n\t\t\t\tbackground: #FFFFFF;\r\n\t\t\t\tborder-radius: 20rpx;\r\n\t\t\t\tpadding: 4rpx 24rpx 14rpx 24rpx;\r\n\t\t\t\tmargin-bottom: 16rpx;\r\n\t\t\t}\r\n\t\t\t.idCardCon{\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tjustify-content: space-between;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\tmargin-top: 12rpx;\r\n\t\t\t\t.idCardImg{\r\n\t\t\t\t\twidth: 300rpx;\r\n\t\t\t\t\theight: 200rpx;\r\n\t\t\t\t\tborder-radius: 8rpx;\r\n\t\t\t\t\tobject-fit: cover;\r\n\t\t\t\t}\r\n\t\t\t\t.idCardText{\r\n\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\tcolor: #999999;\r\n\t\t\t\t\tmargin-left: 58rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t.bottom{\r\n\t\t\theight: 180rpx;\r\n\t\t\tbackground: #FFFFFF;\r\n\t\t\t.saveBtn{\r\n\t\t\t\twidth: 678rpx;\r\n\t\t\t\theight: 92rpx;\r\n\t\t\t\tbackground: linear-gradient( 91deg, #43A1FF 0%, #2F80F9 100%);\r\n\t\t\t\tborder-radius: 24rpx;\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\tpadding-top: 12rpx;\r\n\t\t\t}\r\n\t\t}\r\n\t\t.Item{\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: space-between;\r\n\t\t\tflex-wrap: wrap;\r\n\t\t\t.Con{\r\n\t\t\t\twidth: 284rpx;\r\n\t\t\t\theight: 84rpx;\r\n\t\t\t\tbackground: #F7F7F7;\r\n\t\t\t\tborder-radius: 8rpx;\r\n\t\t\t\tmargin-top: 16rpx;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tpadding-left: 24rpx;\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\t.checked{\r\n\t\t\t\tbackground: #E9F0FE;\r\n\t\t\t\tcolor: #2E6BF6;\r\n\t\t\t}\r\n\t\t}\t\r\n\t}\n</style>","import mod from \"-!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./apply.vue?vue&type=style&index=0&id=39b0fa44&lang=scss&scoped=true&\"; export default mod; export * from \"-!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./apply.vue?vue&type=style&index=0&id=39b0fa44&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1722845242850\n var cssReload = require(\"E:/HBuilderX/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":""}