index.js 559 Bytes
import api from '../../api/api'
import {
  httpGet,
  httpPost
} from '../../api/fetch-api.js'

export default {
  data() {
    return {
      key: 'value',
      images: [
        'https://img.yzcdn.cn/vant/apple-1.jpg',
        'https://img.yzcdn.cn/vant/apple-2.jpg'
      ]
    }
  },
  components: {},
  methods: {
    toProduct(item) {
      this.$router.push({
        path: "/product/detail"
      })
    },
    toMyFavorite(){
      this.$router.push({
        path:"/favorite"
      })
    },
    initData() {}
  },
  mounted() {},
  created() {}
}