Commit 8714e5b177a2fcd3572e15a22668b030302dd31a
Merge branch 'develop' of http://39.98.150.180/sherkxuan/uniapp-wuduhuajiao into develop
Showing
2 changed files
with
17 additions
and
4 deletions
uniapp-wuduhuajiao/pages/meeting/meeting.css
| ... | ... | @@ -49,10 +49,15 @@ |
| 49 | 49 | flex: 1; |
| 50 | 50 | } |
| 51 | 51 | .bottom-input{ |
| 52 | + width: 650rpx; | |
| 52 | 53 | margin-top: 20rpx; |
| 54 | + display: flex; | |
| 55 | + align-items: center; | |
| 56 | + justify-content: space-between; | |
| 57 | + flex-direction: row; | |
| 53 | 58 | } |
| 54 | 59 | .input { |
| 55 | - width: 650rpx; | |
| 60 | + width: 500rpx; | |
| 56 | 61 | height: 80rpx; |
| 57 | 62 | background: #111118; |
| 58 | 63 | border-radius: 20px; |
| ... | ... | @@ -60,6 +65,13 @@ |
| 60 | 65 | padding: 10px; |
| 61 | 66 | font-size: 12px; |
| 62 | 67 | color: #ffffff; |
| 68 | + flex: 1; | |
| 69 | +} | |
| 70 | +.submit-btn{ | |
| 71 | + width: 110rpx; | |
| 72 | + margin-left: 10rpx; | |
| 73 | + flex: none; | |
| 74 | + padding: 0; | |
| 63 | 75 | } |
| 64 | 76 | .name { |
| 65 | 77 | width: 100px; | ... | ... |
uniapp-wuduhuajiao/pages/meeting/meeting.nvue
| ... | ... | @@ -19,7 +19,7 @@ |
| 19 | 19 | </view> |
| 20 | 20 | <view v-if="!meetingServiceUser.userId" class="list-waiting"> |
| 21 | 21 | <text style="color: #fff;">等待客服加入</text> |
| 22 | - <text class="simple-btn" style="margin-top:40px;" @click="handleInviteServiceUser" v-if="!hasInvite && joinType == 'customer'">邀请客服</text> | |
| 22 | + <text class="simple-btn" style="margin-top:40px;" @click="handleInviteServiceUser" v-if="!hasInvite && (joinType == 'customer' || joinType == 'seller')">邀请客服</text> | |
| 23 | 23 | </view> |
| 24 | 24 | <block v-if="meetingServiceUser.userId && !meetingServiceUser.meeting"> |
| 25 | 25 | <image v-if="meetingServiceUser.userInfo && meetingServiceUser.userInfo.avatar" :src="meetingServiceUser.userInfo.avatar | imageUrlFilter" style="width: 300rpx;height: 360rpx;border-radius: 40rpx;" mode="aspectFill"></image> |
| ... | ... | @@ -102,7 +102,8 @@ |
| 102 | 102 | </scroll-view> |
| 103 | 103 | <view class="bottom-input"> |
| 104 | 104 | <input class="input" placeholder="想说点什么?" placeholder-style="color:#fff" v-model="messageContent" |
| 105 | - @confirm="sendMessage" confirm-type="send" :confirm-hold="true" /> | |
| 105 | + :confirm-hold="true" /> | |
| 106 | + <button class="btn submit-btn" v-if="messageContent" @click="sendMessage">发送</button> | |
| 106 | 107 | </view> |
| 107 | 108 | </view> |
| 108 | 109 | </view> |
| ... | ... | @@ -198,7 +199,7 @@ |
| 198 | 199 | ...mapState(['user', 'statistics', 'common']), |
| 199 | 200 | startBtnVisible() { |
| 200 | 201 | if (this.userId == this.meetingServiceUser.userId) { |
| 201 | - return !this.meetingServiceUser.meeting && this.meetingBusinessUser.userId; | |
| 202 | + return !this.meetingServiceUser.meeting; | |
| 202 | 203 | } |
| 203 | 204 | return false; |
| 204 | 205 | }, | ... | ... |