Commit f055d678 authored by xinyuandu's avatar xinyuandu

客户详情发送按钮

parent f3e92039
...@@ -18,13 +18,51 @@ ...@@ -18,13 +18,51 @@
var vConsole = new VConsole(); var vConsole = new VConsole();
} }
</script> </script>
<style>
.title-paddig{
padding : 0 1.76rem 0 0.88rem !important;
}
.icon-link-return {
right : 0.90rem !important;
}
.icon-link1 {
position: absolute;
top: 0;
bottom: 0;
right: .66rem;
display: block;
width: .88rem;
height: .88rem;
}
header .icon-link1.icon-link-edit{
background: url('/app/images/icon_bianji@2x.png') no-repeat center center/.38rem .38rem;
}
.icon-link2 {
position: absolute;
top: 0;
bottom: 0;
right: 0rem;
display: block;
width: .88rem;
height: .88rem;
}
header .icon-link2.icon-link-edit{
background: url('/app/images/icon_share@2x.png') no-repeat center center/.38rem .38rem;
}
</style>
</head> </head>
<body> <body>
<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" class="title-paddig"></h2>
<a class="icon-link icon-link-edit" id="edit_btn"></a> <div class="btn-area">
<a class="icon-link1 icon-link-edit" id="edit_btn" style="float:right"></a>
<a class="icon-link2 icon-link-edit" id="return_btn" style="float:left"></a>
<!--<a class="icon-link111 icon-link-edit111" id="edit_btn111">123123</a>-->
<div>
</header> </header>
<div class="header_seat"></div> <div class="header_seat"></div>
......
...@@ -201,6 +201,32 @@ function loadMain(){ ...@@ -201,6 +201,32 @@ function loadMain(){
} }
}); });
}); });
$('#return_btn').show().click(function(e){
e.preventDefault();
e.stopPropagation();
var user_id = _customerId;
var user_name = data['data']['user_info']['user_name'];
var user_phone = data['data']['user_info']['user_phone'];
var user_nick = data['data']['user_info']['user_nick'];
var user_img = data['data']['user_info']['user_pic'];
Compatible({
paraIos: {
'route': 'onSendClick',
'userId': Number(user_id),
'userName' : String(user_name),
'userPhone' : String(user_phone),
'userImg' :String(user_img)
},
fnAndroid: function() {
//window.android.onClientEdit(String(_customerId));
window.android.onSendClick(String(user_id),String(user_name),String(user_phone),String(user_img))
},
fn: function() {
console.warn('error');
}
});
});
}; };
//动态详情列表 //动态详情列表
......
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