Commit 03ca4911c2bb1e218d404624093fa0ad2ab5bf9f

Authored by wangfan
1 parent 0fe1bf65

预约安排

... ... @@ -146,15 +146,10 @@ Page({
openid: getApp().openid,
rid: this.id
},'clear')
wx.navigateTo({
//id={{detail.id}}&rdate={{detail.rdate}}
url:'remind?id='+this.id+'&rdate='+this.data.detail.rdate,
});
util.toast('赴约成功','none')
})
}else{
// wx.navigateTo({
// url:'invite?id='+this.id,
// });
util.toast('赴约成功','none')
}
},
setUserInfoSuccess(){
... ...
... ... @@ -5,16 +5,6 @@
<view class="invit-logo">
<image src="http://qn.colorcun.com/custom/lite-yd/image/invit-logo.png"></image>
</view>
<!--
<view class="avatar">
<image src="{{detail.customers[0].headimgurl}}"></image>
</view>
<view class="invit flex-cc">
<view style="margin-right: 20rpx;">{{detail.rnameStr}}</view>
<view>{{detail.eatStr}}</view>
</view>
<view class="hr-one"></view>
-->
<view class="seller flex-vc">
<view class="title">餐厅</view>
<view class="content name">{{detail.seller.sellername}}</view>
... ... @@ -23,16 +13,25 @@
<view class="title">时间</view>
<view class="content">{{detail.rdateStr}}</view>
<view class="title">地址</view>
<view class="content flex-ll" bindtap="lookLocation">
<view class="content flex-ll" bindtap="lookLocation" style="align-items: flex-start">
<image src="http://qn.colorcun.com/custom/lite-yd/image/invit-addr.png" class="invit-addr"></image>
<view>{{detail.seller.real_address||detail.seller.map_address}}</view>
<view class="addr">第三方水电费水电费水电费水电费发送到发送到发送到{{detail.seller.real_address||detail.seller.map_address}}</view>
</view>
</view>
</view>
</view>
<view class="opt-view">
<view class="opt flex-cc">
<formids class="but button-none flex-vc" bindclick="lookLocation">一键导航</formids>
<userinfo-share class="but button-none flex-vc" binduserinfo="setUserInfoSuccess">转发好友</userinfo-share>
<view class="opt-button">
<view class="opt flex-cc">
<formids class="button-none flex-vc" bindclick="lookLocation">
<image class="buts" src="http://qn.colorcun.com/custom/lite-yd-cook/image/detail_invitation-1.png"></image>
</formids>
<userinfo-share class="button-none flex-vc" binduserinfo="toast">
<image class="buts" src="http://qn.colorcun.com/custom/lite-yd-cook/image/detail_invitation-2.png"></image>
</userinfo-share>
</view>
</view>
</view>
<view class="opt-view" wx:if="{{!detail.hasCanSuccess}}">
<userinfo class="button-none flex-vc" binduserinfo="userinfo">
<view class="buts-share animation"></view>
</userinfo>
</view>
... ...
... ... @@ -39,32 +39,39 @@ image{
width: 90%;
}
.seller{
margin-top: 110rpx;
margin-top: 40rpx;
}
.seller .title{
font-size: 28rpx;
color:#999999;
margin-bottom: 32rpx;
margin-bottom: 20rpx;
height: 40rpx;
line-height: 40rpx;
}
.seller .content{
margin-bottom: 68rpx;
font-size: 30rpx;
line-height: 30rpx;
margin-bottom: 40rpx;
font-size: 36rpx;
line-height: 50rpx;
height: 50rpx;
max-width: 80%;
}
.seller .name{
font-size: 44rpx;
line-height: 44rpx;
.seller .content .addr{
font-size: 32rpx;
line-height: 40rpx;
text-align: center;
}
.invit-addr{
width: 20rpx;
height: 20rpx;
width: 22rpx;
height: 28rpx;
margin-right: 18rpx;
min-width: 22rpx;
margin-top:6rpx ;
}
.opt-view{
position: fixed;
bottom: 120rpx;
bottom: 100rpx;
width: 100%;
}
.opt{
... ... @@ -86,3 +93,34 @@ image{
.opt .but:last-child{
margin-right: 0;
}
.opt .buts{
width: 288rpx;
height: 80rpx;
}
.opt-button{
margin-top: 48rpx;
width: 100%;
}
.buts-share{
width: 560rpx;
height: 86rpx;
margin: 0 auto;
background-image: url("http://qn.colorcun.com/custom/lite-yd-cook/image/detail_invitation-3.png");
background-size: 100%;
background-repeat: no-repeat;
background-position: center center;
}
.animation{
animation-name: butAnimation;
animation-duration: 0.7s;
animation-iteration-count:9999;
}
.opt-view-tip{
font-size: 26rpx;
color: #999999;
margin-bottom: 20rpx;
}
@keyframes butAnimation
{
50% {background-size:90%;}
}
... ...