ColorUI 源代码
This commit is contained in:
weilanwl
2018-06-19 21:21:54 +08:00
parent 9e6720d0dc
commit 3834693e84
114 changed files with 4477 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
Page({
data: {
rating: [{
id: 0,
title: '描述相符',
scores: 0,
}, {
id: 1,
title: '物流服务',
scores: 0,
}, {
id: 2,
title: '服务态度',
scores: 0,
}]
},
onLoad: function (options) {
},
setScores: function (e) {
var id = e.currentTarget.dataset.id;
var index = e.currentTarget.dataset.index;
this.data.rating[id].scores = index;
this.setData({
rating: this.data.rating
})
}
})