仓库地址修改

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,62 +0,0 @@
Component({
externalClasses: ['i-class'],
relations: {
'../tab-bar/index': {
type: 'parent'
}
},
properties: {
icon: {
type: String,
value: ''
},
currentIcon: {
type: String,
value: ''
},
img: {
type: String,
value: ''
},
currentImg: {
type: String,
value: ''
},
key: {
type: String,
value: ''
},
title: {
type: String,
value: ''
},
dot: {
type: Boolean,
value: false
},
count: {
type: Number,
value: 0
}
},
data: {
current: false,
currentColor: ''
},
methods: {
changeCurrent (current) {
this.setData({ current });
},
changeCurrentColor (currentColor) {
this.setData({ currentColor });
},
handleClickItem () {
const parent = this.getRelationNodes('../tab-bar/index')[0];
parent.emitEvent(this.data.key);
}
}
});

View File

@@ -1,8 +0,0 @@
{
"component": true,
"usingComponents":
{
"i-badge": "../badge/index",
"i-icon": "../icon/index"
}
}

View File

@@ -1,10 +0,0 @@
<view class="i-class i-tab-bar-item">
<i-badge dot="{{ dot }}" count="{{ dot ? 0 : count }}">
<view>
<i-icon wx:if="{{ icon || currentIcon }}" i-class="i-tab-bar-item-icon {{ current ? 'item-index--i-tab-bar-item-icon-current' : '' }}" color="{{ current ? currentColor : '' }}" type="{{ current ? currentIcon : icon }}" size="22"></i-icon>
<image wx:else class="i-tab-bar-item-img" src="{{ current ? currentImg : img }}"></image>
<view class="i-tab-bar-item-title {{ current ? 'i-tab-bar-item-title-current' : '' }}" wx:if="{{ current && currentColor }}" style="color: {{ currentColor }}">{{ title }}</view>
<view class="i-tab-bar-item-title {{ current ? 'i-tab-bar-item-title-current' : '' }}" wx:else>{{ title }}</view>
</view>
</i-badge>
</view>

View File

@@ -1 +0,0 @@
.i-tab-bar-item{flex:1;display:flex;width:100%;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;text-align:center}.i-tab-bar-item-icon{display:flex;-webkit-box-pack:center;justify-content:center;box-sizing:border-box;color:#80848f}.i-tab-bar-item-icon-current{color:#2d8cf0}.i-tab-bar-item-img{display:flex;-webkit-box-pack:center;justify-content:center;box-sizing:border-box;width:22px;height:22px}.i-tab-bar-item-title{font-size:10px;margin:3px 0 0;line-height:1;text-align:center;box-sizing:border-box;color:#80848f}.i-tab-bar-item-title-current{color:#2d8cf0}.i-tab-bar-item-img{display:flex;-webkit-box-pack:center;justify-content:center;box-sizing:border-box;color:#80848f}