29843
This commit is contained in:
@@ -103,14 +103,14 @@
|
||||
<switch color="#1088F9" :checked="form.openWorkPoint === '1'" @change="onWorkPointChange" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group__item form-group__checked" v-if="form.openWorkPoint === '1' && address.address">
|
||||
<div class="form-group__item form-item__address form-group__checked" v-if="form.openWorkPoint === '1' && address.address">
|
||||
<div class="left">
|
||||
<h2>{{ address.title }}</h2>
|
||||
<p>{{ address.address }}</p>
|
||||
<p style="margin-top: 8px;">允许打卡范围{{ address.distance }}米</p>
|
||||
</div>
|
||||
<div class="right" @click="address = {}">
|
||||
<image :src="`${$cdn}askform/sc1.png`" />
|
||||
<image src="./images/remove.png" />
|
||||
<span>删除</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -378,5 +378,24 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.form-item__address {
|
||||
.left {
|
||||
flex: 1;
|
||||
margin-right: 10px;
|
||||
|
||||
p {
|
||||
line-height: 1.3;
|
||||
}
|
||||
}
|
||||
|
||||
.right {
|
||||
span {
|
||||
margin-left: 10px;
|
||||
color: #1088F9;
|
||||
font-size: 28px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -90,14 +90,14 @@
|
||||
<switch color="#1088F9" :checked="form.openWorkPoint === '1'" @change="onWorkPointChange" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group__item form-group__checked" v-if="form.openWorkPoint === '1' && address.address">
|
||||
<div class="form-group__item form-group__checked form-item__address" v-if="form.openWorkPoint === '1' && address.address">
|
||||
<div class="left">
|
||||
<h2>{{ address.title }}</h2>
|
||||
<p>{{ address.address }}</p>
|
||||
<p style="margin-top: 8px;">允许打卡范围{{ address.distance }}米</p>
|
||||
</div>
|
||||
<div class="right" @click="address = {}">
|
||||
<image :src="`${$cdn}askform/sc1.png`" />
|
||||
<image src="./images/remove.png" />
|
||||
<span>删除</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -367,5 +367,24 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.form-item__address {
|
||||
.left {
|
||||
flex: 1;
|
||||
margin-right: 10px;
|
||||
|
||||
p {
|
||||
line-height: 1.3;
|
||||
}
|
||||
}
|
||||
|
||||
.right {
|
||||
span {
|
||||
margin-left: 10px;
|
||||
color: #1088F9;
|
||||
font-size: 28px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user