|
|
@ -4,8 +4,8 @@ |
|
|
|
<div class="m-content"> |
|
|
|
<p>{{ screenData.device_name }}</p> |
|
|
|
</div> |
|
|
|
<div class="button-wraper"> |
|
|
|
<div v-for="(e, i) in screenData.region_points" :key="i" class="button-item"> |
|
|
|
<div class="button-wraper" :style="screenData.region_points.length <= 2 ? 'justify-content: center' : 'justify-content: space-between'"> |
|
|
|
<div v-for="(e, i) in screenData.region_points" :key="i" class="button-item" :class="{'button-item_3': screenData.region_points.length <= 3}"> |
|
|
|
<p v-if="e.type === '1'" class="point_name">{{ e.name }}</p> |
|
|
|
<p v-if="e.type === '0'" class="point_name point_name_btn" @click="showPop('IN', e)">{{ e.name }}</p> |
|
|
|
<p class="point_value">{{ e.device_code }}</p> |
|
|
|