Commit e1ceeee99cf3354d9151d235f9bf6a0c1cdf93ba

Authored by wangfan
1 parent aaa5d9b0

快速预定

... ... @@ -107,7 +107,7 @@ Page({
*/
onShareAppMessage: function () {
return {
title:'邀你一起点菜',
title:'一起来点菜啦!',
}
},
formatCookList(list){
... ...
... ... @@ -13,6 +13,6 @@
</block>
</view>
<formids bindclick="submit">
<view class="submit">保存</view>
<view class="submit">保存</view>
</formids>
</view>
\ No newline at end of file
... ...
... ... @@ -38,7 +38,7 @@
color:#fefefe;
background-color: #C8B16D;
border-radius: 40rpx;
margin: 420rpx auto;
margin: 300rpx auto 20rpx;
text-align: center;
}
.submit.fouce{
... ...
... ... @@ -69,10 +69,10 @@ Page({
* 用户点击右上角分享
*/
onShareAppMessage: function () {
let options={...this.data.options};
let options={...this.data.options,hasOnlyShow:1};
delete options.hasSuccess
return {
title:'邀你一起点菜',
title:'菜品已点好,快来看看都点了什么~',
path:util.http_build_query(options,'/pack-cookbook/pages/success')
}
},
... ...
... ... @@ -81,7 +81,7 @@
</view>
</view>
<view style="height: 150rpx;width: 100%;"></view>
<view class="optx flex-vc" wx:if="{{options.hasSuccess!=1}}">
<view class="optx flex-vc" wx:if="{{options.hasSuccess!=1 && options.hasOnlyShow!=1}}">
<view class="opt-view flex-ll">
<formids bindclick="gotoEditor" class="width:50%;">
<view class="but editor" style="width: 100%;">修改菜品</view>
... ...