| @@ -26,6 +26,7 @@ Page({ | |||
| historyList: [], | |||
| input: null, | |||
| openid: null, | |||
| // 😄😊😃😉😍😘😚😳😌😁😜😝😒😏😓😔😞😖😥😰😨😣😢😭😂😲😱😠😡😪😷👿👽💛💙💗💚❤💔💓💘✨🌟💢❕❔💤💨💦🎶🎵🔥🔥💩👍👎👌👊✊✌👋✋👐👆👇👉👈🙌🙏☝👏💪🚶🏃👫💃👯🙆🙅💁🙇💏💑💆💇💅👦👧👩👨👶👵👴👱👲👳👷👮👼👸💂💀👣💋 | |||
| connectemoji: ["😘", "😡", "😔", "😄", "❤", "😍", "👼", ""], | |||
| emoji_list: ['emoji1i1', 'emoji2i2', 'emoji3i3', 'emoji4i4', 'emoji5i5'], | |||
| emotionVisible: false, | |||
| @@ -75,7 +76,6 @@ Page({ | |||
| }) | |||
| let customerId = app.globalData.customerId; | |||
| let sendAvatar = app.globalData.businessCommunicationCustomer.chatHeads; | |||
| console.log(customerId, 'customerId'); | |||
| this.setData({ | |||
| receiveMemberId: customerId, | |||
| sendAvatar | |||
| @@ -82,9 +82,14 @@ | |||
| <image class="expression-msg-img" src="/images/home/expression-msg-icon.png" bind:tap="emotionChange" /> | |||
| <image class="img-msg-img" src="/images/home/img-msg-icon.png" /> | |||
| </view> | |||
| <view class="emotions" wx:if="{{emotionVisible}}"> | |||
| <view class="faces-view" wx:if="{{emotionVisible}}"> | |||
| <view class="emotions-item" wx:for="{{connectemoji}}" wx:key="index" bindtap="addemotion" data-index="{{index}}"> | |||
| {{item}} | |||
| </view> | |||
| </view> | |||
| <!-- <view class="emotions" wx:if="{{emotionVisible}}"> | |||
| <view class="emotions-item" wx:for="{{connectemoji}}" wx:key="index" bindtap="addemotion" data-index="{{index}}"> | |||
| {{item}} | |||
| </view> | |||
| </view> --> | |||
| </view> | |||
| @@ -13,7 +13,7 @@ Page({ | |||
| * 生命周期函数--监听页面加载 | |||
| */ | |||
| onLoad: function (options) { | |||
| let htmlUrl = `${app.mangerUrl}/customerService/dist/mobileClient.html?entryType=0&miniUrl=` + options.url + `&customerId=` + app.globalData.customerId; | |||
| let htmlUrl = `${app.mangerUrl}/customerService/dist/mobileClient.html?entryType=1&miniUrl=` + options.url + `&customerId=` + app.globalData.customerId; | |||
| // 如果是去关注 | |||
| if (options.followApplets == "true") { | |||
| htmlUrl = "https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzIwNDEzNzk5MA==&scene=124#wechat_redirect"; | |||