main
syt 1 month ago
parent 8098ad5f47
commit 0959890a5f
  1. 278
      App.vue
  2. 2
      api/request.js
  3. 85
      pages/index/index.vue
  4. 182
      pages/pipei/shipin/detail.nvue
  5. 2
      pages/pipei/shipin/index.vue
  6. 233
      pages/pipei/yuyin/index.vue
  7. 20
      pages/user/index.vue
  8. 2
      pages/users/center/index.vue
  9. 12
      pages/users/chat/index.vue
  10. 2
      pages/users/order/index.vue
  11. 2
      pages/users/order/pdetail.vue
  12. 3
      pages/users/order/peiwan.vue
  13. 3
      pages/users/recharge/index.vue
  14. 4
      pages/users/wallet/index.vue
  15. 15
      pages/xiaoxi/fangke.vue
  16. 4
      unpackage/cache/wgt/__UNI__7C06BEE/app-config-service.js
  17. 8
      unpackage/cache/wgt/__UNI__7C06BEE/app-service.js
  18. 2
      unpackage/cache/wgt/__UNI__7C06BEE/app-view.js
  19. 2
      unpackage/cache/wgt/__UNI__7C06BEE/manifest.json
  20. 2
      unpackage/cache/wgt/__UNI__7C06BEE/pages/pipei/shipin/detail.js
  21. 1
      unpackage/cache/wgt/__UNI__7C06BEE/pages/pipei/shipin/detail.js.LICENSE.txt
  22. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/static/arrow-left.png
  23. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/static/chat-05.png
  24. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/static/tishiyin.mp3
  25. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/static/video_bg.png
  26. 1
      unpackage/debug/.roid.ins
  27. BIN
      unpackage/debug/android_debug.apk
  28. 4
      unpackage/dist/build/app-plus/app-config-service.js
  29. 8
      unpackage/dist/build/app-plus/app-service.js
  30. 2
      unpackage/dist/build/app-plus/app-view.js
  31. 2
      unpackage/dist/build/app-plus/manifest.json
  32. 2
      unpackage/dist/build/app-plus/pages/pipei/shipin/detail.js
  33. 1
      unpackage/dist/build/app-plus/pages/pipei/shipin/detail.js.LICENSE.txt
  34. BIN
      unpackage/dist/build/app-plus/static/arrow-left.png
  35. BIN
      unpackage/dist/build/app-plus/static/chat-05.png
  36. BIN
      unpackage/dist/build/app-plus/static/tishiyin.mp3
  37. BIN
      unpackage/dist/build/app-plus/static/video_bg.png
  38. BIN
      unpackage/dist/build/web.zip
  39. 2
      unpackage/dist/build/web/index.html
  40. BIN
      unpackage/dist/build/web/static/arrow-left.png
  41. BIN
      unpackage/dist/build/web/static/chat-01.png
  42. BIN
      unpackage/dist/build/web/static/chat-02.png
  43. BIN
      unpackage/dist/build/web/static/chat-03.png
  44. BIN
      unpackage/dist/build/web/static/chat-05.png
  45. BIN
      unpackage/dist/build/web/static/chat-liwu.png
  46. BIN
      unpackage/dist/build/web/static/chat-xiangji.png
  47. BIN
      unpackage/dist/build/web/static/chat-yinshipin.png
  48. BIN
      unpackage/dist/build/web/static/chat-zhaopian.png
  49. 0
      unpackage/dist/build/web/static/js/chunk-vendors.012a7058.js
  50. 1
      unpackage/dist/build/web/static/js/index.4f07dffe.js
  51. 1
      unpackage/dist/build/web/static/js/index.c3de27e1.js
  52. 1
      unpackage/dist/build/web/static/js/pages-dongtai-add.2f8a16fb.js
  53. 1
      unpackage/dist/build/web/static/js/pages-dongtai-add.f7ba5886.js
  54. 1
      unpackage/dist/build/web/static/js/pages-dongtai-detail.57f38973.js
  55. 1
      unpackage/dist/build/web/static/js/pages-dongtai-detail.e8198db6.js
  56. 1
      unpackage/dist/build/web/static/js/pages-dongtai-index.1ee5f6f0.js
  57. 1
      unpackage/dist/build/web/static/js/pages-dongtai-index.d430b2e2.js
  58. 1
      unpackage/dist/build/web/static/js/pages-dongtai-index~pages-index-index~pages-peiwan-detail~pages-peiwan-index~pages-users-order-index~92c12ac0.64d8534f.js
  59. 1
      unpackage/dist/build/web/static/js/pages-dongtai-index~pages-index-index~pages-peiwan-detail~pages-peiwan-index~pages-users-order-index~e63d5f43.362410f1.js
  60. 1
      unpackage/dist/build/web/static/js/pages-index-city.383788fb.js
  61. 1
      unpackage/dist/build/web/static/js/pages-index-city.84a0f864.js
  62. 1
      unpackage/dist/build/web/static/js/pages-index-cityList.03388482.js
  63. 1
      unpackage/dist/build/web/static/js/pages-index-cityList.b6f2de0a.js
  64. 1
      unpackage/dist/build/web/static/js/pages-index-citySearch.223cc8f6.js
  65. 1
      unpackage/dist/build/web/static/js/pages-index-citySearch.4572b46c.js
  66. 1
      unpackage/dist/build/web/static/js/pages-index-index.bffb539a.js
  67. 1
      unpackage/dist/build/web/static/js/pages-index-index.ea7851f8.js
  68. 1
      unpackage/dist/build/web/static/js/pages-index-search.38ba1df5.js
  69. 1
      unpackage/dist/build/web/static/js/pages-index-search.9f588a98.js
  70. 1
      unpackage/dist/build/web/static/js/pages-login-avatar.26f621e6.js
  71. 1
      unpackage/dist/build/web/static/js/pages-login-avatar.ac9971f4.js
  72. 1
      unpackage/dist/build/web/static/js/pages-login-index.417976e8.js
  73. 1
      unpackage/dist/build/web/static/js/pages-login-index.dd57c53d.js
  74. 1
      unpackage/dist/build/web/static/js/pages-login-mima.489681e7.js
  75. 1
      unpackage/dist/build/web/static/js/pages-login-mima.9a1ee841.js
  76. 1
      unpackage/dist/build/web/static/js/pages-login-name.78197023.js
  77. 1
      unpackage/dist/build/web/static/js/pages-login-name.c03d02e5.js
  78. 1
      unpackage/dist/build/web/static/js/pages-login-password.d7eec9ed.js
  79. 1
      unpackage/dist/build/web/static/js/pages-login-password.ea619334.js
  80. 1
      unpackage/dist/build/web/static/js/pages-login-reg.004702d9.js
  81. 1
      unpackage/dist/build/web/static/js/pages-login-reg.f6e26f37.js
  82. 1
      unpackage/dist/build/web/static/js/pages-login-sex.afddb7d4.js
  83. 1
      unpackage/dist/build/web/static/js/pages-login-sex.e12d6513.js
  84. 1
      unpackage/dist/build/web/static/js/pages-peiwan-apply.376f3f2b.js
  85. 1
      unpackage/dist/build/web/static/js/pages-peiwan-apply.42338290.js
  86. 1
      unpackage/dist/build/web/static/js/pages-peiwan-confirm.100efb9f.js
  87. 1
      unpackage/dist/build/web/static/js/pages-peiwan-confirm.93222335.js
  88. 1
      unpackage/dist/build/web/static/js/pages-peiwan-confirm~pages-users-chengshi-index~pages-users-edit-index.4bf64e19.js
  89. 1
      unpackage/dist/build/web/static/js/pages-peiwan-detail.36bec19b.js
  90. 1
      unpackage/dist/build/web/static/js/pages-peiwan-detail.c583ca8a.js
  91. 1
      unpackage/dist/build/web/static/js/pages-peiwan-detail~pages-users-personal-index.6779413b.js
  92. 1
      unpackage/dist/build/web/static/js/pages-peiwan-detail~pages-users-personal-index.f9ef200e.js
  93. 1
      unpackage/dist/build/web/static/js/pages-peiwan-index.166bec85.js
  94. 1
      unpackage/dist/build/web/static/js/pages-peiwan-index.a157166d.js
  95. 1
      unpackage/dist/build/web/static/js/pages-peiwan-success.43b82d36.js
  96. 1
      unpackage/dist/build/web/static/js/pages-peiwan-success.9d442b16.js
  97. 1
      unpackage/dist/build/web/static/js/pages-peiwan-xiangce.ab420128.js
  98. 1
      unpackage/dist/build/web/static/js/pages-peiwan-xiangce.b6cb5854.js
  99. 48
      unpackage/dist/build/web/static/js/pages-pipei-shipin-detail.c7cc84da.js
  100. 1
      unpackage/dist/build/web/static/js/pages-pipei-shipin-index.5d2cc5c0.js
  101. Some files were not shown because too many files have changed in this diff Show More

