Sfoglia il codice sorgente

Merge remote-tracking branch 'origin/master'

chenxiqiang 6 anni fa
parent
commit
f6567d8382

+ 2
- 1
miniapp/app/pages/bookService/index.wxml Vedi File

162
         </view>
162
         </view>
163
         <view class="btn-book" bindtap="bookServer">立即预约</view>
163
         <view class="btn-book" bindtap="bookServer">立即预约</view>
164
     </view>
164
     </view>
165
-</view>
165
+</view>
166
+<button class="btn-join" type="default" open-type="contact" session-from="homeApp"><image class="icon-service" src="/img/icon-service.png"></image>咨询</button>

+ 26
- 1
miniapp/app/pages/bookService/index.wxss Vedi File

68
 checkbox-group,
68
 checkbox-group,
69
 radio-group {
69
 radio-group {
70
     display: block;
70
     display: block;
71
-}
71
+}
72
+
73
+
74
+.icon-service{
75
+    width: 54rpx;
76
+    height: 60rpx;
77
+    vertical-align: -14rpx;
78
+}
79
+
80
+.btn-join{
81
+    position: fixed;
82
+    bottom: 300rpx;
83
+    right: 0;
84
+    font-size: 34rpx;
85
+    color: #00a0e9;
86
+    background-color: #ddd;
87
+    z-index: 999;
88
+    padding: 0 10rpx;
89
+    border: solid 1rpx #ccc;
90
+    border-radius: 0;
91
+    border-right: 0;
92
+}
93
+
94
+button[type=default].button-hover{
95
+    background-color: #ddd;
96
+}

+ 3
- 3
miniapp/app/pages/classify/index.js Vedi File

61
                     path: `/pages/goodsList/index`
61
                     path: `/pages/goodsList/index`
62
                 });
62
                 });
