Commit 8059fc4e authored by xishifeng's avatar xishifeng

跟进2

parent 9dfb6502
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<div id="app"> <div id="app">
<header id="header"> <header id="header">
<a class="ps-back" href="javascript:(history.length>1?history.go(-1):window.location='/');" id="back_btn"></a> <a class="ps-back" href="javascript:(history.length>1?history.go(-1):window.location='/');" id="back_btn"></a>
<h2 id="title">跟进</h2> <h2 id="title" @touchstart="testStart" @touchend="testEnd">跟进</h2>
</header> </header>
<div class="header_seat"></div> <div class="header_seat"></div>
<div class="list_a"> <div class="list_a">
......
...@@ -163,6 +163,7 @@ ...@@ -163,6 +163,7 @@
} }
#business_area{ #business_area{
height: .6rem; height: .6rem;
width: 5rem;
border-radius: 0.14rem; border-radius: 0.14rem;
box-shadow: 0 0 0.1rem 0 rgba(0,0,0,0.2); box-shadow: 0 0 0.1rem 0 rgba(0,0,0,0.2);
margin-top: .14rem; margin-top: .14rem;
......
var ServerHost = location.origin; var ServerHost = location.origin;
//var ServerHostTempC = 'https://pre2.tonglianjituan.com'; var ServerHostTempC = 'https://pre2.tonglianjituan.com';
var ServerHostTempC = 'http://192.168.2.13'; //var ServerHostTempC = 'http://192.168.2.13';
if(~ServerHost.indexOf('admin.')){ if(~ServerHost.indexOf('admin.')){
ServerHostTempC = 'https://estate.tonglianjituan.com'; ServerHostTempC = 'https://estate.tonglianjituan.com';
}; };
......
require(['vue', 'vconsole', 'css!style/customerinfo_sub_page.css', 'css!style/customer_gj.css', 'jquery0325', 'common', 'lrz'], function(Vue, VConsole) { require(['vue', 'css!style/customerinfo_sub_page.css', 'css!style/customer_gj.css', 'jquery0325', 'common'], function(Vue) {
var vConsole = new VConsole(); //var vConsole = new VConsole();
var _applyId = getUrlParam("applyid"); //获取GET参数 var _applyId = getUrlParam("applyid"); //获取GET参数
var _token = getUrlParam("token"); var _token = getUrlParam("token");
Vue.component('imgshow-component', { Vue.component('imgshow-component', {
...@@ -15,7 +15,7 @@ require(['vue', 'vconsole', 'css!style/customerinfo_sub_page.css', 'css!style/cu ...@@ -15,7 +15,7 @@ require(['vue', 'vconsole', 'css!style/customerinfo_sub_page.css', 'css!style/cu
this.$emit('deleteimg', { 'message': this.data.name }); this.$emit('deleteimg', { 'message': this.data.name });
} }
} }
}); });
var vm = new Vue({ var vm = new Vue({
el: '#app', el: '#app',
...@@ -37,7 +37,8 @@ require(['vue', 'vconsole', 'css!style/customerinfo_sub_page.css', 'css!style/cu ...@@ -37,7 +37,8 @@ require(['vue', 'vconsole', 'css!style/customerinfo_sub_page.css', 'css!style/cu
city: '', city: '',
districtList: [], districtList: [],
district: '', district: '',
business_area: '' business_area: '',
testBtn: null
}, },
created: function() { created: function() {
var _this = this; var _this = this;
...@@ -51,6 +52,19 @@ require(['vue', 'vconsole', 'css!style/customerinfo_sub_page.css', 'css!style/cu ...@@ -51,6 +52,19 @@ require(['vue', 'vconsole', 'css!style/customerinfo_sub_page.css', 'css!style/cu
} }
}, },
methods: { methods: {
testStart: function(){
var _this = this;
clearInterval(_this.testBtn);//再次清空定时器,防止重复注册定时器
_this.testBtn=setTimeout(function(){
require(['vconsole'],function(VConsole){
var vConsole = new VConsole();
});
},7000);
},
testEnd: function(){
var _this = this;
clearInterval(_this.testBtn);
},
getArea: function(_obj, fn){ getArea: function(_obj, fn){
var _this = this, var _this = this,
_data = {}; _data = {};
......
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 to comment