|
@@ -13,6 +13,9 @@
|
|
|
<!-- 悬浮按钮 -->
|
|
|
<FloatBtn :width="pageData.width" :height="pageData.height" @onClick="levitatedSphereVisible = true"/>
|
|
|
|
|
|
+ <!-- 左侧popup -->
|
|
|
+ <LeftMenuPopup ref="leftMenuPopupRef" :engine="engine" :userCardId="this.parametersData.userCardId" :levitatedSphereVisible.sync="levitatedSphereVisible" @shearplate="shearplate" @exit="exit"/>
|
|
|
+
|
|
|
<!-- 右侧popup -->
|
|
|
<RightPopup ref="rightPopupRef" :engine="engine" :userCardId="this.parametersData.userCardId" :levitatedSphereVisible.sync="levitatedSphereVisible" @shearplate="shearplate" @exit="exit"/>
|
|
|
|
|
@@ -38,6 +41,7 @@ import * as uni from '../../static/static/js/uni.webview.1.5.2.js';
|
|
|
|
|
|
import FloatBtn from './components/FloatBtn.vue';
|
|
|
import RightPopup from './components/RightPopup.vue';
|
|
|
+import LeftMenuPopup from './components/LeftMenuPopup.vue';
|
|
|
import InputCopy from './components/InputCopy.vue';
|
|
|
import CloudPhoneClipboard from './components/CloudPhoneClipboard.vue';
|
|
|
import TimeoutNoOps from './components/TimeoutNoOps.vue';
|
|
@@ -83,6 +87,7 @@ export default {
|
|
|
CloudPhoneClipboard,
|
|
|
TimeoutNoOps,
|
|
|
TimeBalance,
|
|
|
+ LeftMenuPopup,
|
|
|
},
|
|
|
head() {
|
|
|
return {
|
|
@@ -130,7 +135,28 @@ export default {
|
|
|
typeof RTCSessionDescription !== 'undefined'
|
|
|
),
|
|
|
// url 问号后的参数
|
|
|
- parametersData: {},
|
|
|
+ parametersData: {
|
|
|
+ /**
|
|
|
+ * @description: 传递的参数
|
|
|
+ * @param {String} record 数据id
|
|
|
+ * @param {Number} userCardId 云机的id
|
|
|
+ * @param {String} mealType 云机套餐类型 eg: VIP、STARBALL...
|
|
|
+ * @param {Number} sourceType 云机来源: 0:购买 1试用 2:免费激活码 3:免费活动抽奖 4:ar app注册 5:9.9元套餐年卡 ',
|
|
|
+ * @param {Number} userCardType 云机的类型 0 普通套餐 1、2、3:年卡、普通计时、自动续费普通计时
|
|
|
+ * @param {Number} validTime 卡的有效期
|
|
|
+ * @param {String} rm 卡所在的机房
|
|
|
+ * @param {Number} isShowCountdown 是否显示倒计时 0:否 1:是
|
|
|
+ * @param {Number} isShowRule 是否显示规则 0:否 1:是
|
|
|
+ * @param {Number} timingStatus 卡的计时状态 0:停止计时 1:开始计时 2:待确认开始计时"
|
|
|
+ * @param {String} isFirstConnect 是否是首次连接
|
|
|
+ * @param {Number} authPhone 0自身购买的云手机 1获取得到的云手机
|
|
|
+ * @param {String} username 用户名
|
|
|
+ * @param {String} token token
|
|
|
+ * @param {Number} isTips 是否显示提示 0:否 1:是
|
|
|
+ * @param {Number} isWeixin 是否是微信小程序环境 0:否 1:是
|
|
|
+ * @param {String} merchantSign 商户标识
|
|
|
+ */
|
|
|
+ },
|
|
|
// 卡的连接信息
|
|
|
connectData: {},
|
|
|
// 云手机引擎 播放器实例
|