仓库地址修改

This commit is contained in:
mindskip
2020-09-01 22:58:28 +08:00
parent a8d9b11da0
commit c5a5a1f039
294 changed files with 75 additions and 5581 deletions

View File

@@ -1,50 +0,0 @@
Component({
externalClasses: ['i-class'],
properties : {
current : {
type : Number,
value : -1,
observer : '_updateDataChange'
},
status : {
type : String,
//wait、process、finish、error
value : ''
},
direction : {
type : String,
//value has horizontal or vertical
value : 'horizontal'
}
},
relations : {
'../step/index' : {
type : 'child',
linked(){
this._updateDataChange();
},
linkChanged () {
this._updateDataChange();
},
unlinked () {
this._updateDataChange();
}
}
},
methods: {
_updateDataChange() {
let steps = this.getRelationNodes('../step/index');
const len = steps.length;
if (len > 0) {
steps.forEach((step, index) => {
step.updateDataChange({
len : len,
index : index,
current : this.data.current,
direction : this.data.direction
});
});
}
}
}
})

View File

@@ -1,3 +0,0 @@
{
"component": true
}

View File

@@ -1,3 +0,0 @@
<view class="i-class i-steps">
<slot></slot>
</view>

View File

@@ -1 +0,0 @@
.i-steps{width:100%}