Commit 888d6bce by 陈超

A

parent 28f5cb6b
...@@ -116,25 +116,27 @@ ...@@ -116,25 +116,27 @@
$("#preloader").hide() $("#preloader").hide()
}, },
computed: { computed: {
showHollow: function(index) { showHollow: function() {
return function(index) { return function(index) {
return index != 1 && index != 2 return index != 1 && index != 2
} }
}, },
showSolid: function(index) { showSolid: function() {
return function(index) { return function(index) {
return index == 0 return index == 0
} }
}, },
showImage: function(item) { showImage: function() {
return function(item) {
return false return false
}
}, },
hollowText: function(index) { hollowText: function() {
return function(index) { return function(index) {
return index == 0 ? '取消订单' : '删除订单' return index == 0 ? '取消订单' : '删除订单'
} }
}, },
listItem: function(opt) { listItem: function() {
return function(opt) { return function(opt) {
return opt.options ? opt.options[this.innerTab].items : opt.items return opt.options ? opt.options[this.innerTab].items : opt.items
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment