自动回复

main
syt 6 days ago
parent aa35459582
commit 8820aeffff
  1. 12
      pages/users/center/index.vue
  2. 32
      pages/users/chat/index.vue
  3. 2
      pages/users/recharge/index.vue
  4. 6
      unpackage/dist/build/app-plus/app-service.js
  5. 6
      unpackage/dist/build/app-plus/app-view.js

@ -62,11 +62,11 @@
<view class="title">{{userInfo.memberflag==0?'开通会员':'续费会员'}}</view> <view class="title">{{userInfo.memberflag==0?'开通会员':'续费会员'}}</view>
<scroll-view scroll-x class="kaitong"> <scroll-view scroll-x class="kaitong">
<view class="item" v-for="(a,i) in list" :class="tabIndex == i?'item-on':''" @click="tabItem(i)"> <view class="item" v-for="(a,i) in list" :class="tabIndex == i?'item-on':''" @click="tabItem(i)">
<view class="a">{{a.cycle}}{{a.danwei}}</view> <view class="a">{{a.cycle}}个月</view>
<view class="b"><text>{{a.presentPrice}}</text></view> <view class="b"><text>{{a.presentPrice/a.cycle}}</text>/</view>
<view class="c">{{a.discount}}</view> <!-- <view class="c">{{a.discount}}</view> -->
<view class="d">原价{{a.originalPrice}}</view> <view class="d">原价{{a.originalPrice}}</view>
<view class="e">{{a.name}}</view> <!-- <view class="e">{{a.name}}</view> -->
</view> </view>
</scroll-view> </scroll-view>
<view class="title" v-if="list && list.length > 0">会员特权</view> <view class="title" v-if="list && list.length > 0">会员特权</view>
@ -557,7 +557,7 @@
font-weight: 500; font-weight: 500;
font-size: 24rpx; font-size: 24rpx;
color: #222222; color: #222222;
margin-top: 10rpx; margin-top: 20rpx;
text{ text{
font-size: 36rpx; font-size: 36rpx;
} }
@ -573,7 +573,7 @@
font-size: 24rpx; font-size: 24rpx;
color: #999999; color: #999999;
text-decoration-line: line-through; text-decoration-line: line-through;
margin-top: 10rpx; margin-top: 20rpx;
} }
.e{ .e{
width: 98rpx; width: 98rpx;

@ -858,6 +858,37 @@
"topic":"message" "topic":"message"
})}) })})
}else{ }else{
if(that.userInfo.operrole == 1){
that.chatList.push({
"leftNickname": that.userInfo.nickname,
"leftFaceImage": that.userInfo.faceImage,
"leftRealname": that.userInfo.realname,
"leftImg": that.userInfo.img,
"leftUserId": that.userInfo.id,
"type": 3,
"message": "有事请加微信号:chuwan101",
"sendType": 2
})
that.isOpen = false;
that.isBiaoqing = false;
that.show1 = false;
that.editorCtx.clear();
that.content=""
that.count = 0;
that.num = 1;
setTimeout(()=>{
let wrapper = uni.createSelectorQuery().in(this).select('#wrapper');
wrapper.fields({
size: true,
scrollOffset: true
}, data => {
// console.log("wrapper",data)
that.wrapperScrollHeight = data.scrollHeight*6
}).exec()
// ;
},100)
return ;
}
that.page = 1; that.page = 1;
that.getChatList(); that.getChatList();
} }
@ -871,6 +902,7 @@
that.content="" that.content=""
that.count = 0; that.count = 0;
that.num = 1; that.num = 1;
} }
}, },
// //

@ -9,7 +9,7 @@
<view class="recharge-bd"> <view class="recharge-bd">
<view class="item" v-for="(a,index) in list" :key="index"> <view class="item" v-for="(a,index) in list" :key="index">
<image src="@/static/coins.png"></image> <image src="@/static/coins.png"></image>
<view class="info"><view class="num"><text>{{a.coins}}</text>金币</view v-if="a.giveCoins">{{a.giveCoins}}</view> <view class="info"><view class="num"><text>{{a.coins}}{{a.giveCoins?("+"+a.giveCoins):""}}</text>金币</view v-if="a.giveCoins">{{a.giveCoins}}</view>
<view class="btn" @click="toOpen(a)">{{a.price}}</view> <view class="btn" @click="toOpen(a)">{{a.price}}</view>
</view> </view>
</view> </view>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save