index.js 343 B

1234567891011121314151617
  1. Component({
  2. properties: {
  3. list: {
  4. type: Array
  5. }
  6. },
  7. methods: {
  8. toDetail(e) {
  9. const {
  10. item
  11. } = e.currentTarget.dataset;
  12. wx.navigateTo({
  13. url: '/pages/classroom/detail?id=' + item.sat_coursewareid,
  14. })
  15. }
  16. }
  17. })