|
|
@@ -13,7 +13,7 @@ var app = new Vue({
|
|
|
height: '',
|
|
|
education: 0,
|
|
|
married: 0,
|
|
|
- pageSize: 3,
|
|
|
+ pageSize: 50,
|
|
|
type: 1,
|
|
|
lat: '',
|
|
|
lng: '',
|
|
|
@@ -226,15 +226,15 @@ var app = new Vue({
|
|
|
_this.tipsTimerId = setInterval(function(){
|
|
|
//console.log(left+'++'+index)
|
|
|
if(left>=100){
|
|
|
- left = -100;
|
|
|
- content = '';
|
|
|
- index = index+1>=num? 0 : index+1;
|
|
|
- $(".tips").hide();
|
|
|
- $(".tips").css({right:left+'%'});
|
|
|
- $(".tips a span ").html(content);
|
|
|
- _this.initTips(index)
|
|
|
- return false;
|
|
|
- }
|
|
|
+ left = -100;
|
|
|
+ content = '';
|
|
|
+ index = index+1>=num? 0 : index+1;
|
|
|
+ $(".tips").hide();
|
|
|
+ $(".tips").css({right:left+'%'});
|
|
|
+ $(".tips a span ").html(content);
|
|
|
+ _this.initTips(index)
|
|
|
+ return false;
|
|
|
+ }
|
|
|
|
|
|
left += 0.25;
|
|
|
$(".tips").css({width:width+'px'});
|
|
|
@@ -442,10 +442,10 @@ var app = new Vue({
|
|
|
_this.swiper = new Swiper('.hearts', {
|
|
|
loop: false, // 循环模式选项
|
|
|
autoplay: false,
|
|
|
- speed: 200,
|
|
|
+ speed: 100,
|
|
|
direction : 'vertical',
|
|
|
initialSlide: _this.slideIndex,// 默认显示
|
|
|
- // freeMode : true,//是否滑动
|
|
|
+ freeMode : true,//是否滑动
|
|
|
observer: true,//修改swiper自己或子元素时,自动初始化swiper
|
|
|
observeParents: true,//修改swiper的父元素时,自动初始化swiper
|
|
|
slidesPerView: 'auto',
|
|
|
@@ -551,12 +551,12 @@ var app = new Vue({
|
|
|
close: true,
|
|
|
title: "认证信息",
|
|
|
text: "<div class='authInfo'><span class='close'>x</span><p class='avatar'><img src='"+data.avatar+"' alt=''>"+vip+"</p>" +
|
|
|
- "<p class='info'>" +
|
|
|
- "<span class='"+idcard+"'><span class='icon'><img src='/themes/default/weixin/public/assets/img/auth/idcard.png' alt=''></span><span>实名</span></span>" +
|
|
|
- "<span class='"+position+"'><span class='icon'><img src='/themes/default/weixin/public/assets/img/auth/position.png' alt=''></span><span>工作</span></span>" +
|
|
|
- "<span class='"+education+"'><span class='icon'><img src='/themes/default/weixin/public/assets/img/auth/education.png' alt=''></span><span>学历</span></span>" +
|
|
|
- "</p>" +
|
|
|
- "</div>",
|
|
|
+ "<p class='info'>" +
|
|
|
+ "<span class='"+idcard+"'><span class='icon'><img src='/themes/default/weixin/public/assets/img/auth/idcard.png' alt=''></span><span>实名</span></span>" +
|
|
|
+ "<span class='"+position+"'><span class='icon'><img src='/themes/default/weixin/public/assets/img/auth/position.png' alt=''></span><span>工作</span></span>" +
|
|
|
+ "<span class='"+education+"'><span class='icon'><img src='/themes/default/weixin/public/assets/img/auth/education.png' alt=''></span><span>学历</span></span>" +
|
|
|
+ "</p>" +
|
|
|
+ "</div>",
|
|
|
buttons: [
|
|
|
{
|
|
|
text: "关闭", className: "default", onClick: function () {
|
|
|
@@ -586,7 +586,7 @@ var app = new Vue({
|
|
|
return false;
|
|
|
}
|
|
|
}
|
|
|
- ]
|
|
|
+ ]
|
|
|
});
|
|
|
},
|
|
|
// 延迟加载
|