Commit 60b2c542 by 梁建民

js

parent 2305d7d3
...@@ -84,7 +84,7 @@ export const apis = { ...@@ -84,7 +84,7 @@ export const apis = {
/** /**
* 提交报关信息 * 提交报关信息
*/ */
chainFind: productionUrl + 'Home/Service/chainFind' chainFind: productionUrl + 'Service/chainFind'
} }
export const services = { export const services = {
......
...@@ -8,7 +8,7 @@ var qs = require('qs'); ...@@ -8,7 +8,7 @@ var qs = require('qs');
Vue.use(Toast); Vue.use(Toast);
const state = { const state = {
loading: true loading: false
} }
const mutations = { const mutations = {
......
...@@ -196,15 +196,17 @@ ...@@ -196,15 +196,17 @@
</div> </div>
</div> </div>
<van-number-keyboard :show="numberFlag" close-button-text="完成" @blur="numberFlag = false" theme="custom" extra-key="." @input="onInput" @delete="onDelete"/> <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> </section>
</template> </template>
<script> <script>
import Vue from 'vue'; import Vue from 'vue';
import {Toast, Swipe, SwipeItem, NumberKeyboard} from 'vant'; import {mapState} from 'vuex'
import {Toast, Swipe, SwipeItem, NumberKeyboard, Loading} from 'vant';
Vue.use(Toast).use(Swipe).use(SwipeItem).use(NumberKeyboard); Vue.use(Toast).use(Swipe).use(SwipeItem).use(NumberKeyboard).use(Loading);
export default { export default {
name: 'supplier', name: 'supplier',
...@@ -231,6 +233,9 @@ ...@@ -231,6 +233,9 @@
} }
}, },
computed: { computed: {
...mapState({
loading: state => state.smt.loading
}),
mobileVal() { mobileVal() {
return this.form.mobile; return this.form.mobile;
} }
...@@ -301,6 +306,7 @@ ...@@ -301,6 +306,7 @@
return; return;
} }
//提交
this.$store.dispatch({ this.$store.dispatch({
type: 'chainFind', type: 'chainFind',
mobile: this.form.mobile, mobile: this.form.mobile,
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
.smt{width:100%}.smt .head{width:100%;height:7.693rem;background:url(../img/bg.b7169759.jpg) no-repeat 50%;background-size:cover}
\ No newline at end of file
<!DOCTYPE HTML> <!DOCTYPE HTML><html lang=zh-CN><head><title></title><meta name=author content=www.ichunt.com><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0,user-scalable=no,minimal-ui"><meta http-equiv=Content-Type content="text/html;charset=utf-8"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><meta name=format-detection content="telephone=no"><meta http-equiv=Expires content=-1><meta http-equiv=Cache-Control content=no-cache><meta http-equiv=Pragma content=no-cache><meta name=full-screen content=yes><meta name=browsermode content=application><meta name=x5-fullscreen content=true><meta name=x5-page-mode content=app><meta name=description content=猎芯网,快速成长的专业电子元器件商城,贸泽(MOUSER)全系产品、e络盟(element14)树莓派系列产品授权经销商,已获得多轮风险投资。为客户提供电子元器件现货,IC采购,进口报关,电子元器件寄售,供应链金融等一站式电子元器件采购服务。><meta name=keywords content=猎芯网,电子元器件采购,电子元器件商城,电子元器件现货,IC采购网,电子元器件寄售,电子元件,元器件商城,元器件采购,电子商城,><link rel=icon href=//h5static.ichunt.com/favicon.ico><link rel=stylesheet href=/v3/dist/res/m/css/font/iconfont.css><script src=/h5/view/get_time.php></script><script>var fwtimes = window.fwtime - (Math.floor((new Date().getTime()) / 1000)); //获取服务器时间差</script><script src=https://res.wx.qq.com/open/js/jweixin-1.3.2.js charset=utf-8></script><script src=//h5static.ichunt.com/static/js/flexible.min.js charset=utf-8></script><script src=//h5static.ichunt.com/static/js/shence.min.js charset=utf-8></script><link href=//h5static.ichunt.com/css/chunk-4766f83f.779bfc6b.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-7690e408.3c469a98.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-ac798cd8.d191e223.css rel=prefetch><link href=//h5static.ichunt.com/js/chunk-4766f83f.53f9e482.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-7690e408.693b088d.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-ac798cd8.89281c0d.js rel=prefetch><link href=//h5static.ichunt.com/css/app.adc8e432.css rel=preload as=style><link href=//h5static.ichunt.com/css/chunk-vendors.fa7e75a9.css rel=preload as=style><link href=//h5static.ichunt.com/js/app.7a089d97.js rel=preload as=script><link href=//h5static.ichunt.com/js/chunk-vendors.4109297e.js rel=preload as=script><link href=//h5static.ichunt.com/css/chunk-vendors.fa7e75a9.css rel=stylesheet><link href=//h5static.ichunt.com/css/app.adc8e432.css rel=stylesheet></head><body><noscript><strong>网站出现了一点小问题,正在紧急修复中.......</strong></noscript><div id=app></div><script>function SetCookie(name, value, time, domain) {
<html lang="zh-CN">
<head>
<title></title>
<meta name="author" content="www.ichunt.com">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0,user-scalable=no,minimal-ui">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Pragma" content="no-cache">
<meta name="full-screen" content="yes">
<meta name="browsermode" content="application">
<meta name="x5-fullscreen" content="true">
<meta name="x5-page-mode" content="app">
<meta name="description" content="猎芯网,快速成长的专业电子元器件商城,贸泽(MOUSER)全系产品、e络盟(element14)树莓派系列产品授权经销商,已获得多轮风险投资。为客户提供电子元器件现货,IC采购,进口报关,电子元器件寄售,供应链金融等一站式电子元器件采购服务。">
<meta name="keywords" content="猎芯网,电子元器件采购,电子元器件商城,电子元器件现货,IC采购网,电子元器件寄售,电子元件,元器件商城,元器件采购,电子商城,">
<link rel="icon" href="//szh5static.ichunt.com/favicon.ico">
<link rel="stylesheet" href="/v3/dist/res/m/css/font/iconfont.css">
<script type="text/javascript" src="/h5/view/get_time.php"></script>
<script type="text/javascript">
var fwtimes = window.fwtime - (Math.floor((new Date().getTime()) / 1000)); //获取服务器时间差
</script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js" type="text/javascript" charset="utf-8"></script>
<script src="//szh5static.ichunt.com/static/js/flexible.min.js" type="text/javascript" charset="utf-8"></script>
<script src="//szh5static.ichunt.com/static/js/shence.min.js" type="text/javascript" charset="utf-8"></script>
<link href="//szh5static.ichunt.com/0.js" rel="prefetch"><link href="//szh5static.ichunt.com/1.js" rel="prefetch"><link href="//szh5static.ichunt.com/2.js" rel="prefetch"><link href="//szh5static.ichunt.com/app.js" rel="preload" as="script"></head>
<body>
<noscript>
<strong>网站出现了一点小问题,正在紧急修复中.......</strong>
</noscript>
<div id="app"></div>
<script type="text/javascript">
function SetCookie(name, value, time, domain) {
domain = domain ? ";domain=" + domain : ""; domain = domain ? ";domain=" + domain : "";
var Days = time; var Days = time;
var exp = new Date(); var exp = new Date();
...@@ -150,12 +114,7 @@ ...@@ -150,12 +114,7 @@
document.getElementsByTagName('head')[0].appendChild(mta); document.getElementsByTagName('head')[0].appendChild(mta);
})(); })();
} }
} }</script><script>//神策统计
</script>
<script type="text/javascript">
//神策统计
var host_v = window.location.host; var host_v = window.location.host;
var __PUBLIC__; var __PUBLIC__;
...@@ -265,7 +224,4 @@ ...@@ -265,7 +224,4 @@
user_rank: '0' user_rank: '0'
}); });
sensors.quick('autoTrack'); sensors.quick('autoTrack');
} }</script><script src=//h5static.ichunt.com/js/chunk-vendors.4109297e.js></script><script src=//h5static.ichunt.com/js/app.7a089d97.js></script></body></html>
</script> \ No newline at end of file
<script type="text/javascript" src="//szh5static.ichunt.com/app.js"></script></body>
</html>
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4766f83f"],{1280:function(t,s,a){},2500:function(t,s,a){"use strict";a.r(s);var e=function(){var t=this,s=t.$createElement;t._self._c;return t._m(0)},n=[function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("section",{staticClass:"smt boxsiz"},[a("div",{staticClass:"head"},[a("div",{staticClass:"head-form"},[a("div",{staticClass:"inp-wrap"},[a("em",{staticClass:"va-m"},[t._v("*")]),a("input",{attrs:{type:"text",placeholder:"联系人"}})]),a("div",{staticClass:"inp-wrap"},[a("em",{staticClass:"va-m"},[t._v("*")]),a("input",{attrs:{type:"text",placeholder:"联系方式"}})]),a("a",{staticClass:"btn",attrs:{href:"javascript:;"}},[t._v("确定提交")])])])])}],i={name:"smt",data:function(){return{}},methods:{}},c=i,r=(a("673e"),a("fc05")),l=Object(r["a"])(c,e,n,!1,null,"03bcff52",null);s["default"]=l.exports},"673e":function(t,s,a){"use strict";var e=a("1280"),n=a.n(e);n.a}}]);
\ No newline at end of file
This diff could not be displayed because it is too large.
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