Bladeren bron

Merge remote-tracking branch 'origin/master'

chenxiqiang 6 jaren geleden
bovenliggende
commit
f6567d8382

+ 2
- 1
miniapp/app/pages/bookService/index.wxml Bestand weergeven

@@ -162,4 +162,5 @@
162 162
         </view>
163 163
         <view class="btn-book" bindtap="bookServer">立即预约</view>
164 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 Bestand weergeven

@@ -68,4 +68,29 @@ radio {
68 68
 checkbox-group,
69 69
 radio-group {
70 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 Bestand weergeven

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

+ 6
- 6
miniapp/app/pages/classify/index.wxml Bestand weergeven

@@ -6,12 +6,12 @@
6 6
             <view class="bd">
7 7
                 <view class="item" wx:for="{{item.array}}" wx:for-item="l" data-name="{{l.name}}" data-id="{{l.id}}"
8 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 15
                         <view class="text">{{l.name}}</view>
16 16
                         <view class="sub-text">{{l.info}}</view>
17 17
                         <image class="icon-arr" src="/img/arr1.png"></image>

+ 4
- 4
miniapp/app/pages/home/index.wxml Bestand weergeven

@@ -44,18 +44,18 @@
44 44
                     <view class="name">催乳及产后康复</view>
45 45
                 </view>
46 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 48
                 <view class="entrance">
49 49
                     <image class="img" mode="widthFix" src="/img/entrance5.png"></image>
50 50
                     <view class="name">月子及育婴知识咨询</view>
51 51
                 </view>
52
-            </button> -->
53
-            <view class="item">
52
+            </button>
53
+            <!-- <view class="item">
54 54
                 <view class="entrance" bindtap="handleJump" data-route="service">
55 55
                     <image class="img" mode="widthFix" src="/img/entrance5.png"></image>
56 56
                     <view class="name">月子及育婴知识咨询</view>
57 57
                 </view>
58
-            </view>
58
+            </view> -->
59 59
             <view class="item" bindtap="handleJump" data-route="classify" data-type="5">
60 60
                 <view class="entrance">
61 61
                     <image class="img" mode="widthFix" src="/img/entrance6.png"></image>

+ 1
- 1
miniapp/app/pages/order/index.wxml Bestand weergeven

@@ -52,7 +52,7 @@
52 52
                         <view class="text-top">{{item.orderText}}</view>
53 53
                         <view class="text-bottom">¥{{item.price}}</view>
54 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 56
                         <view class="btn-blue" bindtap="addComment" data-id="{{item.id}}" data-type="{{item.order_type}}"
57 57
                             wx:if="{{item.status == 2 && !item.comment}}">添加评价</view>
58 58
                     </view>

+ 3
- 1
miniapp/app/pages/yuesao/index.wxml Bestand weergeven

@@ -67,4 +67,6 @@
67 67
         </view>
68 68
         <view class="btn-book" bindtap="bookServer">立即预约</view>
69 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 Bestand weergeven

@@ -68,4 +68,28 @@ radio {
68 68
 checkbox-group,
69 69
 radio-group {
70 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…
Annuleren
Opslaan