Commit f21510d2 by 梁建民

js

parent 145a2ec4
Showing with 5 additions and 13 deletions
......@@ -15,7 +15,7 @@
</dd>
<dd class="inp-wrap boxsiz">
<label class="lineBlock va-m"><em>*</em>联系方式:</label>
<input type="button" @click="numberFlag=true" placeholder="请输入手机或电话号码" class="va-m inp" v-model="form.mobile" maxlength="11" onkeyup="this.value=this.value.replace(/\D/g,'')">
<input type="text" placeholder="请输入手机或电话号码" class="va-m inp" v-model="form.mobile" maxlength="11" onkeyup="this.value=this.value.replace(/\D/g,'')">
</dd>
<dd class="inp-wrap boxsiz" v-if="verifyCodeFlag">
<label class="lineBlock va-m"><em>*</em>短信验证:</label>
......@@ -200,7 +200,6 @@
</div>
</div>
</div>
<van-number-keyboard :show="numberFlag" close-button-text="完成" @blur="numberFlag = false" theme="custom" extra-key="." @input="onInput" @delete="onDelete"/>
<van-loading type="spinner" color="#000" class="loading-background" v-if="loading"/>
</section>
</template>
......@@ -209,9 +208,9 @@
import Vue from 'vue';
import {mapState} from 'vuex'
import {Swipe, SwipeItem, NumberKeyboard, Loading} from 'vant';
import {Swipe, SwipeItem, Loading} from 'vant';
Vue.use(Swipe).use(SwipeItem).use(NumberKeyboard).use(Loading);
Vue.use(Swipe).use(SwipeItem).use(Loading);
export default {
name: 'supplier',
......@@ -292,7 +291,6 @@
},
mobileVal(val) {
if (val.length >= 11) {
console.log('aa')
this.verifyCodeFlag = true;
this.formError = false;
this.$store.dispatch({
......@@ -394,12 +392,6 @@
}
}
},
onInput(value) {
this.form.mobile = this.form.mobile + value;
},
onDelete(value) {
this.form.mobile = this.form.mobile.substring(0, this.form.mobile.length - 1);
},
goAnchor(type) {
if (type === 1) {
var anchor = this.$el.querySelector('#join-btn');
......
......@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_corejs2_core_js_parse_int__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime-corejs2/core-js/parse-int */ \"./node_modules/_@babel_runtime-corejs2@7.3.1@@babel/runtime-corejs2/core-js/parse-int.js\");\n/* harmony import */ var E_h5_node_modules_babel_runtime_corejs2_core_js_parse_int__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(E_h5_node_modules_babel_runtime_corejs2_core_js_parse_int__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_corejs2_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime-corejs2/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime-corejs2@7.3.1@@babel/runtime-corejs2/helpers/esm/objectSpread.js\");\n/* harmony import */ var core_js_modules_es6_promise__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.promise */ \"./node_modules/_core-js@2.6.3@core-js/modules/es6.promise.js\");\n/* harmony import */ var core_js_modules_es6_promise__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_promise__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_symbol__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.symbol */ \"./node_modules/_core-js@2.6.3@core-js/modules/es6.symbol.js\");\n/* harmony import */ var core_js_modules_es6_symbol__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_symbol__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.5.22@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.0@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@1.5.7@vant/es/index.js\");\n\n\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_4__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_6__[\"Swipe\"]).use(vant__WEBPACK_IMPORTED_MODULE_6__[\"SwipeItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_6__[\"NumberKeyboard\"]).use(vant__WEBPACK_IMPORTED_MODULE_6__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'supplier',\n data: function data() {\n return {\n active: 0,\n supplierActive: 0,\n itemtext: ['自营供应商', '联营供应商'],\n isAvisible: 'block',\n isBvisible: 'none',\n numberFlag: false,\n verifyCodeFlag: false,\n codetext: '获取验证码',\n disabled: false,\n codeactive: false,\n firmNum: 0,\n secondNum: 0,\n max: 50,\n formMsg: '',\n formError: false,\n form: {\n com_name: '',\n linkName: '',\n mobile: '',\n verifyCode: '',\n supplier_type: '',\n main_brand: ''\n }\n };\n },\n computed: Object(E_h5_node_modules_babel_runtime_corejs2_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_5__[\"mapState\"])({\n loading: function loading(state) {\n return state.smt.loading;\n }\n }), {\n comName: function comName() {\n return this.form.com_name;\n },\n linkName: function linkName() {\n return this.form.linkName;\n },\n mainBrand: function mainBrand() {\n return this.form.main_brand;\n },\n verifyCode: function verifyCode() {\n return this.form.verifyCode;\n },\n mobileVal: function mobileVal() {\n return this.form.mobile;\n }\n }),\n watch: {\n mainBrand: function mainBrand(val) {\n if (val.length > this.max) {\n this.secondNum = this.max;\n } else {\n this.secondNum = val.length;\n }\n },\n linkName: function linkName(val) {\n if (val) {\n this.formError = false;\n }\n },\n verifyCode: function verifyCode(val) {\n if (val) {\n this.formError = false;\n }\n },\n comName: function comName(val) {\n if (val) {\n this.formError = false;\n\n if (val.length > this.max) {\n this.firmNum = this.max;\n } else {\n this.firmNum = val.length;\n }\n }\n },\n mobileVal: function mobileVal(val) {\n if (val.length >= 11) {\n console.log('aa');\n this.verifyCodeFlag = true;\n this.formError = false;\n this.$store.dispatch({\n type: 'checkAccountExists',\n account: this.form.mobile\n });\n }\n }\n },\n methods: {\n tab: function tab(index) {\n this.active = index;\n this.isAvisible = 'none';\n this.isBvisible = 'none';\n\n if (index == 0) {\n index == 0 ? this.isAvisible = 'block' : this.isAvisible = 'none';\n } else if (index == 1) {\n index == 1 ? this.isBvisible = 'block' : this.isBvisible = 'none';\n }\n },\n submit: function submit() {\n var character_reg = /^[\\u0391-\\uFFE5A-Za-z]+$/;\n var tel_reg = /^1[34578]\\d{9}$/;\n\n if (!this.form.com_name) {\n this.formError = true;\n this.formMsg = '亲,请输入公司名称';\n return;\n }\n\n if (!this.form.linkName) {\n this.formError = true;\n this.formMsg = '亲,请输入您的称呼';\n return;\n }\n\n if (!character_reg.test(this.form.linkName)) {\n this.formError = true;\n this.formMsg = '亲,称呼只能为英文和中文';\n return;\n }\n\n if (!this.form.mobile) {\n this.formError = true;\n this.formMsg = '亲,请输入手机';\n return;\n }\n\n if (!tel_reg.test(this.form.mobile)) {\n this.formError = true;\n this.formMsg = '亲,手机格式不正确';\n return;\n }\n\n if (!this.form.verifyCode) {\n this.formError = true;\n this.formMsg = '亲,请输入验证码';\n return;\n } //提交\n\n\n this.$store.dispatch({\n type: 'chainFind',\n mobile: this.form.mobile,\n linkName: this.form.linkName,\n verifyCode: this.form.verifyCode,\n com_name: this.form.com_name,\n main_brand: this.form.main_brand,\n supplier_type: E_h5_node_modules_babel_runtime_corejs2_core_js_parse_int__WEBPACK_IMPORTED_MODULE_0___default()(this.supplierActive) + 1\n });\n },\n getCode: function getCode() {\n this.timeNum();\n this.$store.dispatch({\n type: 'customSmsVerify',\n mobile: this.form.mobile\n });\n },\n timeNum: function timeNum() {\n var me = this;\n var wait = 60;\n me.disabled = true;\n me.codeactive = true;\n me.codetext = wait + '秒后获取';\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n wait--;\n\n if (wait > 0) {\n me.codetext = wait + '秒后获取';\n me.codeactive = true;\n } else {\n clearInterval(clock);\n me.disabled = false;\n me.codeactive = false;\n me.codetext = '重新获取';\n wait = 60;\n }\n }\n },\n onInput: function onInput(value) {\n this.form.mobile = this.form.mobile + value;\n },\n onDelete: function onDelete(value) {\n this.form.mobile = this.form.mobile.substring(0, this.form.mobile.length - 1);\n },\n goAnchor: function goAnchor(type) {\n if (type === 1) {\n var anchor = this.$el.querySelector('#join-btn');\n document.documentElement.scrollTop = document.body.scrollTop = 0;\n } else if (type === 2) {\n this.supplierActive = 0;\n document.documentElement.scrollTop = document.body.scrollTop = 0;\n } else if (type === 3) {\n this.supplierActive = 1;\n document.documentElement.scrollTop = document.body.scrollTop = 0;\n }\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/supplier/Index.vue?./node_modules/_cache-loader@1.2.5@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.5@babel-loader/lib!./node_modules/_cache-loader@1.2.5@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.6.2@vue-loader/lib??vue-loader-options");
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_corejs2_core_js_parse_int__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime-corejs2/core-js/parse-int */ \"./node_modules/_@babel_runtime-corejs2@7.3.1@@babel/runtime-corejs2/core-js/parse-int.js\");\n/* harmony import */ var E_h5_node_modules_babel_runtime_corejs2_core_js_parse_int__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(E_h5_node_modules_babel_runtime_corejs2_core_js_parse_int__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var E_h5_node_modules_babel_runtime_corejs2_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime-corejs2/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime-corejs2@7.3.1@@babel/runtime-corejs2/helpers/esm/objectSpread.js\");\n/* harmony import */ var core_js_modules_es6_promise__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.promise */ \"./node_modules/_core-js@2.6.3@core-js/modules/es6.promise.js\");\n/* harmony import */ var core_js_modules_es6_promise__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_promise__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_symbol__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.symbol */ \"./node_modules/_core-js@2.6.3@core-js/modules/es6.symbol.js\");\n/* harmony import */ var core_js_modules_es6_symbol__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_symbol__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.5.22@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.0@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@1.5.7@vant/es/index.js\");\n\n\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_4__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_6__[\"Swipe\"]).use(vant__WEBPACK_IMPORTED_MODULE_6__[\"SwipeItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_6__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'supplier',\n data: function data() {\n return {\n active: 0,\n supplierActive: 0,\n itemtext: ['自营供应商', '联营供应商'],\n isAvisible: 'block',\n isBvisible: 'none',\n numberFlag: false,\n verifyCodeFlag: false,\n codetext: '获取验证码',\n disabled: false,\n codeactive: false,\n firmNum: 0,\n secondNum: 0,\n max: 50,\n formMsg: '',\n formError: false,\n form: {\n com_name: '',\n linkName: '',\n mobile: '',\n verifyCode: '',\n supplier_type: '',\n main_brand: ''\n }\n };\n },\n computed: Object(E_h5_node_modules_babel_runtime_corejs2_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_5__[\"mapState\"])({\n loading: function loading(state) {\n return state.smt.loading;\n }\n }), {\n comName: function comName() {\n return this.form.com_name;\n },\n linkName: function linkName() {\n return this.form.linkName;\n },\n mainBrand: function mainBrand() {\n return this.form.main_brand;\n },\n verifyCode: function verifyCode() {\n return this.form.verifyCode;\n },\n mobileVal: function mobileVal() {\n return this.form.mobile;\n }\n }),\n watch: {\n mainBrand: function mainBrand(val) {\n if (val.length > this.max) {\n this.secondNum = this.max;\n } else {\n this.secondNum = val.length;\n }\n },\n linkName: function linkName(val) {\n if (val) {\n this.formError = false;\n }\n },\n verifyCode: function verifyCode(val) {\n if (val) {\n this.formError = false;\n }\n },\n comName: function comName(val) {\n if (val) {\n this.formError = false;\n\n if (val.length > this.max) {\n this.firmNum = this.max;\n } else {\n this.firmNum = val.length;\n }\n }\n },\n mobileVal: function mobileVal(val) {\n if (val.length >= 11) {\n this.verifyCodeFlag = true;\n this.formError = false;\n this.$store.dispatch({\n type: 'checkAccountExists',\n account: this.form.mobile\n });\n }\n }\n },\n methods: {\n tab: function tab(index) {\n this.active = index;\n this.isAvisible = 'none';\n this.isBvisible = 'none';\n\n if (index == 0) {\n index == 0 ? this.isAvisible = 'block' : this.isAvisible = 'none';\n } else if (index == 1) {\n index == 1 ? this.isBvisible = 'block' : this.isBvisible = 'none';\n }\n },\n submit: function submit() {\n var character_reg = /^[\\u0391-\\uFFE5A-Za-z]+$/;\n var tel_reg = /^1[34578]\\d{9}$/;\n\n if (!this.form.com_name) {\n this.formError = true;\n this.formMsg = '亲,请输入公司名称';\n return;\n }\n\n if (!this.form.linkName) {\n this.formError = true;\n this.formMsg = '亲,请输入您的称呼';\n return;\n }\n\n if (!character_reg.test(this.form.linkName)) {\n this.formError = true;\n this.formMsg = '亲,称呼只能为英文和中文';\n return;\n }\n\n if (!this.form.mobile) {\n this.formError = true;\n this.formMsg = '亲,请输入手机';\n return;\n }\n\n if (!tel_reg.test(this.form.mobile)) {\n this.formError = true;\n this.formMsg = '亲,手机格式不正确';\n return;\n }\n\n if (!this.form.verifyCode) {\n this.formError = true;\n this.formMsg = '亲,请输入验证码';\n return;\n } //提交\n\n\n this.$store.dispatch({\n type: 'chainFind',\n mobile: this.form.mobile,\n linkName: this.form.linkName,\n verifyCode: this.form.verifyCode,\n com_name: this.form.com_name,\n main_brand: this.form.main_brand,\n supplier_type: E_h5_node_modules_babel_runtime_corejs2_core_js_parse_int__WEBPACK_IMPORTED_MODULE_0___default()(this.supplierActive) + 1\n });\n },\n getCode: function getCode() {\n this.timeNum();\n this.$store.dispatch({\n type: 'customSmsVerify',\n mobile: this.form.mobile\n });\n },\n timeNum: function timeNum() {\n var me = this;\n var wait = 60;\n me.disabled = true;\n me.codeactive = true;\n me.codetext = wait + '秒后获取';\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n wait--;\n\n if (wait > 0) {\n me.codetext = wait + '秒后获取';\n me.codeactive = true;\n } else {\n clearInterval(clock);\n me.disabled = false;\n me.codeactive = false;\n me.codetext = '重新获取';\n wait = 60;\n }\n }\n },\n goAnchor: function goAnchor(type) {\n if (type === 1) {\n var anchor = this.$el.querySelector('#join-btn');\n document.documentElement.scrollTop = document.body.scrollTop = 0;\n } else if (type === 2) {\n this.supplierActive = 0;\n document.documentElement.scrollTop = document.body.scrollTop = 0;\n } else if (type === 3) {\n this.supplierActive = 1;\n document.documentElement.scrollTop = document.body.scrollTop = 0;\n }\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/supplier/Index.vue?./node_modules/_cache-loader@1.2.5@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.5@babel-loader/lib!./node_modules/_cache-loader@1.2.5@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.6.2@vue-loader/lib??vue-loader-options");
/***/ }),
......@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var E_h5
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"section\",\n { staticClass: \"supplier boxsiz\" },\n [\n _c(\"div\", { staticClass: \"head\" }, [\n _c(\"div\", { staticClass: \"banner\" }),\n _c(\"div\", { staticClass: \"head-form boxsiz\" }, [\n _c(\"dl\", { staticClass: \"head-form-wrap boxsiz\" }, [\n _c(\"dd\", { staticClass: \"inp-wrap boxsiz\" }, [\n _vm._m(0),\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.form.com_name,\n expression: \"form.com_name\"\n }\n ],\n staticClass: \"va-m inp\",\n attrs: { type: \"text\", placeholder: \"请输入公司名称\" },\n domProps: { value: _vm.form.com_name },\n on: {\n input: function($event) {\n if ($event.target.composing) {\n return\n }\n _vm.$set(_vm.form, \"com_name\", $event.target.value)\n }\n }\n }),\n _c(\n \"p\",\n {\n staticClass: \"hint\",\n class: { \"f-orange\": _vm.firmNum >= 50 }\n },\n [_c(\"span\", [_vm._v(_vm._s(_vm.firmNum))]), _vm._v(\"/50\")]\n )\n ]),\n _c(\"dd\", { staticClass: \"inp-wrap boxsiz\" }, [\n _vm._m(1),\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.form.linkName,\n expression: \"form.linkName\"\n }\n ],\n staticClass: \"va-m inp\",\n attrs: { type: \"text\", placeholder: \"请输入联系人\" },\n domProps: { value: _vm.form.linkName },\n on: {\n input: function($event) {\n if ($event.target.composing) {\n return\n }\n _vm.$set(_vm.form, \"linkName\", $event.target.value)\n }\n }\n })\n ]),\n _c(\"dd\", { staticClass: \"inp-wrap boxsiz\" }, [\n _vm._m(2),\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.form.mobile,\n expression: \"form.mobile\"\n }\n ],\n staticClass: \"va-m inp\",\n attrs: {\n type: \"button\",\n placeholder: \"请输入手机或电话号码\",\n maxlength: \"11\",\n onkeyup: \"this.value=this.value.replace(/\\\\D/g,'')\"\n },\n domProps: { value: _vm.form.mobile },\n on: {\n click: function($event) {\n _vm.numberFlag = true\n },\n input: function($event) {\n if ($event.target.composing) {\n return\n }\n _vm.$set(_vm.form, \"mobile\", $event.target.value)\n }\n }\n })\n ]),\n _vm.verifyCodeFlag\n ? _c(\"dd\", { staticClass: \"inp-wrap boxsiz\" }, [\n _vm._m(3),\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.form.verifyCode,\n expression: \"form.verifyCode\"\n }\n ],\n staticClass: \"va-m inp w1\",\n attrs: { type: \"number\", placeholder: \"请输入验证码\" },\n domProps: { value: _vm.form.verifyCode },\n on: {\n input: function($event) {\n if ($event.target.composing) {\n return\n }\n _vm.$set(_vm.form, \"verifyCode\", $event.target.value)\n }\n }\n }),\n _c(\"input\", {\n staticClass: \"lineBlock va-m code-text\",\n class: { \"code-text-disabled\": _vm.codeactive },\n attrs: {\n type: \"button\",\n name: \"codeButton\",\n value: _vm.codetext,\n disabled: _vm.disabled\n },\n on: {\n click: function($event) {\n _vm.getCode()\n }\n }\n })\n ])\n : _vm._e(),\n _c(\"dd\", { staticClass: \"inp-wrap boxsiz\" }, [\n _vm._m(4),\n _c(\n \"div\",\n { staticClass: \"lineBlock va-m inp-wrap-radio boxsiz\" },\n _vm._l(_vm.itemtext, function(item, index) {\n return _c(\n \"div\",\n {\n key: index,\n staticClass: \"lineBlock va-m boxsiz inp-wrap-radio-bb\",\n on: {\n click: function($event) {\n _vm.supplierActive = index\n }\n }\n },\n [\n _c(\"i\", {\n staticClass: \"icn\",\n class: { \"icn-curr\": _vm.supplierActive == index }\n }),\n _c(\"em\", { staticClass: \"va-m\" }, [_vm._v(_vm._s(item))]),\n _c(\"b\", { staticClass: \"lineBlock emptys\" })\n ]\n )\n }),\n 0\n )\n ]),\n _c(\"dd\", { staticClass: \"inp-wrap boxsiz\" }, [\n _vm._m(5),\n _c(\"textarea\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.form.main_brand,\n expression: \"form.main_brand\"\n }\n ],\n staticClass: \"lineBlock va-m boxsiz\",\n attrs: { placeholder: \"请输入\" },\n domProps: { value: _vm.form.main_brand },\n on: {\n input: function($event) {\n if ($event.target.composing) {\n return\n }\n _vm.$set(_vm.form, \"main_brand\", $event.target.value)\n }\n }\n }),\n _c(\n \"p\",\n {\n staticClass: \"hint\",\n class: { \"f-orange\": _vm.secondNum >= 50 }\n },\n [_c(\"span\", [_vm._v(_vm._s(_vm.secondNum))]), _vm._v(\"/50\")]\n )\n ])\n ]),\n _c(\"div\", { staticClass: \"btn-wrap\" }, [\n _vm.formError\n ? _c(\"em\", { staticClass: \"error\" }, [\n _vm._v(_vm._s(_vm.formMsg))\n ])\n : _vm._e(),\n _c(\n \"a\",\n {\n staticClass: \"submit\",\n attrs: { href: \"javascript:;\" },\n on: {\n click: function($event) {\n _vm.submit()\n }\n }\n },\n [_vm._v(\"立即提交\")]\n )\n ])\n ])\n ]),\n _c(\"div\", { staticClass: \"content\" }, [\n _c(\n \"div\",\n { staticClass: \"wrap wrap-1\" },\n [\n _vm._m(6),\n _c(\n \"van-swipe\",\n {\n staticClass: \"supplier-slide\",\n attrs: { autoplay: 3000000, \"indicator-color\": \"#ffffff\" }\n },\n [\n _c(\"van-swipe-item\", [\n _c(\"div\", { staticClass: \"lineBlock slide-box\" }, [\n _c(\"img\", {\n attrs: {\n src: __webpack_require__(/*! ../../assets/images/supplier/1.png */ \"./src/assets/images/supplier/1.png\")\n }\n })\n ]),\n _c(\"div\", { staticClass: \"lineBlock slide-box\" }, [\n _c(\"img\", {\n attrs: {\n src: __webpack_require__(/*! ../../assets/images/supplier/2.png */ \"./src/assets/images/supplier/2.png\")\n }\n })\n ])\n ]),\n _c(\"van-swipe-item\", [\n _c(\"div\", { staticClass: \"lineBlock slide-box\" }, [\n _c(\"img\", {\n attrs: {\n src: __webpack_require__(/*! ../../assets/images/supplier/3.png */ \"./src/assets/images/supplier/3.png\")\n }\n })\n ]),\n _c(\"div\", { staticClass: \"lineBlock slide-box\" }, [\n _c(\"img\", {\n attrs: {\n src: __webpack_require__(/*! ../../assets/images/supplier/4.png */ \"./src/assets/images/supplier/4.png\")\n }\n })\n ])\n ]),\n _c(\"van-swipe-item\", [\n _c(\"div\", { staticClass: \"lineBlock slide-box\" }, [\n _c(\"img\", {\n attrs: {\n src: __webpack_require__(/*! ../../assets/images/supplier/5.png */ \"./src/assets/images/supplier/5.png\")\n }\n })\n ]),\n _c(\"div\", { staticClass: \"lineBlock slide-box\" }, [\n _c(\"img\", {\n attrs: {\n src: __webpack_require__(/*! ../../assets/images/supplier/6.png */ \"./src/assets/images/supplier/6.png\")\n }\n })\n ])\n ])\n ],\n 1\n )\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"wrap wrap-2\" }, [\n _vm._m(7),\n _c(\n \"ul\",\n { staticClass: \"tab boxsiz\" },\n _vm._l(_vm.itemtext, function(item, index) {\n return _c(\n \"li\",\n {\n key: index,\n class: { curr: _vm.active == index },\n on: {\n click: function($event) {\n _vm.tab(index)\n }\n }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(item) +\n \"\\n \"\n )\n ]\n )\n }),\n 0\n ),\n _c(\n \"ul\",\n {\n staticClass: \"tab-wrap boxsiz\",\n style: { display: _vm.isAvisible }\n },\n [\n _vm._m(8),\n _vm._m(9),\n _vm._m(10),\n _vm._m(11),\n _vm._m(12),\n _vm._m(13),\n _c(\"li\", { staticClass: \"boxsiz\" }, [\n _c(\n \"a\",\n {\n staticClass: \"btn\",\n attrs: { href: \"javascript:;\", id: \"zy\" },\n on: {\n click: function($event) {\n _vm.goAnchor(2)\n }\n }\n },\n [\n _c(\"em\", { staticClass: \"va-m\" }, [\n _vm._v(\"成为自营供应商\")\n ]),\n _c(\"i\", { staticClass: \"lineBlock va-t\" })\n ]\n )\n ])\n ]\n ),\n _c(\n \"ul\",\n {\n staticClass: \"tab-wrap boxsiz\",\n style: { display: _vm.isBvisible }\n },\n [\n _vm._m(14),\n _vm._m(15),\n _vm._m(16),\n _vm._m(17),\n _vm._m(18),\n _vm._m(19),\n _c(\"li\", { staticClass: \"boxsiz\" }, [\n _c(\n \"a\",\n {\n staticClass: \"btn\",\n attrs: { href: \"javascript:;\", id: \"ly\" },\n on: {\n click: function($event) {\n _vm.goAnchor(3)\n }\n }\n },\n [\n _c(\"em\", { staticClass: \"va-m\" }, [\n _vm._v(\"成为联营供应商\")\n ]),\n _c(\"i\", { staticClass: \"lineBlock va-t\" })\n ]\n )\n ])\n ]\n )\n ]),\n _c(\"div\", { staticClass: \"wrap wrap-3\" }, [\n _vm._m(20),\n _c(\"div\", { staticClass: \"join-wrap boxsiz\" }, [\n _c(\"div\", { staticClass: \"bnt-wrap boxsiz\" }, [\n _c(\n \"a\",\n {\n staticClass: \"btn boxsiz\",\n attrs: { href: \"javascript:;\", id: \"join-btn\" },\n on: {\n click: function($event) {\n _vm.goAnchor(1)\n }\n }\n },\n [_vm._v(\"立即加入\")]\n )\n ])\n ])\n ])\n ]),\n _c(\"van-number-keyboard\", {\n attrs: {\n show: _vm.numberFlag,\n \"close-button-text\": \"完成\",\n theme: \"custom\",\n \"extra-key\": \".\"\n },\n on: {\n blur: function($event) {\n _vm.numberFlag = false\n },\n input: _vm.onInput,\n delete: _vm.onDelete\n }\n }),\n _vm.loading\n ? _c(\"van-loading\", {\n staticClass: \"loading-background\",\n attrs: { type: \"spinner\", color: \"#000\" }\n })\n : _vm._e()\n ],\n 1\n )\n}\nvar staticRenderFns = [\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"label\", { staticClass: \"lineBlock va-m\" }, [\n _c(\"em\", [_vm._v(\"*\")]),\n _vm._v(\"公司名称:\")\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"label\", { staticClass: \"lineBlock va-m\" }, [\n _c(\"em\", [_vm._v(\"*\")]),\n _vm._v(\" 联 系 人:\")\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"label\", { staticClass: \"lineBlock va-m\" }, [\n _c(\"em\", [_vm._v(\"*\")]),\n _vm._v(\"联系方式:\")\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"label\", { staticClass: \"lineBlock va-m\" }, [\n _c(\"em\", [_vm._v(\"*\")]),\n _vm._v(\"短信验证:\")\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"label\", { staticClass: \"lineBlock va-m\" }, [\n _c(\"em\", [_vm._v(\"*\")]),\n _vm._v(\"入驻类型:\")\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"label\", { staticClass: \"lineBlock va-m\" }, [\n _c(\"em\", [_vm._v(\"*\")]),\n _vm._v(\"主营产品:\")\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"p\", { staticClass: \"tit\" }, [\n _c(\"b\"),\n _c(\"span\", [_vm._v(\"入驻猎芯平台的六大优势\")])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"p\", { staticClass: \"tit\" }, [\n _c(\"b\"),\n _c(\"span\", [_vm._v(\"选择适合的入驻方式 \")])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"li\", { staticClass: \"boxsiz\" }, [\n _c(\"i\", { staticClass: \"lineBlock va-t ico\" }, [_vm._v(\"1\")]),\n _c(\"div\", { staticClass: \"lineBlock text va-t\" }, [\n _c(\"p\", { staticClass: \"t1\" }, [_vm._v(\"多种入驻模式\")]),\n _c(\"p\", { staticClass: \"t2\" }, [\n _vm._v(\"供应商寄售、猎芯直接购买和型号预售三种模式可选\")\n ])\n ])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"li\", { staticClass: \"boxsiz\" }, [\n _c(\"i\", { staticClass: \"lineBlock va-t ico\" }, [_vm._v(\"2\")]),\n _c(\"div\", { staticClass: \"lineBlock text va-t\" }, [\n _c(\"p\", { staticClass: \"t1\" }, [_vm._v(\"支持预售\")]),\n _c(\"p\", { staticClass: \"t2\" }, [\n _vm._v(\"大批量采购支持预售,提交订单后迅速反馈长短交期\")\n ])\n ])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"li\", { staticClass: \"boxsiz\" }, [\n _c(\"i\", { staticClass: \"lineBlock va-t ico\" }, [_vm._v(\"3\")]),\n _c(\"div\", { staticClass: \"lineBlock text va-t\" }, [\n _c(\"p\", { staticClass: \"t1\" }, [_vm._v(\"智能搜索\")]),\n _c(\"p\", { staticClass: \"t2\" }, [\n _vm._v(\"支持型号和参数智能搜索,搜索结果最前端展示\")\n ])\n ])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"li\", { staticClass: \"boxsiz\" }, [\n _c(\"i\", { staticClass: \"lineBlock va-t ico\" }, [_vm._v(\"4\")]),\n _c(\"div\", { staticClass: \"lineBlock text va-t\" }, [\n _c(\"p\", { staticClass: \"t1\" }, [_vm._v(\"智能BOM\")]),\n _c(\"p\", { staticClass: \"t2\" }, [\n _vm._v(\"一键上传bom单匹配型号,规格书在线展示\")\n ])\n ])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"li\", { staticClass: \"boxsiz\" }, [\n _c(\"i\", { staticClass: \"lineBlock va-t ico\" }, [_vm._v(\"5\")]),\n _c(\"div\", { staticClass: \"lineBlock text va-t\" }, [\n _c(\"p\", { staticClass: \"t1\" }, [_vm._v(\"快速选样\")]),\n _c(\"p\", { staticClass: \"t2\" }, [\n _vm._v(\n \"新用户、老用户新产品均可在线快速选样购买,帮助开拓新客户,打开新市场\"\n )\n ])\n ])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"li\", { staticClass: \"boxsiz\" }, [\n _c(\"i\", { staticClass: \"lineBlock va-t ico\" }, [_vm._v(\"6\")]),\n _c(\"div\", { staticClass: \"lineBlock text va-t\" }, [\n _c(\"p\", { staticClass: \"t1\" }, [_vm._v(\"免费仓储\")]),\n _c(\"p\", { staticClass: \"t2\" }, [\n _vm._v(\"10000+平米,恒温恒湿大仓库,商品3小时内发货\")\n ])\n ])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"li\", { staticClass: \"boxsiz\" }, [\n _c(\"i\", { staticClass: \"lineBlock va-t ico\" }, [_vm._v(\"1\")]),\n _c(\"div\", { staticClass: \"lineBlock text va-t\" }, [\n _c(\"p\", { staticClass: \"t1\" }, [_vm._v(\"多渠道推广\")]),\n _c(\"p\", { staticClass: \"t2\" }, [\n _vm._v(\"线上线下多渠道产品推广,提高成交率\")\n ])\n ])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"li\", { staticClass: \"boxsiz\" }, [\n _c(\"i\", { staticClass: \"lineBlock va-t ico\" }, [_vm._v(\"2\")]),\n _c(\"div\", { staticClass: \"lineBlock text va-t\" }, [\n _c(\"p\", { staticClass: \"t1\" }, [_vm._v(\"免费API服务\")]),\n _c(\"p\", { staticClass: \"t2\" }, [\n _vm._v(\"免费API对接服务,实现数据自动对接与更新\")\n ])\n ])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"li\", { staticClass: \"boxsiz\" }, [\n _c(\"i\", { staticClass: \"lineBlock va-t ico\" }, [_vm._v(\"3\")]),\n _c(\"div\", { staticClass: \"lineBlock text va-t\" }, [\n _c(\"p\", { staticClass: \"t1\" }, [_vm._v(\"共享行业资源\")]),\n _c(\"p\", { staticClass: \"t2\" }, [\n _vm._v(\"加入供应商资源库,与行业专家共同分享优势资源\")\n ])\n ])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"li\", { staticClass: \"boxsiz\" }, [\n _c(\"i\", { staticClass: \"lineBlock va-t ico\" }, [_vm._v(\"4\")]),\n _c(\"div\", { staticClass: \"lineBlock text va-t\" }, [\n _c(\"p\", { staticClass: \"t1\" }, [_vm._v(\"数据对接\")]),\n _c(\"p\", { staticClass: \"t2\" }, [\n _vm._v(\"全方位对接产品数据,无需调用实体商品库存\")\n ])\n ])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"li\", { staticClass: \"boxsiz\" }, [\n _c(\"i\", { staticClass: \"lineBlock va-t ico\" }, [_vm._v(\"5\")]),\n _c(\"div\", { staticClass: \"lineBlock text va-t\" }, [\n _c(\"p\", { staticClass: \"t1\" }, [_vm._v(\"优先展示\")]),\n _c(\"p\", { staticClass: \"t2\" }, [\n _vm._v(\"可加入猎芯联营专属渠道,搜索结果优先展示\")\n ])\n ])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"li\", { staticClass: \"boxsiz\" }, [\n _c(\"i\", { staticClass: \"lineBlock va-t ico\" }, [_vm._v(\"6\")]),\n _c(\"div\", { staticClass: \"lineBlock text va-t\" }, [\n _c(\"p\", { staticClass: \"t1\" }, [_vm._v(\"庞大精准客户\")]),\n _c(\"p\", { staticClass: \"t2\" }, [\n _vm._v(\"已有130000+精准用户入驻,每日20000+浏览量\")\n ])\n ])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"p\", { staticClass: \"tit\" }, [\n _c(\"b\"),\n _c(\"span\", [_vm._v(\"入驻流程 \")])\n ])\n }\n]\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/supplier/Index.vue?./node_modules/_cache-loader@1.2.5@cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%2269391504-vue-loader-template%22%7D!./node_modules/_vue-loader@15.6.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@1.2.5@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.6.2@vue-loader/lib??vue-loader-options");
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"section\",\n { staticClass: \"supplier boxsiz\" },\n [\n _c(\"div\", { staticClass: \"head\" }, [\n _c(\"div\", { staticClass: \"banner\" }),\n _c(\"div\", { staticClass: \"head-form boxsiz\" }, [\n _c(\"dl\", { staticClass: \"head-form-wrap boxsiz\" }, [\n _c(\"dd\", { staticClass: \"inp-wrap boxsiz\" }, [\n _vm._m(0),\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.form.com_name,\n expression: \"form.com_name\"\n }\n ],\n staticClass: \"va-m inp\",\n attrs: { type: \"text\", placeholder: \"请输入公司名称\" },\n domProps: { value: _vm.form.com_name },\n on: {\n input: function($event) {\n if ($event.target.composing) {\n return\n }\n _vm.$set(_vm.form, \"com_name\", $event.target.value)\n }\n }\n }),\n _c(\n \"p\",\n {\n staticClass: \"hint\",\n class: { \"f-orange\": _vm.firmNum >= 50 }\n },\n [_c(\"span\", [_vm._v(_vm._s(_vm.firmNum))]), _vm._v(\"/50\")]\n )\n ]),\n _c(\"dd\", { staticClass: \"inp-wrap boxsiz\" }, [\n _vm._m(1),\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.form.linkName,\n expression: \"form.linkName\"\n }\n ],\n staticClass: \"va-m inp\",\n attrs: { type: \"text\", placeholder: \"请输入联系人\" },\n domProps: { value: _vm.form.linkName },\n on: {\n input: function($event) {\n if ($event.target.composing) {\n return\n }\n _vm.$set(_vm.form, \"linkName\", $event.target.value)\n }\n }\n })\n ]),\n _c(\"dd\", { staticClass: \"inp-wrap boxsiz\" }, [\n _vm._m(2),\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.form.mobile,\n expression: \"form.mobile\"\n }\n ],\n staticClass: \"va-m inp\",\n attrs: {\n type: \"text\",\n placeholder: \"请输入手机或电话号码\",\n maxlength: \"11\",\n onkeyup: \"this.value=this.value.replace(/\\\\D/g,'')\"\n },\n domProps: { value: _vm.form.mobile },\n on: {\n input: function($event) {\n if ($event.target.composing) {\n return\n }\n _vm.$set(_vm.form, \"mobile\", $event.target.value)\n }\n }\n })\n ]),\n _vm.verifyCodeFlag\n ? _c(\"dd\", { staticClass: \"inp-wrap boxsiz\" }, [\n _vm._m(3),\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.form.verifyCode,\n expression: \"form.verifyCode\"\n }\n ],\n staticClass: \"va-m inp w1\",\n attrs: { type: \"number\", placeholder: \"请输入验证码\" },\n domProps: { value: _vm.form.verifyCode },\n on: {\n input: function($event) {\n if ($event.target.composing) {\n return\n }\n _vm.$set(_vm.form, \"verifyCode\", $event.target.value)\n }\n }\n }),\n _c(\"input\", {\n staticClass: \"lineBlock va-m code-text\",\n class: { \"code-text-disabled\": _vm.codeactive },\n attrs: {\n type: \"button\",\n name: \"codeButton\",\n value: _vm.codetext,\n disabled: _vm.disabled\n },\n on: {\n click: function($event) {\n _vm.getCode()\n }\n }\n })\n ])\n : _vm._e(),\n _c(\"dd\", { staticClass: \"inp-wrap boxsiz\" }, [\n _vm._m(4),\n _c(\n \"div\",\n { staticClass: \"lineBlock va-m inp-wrap-radio boxsiz\" },\n _vm._l(_vm.itemtext, function(item, index) {\n return _c(\n \"div\",\n {\n key: index,\n staticClass: \"lineBlock va-m boxsiz inp-wrap-radio-bb\",\n on: {\n click: function($event) {\n _vm.supplierActive = index\n }\n }\n },\n [\n _c(\"i\", {\n staticClass: \"icn\",\n class: { \"icn-curr\": _vm.supplierActive == index }\n }),\n _c(\"em\", { staticClass: \"va-m\" }, [_vm._v(_vm._s(item))]),\n _c(\"b\", { staticClass: \"lineBlock emptys\" })\n ]\n )\n }),\n 0\n )\n ]),\n _c(\"dd\", { staticClass: \"inp-wrap boxsiz\" }, [\n _vm._m(5),\n _c(\"textarea\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.form.main_brand,\n expression: \"form.main_brand\"\n }\n ],\n staticClass: \"lineBlock va-m boxsiz\",\n attrs: { placeholder: \"请输入\" },\n domProps: { value: _vm.form.main_brand },\n on: {\n input: function($event) {\n if ($event.target.composing) {\n return\n }\n _vm.$set(_vm.form, \"main_brand\", $event.target.value)\n }\n }\n }),\n _c(\n \"p\",\n {\n staticClass: \"hint\",\n class: { \"f-orange\": _vm.secondNum >= 50 }\n },\n [_c(\"span\", [_vm._v(_vm._s(_vm.secondNum))]), _vm._v(\"/50\")]\n )\n ])\n ]),\n _c(\"div\", { staticClass: \"btn-wrap\" }, [\n _vm.formError\n ? _c(\"em\", { staticClass: \"error\" }, [\n _vm._v(_vm._s(_vm.formMsg))\n ])\n : _vm._e(),\n _c(\n \"a\",\n {\n staticClass: \"submit\",\n attrs: { href: \"javascript:;\" },\n on: {\n click: function($event) {\n _vm.submit()\n }\n }\n },\n [_vm._v(\"立即提交\")]\n )\n ])\n ])\n ]),\n _c(\"div\", { staticClass: \"content\" }, [\n _c(\n \"div\",\n { staticClass: \"wrap wrap-1\" },\n [\n _vm._m(6),\n _c(\n \"van-swipe\",\n {\n staticClass: \"supplier-slide\",\n attrs: { autoplay: 3000000, \"indicator-color\": \"#ffffff\" }\n },\n [\n _c(\"van-swipe-item\", [\n _c(\"div\", { staticClass: \"lineBlock slide-box\" }, [\n _c(\"img\", {\n attrs: {\n src: __webpack_require__(/*! ../../assets/images/supplier/1.png */ \"./src/assets/images/supplier/1.png\")\n }\n })\n ]),\n _c(\"div\", { staticClass: \"lineBlock slide-box\" }, [\n _c(\"img\", {\n attrs: {\n src: __webpack_require__(/*! ../../assets/images/supplier/2.png */ \"./src/assets/images/supplier/2.png\")\n }\n })\n ])\n ]),\n _c(\"van-swipe-item\", [\n _c(\"div\", { staticClass: \"lineBlock slide-box\" }, [\n _c(\"img\", {\n attrs: {\n src: __webpack_require__(/*! ../../assets/images/supplier/3.png */ \"./src/assets/images/supplier/3.png\")\n }\n })\n ]),\n _c(\"div\", { staticClass: \"lineBlock slide-box\" }, [\n _c(\"img\", {\n attrs: {\n src: __webpack_require__(/*! ../../assets/images/supplier/4.png */ \"./src/assets/images/supplier/4.png\")\n }\n })\n ])\n ]),\n _c(\"van-swipe-item\", [\n _c(\"div\", { staticClass: \"lineBlock slide-box\" }, [\n _c(\"img\", {\n attrs: {\n src: __webpack_require__(/*! ../../assets/images/supplier/5.png */ \"./src/assets/images/supplier/5.png\")\n }\n })\n ]),\n _c(\"div\", { staticClass: \"lineBlock slide-box\" }, [\n _c(\"img\", {\n attrs: {\n src: __webpack_require__(/*! ../../assets/images/supplier/6.png */ \"./src/assets/images/supplier/6.png\")\n }\n })\n ])\n ])\n ],\n 1\n )\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"wrap wrap-2\" }, [\n _vm._m(7),\n _c(\n \"ul\",\n { staticClass: \"tab boxsiz\" },\n _vm._l(_vm.itemtext, function(item, index) {\n return _c(\n \"li\",\n {\n key: index,\n class: { curr: _vm.active == index },\n on: {\n click: function($event) {\n _vm.tab(index)\n }\n }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(item) +\n \"\\n \"\n )\n ]\n )\n }),\n 0\n ),\n _c(\n \"ul\",\n {\n staticClass: \"tab-wrap boxsiz\",\n style: { display: _vm.isAvisible }\n },\n [\n _vm._m(8),\n _vm._m(9),\n _vm._m(10),\n _vm._m(11),\n _vm._m(12),\n _vm._m(13),\n _c(\"li\", { staticClass: \"boxsiz\" }, [\n _c(\n \"a\",\n {\n staticClass: \"btn\",\n attrs: { href: \"javascript:;\", id: \"zy\" },\n on: {\n click: function($event) {\n _vm.goAnchor(2)\n }\n }\n },\n [\n _c(\"em\", { staticClass: \"va-m\" }, [\n _vm._v(\"成为自营供应商\")\n ]),\n _c(\"i\", { staticClass: \"lineBlock va-t\" })\n ]\n )\n ])\n ]\n ),\n _c(\n \"ul\",\n {\n staticClass: \"tab-wrap boxsiz\",\n style: { display: _vm.isBvisible }\n },\n [\n _vm._m(14),\n _vm._m(15),\n _vm._m(16),\n _vm._m(17),\n _vm._m(18),\n _vm._m(19),\n _c(\"li\", { staticClass: \"boxsiz\" }, [\n _c(\n \"a\",\n {\n staticClass: \"btn\",\n attrs: { href: \"javascript:;\", id: \"ly\" },\n on: {\n click: function($event) {\n _vm.goAnchor(3)\n }\n }\n },\n [\n _c(\"em\", { staticClass: \"va-m\" }, [\n _vm._v(\"成为联营供应商\")\n ]),\n _c(\"i\", { staticClass: \"lineBlock va-t\" })\n ]\n )\n ])\n ]\n )\n ]),\n _c(\"div\", { staticClass: \"wrap wrap-3\" }, [\n _vm._m(20),\n _c(\"div\", { staticClass: \"join-wrap boxsiz\" }, [\n _c(\"div\", { staticClass: \"bnt-wrap boxsiz\" }, [\n _c(\n \"a\",\n {\n staticClass: \"btn boxsiz\",\n attrs: { href: \"javascript:;\", id: \"join-btn\" },\n on: {\n click: function($event) {\n _vm.goAnchor(1)\n }\n }\n },\n [_vm._v(\"立即加入\")]\n )\n ])\n ])\n ])\n ]),\n _vm.loading\n ? _c(\"van-loading\", {\n staticClass: \"loading-background\",\n attrs: { type: \"spinner\", color: \"#000\" }\n })\n : _vm._e()\n ],\n 1\n )\n}\nvar staticRenderFns = [\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"label\", { staticClass: \"lineBlock va-m\" }, [\n _c(\"em\", [_vm._v(\"*\")]),\n _vm._v(\"公司名称:\")\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"label\", { staticClass: \"lineBlock va-m\" }, [\n _c(\"em\", [_vm._v(\"*\")]),\n _vm._v(\" 联 系 人:\")\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"label\", { staticClass: \"lineBlock va-m\" }, [\n _c(\"em\", [_vm._v(\"*\")]),\n _vm._v(\"联系方式:\")\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"label\", { staticClass: \"lineBlock va-m\" }, [\n _c(\"em\", [_vm._v(\"*\")]),\n _vm._v(\"短信验证:\")\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"label\", { staticClass: \"lineBlock va-m\" }, [\n _c(\"em\", [_vm._v(\"*\")]),\n _vm._v(\"入驻类型:\")\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"label\", { staticClass: \"lineBlock va-m\" }, [\n _c(\"em\", [_vm._v(\"*\")]),\n _vm._v(\"主营产品:\")\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"p\", { staticClass: \"tit\" }, [\n _c(\"b\"),\n _c(\"span\", [_vm._v(\"入驻猎芯平台的六大优势\")])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"p\", { staticClass: \"tit\" }, [\n _c(\"b\"),\n _c(\"span\", [_vm._v(\"选择适合的入驻方式 \")])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"li\", { staticClass: \"boxsiz\" }, [\n _c(\"i\", { staticClass: \"lineBlock va-t ico\" }, [_vm._v(\"1\")]),\n _c(\"div\", { staticClass: \"lineBlock text va-t\" }, [\n _c(\"p\", { staticClass: \"t1\" }, [_vm._v(\"多种入驻模式\")]),\n _c(\"p\", { staticClass: \"t2\" }, [\n _vm._v(\"供应商寄售、猎芯直接购买和型号预售三种模式可选\")\n ])\n ])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"li\", { staticClass: \"boxsiz\" }, [\n _c(\"i\", { staticClass: \"lineBlock va-t ico\" }, [_vm._v(\"2\")]),\n _c(\"div\", { staticClass: \"lineBlock text va-t\" }, [\n _c(\"p\", { staticClass: \"t1\" }, [_vm._v(\"支持预售\")]),\n _c(\"p\", { staticClass: \"t2\" }, [\n _vm._v(\"大批量采购支持预售,提交订单后迅速反馈长短交期\")\n ])\n ])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"li\", { staticClass: \"boxsiz\" }, [\n _c(\"i\", { staticClass: \"lineBlock va-t ico\" }, [_vm._v(\"3\")]),\n _c(\"div\", { staticClass: \"lineBlock text va-t\" }, [\n _c(\"p\", { staticClass: \"t1\" }, [_vm._v(\"智能搜索\")]),\n _c(\"p\", { staticClass: \"t2\" }, [\n _vm._v(\"支持型号和参数智能搜索,搜索结果最前端展示\")\n ])\n ])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"li\", { staticClass: \"boxsiz\" }, [\n _c(\"i\", { staticClass: \"lineBlock va-t ico\" }, [_vm._v(\"4\")]),\n _c(\"div\", { staticClass: \"lineBlock text va-t\" }, [\n _c(\"p\", { staticClass: \"t1\" }, [_vm._v(\"智能BOM\")]),\n _c(\"p\", { staticClass: \"t2\" }, [\n _vm._v(\"一键上传bom单匹配型号,规格书在线展示\")\n ])\n ])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"li\", { staticClass: \"boxsiz\" }, [\n _c(\"i\", { staticClass: \"lineBlock va-t ico\" }, [_vm._v(\"5\")]),\n _c(\"div\", { staticClass: \"lineBlock text va-t\" }, [\n _c(\"p\", { staticClass: \"t1\" }, [_vm._v(\"快速选样\")]),\n _c(\"p\", { staticClass: \"t2\" }, [\n _vm._v(\n \"新用户、老用户新产品均可在线快速选样购买,帮助开拓新客户,打开新市场\"\n )\n ])\n ])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"li\", { staticClass: \"boxsiz\" }, [\n _c(\"i\", { staticClass: \"lineBlock va-t ico\" }, [_vm._v(\"6\")]),\n _c(\"div\", { staticClass: \"lineBlock text va-t\" }, [\n _c(\"p\", { staticClass: \"t1\" }, [_vm._v(\"免费仓储\")]),\n _c(\"p\", { staticClass: \"t2\" }, [\n _vm._v(\"10000+平米,恒温恒湿大仓库,商品3小时内发货\")\n ])\n ])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"li\", { staticClass: \"boxsiz\" }, [\n _c(\"i\", { staticClass: \"lineBlock va-t ico\" }, [_vm._v(\"1\")]),\n _c(\"div\", { staticClass: \"lineBlock text va-t\" }, [\n _c(\"p\", { staticClass: \"t1\" }, [_vm._v(\"多渠道推广\")]),\n _c(\"p\", { staticClass: \"t2\" }, [\n _vm._v(\"线上线下多渠道产品推广,提高成交率\")\n ])\n ])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"li\", { staticClass: \"boxsiz\" }, [\n _c(\"i\", { staticClass: \"lineBlock va-t ico\" }, [_vm._v(\"2\")]),\n _c(\"div\", { staticClass: \"lineBlock text va-t\" }, [\n _c(\"p\", { staticClass: \"t1\" }, [_vm._v(\"免费API服务\")]),\n _c(\"p\", { staticClass: \"t2\" }, [\n _vm._v(\"免费API对接服务,实现数据自动对接与更新\")\n ])\n ])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"li\", { staticClass: \"boxsiz\" }, [\n _c(\"i\", { staticClass: \"lineBlock va-t ico\" }, [_vm._v(\"3\")]),\n _c(\"div\", { staticClass: \"lineBlock text va-t\" }, [\n _c(\"p\", { staticClass: \"t1\" }, [_vm._v(\"共享行业资源\")]),\n _c(\"p\", { staticClass: \"t2\" }, [\n _vm._v(\"加入供应商资源库,与行业专家共同分享优势资源\")\n ])\n ])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"li\", { staticClass: \"boxsiz\" }, [\n _c(\"i\", { staticClass: \"lineBlock va-t ico\" }, [_vm._v(\"4\")]),\n _c(\"div\", { staticClass: \"lineBlock text va-t\" }, [\n _c(\"p\", { staticClass: \"t1\" }, [_vm._v(\"数据对接\")]),\n _c(\"p\", { staticClass: \"t2\" }, [\n _vm._v(\"全方位对接产品数据,无需调用实体商品库存\")\n ])\n ])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"li\", { staticClass: \"boxsiz\" }, [\n _c(\"i\", { staticClass: \"lineBlock va-t ico\" }, [_vm._v(\"5\")]),\n _c(\"div\", { staticClass: \"lineBlock text va-t\" }, [\n _c(\"p\", { staticClass: \"t1\" }, [_vm._v(\"优先展示\")]),\n _c(\"p\", { staticClass: \"t2\" }, [\n _vm._v(\"可加入猎芯联营专属渠道,搜索结果优先展示\")\n ])\n ])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"li\", { staticClass: \"boxsiz\" }, [\n _c(\"i\", { staticClass: \"lineBlock va-t ico\" }, [_vm._v(\"6\")]),\n _c(\"div\", { staticClass: \"lineBlock text va-t\" }, [\n _c(\"p\", { staticClass: \"t1\" }, [_vm._v(\"庞大精准客户\")]),\n _c(\"p\", { staticClass: \"t2\" }, [\n _vm._v(\"已有130000+精准用户入驻,每日20000+浏览量\")\n ])\n ])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"p\", { staticClass: \"tit\" }, [\n _c(\"b\"),\n _c(\"span\", [_vm._v(\"入驻流程 \")])\n ])\n }\n]\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/supplier/Index.vue?./node_modules/_cache-loader@1.2.5@cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%2269391504-vue-loader-template%22%7D!./node_modules/_vue-loader@15.6.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@1.2.5@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.6.2@vue-loader/lib??vue-loader-options");
/***/ }),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment