Commit 590ae8b4 authored by xishifeng's avatar xishifeng Committed by hujun

样式调整

parent 9065c8f1
...@@ -438,11 +438,13 @@ p.add_admins>span:nth-of-type(2){ ...@@ -438,11 +438,13 @@ p.add_admins>span:nth-of-type(2){
box-sizing: border-box; box-sizing: border-box;
text-align: center; text-align: center;
overflow: hidden; overflow: hidden;
word-break:break-all;
padding-top: .2rem .05rem;
} }
/*组长看到的样式*/ /*组长看到的样式*/
.achieve_zz_ul>li>div{ .achieve_zz_ul>li>div{
line-height: 1.2rem; /*line-height: 1.2rem;*/
/*width: 1.18rem;*/ /*width: 1.18rem;*/
width: 17%; width: 17%;
} }
......
...@@ -245,7 +245,7 @@ function dealJineNum(num){ ...@@ -245,7 +245,7 @@ function dealJineNum(num){
//模拟测试服app登录接口 //模拟测试服app登录接口
function loginCs(phone, pwd){ function loginCs(phone, pwd){
$.ajax({ $.ajax({
url: 'https://pre2.tonglianjituan.com/broker/login', url: ServerHostTempC + '/broker/login',
type: 'POST', type: 'POST',
data: { data: {
'phone': phone, 'phone': phone,
...@@ -260,24 +260,4 @@ function loginCs(phone, pwd){ ...@@ -260,24 +260,4 @@ function loginCs(phone, pwd){
complete: function(xhr, textStatus) { complete: function(xhr, textStatus) {
} }
}); });
} };
\ No newline at end of file
function loginCsNew(phone, pwd){
var myHeaders = new Headers();
myHeaders.append('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
var formData = new FormData();
formData.append('phone', phone);
formData.append('pwd', pwd);
var request = new Request('https://pre2.tonglianjituan.com/broker/login', {
method: 'post',
mode: 'cors',
body: formData,
headers:myHeaders
});
fetch(request).then(function(response){
console.log(response);
//response.json();
}).then(function(result){
console.log(result);
});
};
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