Commit 18b41a3b by 邓丽

修改样式

parent ac4be63a
This source diff could not be displayed because it is too large. You can view the blob instead.
No preview for this file type
No preview for this file type
No preview for this file type
...@@ -150,6 +150,7 @@ ...@@ -150,6 +150,7 @@
</article> </article>
<script src="../../lib/hammer.js/hammer.min.js"></script> <script src="../../lib/hammer.js/hammer.min.js"></script>
<script src="../js/appoint.min.js"></script>
<script type="text/javascript" src="../../lib/jquery-weui/js/city-picker.min.js" charset="utf-8"></script> <script type="text/javascript" src="../../lib/jquery-weui/js/city-picker.min.js" charset="utf-8"></script>
<script> <script>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
<li> <li>
<label class="icon icon-icon_local"><i></i>拍摄地点:</label> <label class="icon icon-icon_local"><i></i>拍摄地点:</label>
<input id="place" placeholder="非空" type="text" value="北京" > <input id="place" placeholder="非空" type="text" value="北京" >
<input id="city-picker" onchange="selectCity()"/> <!--此处隐藏域--> <input id="city-picker" /> <!--此处隐藏域-->
</li> </li>
<li> <li>
<label class="icon icon-icon_tex"><i></i>需求:</label> <label class="icon icon-icon_tex"><i></i>需求:</label>
...@@ -97,7 +97,6 @@ ...@@ -97,7 +97,6 @@
</div> </div>
</article> </article>
<script src="../../lib/hammer.js/hammer.min.js"></script>
<script type="text/javascript" src="../../lib/jquery-weui/js/city-picker.min.js" charset="utf-8"></script> <script type="text/javascript" src="../../lib/jquery-weui/js/city-picker.min.js" charset="utf-8"></script>
<script> <script>
......
...@@ -198,19 +198,30 @@ ...@@ -198,19 +198,30 @@
/*滚动加载数据*/ /*滚动加载数据*/
var loading = false; //状态标记 var loading = false; //状态标记
$(document.body).infinite().on("infinite", function() { $(document.body).infinite(0).on("infinite", function() {
$(".weui-loadmore").addClass("block"); $(".weui-loadmore").addClass("block");
console.log("1111");
if(loading) return; if(loading) return;
loading = true;
/*此处加载数据*/
//此处加载数据
setTimeout(function() { setTimeout(function() {
loading = true;
$("#live_content").append("<p> 我是新加载的内容 </p>"); $("#live_content").append("<p> 我是新加载的内容 </p>");
loading = false; loading = false;
$(".weui-loadmore").removeClass("block"); $(".weui-loadmore").removeClass("block");
}, 1000); //模拟延迟 }, 2000); //模拟延迟
}); });
//$(document.body).destroyInfinite(); 销毁滚动加载 //$(document.body).destroyInfinite(); 销毁滚动加载
/*滚动加载数据*/
/* $(window).scroll(function(){
if($(document).scrollTop()>=$(document).height()-$(window).height()){
console.log("juh");
}
});*/
/*下拉刷新*/ /*下拉刷新*/
$("#live_content").pullToRefresh().on("pull-to-refresh", function() { $("#live_content").pullToRefresh().on("pull-to-refresh", function() {
$(".weui-pull-to-refresh__layer").addClass("block"); $(".weui-pull-to-refresh__layer").addClass("block");
......
...@@ -74,6 +74,10 @@ ...@@ -74,6 +74,10 @@
border-bottom: 1px solid #ddd; border-bottom: 1px solid #ddd;
text-align: left; text-align: left;
vertical-align: middle; vertical-align: middle;
span{
display: inline-block;
.px1rem(font-size,26);
}
label{ label{
display: inline-block; display: inline-block;
.px1rem(font-size,30); .px1rem(font-size,30);
......
...@@ -11,13 +11,11 @@ body{ ...@@ -11,13 +11,11 @@ body{
position: relative; position: relative;
} }
nav{ nav{
position: relative; .px1rem(height,126);
.nav{ .nav{
.px1rem(width,750); .px1rem(width,750);
position: fixed; position: fixed;
top: 0; top: 0;
/* left: 0;*/
/* width: 100%;*/
z-index: 100; z-index: 100;
} }
#updateItem{ #updateItem{
...@@ -36,7 +34,7 @@ nav{ ...@@ -36,7 +34,7 @@ nav{
/*图片直播海报图*/ /*图片直播海报图*/
.poster{ .poster{
.px1rem(margin-top,124); // .px1rem(margin-top,126);
position: relative; position: relative;
.px1rem(height,280); .px1rem(height,280);
width: 100%; width: 100%;
......
...@@ -115,6 +115,7 @@ ...@@ -115,6 +115,7 @@
</article> </article>
<script src="../../lib/hammer.js/hammer.min.js"></script> <script src="../../lib/hammer.js/hammer.min.js"></script>
<script src="../js/appoint.min.js"></script>
<script type="text/javascript" src="../../lib/jquery-weui/js/city-picker.min.js" charset="utf-8"></script> <script type="text/javascript" src="../../lib/jquery-weui/js/city-picker.min.js" charset="utf-8"></script>
<script> <script>
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<li> <li>
<label class="icon icon-icon_local"><i></i>拍摄地点:</label> <label class="icon icon-icon_local"><i></i>拍摄地点:</label>
<input id="place" placeholder="非空" type="text" value="北京" > <input id="place" placeholder="非空" type="text" value="北京" >
<input id="city-picker" onchange="selectCity()"/> <!--此处隐藏域--> <input id="city-picker" /> <!--此处隐藏域-->
</li> </li>
<li> <li>
<label class="icon icon-icon_tex"><i></i>需求:</label> <label class="icon icon-icon_tex"><i></i>需求:</label>
...@@ -77,7 +77,6 @@ ...@@ -77,7 +77,6 @@
</div> </div>
</article> </article>
<script src="../../lib/hammer.js/hammer.min.js"></script>
<script type="text/javascript" src="../../lib/jquery-weui/js/city-picker.min.js" charset="utf-8"></script> <script type="text/javascript" src="../../lib/jquery-weui/js/city-picker.min.js" charset="utf-8"></script>
<script> <script>
......
...@@ -178,19 +178,30 @@ ...@@ -178,19 +178,30 @@
/*滚动加载数据*/ /*滚动加载数据*/
var loading = false; //状态标记 var loading = false; //状态标记
$(document.body).infinite().on("infinite", function() { $(document.body).infinite(0).on("infinite", function() {
$(".weui-loadmore").addClass("block"); $(".weui-loadmore").addClass("block");
console.log("1111");
if(loading) return; if(loading) return;
loading = true;
/*此处加载数据*/
//此处加载数据
setTimeout(function() { setTimeout(function() {
loading = true;
$("#live_content").append("<p> 我是新加载的内容 </p>"); $("#live_content").append("<p> 我是新加载的内容 </p>");
loading = false; loading = false;
$(".weui-loadmore").removeClass("block"); $(".weui-loadmore").removeClass("block");
}, 1000); //模拟延迟 }, 2000); //模拟延迟
}); });
//$(document.body).destroyInfinite(); 销毁滚动加载 //$(document.body).destroyInfinite(); 销毁滚动加载
/*滚动加载数据*/
/* $(window).scroll(function(){
if($(document).scrollTop()>=$(document).height()-$(window).height()){
console.log("juh");
}
});*/
/*下拉刷新*/ /*下拉刷新*/
$("#live_content").pullToRefresh().on("pull-to-refresh", function() { $("#live_content").pullToRefresh().on("pull-to-refresh", function() {
$(".weui-pull-to-refresh__layer").addClass("block"); $(".weui-pull-to-refresh__layer").addClass("block");
......
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