1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- const { getClassifyGoods, getAllGoods } = require('../../API/appraise')
- Component({
- lifetimes: {
- created: function() {
- }
- },
-
- properties: {
- comList: {
- type: []
- }
- },
-
- data: {
- imgUrl: "",
- price: 0,
- page: 1,
- pageSize: 6,
- id: 0
- },
-
- methods: {
- detailTo(e) {
- const id = e.currentTarget.dataset.id;
- const title = e.currentTarget.dataset.title;
- const price = e.currentTarget.dataset.price;
- const comImg = e.currentTarget.dataset.pic;
- wx.navigateTo({
- url: '/pages/details/details?id=' + id + '&title=' + title + '&price=' + price + '&img=' + comImg,
- })
- },
- }
- })
|