Commit edfc2d27 authored by 黄奎's avatar 黄奎

新增游玩时间验证

parent 9695d499
...@@ -27,10 +27,10 @@ ...@@ -27,10 +27,10 @@
</div> </div>
<div class="TC-playTime"> <div class="TC-playTime">
<span>游玩时间</span> <span>游玩时间</span>
<el-input class="w69" v-if="!isRead" v-model="scenicArray[0].PlayTimeHour" placeholder="小时"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[0].PlayTimeHour" @keyup.native="checkInteger(scenicArray[0],'PlayTimeHour')" placeholder="小时"></el-input>
<span v-if="isRead">{{scenicArray[0].PlayTimeHour}}</span> <span v-if="isRead">{{scenicArray[0].PlayTimeHour}}</span>
&nbsp;小时&nbsp; &nbsp;小时&nbsp;
<el-input class="w69" v-if="!isRead" v-model="scenicArray[0].PlayTimeMinutes" placeholder="分钟"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[0].PlayTimeMinutes" @keyup.native="checkInteger(scenicArray[0],'PlayTimeMinutes')" placeholder="分钟"></el-input>
<span v-if="isRead">{{scenicArray[0].PlayTimeMinutes}}</span> <span v-if="isRead">{{scenicArray[0].PlayTimeMinutes}}</span>
&nbsp;分钟 &nbsp;分钟
</div> </div>
...@@ -71,10 +71,10 @@ ...@@ -71,10 +71,10 @@
</div> </div>
<div class="TC-playTime"> <div class="TC-playTime">
<span>游玩时间</span> <span>游玩时间</span>
<el-input class="w69" v-if="!isRead" v-model="scenicArray[1].PlayTimeHour" placeholder="小时"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[1].PlayTimeHour" @keyup.native="checkInteger(scenicArray[1],'PlayTimeHour')" placeholder="小时"></el-input>
<span v-if="isRead">{{scenicArray[1].PlayTimeHour}}</span> <span v-if="isRead">{{scenicArray[1].PlayTimeHour}}</span>
&nbsp;小时&nbsp; &nbsp;小时&nbsp;
<el-input class="w69" v-if="!isRead" v-model="scenicArray[1].PlayTimeMinutes" placeholder="分钟"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[1].PlayTimeMinutes" @keyup.native="checkInteger(scenicArray[1],'PlayTimeMinutes')" placeholder="分钟"></el-input>
<span v-if="isRead">{{scenicArray[1].PlayTimeMinutes}}</span> <span v-if="isRead">{{scenicArray[1].PlayTimeMinutes}}</span>
&nbsp;分钟 &nbsp;分钟
</div> </div>
...@@ -114,10 +114,10 @@ ...@@ -114,10 +114,10 @@
</div> </div>
<div class="TC-playTime"> <div class="TC-playTime">
<span>游玩时间</span> <span>游玩时间</span>
<el-input class="w69" v-if="!isRead" v-model="scenicArray[2].PlayTimeHour" placeholder="小时"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[2].PlayTimeHour" @keyup.native="checkInteger(scenicArray[2],'PlayTimeHour')" placeholder="小时"></el-input>
<span v-if="isRead">{{scenicArray[2].PlayTimeHour}}</span> <span v-if="isRead">{{scenicArray[2].PlayTimeHour}}</span>
&nbsp;小时&nbsp; &nbsp;小时&nbsp;
<el-input class="w69" v-if="!isRead" v-model="scenicArray[2].PlayTimeMinutes" placeholder="分钟"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[2].PlayTimeMinutes" @keyup.native="checkInteger(scenicArray[2],'PlayTimeMinutes')" placeholder="分钟"></el-input>
<span v-if="isRead">{{scenicArray[2].PlayTimeMinutes}}</span> <span v-if="isRead">{{scenicArray[2].PlayTimeMinutes}}</span>
&nbsp;分钟 &nbsp;分钟
</div> </div>
...@@ -157,10 +157,10 @@ ...@@ -157,10 +157,10 @@
<div class="TC-playTime"> <div class="TC-playTime">
<span>游玩时间</span> <span>游玩时间</span>
<el-input class="w69" v-if="!isRead" v-model="scenicArray[3].PlayTimeHour" placeholder="小时"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[3].PlayTimeHour" @keyup.native="checkInteger(scenicArray[3],'PlayTimeHour')" placeholder="小时"></el-input>
<span v-if="isRead">{{scenicArray[3].PlayTimeHour}}</span> <span v-if="isRead">{{scenicArray[3].PlayTimeHour}}</span>
&nbsp;小时&nbsp; &nbsp;小时&nbsp;
<el-input class="w69" v-if="!isRead" v-model="scenicArray[3].PlayTimeMinutes" placeholder="分钟"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[3].PlayTimeMinutes" @keyup.native="checkInteger(scenicArray[3],'PlayTimeMinutes')" placeholder="分钟"></el-input>
<span v-if="isRead">{{scenicArray[3].PlayTimeMinutes}}</span> <span v-if="isRead">{{scenicArray[3].PlayTimeMinutes}}</span>
&nbsp;分钟 &nbsp;分钟
</div> </div>
...@@ -200,10 +200,10 @@ ...@@ -200,10 +200,10 @@
</div> </div>
<div class="TC-playTime"> <div class="TC-playTime">
<span>游玩时间</span> <span>游玩时间</span>
<el-input class="w69" v-if="!isRead" v-model="scenicArray[4].PlayTimeHour" placeholder="小时"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[4].PlayTimeHour" @keyup.native="checkInteger(scenicArray[4],'PlayTimeHour')" placeholder="小时"></el-input>
<span v-if="isRead">{{scenicArray[4].PlayTimeHour}}</span> <span v-if="isRead">{{scenicArray[4].PlayTimeHour}}</span>
&nbsp;小时&nbsp; &nbsp;小时&nbsp;
<el-input class="w69" v-if="!isRead" v-model="scenicArray[4].PlayTimeMinutes" placeholder="分钟"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[4].PlayTimeMinutes" @keyup.native="checkInteger(scenicArray[4],'PlayTimeMinutes')" placeholder="分钟"></el-input>
<span v-if="isRead">{{scenicArray[4].PlayTimeMinutes}}</span> <span v-if="isRead">{{scenicArray[4].PlayTimeMinutes}}</span>
&nbsp;分钟 &nbsp;分钟
</div> </div>
......
...@@ -44,10 +44,10 @@ ...@@ -44,10 +44,10 @@
</div> </div>
<div class="TC-playTime"> <div class="TC-playTime">
<span>游玩时间</span> <span>游玩时间</span>
<el-input class="w69" v-if="!isRead" v-model="scenicArray[0].PlayTimeHour" placeholder="小时"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[0].PlayTimeHour" @keyup.native="checkInteger(scenicArray[0],'PlayTimeHour')" placeholder="小时"></el-input>
<span v-if="isRead">{{scenicArray[0].PlayTimeHour}}</span> <span v-if="isRead">{{scenicArray[0].PlayTimeHour}}</span>
&nbsp;小时&nbsp; &nbsp;小时&nbsp;
<el-input class="w69" v-if="!isRead" v-model="scenicArray[0].PlayTimeMinutes" placeholder="分钟"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[0].PlayTimeMinutes" @keyup.native="checkInteger(scenicArray[0],'PlayTimeMinutes')" placeholder="分钟"></el-input>
<span v-if="isRead">{{scenicArray[0].PlayTimeMinutes}}</span> <span v-if="isRead">{{scenicArray[0].PlayTimeMinutes}}</span>
&nbsp;分钟 &nbsp;分钟
</div> </div>
...@@ -88,10 +88,10 @@ ...@@ -88,10 +88,10 @@
</div> </div>
<div class="TC-playTime"> <div class="TC-playTime">
<span>游玩时间</span> <span>游玩时间</span>
<el-input class="w69" v-if="!isRead" v-model="scenicArray[1].PlayTimeHour" placeholder="小时"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[1].PlayTimeHour" @keyup.native="checkInteger(scenicArray[1],'PlayTimeHour')" placeholder="小时"></el-input>
<span v-if="isRead">{{scenicArray[1].PlayTimeHour}}</span> <span v-if="isRead">{{scenicArray[1].PlayTimeHour}}</span>
&nbsp;小时&nbsp; &nbsp;小时&nbsp;
<el-input class="w69" v-if="!isRead" v-model="scenicArray[1].PlayTimeMinutes" placeholder="分钟"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[1].PlayTimeMinutes" @keyup.native="checkInteger(scenicArray[1],'PlayTimeMinutes')" placeholder="分钟"></el-input>
<span v-if="isRead">{{scenicArray[1].PlayTimeMinutes}}</span> <span v-if="isRead">{{scenicArray[1].PlayTimeMinutes}}</span>
&nbsp;分钟 &nbsp;分钟
</div> </div>
...@@ -133,10 +133,10 @@ ...@@ -133,10 +133,10 @@
</div> </div>
<div class="TC-playTime"> <div class="TC-playTime">
<span>游玩时间</span> <span>游玩时间</span>
<el-input class="w69" v-if="!isRead" v-model="scenicArray[2].PlayTimeHour" placeholder="小时"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[2].PlayTimeHour" @keyup.native="checkInteger(scenicArray[2],'PlayTimeHour')" placeholder="小时"></el-input>
<span v-if="isRead">{{scenicArray[2].PlayTimeHour}}</span> <span v-if="isRead">{{scenicArray[2].PlayTimeHour}}</span>
&nbsp;小时&nbsp; &nbsp;小时&nbsp;
<el-input class="w69" v-if="!isRead" v-model="scenicArray[2].PlayTimeMinutes" placeholder="分钟"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[2].PlayTimeMinutes" @keyup.native="checkInteger(scenicArray[2],'PlayTimeMinutes')" placeholder="分钟"></el-input>
<span v-if="isRead">{{scenicArray[2].PlayTimeMinutes}}</span> <span v-if="isRead">{{scenicArray[2].PlayTimeMinutes}}</span>
&nbsp;分钟 &nbsp;分钟
</div> </div>
...@@ -175,10 +175,10 @@ ...@@ -175,10 +175,10 @@
</div> </div>
<div class="TC-playTime"> <div class="TC-playTime">
<span>游玩时间</span> <span>游玩时间</span>
<el-input class="w69" v-if="!isRead" v-model="scenicArray[3].PlayTimeHour" placeholder="小时"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[3].PlayTimeHour" @keyup.native="checkInteger(scenicArray[3],'PlayTimeHour')" placeholder="小时"></el-input>
<span v-if="isRead">{{scenicArray[3].PlayTimeHour}}</span> <span v-if="isRead">{{scenicArray[3].PlayTimeHour}}</span>
&nbsp;小时&nbsp; &nbsp;小时&nbsp;
<el-input class="w69" v-if="!isRead" v-model="scenicArray[3].PlayTimeMinutes" placeholder="分钟"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[3].PlayTimeMinutes" @keyup.native="checkInteger(scenicArray[3],'PlayTimeMinutes')" placeholder="分钟"></el-input>
<span v-if="isRead">{{scenicArray[3].PlayTimeMinutes}}</span> <span v-if="isRead">{{scenicArray[3].PlayTimeMinutes}}</span>
&nbsp;分钟 &nbsp;分钟
</div> </div>
......
...@@ -50,10 +50,10 @@ ...@@ -50,10 +50,10 @@
</div> </div>
<div class="TC-playTime"> <div class="TC-playTime">
<span>游玩时间</span> <span>游玩时间</span>
<el-input class="w69" v-if="!isRead" v-model="scenicArray[0].PlayTimeHour" placeholder="小时"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[0].PlayTimeHour" @keyup.native="checkInteger(scenicArray[0],'PlayTimeHour')" placeholder="小时"></el-input>
<span v-if="isRead">{{scenicArray[0].PlayTimeHour}}</span> <span v-if="isRead">{{scenicArray[0].PlayTimeHour}}</span>
&nbsp;小时&nbsp; &nbsp;小时&nbsp;
<el-input class="w69" v-if="!isRead" v-model="scenicArray[0].PlayTimeMinutes" placeholder="分钟"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[0].PlayTimeMinutes" @keyup.native="checkInteger(scenicArray[0],'PlayTimeMinutes')" placeholder="分钟"></el-input>
<span v-if="isRead">{{scenicArray[0].PlayTimeMinutes}}</span> <span v-if="isRead">{{scenicArray[0].PlayTimeMinutes}}</span>
&nbsp;分钟 &nbsp;分钟
</div> </div>
......
...@@ -45,10 +45,10 @@ ...@@ -45,10 +45,10 @@
</div> </div>
<div class="TC-playTime"> <div class="TC-playTime">
<span>游玩时间</span> <span>游玩时间</span>
<el-input class="w69" v-if="!isRead" v-model="scenicArray[0].PlayTimeHour" placeholder="小时"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[0].PlayTimeHour" @keyup.native="checkInteger(scenicArray[0],'PlayTimeHour')" placeholder="小时"></el-input>
<span v-if="isRead">{{scenicArray[0].PlayTimeHour}}</span> <span v-if="isRead">{{scenicArray[0].PlayTimeHour}}</span>
&nbsp;小时&nbsp; &nbsp;小时&nbsp;
<el-input class="w69" v-if="!isRead" v-model="scenicArray[0].PlayTimeMinutes" placeholder="分钟"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[0].PlayTimeMinutes" @keyup.native="checkInteger(scenicArray[0],'PlayTimeMinutes')" placeholder="分钟"></el-input>
<span v-if="isRead">{{scenicArray[0].PlayTimeMinutes}}</span> <span v-if="isRead">{{scenicArray[0].PlayTimeMinutes}}</span>
&nbsp;分钟 &nbsp;分钟
</div> </div>
...@@ -70,10 +70,10 @@ ...@@ -70,10 +70,10 @@
</div> </div>
<div class="TC-playTime"> <div class="TC-playTime">
<span>游玩时间</span> <span>游玩时间</span>
<el-input class="w69" v-if="!isRead" v-model="scenicArray[1].PlayTimeHour" placeholder="小时"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[1].PlayTimeHour" @keyup.native="checkInteger(scenicArray[1],'PlayTimeHour')" placeholder="小时"></el-input>
<span v-if="isRead">{{scenicArray[1].PlayTimeHour}}</span> <span v-if="isRead">{{scenicArray[1].PlayTimeHour}}</span>
&nbsp;小时&nbsp; &nbsp;小时&nbsp;
<el-input class="w69" v-if="!isRead" v-model="scenicArray[1].PlayTimeMinutes" placeholder="分钟"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[1].PlayTimeMinutes" @keyup.native="checkInteger(scenicArray[1],'PlayTimeMinutes')" placeholder="分钟"></el-input>
<span v-if="isRead">{{scenicArray[1].PlayTimeMinutes}}</span> <span v-if="isRead">{{scenicArray[1].PlayTimeMinutes}}</span>
&nbsp;分钟 &nbsp;分钟
</div> </div>
...@@ -133,10 +133,10 @@ ...@@ -133,10 +133,10 @@
</div> </div>
<div class="TC-playTime"> <div class="TC-playTime">
<span>游玩时间</span> <span>游玩时间</span>
<el-input class="w69" v-if="!isRead" v-model="scenicArray[2].PlayTimeHour" placeholder="小时"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[2].PlayTimeHour" @keyup.native="checkInteger(scenicArray[2],'PlayTimeHour')" placeholder="小时"></el-input>
<span v-if="isRead">{{scenicArray[2].PlayTimeHour}}</span> <span v-if="isRead">{{scenicArray[2].PlayTimeHour}}</span>
&nbsp;小时&nbsp; &nbsp;小时&nbsp;
<el-input class="w69" v-if="!isRead" v-model="scenicArray[2].PlayTimeMinutes" placeholder="分钟"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[2].PlayTimeMinutes" @keyup.native="checkInteger(scenicArray[2],'PlayTimeMinutes')" placeholder="分钟"></el-input>
<span v-if="isRead">{{scenicArray[2].PlayTimeMinutes}}</span> <span v-if="isRead">{{scenicArray[2].PlayTimeMinutes}}</span>
&nbsp;分钟 &nbsp;分钟
</div> </div>
......
...@@ -34,10 +34,10 @@ ...@@ -34,10 +34,10 @@
</div> </div>
<div class="TC-playTime"> <div class="TC-playTime">
<span>游玩时间</span> <span>游玩时间</span>
<el-input class="w69" v-if="!isRead" v-model="scenicArray[0].PlayTimeHour" placeholder="小时"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[0].PlayTimeHour" @keyup.native="checkInteger(scenicArray[0],'PlayTimeHour')" placeholder="小时"></el-input>
<span v-if="isRead">{{scenicArray[0].PlayTimeHour}}</span> <span v-if="isRead">{{scenicArray[0].PlayTimeHour}}</span>
&nbsp;小时&nbsp; &nbsp;小时&nbsp;
<el-input class="w69" v-if="!isRead" v-model="scenicArray[0].PlayTimeMinutes" placeholder="分钟"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[0].PlayTimeMinutes" @keyup.native="checkInteger(scenicArray[0],'PlayTimeMinutes')" placeholder="分钟"></el-input>
<span v-if="isRead">{{scenicArray[0].PlayTimeMinutes}}</span> <span v-if="isRead">{{scenicArray[0].PlayTimeMinutes}}</span>
&nbsp;分钟 &nbsp;分钟
</div> </div>
...@@ -78,10 +78,10 @@ ...@@ -78,10 +78,10 @@
</div> </div>
<div class="TC-playTime"> <div class="TC-playTime">
<span>游玩时间</span> <span>游玩时间</span>
<el-input class="w69" v-if="!isRead" v-model="scenicArray[1].PlayTimeHour" placeholder="小时"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[1].PlayTimeHour" @keyup.native="checkInteger(scenicArray[1],'PlayTimeHour')" placeholder="小时"></el-input>
<span v-if="isRead">{{scenicArray[1].PlayTimeHour}}</span> <span v-if="isRead">{{scenicArray[1].PlayTimeHour}}</span>
&nbsp;小时&nbsp; &nbsp;小时&nbsp;
<el-input class="w69" v-if="!isRead" v-model="scenicArray[1].PlayTimeMinutes" placeholder="分钟"></el-input> <el-input class="w69" v-if="!isRead" v-model="scenicArray[1].PlayTimeMinutes" @keyup.native="checkInteger(scenicArray[1],'PlayTimeMinutes')" placeholder="分钟"></el-input>
<span v-if="isRead">{{scenicArray[1].PlayTimeMinutes}}</span> <span v-if="isRead">{{scenicArray[1].PlayTimeMinutes}}</span>
&nbsp;分钟 &nbsp;分钟
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment