多客开源系统,线下陪玩线下预约家政按摩到家app

陪玩app是一款新型的社交型软件,有了它以后,用户可以轻松享受陪玩游戏、陪聊天服务,还可以进行线下的吃饭、唱歌等陪玩,线上线下皆可陪玩;用于做家政平台等各种预约都可以。


部分代码

<script>
  import Vue from 'vue'
  import store from './store/index.js'
  import updateCustomBarInfo from './tuniao-ui/libs/function/updateCustomBarInfo.js'
  
  import {
  	webSocket,
  	pingInterval,
  	timeout
  } from './common/config.js'
  
	export default {
		onLaunch: function() {
			
		// #ifdef APP-PLUS	
			uni.onPushMessage((res)=>{
				console.log(res.data)
			})
			
			plus.push.addEventListener('click', function(msg) {	
		
		}, false);
		//监听接收透传消息事件  
		plus.push.addEventListener('receive', function(msg) {
	
	
	
		//处理点击消息的业务逻辑代码 
		if (msg.payload.content&&msg.payload.title=='tiezi'){
			uni.navigateTo({
				url:'/circlePages/details?id='+msg.payload.content
			})
					
		}
		if (msg.payload.content&&msg.payload.title=='chat'){
			this.navigateToFn({ url: '/minePages/chat/talk?toid='+msg.payload.content, checkLogin: true })
					
		}
	
	if (msg.payload.content&&msg.payload.title=='msg'){
		uni.navigateTo({
			url:'/homePages/about?type=msg&id='+msg.payload.content
		})
				
	}
	
	
			//处理透传消息的业务逻辑代码 
			// console.log("receive",msg)
			//plus.nativeUI.alert("recevice:" + JSON.stringify(msg))
		}, false); 
		// #endif			
			uni.getSystemInfo({
			  success: function(e) {
			    // #ifndef H5
			    // 获取手机系统版本
			    const system = e.system.toLowerCase()
			    const platform = e.platform.toLowerCase()
			    // 判断是否为ios设备
			    if (platform.indexOf('ios') != -1 && (system.indexOf('ios') != -1 || system.indexOf('macos') != -1)) {
			      Vue.prototype.SystemPlatform = 'apple'
			    } else if (platform.indexOf('android') != -1 && (system.indexOf('android') != -1)) {
			      Vue.prototype.SystemPlatform = 'android'
			    } else {
			      Vue.prototype.SystemPlatform = 'devtools'
			    }
			    // #endif
			  }
			})
      
      // 获取设备的状态栏信息和自定义顶栏信息
      // store.dispatch('updateCustomBarInfo')
      updateCustomBarInfo().then((res) => {
        store.commit('$tStore', {
          name: 'vuex_status_bar_height',
          value: res.statusBarHeight
        })
        store.commit('$tStore', {
          name: 'vuex_custom_bar_height',
          value: res.customBarHeight
        })
      })
			
			// #ifdef MP
			//更新检测
			if (wx.canIUse('getUpdateManager')) {
			  const updateManager = wx.getUpdateManager();
			  updateManager && updateManager.onCheckForUpdate((res) => {
			    if (res.hasUpdate) {
			      updateManager.onUpdateReady(() => {
			        uni.showModal({
			          title: '更新提示',
			          content: '新版本已经准备就绪,是否需要重新启动应用?',
			          success: (res) => {
			            if (res.confirm) {
			              uni.clearStorageSync() // 更新完成后刷新storage的数据
			              updateManager.applyUpdate()
			            }
			          }
			        })
			      })
			
			      updateManager.onUpdateFailed(() => {
			        uni.showModal({
			          title: '已有新版本上线',
			          content: '小程序自动更新失败,请删除该小程序后重新搜索打开哟~~~',
                showCancel: false
			        })
			      })
			    } else {
			      //没有更新
			    }
			  })
			} else {
			  uni.showModal({
			    title: '提示',
			    content: '当前微信版本过低,无法使用该功能,请更新到最新的微信后再重试。',
          showCancel: false
			  })
			}

游戏陪玩APP源码开发的常见功能:

语音聊天:以简洁的语音聊天方式,串联起整个平台用户的社交需求。用户可以进行语音试听,结合自己喜好,选择是否进行付费语音聊天。

游戏陪练:陪玩APP系统最具潜力的功能,没有之一。通过选择英雄联盟、绝地求生、王者荣耀等热门游戏,按条件查找匹配相应的陪玩对象,选择陪玩对象,然后下单语音连麦,即可一起组队开黑,无限畅玩。

广场社区:这里是一个开放的话题广场,所有人都可以在广场发布自己的陪玩内容需求,同时可以在动态下面进行评论、点赞,或者直接发起语音聊天请求。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值