手机main.html文件,tab-main.html
/*設置輪播圖高度*/
#slider img{
height: 240px;
}
/*.mui-bar{
background: white;
}*/
.mui-grid-view.mui-grid-9{
background: rgba(0,0,0,0);
}
.mui-grid-view.mui-grid-9 .mui-table-view-cell{
border: none;
}
/*設置主題屬性*/
.mui-content{
background-color: white;
}
.nine-box li{
width: 50%;
}
body{
background: white;
}
.mui-bar-nav{
background: #53C8F4;
}
.mui-bar-nav h1{
color: white;
}
marquee{
color: #53C8F4;
margin-top: 20px;
margin-bottom: -10px;
}
當下公寓
- 申請報修
- 申請入住
- 申請退宿
- 繳納租金
- 空房查詢
- 繳納押金
溫馨提示:天氣轉涼,大家注意保暖
var userInfo = JSON.parse(localStorage.getItem("userInfo"));
mui.init();
//獲得slider插件對象
var gallery = mui('.mui-slider');
gallery.slider({
interval:2000//自動輪播周期,若為0則不自動播放,默認為0;
});
layui.use(['layer'],function() {
var layer = layui.layer;
$("#sqapply").click(function() {
if(userInfo!=null) {
openNewPage("repairapply.html","baoxiuapply");
}else{
layer.msg("請先去登錄");
}
});
$("#rzapply").click(function() {
if(userInfo!=null) {
openNewPage("live_apply1.html","rzapply");
}else {
layer.msg("請先去登錄");
}
});
$("#tsapply").click(function() {
if(userInfo!=null) {
openNewPage("retire_apply.html","rtapply");
}else {
layer.msg("請先去登錄");
}
});
$("#yjapply").click(function() {
if(userInfo!=null) {
openNewPage("deposit_apply.html","yjapply");
}else {
layer.msg("請先去登錄");
}
});
$("#zjapply").click(function() {
if(userInfo!=null) {
openNewPage("rent_apply.html","zjapply");
}else {
layer.msg("請先去登錄");
}
});
$("#queryapply").click(function() {
openNewPage("emptyroom.html","queryapply");
});
});
function openNewPage(url1,idname) {
mui.openWindow({
url:url1,
id:idname,
styles:{
top:0,//新頁面頂部位置
bottom:0//新頁面底部位置
},
extras:{
id:1//自定義擴展參數,可以用來處理頁面間傳值
},
createNew:false,//是否重復創建同樣id的webview,默認為false:不重復創建,直接顯示
show:{
autoShow:true,//頁面loaded事件發生后自動顯示,默認為true
aniShow:"slide-in-right",//頁面顯示動畫,默認為”slide-in-right“;
duration:200///頁面動畫持續時間,Android平臺默認100毫秒,iOS平臺默認200毫秒;
},
waiting:{
autoShow:false,//自動顯示等待框,默認為true
//title:'正在加載...',//等待對話框上顯示的提示內容
options:{
/* width:waiting-dialog-widht,//等待框背景區域寬度,默認根據內容自動計算合適寬度
height:waiting-dialog-height,//等待框背景區域高度,默認根據內容自動計算合適高度
......*/
}
}
});
}
一鍵復制
編輯
Web IDE
原始數據
按行查看
歷史
總結
以上是生活随笔為你收集整理的手机main.html文件,tab-main.html的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 计算机制图学什么,计算机制图
- 下一篇: 大工20春计算机原理在线作业二,大工20