mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2026-06-12 13:19:31 +08:00
新增:更新halo.config.js 配置参数;
更新:更新项目UI框架; 修复:修复友链列表丢失白色背景色BUG;
This commit is contained in:
@@ -166,19 +166,25 @@ export default {
|
||||
destroyed() {
|
||||
clearInterval(this.tmiddd)
|
||||
},
|
||||
async mounted() {
|
||||
|
||||
this.$nextTick(async function(){
|
||||
let p = await this.$Querey(".tm-propress",this).catch(e=>{})
|
||||
|
||||
this.width_upx = p[0].width+'px';
|
||||
if(this.loading){
|
||||
await this.startAni();
|
||||
}
|
||||
})
|
||||
mounted() {
|
||||
this.getRect()
|
||||
|
||||
},
|
||||
updated() {
|
||||
this.getRect()
|
||||
},
|
||||
methods: {
|
||||
getRect(){
|
||||
let t =this
|
||||
this.$Querey(".tm-propress",this,0).then((p)=>{
|
||||
if(!p) return;
|
||||
if(!p[0].width) return;
|
||||
t.width_upx = p[0].width+'px';
|
||||
if(t.loading){
|
||||
t.startAni();
|
||||
}
|
||||
}).catch(e=>{})
|
||||
},
|
||||
async startAni(){
|
||||
// clearInterval(this.tmiddd)
|
||||
let t = this;
|
||||
|
||||
Reference in New Issue
Block a user