Commit 851b04ef authored by xishifeng's avatar xishifeng

暂存0325

parent 036600c7
@charset "utf-8"; @charset "utf-8";
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,hr,button,article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{margin:0;padding:0}input,select,textarea{font-size:100%}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}abbr,acronym{border:0;font-variant:normal}del{text-decoration:line-through}address,caption,cite,code,dfn,em,th,var{font-style:normal;font-weight:500}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:500}q:before,q:after{content:''}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}ins,a{text-decoration:none}:focus{outline:0}a{overflow:hidden;text-decoration:none;text-align:inherit;color:inherit;border:0;cursor:pointer}a:visited{text-decoration:none}a:hover{text-decoration:none}a:active{text-decoration:none} body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,hr,button,article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{margin:0;padding:0}input,select,textarea{font-size:100%}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}abbr,acronym{border:0;font-variant:normal}del{text-decoration:line-through}address,caption,cite,code,dfn,em,th,var{font-style:normal;font-weight:500}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:500}q:before,q:after{content:''}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}ins,a{text-decoration:none}:focus{outline:0}a{overflow:hidden;text-decoration:none;text-align:inherit;color:inherit;border:0;cursor:pointer}a:visited{text-decoration:none}a:hover{text-decoration:none}a:active{text-decoration:none}
input, select, button { input, select, button, textarea {
vertical-align: middle; vertical-align: middle;
outline: 0; outline: 0;
-webkit-appearance: none; -webkit-appearance: none;
...@@ -11,6 +11,9 @@ input, select, button { ...@@ -11,6 +11,9 @@ input, select, button {
background-color: transparent; background-color: transparent;
border: none; border: none;
} }
textarea {
resize: none;
}
.oh { .oh {
overflow: hidden; overflow: hidden;
} }
......
...@@ -103,6 +103,12 @@ li.li-yuji-qianyue{ ...@@ -103,6 +103,12 @@ li.li-yuji-qianyue{
background-color: #ccc; background-color: #ccc;
display: none; display: none;
} }
.customerinfo-submit-btn>a#btn_save_new{
background-color: #ff9419;
}
.customerinfo-submit-btn>a#btn_save_temp_new{
background-color: #ccc;
}
/**********************************************上传图片区域***********************************************/ /**********************************************上传图片区域***********************************************/
div.upload-area{ div.upload-area{
overflow: hidden; overflow: hidden;
...@@ -151,6 +157,9 @@ div.upload-area>div.sc_img>img.del_img { ...@@ -151,6 +157,9 @@ div.upload-area>div.sc_img>img.del_img {
.loading{ .loading{
display: none; display: none;
} }
.loading_new{
display: block;
}
.loader4 { .loader4 {
width: .9rem; width: .9rem;
height: .9rem; height: .9rem;
......
var ServerHost = location.origin; var ServerHost = location.origin;
//var ServerHostTempC = 'https://pre2.tonglianjituan.com';
var ServerHostTempC = 'http://192.168.2.13';
if(~ServerHost.indexOf('admin.')){
ServerHostTempC = 'https://estate.tonglianjituan.com';
};
//从location.href里获取参数 //从location.href里获取参数
function getUrlParam(name) { function getUrlParam(name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
...@@ -106,57 +111,11 @@ function h5Page(token, fn) { ...@@ -106,57 +111,11 @@ function h5Page(token, fn) {
// }); // });
} }
function h5PageB(token, fn) {
localStorage.setItem('token', token);
fn();
$.ajax({
type: "post",
url: ServerHost + "/AppTab5/about_Token",
data: {
'token': token
},
dataType: "json",
success: function(data) {
if(typeof data === 'object'){
if(data['status'] == '0'){
console.log(data.msg);
setLoginStorage(data, token, 'agents');
fn(data);
}else{
try{
layer.open({
content: data.msg,
skin: 'msg',
time: 2
});
}catch(e){
alert(data.msg);
}
}
}else{
try{
layer.open({
content: 'token验证接口数据错误',
skin: 'msg',
time: 2
});
}catch(e){
alert('token验证接口数据错误');
}
};
},
error: function() {
console.warn("获取token失败");
}
});
}
//验证C端token //验证C端token
function h5PageC(token, fn) { function h5PageC(token, fn) {
$.ajax({ $.ajax({
type: "GET", type: "GET",
url: "/broker/getAgentsByPhone", url: ServerHostTempC + "/broker/getAgentsByPhone",
data: { data: {
'AuthToken': token 'AuthToken': token
}, },
......
This diff is collapsed.
define(function(){if("undefined"==typeof window)return{load:function(e,t,n){n()}};var e=document.getElementsByTagName("head")[0],t=window.navigator.userAgent.match(/Trident\/([^ ;]*)|AppleWebKit\/([^ ;]*)|Opera\/([^ ;]*)|rv\:([^ ;]*)(.*?)Gecko\/([^ ;]*)|MSIE\s([^ ;]*)|AndroidWebKit\/([^ ;]*)/)||0,n=!1,r=!0;t[1]||t[7]?n=parseInt(t[1])<6||parseInt(t[7])<=9:t[2]||t[8]?r=!1:t[4]&&(n=parseInt(t[4])<18);var o={};o.pluginBuilder="./css-builder";var a,i,s,l=function(){a=document.createElement("style"),e.appendChild(a),i=a.styleSheet||a.sheet},u=0,d=[],c=function(e){u++,32==u&&(l(),u=0),i.addImport(e),a.onload=function(){f()}},f=function(){s();var e=d.shift();return e?(s=e[1],void c(e[0])):void(s=null)},h=function(e,t){if(i&&i.addImport||l(),i&&i.addImport)s?d.push([e,t]):(c(e),s=t);else{a.textContent='@import "'+e+'";';var n=setInterval(function(){try{a.sheet.cssRules,clearInterval(n),t()}catch(e){}},10)}},p=function(t,n){var o=document.createElement("link");if(o.type="text/css",o.rel="stylesheet",r)o.onload=function(){o.onload=function(){},setTimeout(n,7)};else var a=setInterval(function(){for(var e=0;e<document.styleSheets.length;e++){var t=document.styleSheets[e];if(t.href==o.href)return clearInterval(a),n()}},10);o.href=t,e.appendChild(o)};return o.normalize=function(e,t){return".css"==e.substr(e.length-4,4)&&(e=e.substr(0,e.length-4)),t(e)},o.load=function(e,t,r){(n?h:p)(t.toUrl(e+".css"),r)},o});
/* Laura Doktorova https://github.com/olado/doT */
(function(){function p(b,a,d){return("string"===typeof a?a:a.toString()).replace(b.define||h,function(a,c,e,g){0===c.indexOf("def.")&&(c=c.substring(4));c in d||(":"===e?(b.defineParams&&g.replace(b.defineParams,function(a,b,l){d[c]={arg:b,text:l}}),c in d||(d[c]=g)):(new Function("def","def['"+c+"']="+g))(d));return""}).replace(b.use||h,function(a,c){b.useParams&&(c=c.replace(b.useParams,function(a,b,c,l){if(d[c]&&d[c].arg&&l)return a=(c+":"+l).replace(/'|\\/g,"_"),d.__exp=d.__exp||{},d.__exp[a]=
d[c].text.replace(new RegExp("(^|[^\\w$])"+d[c].arg+"([^\\w$])","g"),"$1"+l+"$2"),b+"def.__exp['"+a+"']"}));var e=(new Function("def","return "+c))(d);return e?p(b,e,d):e})}function k(b){return b.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}var f={version:"1.0.3",templateSettings:{evaluate:/\{\{([\s\S]+?(\}?)+)\}\}/g,interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,useParams:/(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,
define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,defineParams:/^\s*([\w$]+):([\s\S]+)/,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:!0,append:!0,selfcontained:!1,doNotSkipEncoded:!1},template:void 0,compile:void 0},m;f.encodeHTMLSource=function(b){var a={"&":"&#38;","<":"&#60;",">":"&#62;",'"':"&#34;","'":"&#39;","/":"&#47;"},d=b?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(b){return b?
b.toString().replace(d,function(b){return a[b]||b}):""}};m=function(){return this||(0,eval)("this")}();"undefined"!==typeof module&&module.exports?module.exports=f:"function"===typeof define&&define.amd?define(function(){return f}):m.doT=f;var r={start:"'+(",end:")+'",startencode:"'+encodeHTML("},s={start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("},h=/$^/;f.template=function(b,a,d){a=a||f.templateSettings;var n=a.append?r:s,c,e=0,g;b=a.use||a.define?p(a,b,d||{}):b;b=("var out='"+(a.strip?
b.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):b).replace(/'|\\/g,"\\$&").replace(a.interpolate||h,function(b,a){return n.start+k(a)+n.end}).replace(a.encode||h,function(b,a){c=!0;return n.startencode+k(a)+n.end}).replace(a.conditional||h,function(b,a,c){return a?c?"';}else if("+k(c)+"){out+='":"';}else{out+='":c?"';if("+k(c)+"){out+='":"';}out+='"}).replace(a.iterate||h,function(b,a,c,d){if(!a)return"';} } out+='";e+=1;g=d||"i"+e;a=k(a);return"';var arr"+
e+"="+a+";if(arr"+e+"){var "+c+","+g+"=-1,l"+e+"=arr"+e+".length-1;while("+g+"<l"+e+"){"+c+"=arr"+e+"["+g+"+=1];out+='"}).replace(a.evaluate||h,function(a,b){return"';"+k(b)+"out+='"})+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,"");c&&(a.selfcontained||!m||m._encodeHTML||(m._encodeHTML=f.encodeHTMLSource(a.doNotSkipEncoded)),b="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+f.encodeHTMLSource.toString()+
"("+(a.doNotSkipEncoded||"")+"));"+b);try{return new Function(a.varname,b)}catch(q){throw"undefined"!==typeof console&&console.log("Could not create a template function: "+b),q;}};f.compile=function(b,a){return f.template(b,null,a)}})();
This diff is collapsed.
/*! 动态计算屏幕的宽度,从而得到网页的fontSize大小 */ ;
!function(n,e){n.documentElement.style.fontSize=100*(n.documentElement.clientWidth/750)+'px';}(document,window);
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
...@@ -2,24 +2,36 @@ require.config({ ...@@ -2,24 +2,36 @@ require.config({
'baseUrl': (location.origin || location.protocol + '//' + location.hostname + (location.port == 80 ? '' : ':' + location.port)) + '/app',   'baseUrl': (location.origin || location.protocol + '//' + location.hostname + (location.port == 80 ? '' : ':' + location.port)) + '/app',  
'paths': { 'paths': {
'jquery': 'js/jquery.min', 'jquery': 'js/jquery.min',
'jquery1122': 'js/jquery-1122-min', 'jquery0325': 'js/libs/jquery-0325-min',
'vue': 'js/libs/vue.min'
'vconsole': 'js/vconsole.min',
'layer': 'js/layer', 'layer': 'js/layer',
'vue': 'js/libs/vue.min',
'vconsole': 'js/vconsole.min',
'html2canvas': 'js/html2canvas.min', 'html2canvas': 'js/html2canvas.min',
'lrz': 'js/libs/lrz.all.bundle', 'lrz': 'js/libs/lrz.all.bundle',
'common': 'js/common',
'style': 'css' 'style': 'css'
}, },
'shim': { 'shim': {
'jquery': { 'jquery0325': {
'exports': 'jquery' 'deps': ['css!js/need/layer.css'],
'exports': 'jquery0325'
}, },
'layer': { 'layer': {
'deps': ['css!js/need/layer.css'],
'exports': 'layer' 'exports': 'layer'
}, },
'vconsole': { 'vue': {
'exports': 'vconsole' 'exports': 'Vue'
}, },
} 'common': {
'deps': ['jquery0325','layer'],
'exports': 'common'
}
},
'map': {
'*': {
'css': 'js/libs/css.min'
}
}
}); });
require (['css!style/commoon.css']); require (['css!style/common.css',document.querySelector('[data-main="/app/js/main"]').getAttribute('data-js')]);
\ No newline at end of file \ No newline at end of file
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