Commit e1ceeee99cf3354d9151d235f9bf6a0c1cdf93ba

Authored by wangfan
1 parent aaa5d9b0

快速预定

@@ -107,7 +107,7 @@ Page({ @@ -107,7 +107,7 @@ Page({
107 */ 107 */
108 onShareAppMessage: function () { 108 onShareAppMessage: function () {
109 return { 109 return {
110 - title:'邀你一起点菜', 110 + title:'一起来点菜啦!',
111 } 111 }
112 }, 112 },
113 formatCookList(list){ 113 formatCookList(list){
@@ -13,6 +13,6 @@ @@ -13,6 +13,6 @@
13 </block> 13 </block>
14 </view> 14 </view>
15 <formids bindclick="submit"> 15 <formids bindclick="submit">
16 - <view class="submit">保存</view> 16 + <view class="submit">保存</view>
17 </formids> 17 </formids>
18 </view> 18 </view>
@@ -38,7 +38,7 @@ @@ -38,7 +38,7 @@
38 color:#fefefe; 38 color:#fefefe;
39 background-color: #C8B16D; 39 background-color: #C8B16D;
40 border-radius: 40rpx; 40 border-radius: 40rpx;
41 - margin: 420rpx auto; 41 + margin: 300rpx auto 20rpx;
42 text-align: center; 42 text-align: center;
43 } 43 }
44 .submit.fouce{ 44 .submit.fouce{
@@ -69,10 +69,10 @@ Page({ @@ -69,10 +69,10 @@ Page({
69 * 用户点击右上角分享 69 * 用户点击右上角分享
70 */ 70 */
71 onShareAppMessage: function () { 71 onShareAppMessage: function () {
72 - let options={...this.data.options}; 72 + let options={...this.data.options,hasOnlyShow:1};
73 delete options.hasSuccess 73 delete options.hasSuccess
74 return { 74 return {
75 - title:'邀你一起点菜', 75 + title:'菜品已点好,快来看看都点了什么~',
76 path:util.http_build_query(options,'/pack-cookbook/pages/success') 76 path:util.http_build_query(options,'/pack-cookbook/pages/success')
77 } 77 }
78 }, 78 },
@@ -81,7 +81,7 @@ @@ -81,7 +81,7 @@
81 </view> 81 </view>
82 </view> 82 </view>
83 <view style="height: 150rpx;width: 100%;"></view> 83 <view style="height: 150rpx;width: 100%;"></view>
84 -<view class="optx flex-vc" wx:if="{{options.hasSuccess!=1}}"> 84 +<view class="optx flex-vc" wx:if="{{options.hasSuccess!=1 && options.hasOnlyShow!=1}}">
85 <view class="opt-view flex-ll"> 85 <view class="opt-view flex-ll">
86 <formids bindclick="gotoEditor" class="width:50%;"> 86 <formids bindclick="gotoEditor" class="width:50%;">
87 <view class="but editor" style="width: 100%;">修改菜品</view> 87 <view class="but editor" style="width: 100%;">修改菜品</view>