|
|
@@ -115,10 +115,12 @@
|
|
|
<view class="title">已经为您定制专属客服</view>
|
|
|
<image src="../../static/img/img010.png" mode=""></image>
|
|
|
</view>
|
|
|
- <view class="nocancel">客服VX:{{ text }}</view>
|
|
|
+ <view class="nocancel">客服VX:{{ text }}</view>
|
|
|
+ <view class="nocancel">客服QQ:{{ textqq }}</view>
|
|
|
<view class="comfirm-box">
|
|
|
- <view class="cancel" @click="cancel">取消</view>
|
|
|
- <view class="comfirm" @click="comfirm(text)">复制微信</view>
|
|
|
+ <!-- <view class="cancel" @click="cancel">取消</view> -->
|
|
|
+ <view class="comfirm" @click="comfirm(text)">复制微信</view>
|
|
|
+ <view class="comfirm" @click="comfirm(textqq)">复制QQ</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -157,7 +159,8 @@
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
- text: 'shxsophina', //客服微信
|
|
|
+ text: 'shxsophina', //客服微信
|
|
|
+ textqq: '3561707986',
|
|
|
page: 1,
|
|
|
limitt: 20,
|
|
|
loadingType: 'more',
|
|
|
@@ -182,53 +185,6 @@
|
|
|
computed: {
|
|
|
...mapState('user', ['hasLogin', 'userInfo'])
|
|
|
},
|
|
|
- onShareAppMessage(options) {
|
|
|
- // 设置菜单中的转发按钮触发转发事件时的转发内容
|
|
|
- let pages = getCurrentPages(); //获取加载的页面
|
|
|
- let currentPage = pages[pages.length - 1]; //获取当前页面的对象
|
|
|
- let url = currentPage.route; //当前页面url
|
|
|
- let item = currentPage.options; //如果要获取url中所带的参数可以查看options
|
|
|
- let shareObj = {}
|
|
|
- if (this.userInfo.uid) {
|
|
|
- shareObj = {
|
|
|
- title: this.userInfo.nickname + '邀请您加入顺肠清', // 默认是小程序的名称(可以写slogan等)
|
|
|
- path: url + '?scene=' + this.userInfo.uid, // 默认是当前页面,必须是以‘/’开头的完整路径
|
|
|
- imageUrl: '',
|
|
|
- success: function(res) {
|
|
|
- // 转发成功之后的回调
|
|
|
- if (res.errMsg == 'shareAppMessage:ok') {}
|
|
|
- },
|
|
|
- fail: function() {
|
|
|
- // 转发失败之后的回调
|
|
|
- if (res.errMsg == 'shareAppMessage:fail cancel') {
|
|
|
- // 用户取消转发
|
|
|
- } else if (res.errMsg == 'shareAppMessage:fail') {
|
|
|
- // 转发失败,其中 detail message 为详细失败信息
|
|
|
- }
|
|
|
- }
|
|
|
- };
|
|
|
- } else {
|
|
|
- shareObj = {
|
|
|
- title: '顺肠清', // 默认是小程序的名称(可以写slogan等)
|
|
|
- path: url, // 默认是当前页面,必须是以‘/’开头的完整路径
|
|
|
- imageUrl: '',
|
|
|
- success: function(res) {
|
|
|
- // 转发成功之后的回调
|
|
|
- if (res.errMsg == 'shareAppMessage:ok') {}
|
|
|
- },
|
|
|
- fail: function() {
|
|
|
- // 转发失败之后的回调
|
|
|
- if (res.errMsg == 'shareAppMessage:fail cancel') {
|
|
|
- // 用户取消转发
|
|
|
- } else if (res.errMsg == 'shareAppMessage:fail') {
|
|
|
- // 转发失败,其中 detail message 为详细失败信息
|
|
|
- }
|
|
|
- }
|
|
|
- };
|
|
|
- }
|
|
|
-
|
|
|
- return shareObj;
|
|
|
- },
|
|
|
onReachBottom() {
|
|
|
console.log('到底')
|
|
|
this.getGoodList()
|
|
|
@@ -668,7 +624,7 @@
|
|
|
|
|
|
.popup-box {
|
|
|
width: 522rpx;
|
|
|
- height: 605rpx;
|
|
|
+ height: 630rpx;
|
|
|
background-color: #ffffff;
|
|
|
border-radius: 20rpx;
|
|
|
position: relative;
|