@ -1,149 +1,147 @@
<script>
export default {
onLaunch: function() {
console.log('App Launch')
let timer = null;
//socket
uni.$on("openSocket",function(res){
uni.connectSocket({
url: 'wss://api.lyiyuan.cn/websocket?userId='+uni.getStorageSync('userInfo').id
});
uni.onSocketOpen(function (res) {
xintiao()
uni.sendSocketMessage({data:JSON.stringify({"userId": uni.getStorageSync("userInfo").id,"topic":"heart_beat"})});
console.log('WebSocket连接已打开!');
uni.setStorageSync("isOpen",true)
});
uni.onSocketMessage(function (res) {
const obj = res.data?JSON.parse(res.data):{};
console.log(obj)
if(obj.topic == 'message'){
if(obj.type>=8){
if(uni.getStorageSync("userInfo").id == obj.sellerId){
if(obj.type == 12){
uni.$emit("watchEvent",obj)
}
if(obj.type == 9){
if(obj.userMsgVoice == 1){
uni.$emit("playAudio")
}
if(obj.userMsgShock == 1){
uni.vibrateLong({
complete: function (res) {
console.log('success',res);
}
});
}
uni.showModal({
title: '温馨提示',
content: '来自'+obj.userNickname+"发起的视频匹配,是否同意",
cancelText: '拒绝',
confirmText: '同意',
success: res => {
if(res.confirm){
console.log(obj, uni.getStorageSync("userInfo"))
uni.sendSocketMessage({data:JSON.stringify({
"userId": uni.getStorageSync("userInfo").id,
sellerId: obj.userId,
type: 10,
"topic":"message"
})})
if(uni.getStorageSync("userInfo").id == obj.sellerId){
console.log("toChat",uni.getStorageSync("userInfo").id , obj.userId)
uni.navigateTo({
url: "/pages/pipei/shipin/detail?type=2&id="+obj.userId
})
}
}else{
uni.sendSocketMessage({data:JSON.stringify({
"userId": uni.getStorageSync("userInfo").id,
sellerId: obj.userId,
type: 11,
"topic":"message"
})})
}
},
fail: () => {},
complete: () => {}
});
}
if(obj.type == 8){
if(obj.userMsgVoice == 1){
uni.$emit("playAudio")
}
if(obj.userMsgShock == 1){
uni.vibrateLong({
complete: function (res) {
console.log('success',res);
}
});
}
uni.showModal({
title: '温馨提示',
content: '来自'+obj.userNickname+"发起的语音匹配,是否同意",
cancelText: '拒绝',
confirmText: '同意',
success: res => {
if(res.confirm){
uni.sendSocketMessage({data:JSON.stringify({
"userId": uni.getStorageSync("userInfo").id,
sellerId: data.id,
type: 10,
"topic":"message"
})})
}else{
uni.sendSocketMessage({data:JSON.stringify({
"userId": uni.getStorageSync("userInfo").id,
sellerId: data.id,
type: 11,
"topic":"message"
})})
}
},
fail: () => {},
complete: () => {}
});
}
}
}
}
});
uni.onSocketClose(function (res) {
clearInterval(timer)
uni.closeSocket();
uni.removeStorageSync("isOpen")
console.log('WebSocket 已关闭!');
setTimeout(()=>{
if(uni.getStorageSync("userInfo").id){
uni.$emit("openSocket")
}
},1000)
});
})
function xintiao() {
timer = setInterval(()=>{
uni.setStorageSync("isOpen",true)
uni.sendSocketMessage({data:JSON.stringify({"userId": uni.getStorageSync("userInfo").id,"topic":"heart_beat"})});
}, 30000)
}
setTimeout(()=>{
if(uni.getStorageSync("userInfo").id){
uni.$emit("openSocket")
}
},1000)
const bgAudioManager = uni.getBackgroundAudioManager();
uni.$on("playAudio",res=>{
bgAudioManager.src = 'https://api.lyiyuan.cn/profile/upload/static/tishiyin.mp3';
bgAudioManager.play();
})
},
onShow: function() {
let timer = null;
//socket
uni.$on("openSocket",function(res){
uni.connectSocket({
url: 'wss://api.lyiyuan.cn/websocket?userId='+uni.getStorageSync('userInfo').id
});
uni.onSocketOpen(function (res) {
uni.sendSocketMessage({data:JSON.stringify({"userId": uni.getStorageSync("userInfo").id,"topic":"heart_beat"})});
xintiao()
console.log('WebSocket连接已打开!');
uni.setStorageSync("isOpen",true)
uni.onSocketMessage(function (res) {
const obj = res.data?JSON.parse(res.data):{}
if(obj.topic == 'message'){
if(obj.type>=8){
if(uni.getStorageSync("userInfo").id == obj.sellerId){
if(obj.type == 12){
uni.$emit("watchEvent",obj)
}
if(obj.type == 9){
if(obj.userMsgVoice == 1){
uni.$emit("playAudio")
}
if(obj.userMsgShock == 1){
uni.vibrateLong({
complete: function (res) {
console.log('success',res);
}
});
}
uni.showModal({
title: '温馨提示',
content: '来自'+obj.userNickname+"发起的视频匹配,是否同意",
cancelText: '拒绝',
confirmText: '同意',
success: res => {
if(res.confirm){
console.log(obj, uni.getStorageSync("userInfo"))
uni.sendSocketMessage({data:JSON.stringify({
"userId": uni.getStorageSync("userInfo").id,
sellerId: obj.userId,
type: 10,
"topic":"message"
})})
if(uni.getStorageSync("userInfo").id == obj.sellerId){
console.log("toChat",uni.getStorageSync("userInfo").id , obj.userId)
uni.navigateTo({
url: "/pages/pipei/shipin/detail?type=2&id="+obj.userId
})
}
}else{
uni.sendSocketMessage({data:JSON.stringify({
"userId": uni.getStorageSync("userInfo").id,
sellerId: obj.userId,
type: 11,
"topic":"message"
})})
}
},
fail: () => {},
complete: () => {}
});
}
if(obj.type == 8){
if(obj.userMsgVoice == 1){
uni.$emit("playAudio")
}
if(obj.userMsgShock == 1){
uni.vibrateLong({
complete: function (res) {
console.log('success',res);
}
});
}
uni.showModal({
title: '温馨提示',
content: '来自'+obj.userNickname+"发起的语音匹配,是否同意",
cancelText: '拒绝',
confirmText: '同意',
success: res => {
if(res.confirm){
uni.sendSocketMessage({data:JSON.stringify({
"userId": uni.getStorageSync("userInfo").id,
sellerId: data.id,
type: 10,
"topic":"message"
})})
}else{
uni.sendSocketMessage({data:JSON.stringify({
"userId": uni.getStorageSync("userInfo").id,
sellerId: data.id,
type: 11,
"topic":"message"
})})
}
},
fail: () => {},
complete: () => {}
});
}
}
}
}
});
});
uni.onSocketClose(function (res) {
clearInterval(timer)
uni.closeSocket();
uni.removeStorageSync("isOpen")
console.log('WebSocket 已关闭!');
setTimeout(()=>{
if(uni.getStorageSync("userInfo").id){
uni.$emit("openSocket")
}
},1000)
});
})
function xintiao() {
clearInterval(timer)
timer = setInterval(()=>{
uni.setStorageSync("isOpen",true)
uni.sendSocketMessage({data:JSON.stringify({"userId": uni.getStorageSync("userInfo").id,"topic":"heart_beat"})});
}, 30000)
}
setTimeout(()=>{
if(uni.getStorageSync("userInfo").id){
uni.$emit("openSocket")
}
},1000)
const bgAudioManager = uni.getBackgroundAudioManager();
uni.$on("playAudio",res=>{
bgAudioManager.src = 'https://api.lyiyuan.cn/profile/upload/static/tishiyin.mp3';
bgAudioManager.play();
})
},
onHide: function() {
console.log('App Hide')

@ -17,7 +17,7 @@ export function request(prams) {
success: (res) => {
if (res.data.code == 200 || res.data.code == -1){
// console.log(prams)
// console.log("返回结果:"+JSON.stringify(res.data))
// console.log("返回结果:"+JSON.stringify(res.data.data))
resolve(res.data);
}else if(res.data.code == 401){
uni.showModal({

@ -96,11 +96,13 @@
page1: 1,
page2: 1,
total1: 1,
total2: 1,
total2: 1,
balanceInfo: {},
show: false,
list:[{'name': '热门'},{'name': '附近'}],
activeStyle:{'fontSize': '35rpx'},
userInfo: {}
userInfo: {},
goldInfo: {}
}
},
onPullDownRefresh() {
@ -357,6 +359,15 @@
lon: res.longitude,
});
},
//
async userBalance() {
const { code, data } = await this.$api.userBalance({
userId: uni.getStorageSync("userInfo").id
})
if(code == 200){
this.balanceInfo = data
}
},
recorderAuthModal: function () {
const that = this;
@ -448,12 +459,21 @@
: (hash[next[name]] = true && item.push(next));
return item;
}, []);
},
},
async costDescription() {
const {code, data } = await this.$api.costDescription({});
if(code == 200){
this.goldInfo = data
}
},
//
async getUserInfo() {
const { code, data , msg } = await this.$api.findUserInfo({userId: uni.getStorageSync("userInfo").id});
if(code == 200){
this.userInfo = data;
this.userInfo = data;
this.userBalance();
this.costDescription();
uni.setStorageSync("userInfo",data);
}else{
uni.showToast({
@ -540,10 +560,7 @@
isHighAccuracy: true,
success(res1) {
console.log(res1)
that.trackUpload(res1)
uni.$emit("openSocket",res=>{
})
that.trackUpload(res1)
let latitude = res1.latitude,longitude = res1.longitude;
let url = `https://restapi.amap.com/v3/geocode/regeo?output=json&location=${longitude},${latitude}&key=4a6e2ba8eac3864f0d88f9b5abd026e6&radius=1000`
uni.request({
@ -571,15 +588,61 @@
})
},
openPage(index,id){
if(index == 1){
if(index == 1){
if(this.userInfo.realnameFlag == 0){
this.isPopup = true
return ;
}
uni.navigateTo({
url: "/pages/pipei/tongcheng/index"
})
}else if(index == 2){
}else if(index == 2){
if(this.userInfo.realnameFlag == 0){
this.isPopup = true
return ;
}
if(uni.getStorageSync("userInfo").sex == 1){
if(this.balanceInfo.voiceCoins*60 <= 0){
uni.showModal({
title: "温馨提示",
content: "当前账户金币不足,语音通话"+this.goldInfo.voiceCoins+"金币/1分钟,请前往充值",
confirmColor: "#000000",
success(res) {
if(res.confirm){
uni.navigateTo({
url: "/pages/users/recharge/index"
})
}
}
})
return ;
}
}
uni.navigateTo({
url: "/pages/pipei/yuyin/index"
})
}else if(index == 3){
}else if(index == 3){
if(this.userInfo.realnameFlag == 0){
this.isPopup = true
return ;
}
if(uni.getStorageSync("userInfo").sex == 1){
if(this.balanceInfo.videoCoins*60 <= 0){
uni.showModal({
title: "温馨提示",
content: "当前账户金币不足,语音通话"+this.goldInfo.videoCoins+"金币/1分钟,请前往充值",
confirmColor: "#000000",
success(res) {
if(res.confirm){
uni.navigateTo({
url: "/pages/users/recharge/index"
})
}
}
})
return ;
}
}
uni.navigateTo({
url: "/pages/pipei/shipin/index"
})

@ -19,11 +19,24 @@
</view>
</view>
<view class="room-bd" :style="{'width': winWidth+'px', 'height': winHeight+'px'}" v-if="type == 1 || type == 3">
<image class="pic" src="@/static/yuyin-bg.png"></image>
<image class="pic" :style="{'width': winWidth+'px', 'height': winHeight+'px'}" src="@/static/yuyin-bg.png"></image>
<view class="dian-on" >
<view class="info">
<image class="avatar" :src="userOtherInfo.faceImage?userOtherInfo.faceImage:userOtherInfo.img"></image>
<view class="name">{{userOtherInfo.nickname}}</view>
<view class="txt">{{userOtherInfo.age}}/{{userOtherInfo.height}}</view>
</view>
<view class="tag">
<view class="titles">个性签名:</view>
<view class="descs">
<text>{{userOtherInfo.declaration}}</text>
</view>
</view>
</view>
</view>
<view class="room-fd" v-if="type==1 || type==3" :style="{'width': winWidth+'px'}" >
<view class="item">
<view class="pic" @click="toggleYuyin()">
<view class="pic" @click="toggleYuyin()" v-if="isJieshou==true">
<image v-if="isYuyin" class="pimg" src="@/static/yuyin-01.png"></image>
<image v-else class="pimg" src="@/static/yuyin-01-on.png"></image>
</view>
@ -35,7 +48,7 @@
</view>
</view>
<view class="item">
<view class="pic" @click="toggleYangsheng()">
<view class="pic" @click="toggleYangsheng()" v-if="isJieshou==true">
<image class="pimg" v-if="isYangshengqi" src="@/static/yuyin-03.png"></image>
<image class="pimg" v-else src="@/static/yuyin-03-on.png"></image>
</view>
@ -43,7 +56,7 @@
</view>
<view class="room-fd" v-if="type==2 || type==4" :style="{'width': winWidth+'px'}" >
<view class="item">
<view class="pic" @click="toggleYuyin()">
<view class="pic" @click="toggleYuyin()" v-if="isJieshou==true">
<image v-if="isYuyin" class="pimg" src="@/static/yuyin-01.png"></image>
<image v-else class="pimg" src="@/static/yuyin-01-on.png"></image>
</view>
@ -55,7 +68,7 @@
</view>
</view>
<view class="item">
<view class="pic" @click="toggleShexiang()">
<view class="pic" @click="toggleShexiang()" v-if="isJieshou==true">
<image class="pimg" v-if="isShexiang" src="@/static/yuyin-04.png"></image>
<image class="pimg" v-else src="@/static/yuyin-04-on.png"></image>
</view>
@ -106,7 +119,9 @@
userInfo: {},
playStreamId: "",
title: "",
count: 0,
count: 0,
balanceInfo: {},
userOtherInfo: {},
background: {
// 导航栏背景图
background: 'url(https://api.lyiyuan.cn/profile/upload/static/yuyin-bg.png) center top no-repeat',
@ -125,8 +140,9 @@
onLoad(o) {
this.id = o.id;
this.type=o.type;
this.title = (this.type == 2||this.type == 4)?"语音通话":"视频通话",
this.isShexiang = (this.type == 2 || this.type == 4)?true:false
this.title = (this.type == 1||this.type == 3)?"语音通话":"视频通话",
this.isShexiang = (this.type == 2 || this.type == 4)?true:false
this.isJieshou = o.type<=2?true:false;
this.winWidth = uni.getSystemInfoSync().windowWidth;
this.statusBarHeight = uni.getSystemInfoSync().statusBarHeight;
this.winHeight = uni.getSystemInfoSync().windowHeight;
@ -152,12 +168,16 @@
const res1 = await permision.requestAndroidPermission(
"android.permission.CAMERA"
);
this.getUserInfo();
return ;
}
// #endif
// #endif
if(this.type==3){
this.getOtherUserInfo();
}
if(this.type <= 2){
this.toPermission();
}else{
// this.getUserInfo(1);
}
},
methods: {
@ -183,7 +203,8 @@
type: 12,
"topic":"message",
})
}
}
this.socialConsumption();
clearInterval(timer)
this.isGuaduan = false
/** 停止推流 */
@ -223,11 +244,15 @@
this.getUserInfo();
},
//查询个人信息
async getUserInfo() {
async getUserInfo(type) {
const { code, data , msg} = await api.findUserInfo({userId: uni.getStorageSync("userInfo").id});
if(code == 200){
this.userInfo = data;
this.loginRoom();
this.userInfo = data;
if(type != 1){
this.userBalance();
this.loginRoom();
}
}else{
uni.showToast({
title: msg,
@ -235,6 +260,19 @@
icon: "none",
})
}
},
//查询taren个人信息
async getOtherUserInfo(type) {
const { code, data , msg } = await this.$api.findOtherUserInfo({userId: uni.getStorageSync("userInfo").id,sellerId: this.id,});
if(code == 200){
this.userOtherInfo = data;
}else{
uni.showToast({
title: msg,
position: "bottom",
icon: "none",
})
}
},
async loginRoom(){
const that = this;
@ -303,14 +341,50 @@
this.isJieshou = true;
clearInterval(timer);
that.title = that.formatFun(that.count)
timer = setInterval(()=>{
timer = setInterval(()=>{
if(uni.getStorageSync("userInfo").sex == 1){
if(that.type == 1){
if(that.balanceInfo.voiceCoins*60 < that.count){
clearInterval(timer);
that.toGuaduan();
that.title = that.formatFun(that.count);
return ;
}
}else if(that.type == 2){
if(that.balanceInfo.videoCoins*60 < that.count){
clearInterval(timer);
that.toGuaduan();
that.title = that.formatFun(that.count);
return ;
}
}
}
that.count ++;
that.title = that.formatFun(that.count)
that.title = that.formatFun(that.count);
},1000)
setTimeout(()=>{
this.toTuiliu()
},100)
}
},
//检查次数
async userBalance() {
const { code, data } = await this.$api.userBalance({
userId: uni.getStorageSync("userInfo").id
})
if(code == 200){
this.balanceInfo = data
}
},
//结算 type:1.语音 2.视频 3.文字 4图片 5礼物6搭讪
async socialConsumption(type) {
await this.$api.socialConsumption({
userId: uni.getStorageSync("userInfo").id,
sellerId: this.id,
type: this.type,
duration: this.count+1
})
this.userBalance();
},
formatFun(num){
let str = "",h,m,s;
@ -393,11 +467,85 @@
z-index: 12;
}
}
&-hd{
&-bd{
position: relative;
.pic{
width: 100%;
height: 100%;
display: block;
}
.dian-on{
width: 648rpx;
min-height: 648rpx;
position: absolute;
left: 50%;
margin-left: -324rpx;
top: 250rpx;
z-index: 1;
.tag{
width: 660rpx;
height: 330rpx;
background: rgba(35, 32, 48, 0.36);
border-radius: 20rpx;
margin: 0 auto;
padding: 30rpx;
box-sizing: border-box;
text-align: left;
margin-top: 30rpx;
.titles{
font-weight: bold;
font-size: 30rpx;
color: #FFFFFF;
}
.descs{
line-height: 45rpx;
font-weight: 400;
font-size: 24rpx;
color: #B8B7BC;
margin-top: 20rpx;
}
}
.info{
text-align: center;
overflow: hidden;
.avatar{
width: 180rpx;
height: 180rpx;
border-radius: 50%;
display: block;
margin: 0 auto;
}
.name{
font-weight: 500;
font-size: 28rpx;
color: #FFFFFF;
margin-top: 10rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
overflow: hidden;
text-align: center;
margin-top: 10rpx;
}
.btn{
width: 170rpx;
line-height: 56rpx;
background: linear-gradient(0deg, #FF9124, #BD4700);
border-radius: 56rpx;
font-weight: bold;
font-size: 30rpx;
color: #FFFFFF;
margin: 0 auto;
margin-top: 20rpx;
}
.txt{
font-weight: 500;
font-size: 26rpx;
color: #FFFFFF;
margin-top: 20rpx;
opacity: 0.3;
}
}
}
}
&-fd{

@ -163,7 +163,7 @@
async userSpeedDating() {
const { code, data, msg } = await this.$api.userSpeedDating({
userId: uni.getStorageSync("userInfo").id,
type: 1,
type: 2,
lat: uni.getStorageSync("jingweiInfo").latitude,
lon: uni.getStorageSync("jingweiInfo").longitude,
city: uni.getStorageSync("jingweiInfo").new_city?uni.getStorageSync("jingweiInfo").new_city:uni.getStorageSync("jingweiInfo").city,

@ -4,14 +4,14 @@
<u-navbar :title="title" back-icon-color="#ffffff" title-color="#ffffff" :background="background"></u-navbar>
</view>
<view class="tongcheng-content">
<view class="title" v-if="isSucess == false">正在寻找新朋友...</view>
<view class="desc" v-if="isSucess == false">当前用户过多请耐心等待</view>
<view class="desc1" v-else>{{isJieshou?'匹配成功马上开始这段缘分吧':'你有一条新的缘分'}}</view>
<view class="dian" v-if="isSucess == false">
<view class="title" v-if="isSucess == 1">正在寻找新朋友...</view>
<view class="desc" v-if="isSucess == 1">当前用户过多请耐心等待</view>
<view class="desc1" v-else>{{isSucess == 1?'你有一条新的缘分':'匹配成功马上开始这段缘分吧'}}</view>
<view class="dian" v-if="isSucess == 1">
<view class="user">
<view class="item">
<image class="avatar" src="@/static/nv.png"></image>
<view class="txt">空白空白1</view>
<image class="avatar" :src="userInfo.faceImage?userInfo.faceImage:userInfo.img"></image>
<view class="txt">{{userInfo.nickname}}</view>
</view>
<view class="items">
<image src="@/static/yuyin-xin2.png"></image>
@ -19,77 +19,173 @@
<view class="item">
<view class="pic">
<image class="avatar1" src="@/static/nan.png"></image>
<image class="avatar2" src="@/static/nan.png"></image>
<image class="avatar2" src="@/static/nv.png"></image>
</view>
</view>
</view>
</view>
<view class="dian-on" v-else>
<view class="dian-on" v-if="isSucess == 2">
<view class="info">
<image src="@/static/nan.png"></image>
<view class="name">张美丽</view>
<view class="btn" v-if="isJieshou">+关注</view>
<view class="txt">27/165cm</view>
<image :src="info.faceImage?info.faceImage:info.img"></image>
<view class="name">{{info.nickname}}</view>
<view class="txt">{{info.age}}/{{info.height}}</view>
</view>
<view class="tag" v-if="isSucess == true">
<view class="tag">
<view class="titles">个性签名</view>
<view class="descs">
<text>们都会走上一条叫做青春的路反复并疼痛地成长着\n曾经的旧时光感动过你我\n在黎明来临的时刻我选择了将你遗忘\n思绪的风引起一阵阵叹息成了来自我心的绝唱\n用一季的花开季节见证你我的生命轮回</text>
<text>{{info.declaration}}</text>
</view>
</view>
</view>
</view>
<view class="tongcheng-end" v-if="isSucess == false">
<view class="tongcheng-end" v-if="isSucess == 1">
<view class="send">茫茫人海今天和你相遇</view>
<view class="todo">
<view class="todo" @click="toBack()">
<image src="@/static/yuyin-cha.png"></image>
</view>
</view>
<template v-else>
<view class="tongcheng-start" v-if="isJieshou">
<view class="item" @click="toggleMenu(1)">
<image src="@/static/yuyin-01.png" v-if="isMakefeng"></image><image v-else src="@/static/yuyin-01-on.png"></image>麦克风{{isMakefeng?'开启':'已关'}}
</view>
<view class="item" @click="toggleMenu(4)">
<image src="@/static/yuyin-02.png"></image>挂断
</view>
<view class="item" @click="toggleMenu(2)">
<image src="@/static/yuyin-03.png" v-if="isYangshengqi"></image><image v-else src="@/static/yuyin-03-on.png"></image>扬声器{{isYangshengqi?'开启':'已关'}}
</view>
<!-- <view class="tongcheng-start"> -->
<!-- <view class="item" @click="toggleMenu(1)">
<image src="@/static/yuyin-01.png" v-if="isMakefeng"></image><image v-else src="@/static/yuyin-01-on.png"></image>麦克风{{isMakefeng?'开启':'已关'}}
</view>
<view class="tongcheng-start" v-else>
<view class="item" @click="toggleMenu(3)">
<image src="@/static/yuyin-02.png"></image>挂断
</view>
<view class="item" @click="toggleMenu(3)">
<image src="@/static/yuyin-05.png"></image>接受
</view>
<view class="item" @click="toggleMenu(2)">
<image src="@/static/yuyin-03.png" v-if="isYangshengqi"></image><image v-else src="@/static/yuyin-03-on.png"></image>扬声器{{isYangshengqi?'开启':'已关'}}
</view>
<view class="item" @click="toggleMenu(6)">
<image src="@/static/yuyin-04.png" v-if="isShexiangtou"></image><image v-else src="@/static/yuyin-04-on.png"></image>摄像头{{isShexiangtou?'开启':'已关'}}
</view> -->
<!-- <view class="item"></view> -->
<!-- <view class="items">
<image @click="toggleMenu(4)" src="@/static/yuyin-02.png"></image>
<image @click="toggleMenu(5)" class="off" src="@/static/yuyin-off.png"></image>
</view> -->
<!-- <view class="item"></view> -->
<!-- </view> -->
<view class="tongcheng-start" v-if="isSucess == 2">
<view class="item" @click="toPage(1)">
<image src="@/static/yuyin-02.png"></image>换一个
</view>
</template>
<view class="item">
<image src="@/static/yuyin-05.png"></image>{{isSucess == 2?'等待中':'立即进入'}}
</view>
</view>
<!-- <view class="tongcheng-video">
<view class="other"></view>
<view class="content"></view>
</view> -->
</view>
</template>
<script>
let timer = null;
export default {
data() {
return {
isJieshou: true,
info: {},
count: 10,
userInfo: {},
isJieshou: false,
title: "语音速配",
isMakefeng: false,
isYangshengqi: false,
isSucess: false,
isShexiangtou: true,
isMakefeng: true,
isYangshengqi: true,
isSucess: 1,
background: {
//
background: 'url(@/static/yuyin-bg.png) center top no-repeat',
background: 'url(https://api.lyiyuan.cn/profile/upload/static/yuyin-bg.png) center top no-repeat',
// size
backgroundSize: '100 auto',
},
};
},
onLoad() {
this.userInfo = uni.getStorageSync("userInfo");
this.count = Math.floor(Math.random() * (10 - 1 + 1)) + 1;
this.toPage(1)
},
onReady() {
this.watchSocket();
},
methods: {
watchSocket() {
const that = this;
uni.onSocketMessage(function (res) {
const obj = res.data?JSON.parse(res.data):{}
console.log("watchSocket",obj)
if(obj.topic == 'message'){
if(obj.type>= 8){
if(uni.getStorageSync("userInfo").id == obj.sellerId){
if(obj.type == 10){
setTimeout(()=>{that.toPage(2,obj.userId)},500)
}else if(obj.type == 11){
that.isSucess = 1
that.toPage(1);
}
}
}
}
});
},
toBack() {
clearInterval(timer);
uni.navigateBack({
delta: 1
})
},
toPage(index,id){
const that = this;
if(index == 1){
that.isSucess = 1;
clearInterval(timer);
timer = setInterval(()=>{
if(that.count == 0){
clearInterval(timer);
that.count = Math.floor(Math.random() * (10 - 1 + 1)) + 1;
that.userSpeedDating();
}else{
that.count --
}
},1000)
}else if(index == 2){
this.toChat(id);
}else if(index == 3){
that.isSucess = 1;
that.count = Math.floor(Math.random() * (10 - 1 + 1)) + 1;
}
},
//
async toChat(id) {
console.log("toChat",uni.getStorageSync("userInfo").id , id)
uni.redirectTo({
url: "/pages/pipei/shipin/detail?type=1&id="+id
})
},
async userSpeedDating() {
const { code, data, msg } = await this.$api.userSpeedDating({
userId: uni.getStorageSync("userInfo").id,
type: 1,
lat: uni.getStorageSync("jingweiInfo").latitude,
lon: uni.getStorageSync("jingweiInfo").longitude,
city: uni.getStorageSync("jingweiInfo").new_city?uni.getStorageSync("jingweiInfo").new_city:uni.getStorageSync("jingweiInfo").city,
})
if(code == 200){
this.isSucess = 2;
this.info = data
uni.sendSocketMessage({data:JSON.stringify({
"userId": uni.getStorageSync("userInfo").id,
sellerId: data.id,
type: 9,
"topic":"message"
})})
}else{
this.isSucess = 1;
uni.showToast({
title: msg,
position: "bottom",
icon: "none",
})
}
},
toggleMenu(index){
if(index == 1){
this.isMakefeng = !this.isMakefeng
@ -97,11 +193,13 @@
this.isYangshengqi = !this.isYangshengqi
}else if(index == 3){
this.isJieshou = !this.isJieshou
this.title = (this.isJieshou == false?"语音速配":'00:60')
this.title = (this.isJieshou == false?"视频速配":'00:59')
}else if(index == 4){
uni.navigateBack({
delta: 1
})
}else if(index == 6){
this.isShexiangtou = !this.isShexiangtou
}
},
}
@ -110,10 +208,29 @@
<style scoped lang="scss">
.tongcheng{
background: #0d0b15 url(@/static/yuyin-bg.png) center top no-repeat;
background: #0d0b15 url(https://api.lyiyuan.cn/profile/upload/static/yuyin-bg.png) center top no-repeat;
background-size: 100% auto;
overflow: hidden;
min-height: 100vh;
&-video{
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 20;
background-color: #000;
.other{
width: 280rpx;
height: 340rpx;
position: absolute;
right: 25rpx;
top: 200rpx;
z-index: 2;
background: #FFFFFF;
border-radius: 20rpx;
}
}
&-content{
text-align: center;
.title{
@ -289,10 +406,10 @@
z-index: 21;
display: flex;
align-items: center;
justify-content: space-between;
justify-content: center;
flex-wrap: wrap;
.item{
flex: 1;
text-align: center;
width: 33.3%;
font-weight: 500;
font-size: 24rpx;
color: rgba(255, 255, 255, 0.4);
@ -305,6 +422,30 @@
border-radius: 50%;
margin-bottom: 20rpx;
}
font-size: 30rpx;
color: #FFFFFF;
}
.items{
width: 33.3%;
display: flex;
margin-top: 70rpx;
position: relative;
image{
width: 130rpx;
height: 130rpx;
display: block;
margin: 0 auto;
margin-bottom: 20rpx;
}
.off{
width: 49rpx;
height: 44rpx;
position: absolute;
left: 260rpx;
top: 50%;
margin-top: -28rpx;
z-index: 2;
}
}
}
&-end{

@ -22,7 +22,7 @@
<view class="status" v-if="userInfo.acceptStatus == 2"><text></text>忙碌中</view>
<view class="status" v-if="userInfo.acceptStatus == 0"><text></text>空闲中</view>
</view>
<view class="id">ID:{{userInfo.id}}</view>
<view class="id">ID:{{userInfo.invitationCode}}</view>
</view>
<view class="sign" @click="openPage(3)" v-if="userInfo.isSign == 0">签到</view>
<view class="sign" v-if="userInfo.isSign == 1">已签到</view>
@ -65,19 +65,19 @@
</view>
<view class="content" >
<view class="item" @click="openPage(11,1)">
<image src="@/static/icon-order-01.png"></image>待支付<view class="num" v-if="userInfo.mePayNum">{{userInfo.mePayNum<=99?userInfo.mePayNum:"+99"}}</view>
<image src="@/static/icon-order-01.png"></image>待支付<view class="num" v-if="userInfo.mePayNum>0">{{userInfo.mePayNum<=99?userInfo.mePayNum:"+99"}}</view>
</view>
<view class="item" @click="openPage(11,2)">
<image src="@/static/icon-order-02.png"></image>待接单<view class="num" v-if="userInfo.meAcceptNum">{{userInfo.meAcceptNum<=99?userInfo.meAcceptNum:"+99"}}</view>
<image src="@/static/icon-order-02.png"></image>待接单<view class="num" v-if="userInfo.meAcceptNum>0">{{userInfo.meAcceptNum<=99?userInfo.meAcceptNum:"+99"}}</view>
</view>
<view class="item" @click="openPage(11,3)">
<image src="@/static/icon-order-03.png"></image>已接单<view class="num" v-if="userInfo.meAcceptingNum">{{userInfo.meAcceptingNum<=99?userInfo.meAcceptingNum:"+99"}}</view>
<image src="@/static/icon-order-03.png"></image>已接单<view class="num" v-if="userInfo.meAcceptingNum>0">{{userInfo.meAcceptingNum<=99?userInfo.meAcceptingNum:"+99"}}</view>
</view>
<view class="item" @click="openPage(11,4)">
<image src="@/static/icon-order-04.png"></image>服务中<view class="num" v-if="userInfo.meServiceNum">{{userInfo.meServiceNum<=99?userInfo.meFinishNum:"+99"}}</view>
<image src="@/static/icon-order-04.png"></image>服务中<view class="num" v-if="userInfo.meServiceNum>0">{{userInfo.meServiceNum<=99?userInfo.meServiceNum:"+99"}}</view>
</view>
<view class="item" @click="openPage(11,5)">
<image src="@/static/icon-order-05.png"></image>已完成<view class="num" v-if="userInfo.meFinishNum">{{userInfo.meFinishNum<=99?userInfo.meFinishNum:"+99"}}</view>
<image src="@/static/icon-order-05.png"></image>已完成<view class="num" v-if="userInfo.meFinishNum>0">{{userInfo.meFinishNum<=99?userInfo.meFinishNum:"+99"}}</view>
</view>
</view>
</view>
@ -91,16 +91,16 @@
</view>
<view class="content">
<view class="item" @click="openPage(12,1)">
<image src="@/static/icon-order-02.png"></image>待接单<view class="num" v-if="userInfo.sellerAcceptNum">{{userInfo.sellerAcceptNum<=99?userInfo.sellerAcceptNum:"+99"}}</view>
<image src="@/static/icon-order-02.png"></image>待接单<view class="num" v-if="userInfo.sellerAcceptNum>0">{{userInfo.sellerAcceptNum<=99?userInfo.sellerAcceptNum:"+99"}}</view>
</view>
<view class="item" @click="openPage(12,2)">
<image src="@/static/icon-order-03.png"></image>已接单<view class="num" v-if="userInfo.sellerAcceptingNum">{{userInfo.sellerAcceptingNum<=99?userInfo.sellerAcceptingNum:"+99"}}</view>
<image src="@/static/icon-order-03.png"></image>已接单<view class="num" v-if="userInfo.sellerAcceptingNum>0">{{userInfo.sellerAcceptingNum<=99?userInfo.sellerAcceptingNum:"+99"}}</view>
</view>
<view class="item" @click="openPage(12,3)">
<image src="@/static/icon-order-04.png"></image>服务中<view class="num" v-if="userInfo.sellerServiceNum">{{userInfo.sellerServiceNum<=99?userInfo.sellerServiceNum:"+99"}}</view>
<image src="@/static/icon-order-04.png"></image>服务中<view class="num" v-if="userInfo.sellerServiceNum>0">{{userInfo.sellerServiceNum<=99?userInfo.sellerServiceNum:"+99"}}</view>
</view>
<view class="item" @click="openPage(12,4)">
<image src="@/static/icon-order-05.png"></image>已完成<view class="num" v-if="userInfo.sellerFinishNum">{{userInfo.sellerFinishNum<=99?userInfo.sellerFinishNum:"+99"}}</view>
<image src="@/static/icon-order-05.png"></image>已完成<view class="num" v-if="userInfo.sellerFinishNum>0">{{userInfo.sellerFinishNum<=99?userInfo.sellerFinishNum:"+99"}}</view>
</view>
</view>
</view>

@ -128,7 +128,7 @@
</view>
</view>
<view class="task-fd" v-if="payInfo && payInfo.length >= 1">
<view class="btn" @click="toCreate()">立即支付{{list[tabIndex].presentPrice}}</view>
<view class="btn" @click="toCreate()" v-if="list && list.length > 0">立即支付{{list[tabIndex].presentPrice}}</view>
</view>
</view>
</template>

@ -691,7 +691,7 @@
if(code == 200){
uni.showActionSheet({
title: "语音/视频通话",
itemList: ["语音通话("+data.voiceCoins+"金币/分钟)","视频通话("+data.videoCoins+"金币/分钟)"],
itemList: ["语音通话("+data.voiceCoins+"金币/1分钟)","视频通话("+data.videoCoins+"金币/1分钟)"],
success(res){
if(res.tapIndex == 0){
if(that.userInfo.isBlack == 1){
@ -707,9 +707,9 @@
that.isCoins=true;
return ;
}
}
uni.navigateTo({
url: "/pages/pipwei/yuyin?id="+that.id
}
uni.redirectTo({
url: "/pages/pipei/shipin/detail?type=3&id="+that.id
})
}else if(res.tapIndex == 1){
if(that.userInfo.isBlack == 1){
@ -726,8 +726,8 @@
return ;
}
}
uni.navigateTo({
url: "/pages/pipei/shipin/?id="+that.id
uni.redirectTo({
url: "/pages/pipei/shipin/detail?type=4&id="+that.id
})
}
}

@ -148,7 +148,7 @@
})
},
//
toFuwu() {
toFuwu(a) {
const that = this;
uni.showModal({
title: "温馨提示",

@ -154,7 +154,7 @@
},
methods: {
//
toFuwu() {
toFuwu(a) {
const that = this;
uni.showModal({
title: "温馨提示",

@ -54,7 +54,8 @@
<script>
export default {
data() {
return {
return {
payInfo: {},
show: false,
payIndex: 0,
current: 0,

@ -57,7 +57,8 @@
obj: {}
}
},
onLoad() {
onReady() {
const that = this;
this.getList();
this.getConfigData();
this.getUserInfo();

@ -45,7 +45,7 @@
<u-tabs :list="list" bg-color="transparent" active-color="#222222" inactive-color="#666666" font-size="30" :active-item-style="activeStyle" bar-height="10" bar-width="60" v-model="current" @change="changeTabs"></u-tabs>
</view>
<view class="list">
<view class="item" v-for="(a,i) in info.recordList" :key="i">
<view class="item" v-for="(a,i) in recordList" :key="i">
<view class="a">
<view class="fl">{{a.title}}
<view class="status">审核中</view>
@ -104,7 +104,7 @@
})
that.page ++;
setTimeout(function() {
that.userWallet(1);
that.userRecordList(1);
}, 1000);
},
methods: {

@ -80,6 +80,21 @@
if(uni.getStorageSync("userInfo").realnameFlag == 0){
this.isPopup = true;
return ;
}
if(uni.getStorageSync("userInfo").memberflag == 0){
uni.showModal({
title: "温馨提示",
content: "开通会员才能搭讪?",
confirmColor: "#000000",
success(res){
if(res.confirm){
uni.navigateTo({
url: "/pages/users/center/index"
})
}
},
})
return ;
}
this.info.userid = id;
this.isDashan = true;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

@ -1,2 +1,2 @@
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>chunwan</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=./static/index.2da1efab.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=./static/js/chunk-vendors.ffa5d3f0.js></script><script src=./static/js/index.4f07dffe.js></script></body></html>
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=./static/index.2da1efab.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=./static/js/chunk-vendors.012a7058.js></script><script src=./static/js/index.c3de27e1.js></script></body></html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-peiwan-success"],{"24ab":function(n,t,e){"use strict";var a=e("66b16"),i=e.n(a);i.a},5420:function(n,t,e){"use strict";e.d(t,"b",(function(){return a})),e.d(t,"c",(function(){return i})),e.d(t,"a",(function(){}));var a=function(){var n=this.$createElement,t=this._self._c||n;return t("v-uni-view",{staticClass:"apply"},[t("v-uni-view",{staticClass:"content"},[t("v-uni-image",{attrs:{src:e("f964")}}),t("v-uni-view",{staticClass:"txt"},[t("v-uni-text",[this._v("恭喜您成为陪玩达人,\\n开始您的陪玩之旅!")])],1)],1)],1)},i=[]},6092:function(n,t,e){var a=e("c86c");t=a(!1),t.push([n.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-page-body[data-v-2e190486]{background-color:#fff}body.?%PAGE?%[data-v-2e190486]{background-color:#fff}.apply .content[data-v-2e190486]{width:%?368?%;margin:%?175?% auto}.apply .content uni-image[data-v-2e190486]{width:100%;height:%?285?%}.apply .content .txt[data-v-2e190486]{font-weight:500;font-size:%?32?%;color:#222;margin-top:%?40?%;text-align:center;line-height:%?45?%}',""]),n.exports=t},"66b16":function(n,t,e){var a=e("6092");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[n.i,a,""]]),a.locals&&(n.exports=a.locals);var i=e("967d").default;i("b88fb0b2",a,!0,{sourceMap:!1,shadowMode:!1})},a3e7:function(n,t,e){"use strict";e.r(t);var a=e("e43c"),i=e.n(a);for(var o in a)["default"].indexOf(o)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(o);t["default"]=i.a},e40b:function(n,t,e){"use strict";e.r(t);var a=e("5420"),i=e("a3e7");for(var o in i)["default"].indexOf(o)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(o);e("24ab");var c=e("828b"),u=Object(c["a"])(i["default"],a["b"],a["c"],!1,null,"2e190486",null,!1,a["a"],void 0);t["default"]=u.exports},e43c:function(n,t,e){"use strict";e("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={data:function(){return{}}}},f964:function(n,t,e){n.exports=e.p+"static/kong.png"}}]);

@ -1 +0,0 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-peiwan-success"],{"43ab":function(n,t,e){"use strict";var a=e("eea7"),r=e.n(a);r.a},a202:function(n,t,e){"use strict";e.d(t,"b",(function(){return a})),e.d(t,"c",(function(){return r})),e.d(t,"a",(function(){}));var a=function(){var n=this.$createElement,t=this._self._c||n;return t("v-uni-view",{staticClass:"apply"},[t("v-uni-view",{staticClass:"content"},[t("v-uni-image",{attrs:{src:e("f7ca")}}),t("v-uni-view",{staticClass:"txt"},[t("v-uni-text",[this._v("恭喜您成为陪玩达人,\\n开始您的陪玩之旅!")])],1)],1)],1)},r=[]},b898:function(n,t,e){var a=e("c86c");t=a(!1),t.push([n.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-page-body[data-v-2e190486]{background-color:#fff}body.?%PAGE?%[data-v-2e190486]{background-color:#fff}.apply .content[data-v-2e190486]{width:%?368?%;margin:%?175?% auto}.apply .content uni-image[data-v-2e190486]{width:100%;height:%?285?%}.apply .content .txt[data-v-2e190486]{font-weight:500;font-size:%?32?%;color:#222;margin-top:%?40?%;text-align:center;line-height:%?45?%}',""]),n.exports=t},bae3:function(n,t,e){"use strict";e.r(t);var a=e("a202"),r=e("cdc1");for(var i in r)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return r[n]}))}(i);e("43ab");var c=e("828b"),o=Object(c["a"])(r["default"],a["b"],a["c"],!1,null,"2e190486",null,!1,a["a"],void 0);t["default"]=o.exports},cdc1:function(n,t,e){"use strict";e.r(t);var a=e("dedd"),r=e.n(a);for(var i in a)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(i);t["default"]=r.a},dedd:function(n,t,e){"use strict";e("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={data:function(){return{}}}},eea7:function(n,t,e){var a=e("b898");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[n.i,a,""]]),a.locals&&(n.exports=a.locals);var r=e("967d").default;r("8eca997e",a,!0,{sourceMap:!1,shadowMode:!1})},f7ca:function(n,t,e){n.exports=e.p+"static/kong.png"}}]);

@ -1 +0,0 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-peiwan-xiangce"],{"4d26":function(n,t,e){"use strict";e.r(t);var r=e("663e"),i=e("d715");for(var a in i)["default"].indexOf(a)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(a);e("d733");var c=e("828b"),u=Object(c["a"])(i["default"],r["b"],r["c"],!1,null,"2b0595cc",null,!1,r["a"],void 0);t["default"]=u.exports},"55fc":function(n,t,e){var r=e("c86c");t=r(!1),t.push([n.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.xiangce[data-v-2b0595cc]{padding:0 %?25?% 0 %?5?%;overflow:hidden}.xiangce uni-image[data-v-2b0595cc]{width:%?220?%;height:%?220?%;border-radius:%?10?%;margin-left:%?20?%;margin-top:%?20?%}',""]),n.exports=t},"663e":function(n,t,e){"use strict";e.d(t,"b",(function(){return r})),e.d(t,"c",(function(){return i})),e.d(t,"a",(function(){}));var r=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("v-uni-view",{staticClass:"xiangce"},n._l(n.list,(function(t,r){return e("v-uni-image",{key:r,attrs:{src:t},on:{click:function(t){arguments[0]=t=n.$handleEvent(t),n.previewImage(r)}}})})),1)},i=[]},"88d7":function(n,t,e){"use strict";e("6a54");var r=e("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(e("2634")),a=r(e("2fdc")),c={data:function(){return{list:[]}},onLoad:function(n){this.id=n.id,this.getList()},methods:{getList:function(){var n=this;return(0,a.default)((0,i.default)().mark((function t(){var e,r,a;return(0,i.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,n.$api.myAlbums({userId:n.id});case 2:e=t.sent,r=e.code,a=e.data,e.msg,200==r&&(n.list=a.split(","));case 7:case"end":return t.stop()}}),t)})))()},previewImage:function(n){uni.previewImage({urls:this.list,count:n})}}};t.default=c},c1f3:function(n,t,e){var r=e("55fc");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[n.i,r,""]]),r.locals&&(n.exports=r.locals);var i=e("967d").default;i("327e0506",r,!0,{sourceMap:!1,shadowMode:!1})},d715:function(n,t,e){"use strict";e.r(t);var r=e("88d7"),i=e.n(r);for(var a in r)["default"].indexOf(a)<0&&function(n){e.d(t,n,(function(){return r[n]}))}(a);t["default"]=i.a},d733:function(n,t,e){"use strict";var r=e("c1f3"),i=e.n(r);i.a}}]);

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-peiwan-xiangce"],{"365a":function(n,t,e){"use strict";e.r(t);var i=e("9881"),a=e("9306");for(var r in a)["default"].indexOf(r)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(r);e("d0ef");var u=e("828b"),c=Object(u["a"])(a["default"],i["b"],i["c"],!1,null,"2b0595cc",null,!1,i["a"],void 0);t["default"]=c.exports},"55fe":function(n,t,e){var i=e("c86c");t=i(!1),t.push([n.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.xiangce[data-v-2b0595cc]{padding:0 %?25?% 0 %?5?%;overflow:hidden}.xiangce uni-image[data-v-2b0595cc]{width:%?220?%;height:%?220?%;border-radius:%?10?%;margin-left:%?20?%;margin-top:%?20?%}',""]),n.exports=t},"5b97":function(n,t,e){"use strict";e("6a54");var i=e("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(e("2634")),r=i(e("2fdc")),u={data:function(){return{list:[]}},onLoad:function(n){this.id=n.id,this.getList()},methods:{getList:function(){var n=this;return(0,r.default)((0,a.default)().mark((function t(){var e,i,r;return(0,a.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,n.$api.myAlbums({userId:n.id});case 2:e=t.sent,i=e.code,r=e.data,e.msg,200==i&&(n.list=r.split(","));case 7:case"end":return t.stop()}}),t)})))()},previewImage:function(n){uni.previewImage({urls:this.list,count:n})}}};t.default=u},"7f57":function(n,t,e){var i=e("55fe");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);var a=e("967d").default;a("251887bb",i,!0,{sourceMap:!1,shadowMode:!1})},9306:function(n,t,e){"use strict";e.r(t);var i=e("5b97"),a=e.n(i);for(var r in i)["default"].indexOf(r)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(r);t["default"]=a.a},9881:function(n,t,e){"use strict";e.d(t,"b",(function(){return i})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){}));var i=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("v-uni-view",{staticClass:"xiangce"},n._l(n.list,(function(t,i){return e("v-uni-image",{key:i,attrs:{src:t},on:{click:function(t){arguments[0]=t=n.$handleEvent(t),n.previewImage(i)}}})})),1)},a=[]},d0ef:function(n,t,e){"use strict";var i=e("7f57"),a=e.n(i);a.a}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save