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