diy_user_info.js
529 Bytes
var s = getApp().globalData.setting;
Component({
properties: {
object: {
type: Object,
value: null
},
is_temp:{
type:Number,
value:0
}
// 这里定义了innerText属性,属性值可以在组件使用时指定
},
data: {
// 这里是一些组件内部数据
iurl: s.imghost,
defaultAvatar: s.imghost + "/miniapp/images/no-head.jpg",
userInfo:null
},
ready: function() {
if(this.properties.is_temp==1){
}else{
}
},
methods: {
}
})