mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2026-06-12 21:29:31 +08:00
新增:更新halo.config.js 配置参数;
更新:更新项目UI框架; 修复:修复友链列表丢失白色背景色BUG;
This commit is contained in:
@@ -109,18 +109,12 @@ import tmIcons from "@/tm-vuetify/components/tm-icons/tm-icons.vue"
|
||||
mounted() {
|
||||
this.$nextTick(function(){
|
||||
this.downOpen = this.open;
|
||||
|
||||
let t = this;
|
||||
|
||||
t.$Querey('.tm-more-content',t).then(syninfo=>{
|
||||
if (syninfo[0].height - 40 <= t.hs) {
|
||||
t.show = false;
|
||||
}
|
||||
}).catch(e => {});
|
||||
|
||||
|
||||
this.getRect()
|
||||
})
|
||||
},
|
||||
updated() {
|
||||
this.getRect()
|
||||
},
|
||||
computed: {
|
||||
hs: function() {
|
||||
return uni.upx2px(this.maxHeight) || 100;
|
||||
@@ -131,6 +125,14 @@ import tmIcons from "@/tm-vuetify/components/tm-icons/tm-icons.vue"
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
getRect(){
|
||||
let t = this;
|
||||
t.$Querey('.tm-more-content',t,0).then(syninfo=>{
|
||||
if (syninfo[0].height - 40 <= t.hs) {
|
||||
t.show = false;
|
||||
}
|
||||
}).catch(e => {});
|
||||
},
|
||||
openMore() {
|
||||
this.$emit('click');
|
||||
if (this.disabled) return;
|
||||
|
||||
Reference in New Issue
Block a user