.flexWrap {
padding: 0;
}
.ellipsis {
width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.mui-content>.mui-table-view:first-child {
margin-top: 1px;
}
.titleBar {
text-align: right;
background: #eee;
}
.titleBar a {
color: #009aff;
}
.mui-btn-red {
background: #EB0000;
}
.lay-isRead {
position: absolute;
top: -0.5rem;
left: -0.625rem;
width: 0.5rem;
height: 0.5rem;
background: #EB0000;
border-radius: 50%;
}
.mui-table-view-cell:after {
position: absolute;
right: 0;
bottom: 0;
left: 0px;
height: 1px;
content: '';
-webkit-transform: scaleY(.5);
transform: scaleY(.5);
background-color: #c8c7cc;
}
.mui-table-view-cell {
position: relative;
overflow: hidden;
padding: 11px 15px;
-webkit-touch-callout: none;
}
.flexWrap>span:nth-child(2){
float: right;
color: #333;
}
.flexWrap>span:nth-child(1){
color: #333;
}
mui.ready(function() {
// init_title();
});
mui.init({
pullRefresh: {
container: "#refreshContainer", //下拉刷新容器标识,querySelector能定位的css选择器均可,比如:id、.class等
down: {
height: 50, //可选,默认50.触发下拉刷新拖动距离,
auto: false, //可选,默认false.首次加载自动下拉刷新一次
contentdown: "下拉可以刷新", //可选,在下拉可刷新状态时,下拉刷新控件上显示的标题内容
contentover: "释放立即刷新", //可选,在释放可刷新状态时,下拉刷新控件上显示的标题内容
contentrefresh: "正在刷新...", //可选,正在刷新状态时,下拉刷新控件上显示的标题内容
callback: pullfreshAA //必选,刷新函数,根据具体业务来编写,比如通过ajax从服务器获取新数据;
}
}
});
//下拉刷新触发 函数
function pullfreshAA() {
console.log('sdfs')
}
// function init_title() {
// var json = {
// centerTitle: "消息通知",
// backgroudColor: "#0099ff",
// leftViewImg: "goback",
// leftViewTitle: "",
// rightViewTitle: ""
// }
// window.APPJS.unifyClassMethod("NavgationViewClass", "makeNavgationView", JSON.stringify(json), "");
// };
// function viewWillAppear() {
// init_title();
// }
// function leftBtnClick() {
// window.APPJS.unifyClassMethod("NavgationViewClass", "back", "", "");
// }