subject.js
660 Bytes
// components/2.0/taocan/subject.js
Component({
/**
* 组件的属性列表
*/
properties: {
order:Object,
hasTopStatus:Boolean,
foods_info:Object,//订单详情
order_info:Object,//订单详情
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
clickSeller(){
if(this.data.hasTopStatus) return;
let seller_tel=this.data.order_info.seller_tel||this.data.order_info.phone
if(typeof seller_tel=='string'){
seller_tel=seller_tel.split(',')
}
this.selectComponent('#as').show({
seller_tel:seller_tel,
});
},
}
})