63
             } else if (name.includes('咨询')) {
63
             } else if (name.includes('咨询')) {
64
-                $.router.goto({
65
-                    path: `/pages/service/index`
66
-                });
64
+                // $.router.goto({
65
+                //     path: `/pages/service/index`
66
+                // });
67
             } else {
67
             } else {
68
                 $.router.goto({
68
                 $.router.goto({
69
                     path: `/pages/introduce/index`,
69
                     path: `/pages/introduce/index`,

+ 6
- 6
miniapp/app/pages/classify/index.wxml Vedi File

6
             <view class="bd">
6
             <view class="bd">
7
                 <view class="item" wx:for="{{item.array}}" wx:for-item="l" data-name="{{l.name}}" data-id="{{l.id}}"
7
                 <view class="item" wx:for="{{item.array}}" wx:for-item="l" data-name="{{l.name}}" data-id="{{l.id}}"
8
                     bindtap="toIntroduce">
8
                     bindtap="toIntroduce">
9
-                    <!-- <button class="inner" hover-class="none" open-type="contact" session-from="" wx:if="{{l.isConsult}}">
10
-                                <view class="text">{{l.name}}</view>
11
-                                <view class="sub-text">{{l.info}}</view>
12
-                                <image class="icon-arr" src="/img/arr1.png"></image>
13
-                            </button> -->
14
-                    <view class="inner">
9
+                    <button class="inner" hover-class="none" open-type="contact" session-from="" wx:if="{{l.isConsult}}">
10
+                        <view class="text">{{l.name}}</view>
11
+                        <view class="sub-text">{{l.info}}</view>
12
+                        <image class="icon-arr" src="/img/arr1.png"></image>
13
+                    </button>
14
+                    <view class="inner" wx:else>
15
                         <view class="text">{{l.name}}</view>
15
                         <view class="text">{{l.name}}</view>
16
                         <view class="sub-text">{{l.info}}</view>
16
                         <view class="sub-text">{{l.info}}</view>
17
                         <image class="icon-arr" src="/img/arr1.png"></image>
17
                         <image class="icon-arr" src="/img/arr1.png"></image>

+ 4
- 4
miniapp/app/pages/home/index.wxml Vedi File

44
                     <view class="name">催乳及产后康复</view>
44
                     <view class="name">催乳及产后康复</view>
45
                 </view>
45
                 </view>
46
             </view>
46
             </view>
47
-            <!-- <button class="item" hover-class="none" open-type="contact" session-from="homeApp">
47
+            <button class="item" hover-class="none" open-type="contact" session-from="homeApp">
48
                 <view class="entrance">
48
                 <view class="entrance">
49
                     <image class="img" mode="widthFix" src="/img/entrance5.png"></image>
49
                     <image class="img" mode="widthFix" src="/img/entrance5.png"></image>
50
                     <view class="name">月子及育婴知识咨询</view>
50
                     <view class="name">月子及育婴知识咨询</view>
51
                 </view>
51
                 </view>
52
-            </button> -->
53
-            <view class="item">
52
+            </button>
53
+            <!-- <view class="item">
54
                 <view class="entrance" bindtap="handleJump" data-route="service">
54
                 <view class="entrance" bindtap="handleJump" data-route="service">
55
                     <image class="img" mode="widthFix" src="/img/entrance5.png"></image>
55
                     <image class="img" mode="widthFix" src="/img/entrance5.png"></image>
56
                     <view class="name">月子及育婴知识咨询</view>
56
                     <view class="name">月子及育婴知识咨询</view>
57
                 </view>
57
                 </view>
58
-            </view>
58
+            </view> -->
59
             <view class="item" bindtap="handleJump" data-route="classify" data-type="5">
59
             <view class="item" bindtap="handleJump" data-route="classify" data-type="5">
60
                 <view class="entrance">
60
                 <view class="entrance">
61
                     <image class="img" mode="widthFix" src="/img/entrance6.png"></image>
61
                     <image class="img" mode="widthFix" src="/img/entrance6.png"></image>

+ 1
- 1
miniapp/app/pages/order/index.wxml Vedi File

52
                         <view class="text-top">{{item.orderText}}</view>
52
                         <view class="text-top">{{item.orderText}}</view>
53
                         <view class="text-bottom">¥{{item.price}}</view>
53
                         <view class="text-bottom">¥{{item.price}}</view>
54
                         <view class="btn-blue" bindtap="toPay" data-id="{{item.id}}" data-type="{{item.order_type}}"
54
                         <view class="btn-blue" bindtap="toPay" data-id="{{item.id}}" data-type="{{item.order_type}}"
55
-                            wx:if="{{item.status == 0}}">立即付款</view>
55
+                            wx:if="{{item.status == 1}}">立即付款</view>
56
                         <view class="btn-blue" bindtap="addComment" data-id="{{item.id}}" data-type="{{item.order_type}}"
56
                         <view class="btn-blue" bindtap="addComment" data-id="{{item.id}}" data-type="{{item.order_type}}"
57
                             wx:if="{{item.status == 2 && !item.comment}}">添加评价</view>
57
                             wx:if="{{item.status == 2 && !item.comment}}">添加评价</view>
58
                     </view>
58
                     </view>

+ 3
- 1
miniapp/app/pages/yuesao/index.wxml Vedi File

67
         </view>
67
         </view>
68
         <view class="btn-book" bindtap="bookServer">立即预约</view>
68
         <view class="btn-book" bindtap="bookServer">立即预约</view>
69
     </view>
69
     </view>
70
-</view>
70
+</view>
71
+
72
+<button class="btn-join" type="default" open-type="contact" session-from="homeApp"><image class="icon-service" src="/img/icon-service.png"></image>咨询</button>

+ 24
- 0
miniapp/app/pages/yuesao/index.wxss Vedi File

68
 checkbox-group,
68
 checkbox-group,
69
 radio-group {
69
 radio-group {
70
     display: block;
70
     display: block;
71
+}
72
+
73
+.icon-service{
74
+    width: 54rpx;
75
+    height: 60rpx;
76
+    vertical-align: -14rpx;
77
+}
78
+
79
+.btn-join{
80
+    position: fixed;
81
+    bottom: 300rpx;
82
+    right: 0;
83
+    font-size: 34rpx;
84
+    color: #00a0e9;
85
+    background-color: #ddd;
86
+    z-index: 999;
87
+    padding: 0 10rpx;
88
+    border: solid 1rpx #ccc;
89
+    border-radius: 0;
90
+    border-right: 0;
91
+}
92
+
93
+button[type=default].button-hover{
94
+    background-color: #ddd;
71
 }
95
 }

Loading…
Annulla
Salva