|
@@ -2,57 +2,120 @@
|
|
<div class="main_right_height">
|
|
<div class="main_right_height">
|
|
<TopDes :flag="true" topDesFont="生物反馈记录"></TopDes>
|
|
<TopDes :flag="true" topDesFont="生物反馈记录"></TopDes>
|
|
|
|
|
|
- <div class='main_sp'>
|
|
|
|
- <div style="flex:1"></div>
|
|
|
|
|
|
+ <div class="main_sp">
|
|
|
|
+ <div style="flex: 1"></div>
|
|
<div class="main_second">
|
|
<div class="main_second">
|
|
-
|
|
|
|
<div class="select_class_animation">
|
|
<div class="select_class_animation">
|
|
<span class="desSty">选择设备</span>
|
|
<span class="desSty">选择设备</span>
|
|
- <el-select v-model="equipment" placeholder="请选择" class="selectSty" size="mini" @change="equipmentFun">
|
|
|
|
- <el-option class="select_option" v-for="item in optionsEquipment" :key="item.value" :label="item.label"
|
|
|
|
- :value="item.value">
|
|
|
|
|
|
+ <el-select
|
|
|
|
+ v-model="equipment"
|
|
|
|
+ placeholder="请选择"
|
|
|
|
+ class="selectSty"
|
|
|
|
+ size="mini"
|
|
|
|
+ @change="equipmentFun"
|
|
|
|
+ >
|
|
|
|
+ <el-option
|
|
|
|
+ class="select_option"
|
|
|
|
+ v-for="item in optionsEquipment"
|
|
|
|
+ :key="item.value"
|
|
|
|
+ :label="item.label"
|
|
|
|
+ :value="item.value"
|
|
|
|
+ >
|
|
</el-option>
|
|
</el-option>
|
|
</el-select>
|
|
</el-select>
|
|
|
|
|
|
<span class="desSty">游戏难度</span>
|
|
<span class="desSty">游戏难度</span>
|
|
- <el-select v-model="gameDifficulty" placeholder="请选择" class="selectSty" size="mini" @change="gameDiffFun">
|
|
|
|
- <el-option v-for="item in difficultyOptions" :key="item.value" :label="item.label" :value="item.value">
|
|
|
|
|
|
+ <el-select
|
|
|
|
+ v-model="gameDifficulty"
|
|
|
|
+ placeholder="请选择"
|
|
|
|
+ class="selectSty"
|
|
|
|
+ size="mini"
|
|
|
|
+ @change="gameDiffFun"
|
|
|
|
+ >
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="item in difficultyOptions"
|
|
|
|
+ :key="item.value"
|
|
|
|
+ :label="item.label"
|
|
|
|
+ :value="item.value"
|
|
|
|
+ >
|
|
</el-option>
|
|
</el-option>
|
|
</el-select>
|
|
</el-select>
|
|
|
|
|
|
<span class="desSty">游戏时间</span>
|
|
<span class="desSty">游戏时间</span>
|
|
- <el-select v-model="gameTime" placeholder="请选择" class="selectSty" size="mini" @change="gameTimeFun">
|
|
|
|
- <el-option v-for="item in timeOptions" :key="item.value" :label="item.label" :value="item.value">
|
|
|
|
|
|
+ <el-select
|
|
|
|
+ v-model="gameTime"
|
|
|
|
+ placeholder="请选择"
|
|
|
|
+ class="selectSty"
|
|
|
|
+ size="mini"
|
|
|
|
+ @change="gameTimeFun"
|
|
|
|
+ >
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="item in timeOptions"
|
|
|
|
+ :key="item.value"
|
|
|
|
+ :label="item.label"
|
|
|
|
+ :value="item.value"
|
|
|
|
+ >
|
|
</el-option>
|
|
</el-option>
|
|
</el-select>
|
|
</el-select>
|
|
|
|
|
|
|
|
|
|
- <span style="font-size: 12px" v-show="equipment == '2' && pulseTimeNum < 180 && pulseTimeNum > 0">还剩{{
|
|
|
|
- timeShow }}开始</span>
|
|
|
|
- <span style="font-size: 12px" v-show="buttonFlag == '结束' && gameTimeTimerFlag">{{ timeShow }}</span>
|
|
|
|
|
|
+ <span
|
|
|
|
+ style="font-size: 12px"
|
|
|
|
+ v-show="equipment == '2' && pulseTimeNum < 180 && pulseTimeNum > 0"
|
|
|
|
+ >还剩{{ timeShow }}开始</span
|
|
|
|
+ >
|
|
|
|
+ <span
|
|
|
|
+ style="font-size: 12px"
|
|
|
|
+ v-show="buttonFlag == '结束' && gameTimeTimerFlag"
|
|
|
|
+ >{{ timeShow }}</span
|
|
|
|
+ >
|
|
<div class="animation-middle-m"> </div>
|
|
<div class="animation-middle-m"> </div>
|
|
- <el-button @click="startTest" size="small" class="xl_animation_button"
|
|
|
|
- style="float: right; font-size: 12px">{{ buttonFlag }}</el-button>
|
|
|
|
|
|
+ <el-button
|
|
|
|
+ @click="startTest"
|
|
|
|
+ size="small"
|
|
|
|
+ class="xl_animation_button"
|
|
|
|
+ style="float: right; font-size: 12px"
|
|
|
|
+ >{{ buttonFlag }}</el-button
|
|
|
|
+ >
|
|
</div>
|
|
</div>
|
|
<div class="select_class_animation" style="margin-top: 10px">
|
|
<div class="select_class_animation" style="margin-top: 10px">
|
|
<div class="equipment_status">
|
|
<div class="equipment_status">
|
|
<div class="desSty">用户编号:</div>
|
|
<div class="desSty">用户编号:</div>
|
|
- <div class="desSty user_num" v-show="userLink.num != ''">{{ userLink.num }}</div>
|
|
|
|
|
|
+ <div class="desSty user_num" v-show="userLink.num != ''">
|
|
|
|
+ {{ userLink.num }}
|
|
|
|
+ </div>
|
|
<!-- <div class="desSty user_num" v-show="true">{{ '111111111111111111111111' }}</div> -->
|
|
<!-- <div class="desSty user_num" v-show="true">{{ '111111111111111111111111' }}</div> -->
|
|
|
|
|
|
<!-- <span class="desSty" v-show="userLink.linkStatus"
|
|
<!-- <span class="desSty" v-show="userLink.linkStatus"
|
|
:style="{ color: userLink.linkStatus ? '#0FB577' : '#000000' }">设备已连接:</span>
|
|
:style="{ color: userLink.linkStatus ? '#0FB577' : '#000000' }">设备已连接:</span>
|
|
<span class="desSty" v-show="!userLink.linkStatus">设备未连接:</span> -->
|
|
<span class="desSty" v-show="!userLink.linkStatus">设备未连接:</span> -->
|
|
- <img v-show="!userLink.linkStatus" @click="openTableFun(1)"
|
|
|
|
- style="width: 70px; height: 24px; color: #ffffff" src="../assets/newAnimation/lanya1.png" />
|
|
|
|
- <img v-show="userLink.linkStatus" @click="openTableFun(1)" style="width: 70px; height: 24px; color: #ffffff"
|
|
|
|
- src="../assets/newAnimation/lanyaActive1.png" />
|
|
|
|
|
|
+ <img
|
|
|
|
+ v-show="!userLink.linkStatus"
|
|
|
|
+ @click="openTableFun(1)"
|
|
|
|
+ style="width: 70px; height: 24px; color: #ffffff"
|
|
|
|
+ src="../assets/newAnimation/lanya1.png"
|
|
|
|
+ />
|
|
|
|
+ <img
|
|
|
|
+ v-show="userLink.linkStatus"
|
|
|
|
+ @click="openTableFun(1)"
|
|
|
|
+ style="width: 70px; height: 24px; color: #ffffff"
|
|
|
|
+ src="../assets/newAnimation/lanyaActive1.png"
|
|
|
|
+ />
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <i class="el-icon-search" @click="viewEchartsFun(1)" style="margin-left:2px;font-size: 12px;"
|
|
|
|
- :style="{ color: linkStatus ? '#1FD18E' : '#1FD18E' }"></i>
|
|
|
|
- <span class="desSty" @click="viewEchartsFun(1)"
|
|
|
|
- :style="{ color: userLink.linkStatus ? '#1FD18E' : '#1FD18E' }">查看波形图</span>
|
|
|
|
|
|
+ <i
|
|
|
|
+ class="el-icon-search"
|
|
|
|
+ @click="viewEchartsFun(1)"
|
|
|
|
+ style="margin-left: 2px; font-size: 12px"
|
|
|
|
+ :style="{ color: linkStatus ? '#1FD18E' : '#1FD18E' }"
|
|
|
|
+ ></i
|
|
|
|
+ >
|
|
|
|
+ <span
|
|
|
|
+ class="desSty"
|
|
|
|
+ @click="viewEchartsFun(1)"
|
|
|
|
+ :style="{ color: userLink.linkStatus ? '#1FD18E' : '#1FD18E' }"
|
|
|
|
+ >查看波形图</span
|
|
|
|
+ >
|
|
|
|
|
|
<div class="equipment_status">
|
|
<div class="equipment_status">
|
|
<div class="desSty">用户编号:</div>
|
|
<div class="desSty">用户编号:</div>
|
|
@@ -61,38 +124,80 @@
|
|
<!-- <span class="desSty" v-show="userTwoLink.linkStatus"
|
|
<!-- <span class="desSty" v-show="userTwoLink.linkStatus"
|
|
:style="{ color: userTwoLink.linkStatus ? '#0FB577' : '#000000' }">设备已连接:</span>
|
|
:style="{ color: userTwoLink.linkStatus ? '#0FB577' : '#000000' }">设备已连接:</span>
|
|
<span class="desSty" v-show="!userTwoLink.linkStatus">设备未连接:</span> -->
|
|
<span class="desSty" v-show="!userTwoLink.linkStatus">设备未连接:</span> -->
|
|
- <img v-show="!userTwoLink.linkStatus" @click="openTableFun(2)"
|
|
|
|
- style="width: 70px; height: 24px; color: #ffffff" src="../assets/newAnimation/lanya1.png" />
|
|
|
|
- <img v-show="userTwoLink.linkStatus" @click="openTableFun(2)"
|
|
|
|
- style="width: 70px; height: 24px; color: #ffffff" src="../assets/newAnimation/lanyaActive1.png" />
|
|
|
|
|
|
+ <img
|
|
|
|
+ v-show="!userTwoLink.linkStatus"
|
|
|
|
+ @click="openTableFun(2)"
|
|
|
|
+ style="width: 70px; height: 24px; color: #ffffff"
|
|
|
|
+ src="../assets/newAnimation/lanya1.png"
|
|
|
|
+ />
|
|
|
|
+ <img
|
|
|
|
+ v-show="userTwoLink.linkStatus"
|
|
|
|
+ @click="openTableFun(2)"
|
|
|
|
+ style="width: 70px; height: 24px; color: #ffffff"
|
|
|
|
+ src="../assets/newAnimation/lanyaActive1.png"
|
|
|
|
+ />
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <i class="el-icon-search" @click="viewEchartsFun(1)" style="margin-left:2px;font-size: 12px;"
|
|
|
|
- :style="{ color: linkStatus ? '#1FD18E' : '#1FD18E' }"></i>
|
|
|
|
- <span class="desSty" @click="viewEchartsFun(2)"
|
|
|
|
- :style="{ color: userTwoLink.linkStatus ? '#1FD18E' : '#1FD18E' }">查看波形图</span>
|
|
|
|
|
|
+ <i
|
|
|
|
+ class="el-icon-search"
|
|
|
|
+ @click="viewEchartsFun(1)"
|
|
|
|
+ style="margin-left: 2px; font-size: 12px"
|
|
|
|
+ :style="{ color: linkStatus ? '#1FD18E' : '#1FD18E' }"
|
|
|
|
+ ></i
|
|
|
|
+ >
|
|
|
|
+ <span
|
|
|
|
+ class="desSty"
|
|
|
|
+ @click="viewEchartsFun(2)"
|
|
|
|
+ :style="{ color: userTwoLink.linkStatus ? '#1FD18E' : '#1FD18E' }"
|
|
|
|
+ >查看波形图</span
|
|
|
|
+ >
|
|
</div>
|
|
</div>
|
|
|
|
|
|
-
|
|
|
|
<div class="flood-plan-page" ref="animationFlow">
|
|
<div class="flood-plan-page" ref="animationFlow">
|
|
- <iframe scrolling="no" :src="urlThreeP" ref="unityIframe" frameborder="0" :width="widthIframe"
|
|
|
|
- :height="heightIframe">
|
|
|
|
|
|
+ <iframe
|
|
|
|
+ scrolling="no"
|
|
|
|
+ :src="urlThreeP"
|
|
|
|
+ v-if="visibleFlag"
|
|
|
|
+ ref="unityIframe"
|
|
|
|
+ frameborder="0"
|
|
|
|
+ :width="widthIframe"
|
|
|
|
+ :height="heightIframe"
|
|
|
|
+ >
|
|
</iframe>
|
|
</iframe>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
</div>
|
|
</div>
|
|
- <div style="flex:1"></div>
|
|
|
|
|
|
+ <div style="flex: 1"></div>
|
|
</div>
|
|
</div>
|
|
- <el-dialog title="提示" :visible.sync="tableVisible" width="60%" center :before-close="closeScan">
|
|
|
|
|
|
+ <el-dialog
|
|
|
|
+ title="提示"
|
|
|
|
+ :visible.sync="tableVisible"
|
|
|
|
+ width="60%"
|
|
|
|
+ center
|
|
|
|
+ :before-close="closeScan"
|
|
|
|
+ >
|
|
<span>
|
|
<span>
|
|
- <el-table :data="mergeData" style="width: 100%; max-height: 400px; overflow-y: auto" :header-cell-style="{
|
|
|
|
- background: '#66B497',
|
|
|
|
- color: '#FFFFFF',
|
|
|
|
- 'letter-spacing': '4px',
|
|
|
|
- }">
|
|
|
|
- <el-table-column prop="rssi" align="center" label="信号强度" :formatter="rssiFormatter">
|
|
|
|
|
|
+ <el-table
|
|
|
|
+ :data="mergeData"
|
|
|
|
+ style="width: 100%; max-height: 400px; overflow-y: auto"
|
|
|
|
+ :header-cell-style="{
|
|
|
|
+ background: '#66B497',
|
|
|
|
+ color: '#FFFFFF',
|
|
|
|
+ 'letter-spacing': '4px',
|
|
|
|
+ }"
|
|
|
|
+ >
|
|
|
|
+ <el-table-column
|
|
|
|
+ prop="rssi"
|
|
|
|
+ align="center"
|
|
|
|
+ label="信号强度"
|
|
|
|
+ :formatter="rssiFormatter"
|
|
|
|
+ >
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column prop="deviceType" align="center" label="类型" :formatter="typeFormatter">
|
|
|
|
|
|
+ <el-table-column
|
|
|
|
+ prop="deviceType"
|
|
|
|
+ align="center"
|
|
|
|
+ label="类型"
|
|
|
|
+ :formatter="typeFormatter"
|
|
|
|
+ >
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column prop="userNum" align="center" label="已绑用户">
|
|
<el-table-column prop="userNum" align="center" label="已绑用户">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -100,9 +205,16 @@
|
|
|
|
|
|
<el-table-column label="操作" align="center">
|
|
<el-table-column label="操作" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-button :disabled="buttonLinkFlag" class="xl_d_button" size="mini" slot="reference"
|
|
|
|
- @click="linkJudge(scope.row, scope.row.connect)">
|
|
|
|
- <span v-if="scope.row.connect">断开连接</span><span v-if="!scope.row.connect">连接</span></el-button>
|
|
|
|
|
|
+ <el-button
|
|
|
|
+ :disabled="buttonLinkFlag"
|
|
|
|
+ class="xl_d_button"
|
|
|
|
+ size="mini"
|
|
|
|
+ slot="reference"
|
|
|
|
+ @click="linkJudge(scope.row, scope.row.connect)"
|
|
|
|
+ >
|
|
|
|
+ <span v-if="scope.row.connect">断开连接</span
|
|
|
|
+ ><span v-if="!scope.row.connect">连接</span></el-button
|
|
|
|
+ >
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
@@ -115,17 +227,29 @@
|
|
<!-- 用户选择框 -->
|
|
<!-- 用户选择框 -->
|
|
<el-dialog title="选择连接用户" :visible.sync="userVisible" width="50%" center>
|
|
<el-dialog title="选择连接用户" :visible.sync="userVisible" width="50%" center>
|
|
<span>
|
|
<span>
|
|
- <el-input style="width: 180px; margin-bottom: 10px" placeholder="请输入搜索内容" v-model="nameSearch"
|
|
|
|
- prefix-icon="el-icon-search" @input="searchUser" size="small">
|
|
|
|
|
|
+ <el-input
|
|
|
|
+ style="width: 180px; margin-bottom: 10px"
|
|
|
|
+ placeholder="请输入搜索内容"
|
|
|
|
+ v-model="nameSearch"
|
|
|
|
+ prefix-icon="el-icon-search"
|
|
|
|
+ @input="searchUser"
|
|
|
|
+ size="small"
|
|
|
|
+ >
|
|
</el-input>
|
|
</el-input>
|
|
- <el-table :data="userData" style="width: 100%; max-height: 300px; overflow-y: auto" :header-cell-style="{
|
|
|
|
- background: '#66B497',
|
|
|
|
- color: '#FFFFFF',
|
|
|
|
- 'letter-spacing': '4px',
|
|
|
|
- }">
|
|
|
|
|
|
+ <el-table
|
|
|
|
+ :data="userData"
|
|
|
|
+ style="width: 100%; max-height: 300px; overflow-y: auto"
|
|
|
|
+ :header-cell-style="{
|
|
|
|
+ background: '#66B497',
|
|
|
|
+ color: '#FFFFFF',
|
|
|
|
+ 'letter-spacing': '4px',
|
|
|
|
+ }"
|
|
|
|
+ >
|
|
<el-table-column>
|
|
<el-table-column>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-radio v-model="selectUserRadio" :label="scope.row.identifier"> </el-radio>
|
|
|
|
|
|
+ <el-radio v-model="selectUserRadio" :label="scope.row.identifier"
|
|
|
|
+ > </el-radio
|
|
|
|
+ >
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column prop="userName" align="center" label="姓名"> </el-table-column>
|
|
<el-table-column prop="userName" align="center" label="姓名"> </el-table-column>
|
|
@@ -133,8 +257,14 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
<p align="center" style="margin-bottom: 40px">
|
|
<p align="center" style="margin-bottom: 40px">
|
|
- <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="pageNum"
|
|
|
|
- :page-size="pageSize" layout="total, prev, pager, next, jumper" :total="totolSize">
|
|
|
|
|
|
+ <el-pagination
|
|
|
|
+ @size-change="handleSizeChange"
|
|
|
|
+ @current-change="handleCurrentChange"
|
|
|
|
+ :current-page="pageNum"
|
|
|
|
+ :page-size="pageSize"
|
|
|
|
+ layout="total, prev, pager, next, jumper"
|
|
|
|
+ :total="totolSize"
|
|
|
|
+ >
|
|
</el-pagination>
|
|
</el-pagination>
|
|
</p>
|
|
</p>
|
|
</span>
|
|
</span>
|
|
@@ -490,6 +620,7 @@ export default {
|
|
HRV2: [{ name: "LF/HF", value: "-", unit: "个", section: "1.5~2.0" }],
|
|
HRV2: [{ name: "LF/HF", value: "-", unit: "个", section: "1.5~2.0" }],
|
|
//心电刷新频率控制器
|
|
//心电刷新频率控制器
|
|
ecgTimeFlag: null,
|
|
ecgTimeFlag: null,
|
|
|
|
+ visibleFlag: true,
|
|
};
|
|
};
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
@@ -509,7 +640,6 @@ export default {
|
|
var k = 1;
|
|
var k = 1;
|
|
var flagAnimation = true;
|
|
var flagAnimation = true;
|
|
window.addEventListener("resize", function () {
|
|
window.addEventListener("resize", function () {
|
|
- // that.getSize();
|
|
|
|
if (flagAnimation) {
|
|
if (flagAnimation) {
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
that.getSize();
|
|
that.getSize();
|
|
@@ -583,7 +713,7 @@ export default {
|
|
ipcRenderer.removeListener("ecg_two_data", this.initTwoHRV);
|
|
ipcRenderer.removeListener("ecg_two_data", this.initTwoHRV);
|
|
this.disconnectDevice();
|
|
this.disconnectDevice();
|
|
},
|
|
},
|
|
- destroyed() { },
|
|
|
|
|
|
+ destroyed() {},
|
|
methods: {
|
|
methods: {
|
|
initHRV(event, arg) {
|
|
initHRV(event, arg) {
|
|
let that = this;
|
|
let that = this;
|
|
@@ -895,12 +1025,12 @@ export default {
|
|
//开启扫描
|
|
//开启扫描
|
|
queryScan() {
|
|
queryScan() {
|
|
let that = this;
|
|
let that = this;
|
|
- that.$http.getTmp(`/v2/device/scan`, {}, (res) => { });
|
|
|
|
|
|
+ that.$http.getTmp(`/v2/device/scan`, {}, (res) => {});
|
|
},
|
|
},
|
|
closeScan() {
|
|
closeScan() {
|
|
this.tableVisible = false;
|
|
this.tableVisible = false;
|
|
let that = this;
|
|
let that = this;
|
|
- that.$http.getTmp(`/v2/device/stop/scan`, {}, (res) => { });
|
|
|
|
|
|
+ that.$http.getTmp(`/v2/device/stop/scan`, {}, (res) => {});
|
|
},
|
|
},
|
|
searchUser() {
|
|
searchUser() {
|
|
this.pageNum = 1;
|
|
this.pageNum = 1;
|
|
@@ -1424,8 +1554,6 @@ export default {
|
|
//判断当前的列表是否存在该用户已点击的列表
|
|
//判断当前的列表是否存在该用户已点击的列表
|
|
});
|
|
});
|
|
}
|
|
}
|
|
-
|
|
|
|
-
|
|
|
|
},
|
|
},
|
|
typeFormatter(val) {
|
|
typeFormatter(val) {
|
|
if (val.type == "1") {
|
|
if (val.type == "1") {
|
|
@@ -2169,13 +2297,18 @@ export default {
|
|
this.clearFirstDataFun();
|
|
this.clearFirstDataFun();
|
|
this.clearSecondDataFun();
|
|
this.clearSecondDataFun();
|
|
},
|
|
},
|
|
- setUrl() { },
|
|
|
|
|
|
+ setUrl() {},
|
|
getSize() {
|
|
getSize() {
|
|
- let width = this.$refs.animationFlow.clientWidth;
|
|
|
|
- let height = this.$refs.animationFlow.clientHeight - 40;
|
|
|
|
- this.widthIframe = width;
|
|
|
|
- this.heightIframe = height;
|
|
|
|
- this.changeSize(width, height);
|
|
|
|
|
|
+ let that = this;
|
|
|
|
+ that.visibleFlag = false;
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ that.visibleFlag = true;
|
|
|
|
+ let width = this.$refs.animationFlow.clientWidth;
|
|
|
|
+ let height = this.$refs.animationFlow.clientHeight - 40;
|
|
|
|
+ that.widthIframe = width;
|
|
|
|
+ that.heightIframe = height;
|
|
|
|
+ that.changeSize(width, height);
|
|
|
|
+ }, 0);
|
|
},
|
|
},
|
|
changeSize(width, height) {
|
|
changeSize(width, height) {
|
|
this.$refs.unityIframe.contentWindow.changeSize(width, height);
|
|
this.$refs.unityIframe.contentWindow.changeSize(width, height);
|
|
@@ -2187,7 +2320,7 @@ export default {
|
|
let that = this;
|
|
let that = this;
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
that.getSize();
|
|
that.getSize();
|
|
- }, 5000);
|
|
|
|
|
|
+ }, 0);
|
|
},
|
|
},
|
|
changeGame(val) {
|
|
changeGame(val) {
|
|
console.log(val);
|
|
console.log(val);
|
|
@@ -3633,7 +3766,8 @@ canvas {
|
|
/* color: #0f0f0f; */
|
|
/* color: #0f0f0f; */
|
|
}
|
|
}
|
|
|
|
|
|
-.animation_fk {}
|
|
|
|
|
|
+.animation_fk {
|
|
|
|
+}
|
|
|
|
|
|
.select_option {
|
|
.select_option {
|
|
font-size: 10px;
|
|
font-size: 10px;
|
|
@@ -3658,7 +3792,7 @@ canvas {
|
|
}
|
|
}
|
|
|
|
|
|
.user_num {
|
|
.user_num {
|
|
- background-color: #F5F5F5;
|
|
|
|
|
|
+ background-color: #f5f5f5;
|
|
padding: 4px;
|
|
padding: 4px;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -3667,6 +3801,5 @@ canvas {
|
|
flex: 1;
|
|
flex: 1;
|
|
|
|
|
|
flex-direction: row;
|
|
flex-direction: row;
|
|
-
|
|
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|