BUG 30927
This commit is contained in:
@@ -19,10 +19,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
appName: '居民标签',
|
appName: '居民标签',
|
||||||
|
|
||||||
data () {
|
data() {
|
||||||
return {
|
return {
|
||||||
currIndex: 0,
|
currIndex: 0,
|
||||||
list: [],
|
list: [],
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
onLoad (query) {
|
onLoad(query) {
|
||||||
this.getList()
|
this.getList()
|
||||||
|
|
||||||
if (query.ids) {
|
if (query.ids) {
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
onClick (id) {
|
onClick(id) {
|
||||||
const index = this.checked.indexOf(id)
|
const index = this.checked.indexOf(id)
|
||||||
|
|
||||||
if (index === -1) {
|
if (index === -1) {
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
submit () {
|
submit() {
|
||||||
if (!this.checked.length) {
|
if (!this.checked.length) {
|
||||||
return this.$u.toast('请选择标签')
|
return this.$u.toast('请选择标签')
|
||||||
}
|
}
|
||||||
@@ -72,11 +72,11 @@
|
|||||||
uni.navigateBack()
|
uni.navigateBack()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.tags {
|
.tags {
|
||||||
padding: 16px 0 130px;
|
padding: 16px 0 130px;
|
||||||
|
|
||||||
* {
|
* {
|
||||||
@@ -96,7 +96,8 @@
|
|||||||
font-family: PingFangSC-Medium, PingFang SC;
|
font-family: PingFangSC-Medium, PingFang SC;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
div{
|
|
||||||
|
div {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -127,6 +128,10 @@
|
|||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
background: #F3F4F7;
|
background: #F3F4F7;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
max-width: 100%;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
@@ -135,5 +140,5 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user