Merge branch 'YOUFANGAPP1.1' of 192.168.0.27:dev0/youfang-app into YOUFANGAPP1.1

This commit is contained in:
尹吉欢
2018-03-30 16:29:58 +08:00
4 changed files with 72 additions and 39 deletions
+18 -13
View File
@@ -16,6 +16,7 @@
<style>
.list-block .item-text{-webkit-line-clamp:unset;}
.content-padded img {width: auto;}
</style>
</head>
@@ -81,7 +82,7 @@
<div class="searchbar row commentReleaseBox dn">
<div class="search-input col-85">
<input type="text" maxlength="250">
<input type="text" maxlength="250" id="commentInput">
</div>
<a class="col-15" id="publishBtn">发布</a>
</div>
@@ -116,7 +117,7 @@ $.config = {router: false}
<script type="text/javascript" src="../../js/shara/sharaMine.js" ></script>
<script>
document.addEventListener('plusready', onPlusReady, false);
var id//= "183627425584775168";
var id;//= "186182250936643584";
var shareUrl = BASE_PATH+"/news/newDetail?newsId=";
var sharehrefTitle = "停车坐爱枫林晚,霜叶红于二月花";
var sharehrefDes = "客观里面请!";
@@ -549,17 +550,21 @@ function addComment(){
console.log(error);
});
}
mui.init({
beforeback: function() {
     //获得父页面的webview
var list = plus.webview.getWebviewById('yfindex.html');
     //触发父页面的自定义事件(refresh),从而进行刷新
mui.fire(list, 'refresh');
//返回true,继续页面关闭逻辑
return true;
}
});
$(function() {
$('#commentInput').on('click', function () {
var target = this;
// 使用定时器是为了让输入框上滑时更加自然
/*setTimeout(function(){
target.scrollIntoView(true);
},100);*/
setTimeout(function(){
document.body.scrollTop = document.body.scrollHeight;
target.scrollIntoView(true);
},100);
});
})
</script>
</body>
</html>
+1 -9
View File
@@ -71,7 +71,7 @@
<span>第三方登录</span>
</p>
<p>
<a class="icon icon-loginMode01" id="wxLogin"></a>
<a class="icon icon-loginMode01" id="wxLogin" onclick="webChatLogin()"></a>
<a href="05_mine00_login04_set.html" class="icon icon-loginMode02"></a>
<a href="05_mine00_login04_set.html" class="icon icon-loginMode03" id="qqLogin"></a>
</p>
@@ -101,14 +101,6 @@ $.config = {router: false}
<script type="text/javascript" src="../../js/common.js" ></script>
<script>
var auths = ''
mui.plusReady(function() {
plus.oauth.getServices(function(services) {
auths = services;
}, function(e) {
alert("获取登录服务列表失败:" + e.message + " - " + e.code);
});
})
/* 勾选-已阅读 */