Page({
  data:{
    comment: [
      {
        userHadeUrl: "../../images/user.png",
        userName: "用户123123123",
        title: "这里是一级标题111",
        goodsInfo: "商品介绍信息111",
        price: "110.3",
        text: "这是一段关于商品的评价111，这是一段关于商品的评价111，这是一段关于商品的评价111，这是一段关于商品的评价111。",
        userImages: ["https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1528800630032&di=a26a076dc1d206187436adb85b572004&imgtype=0&src=http%3A%2F%2Fimg1.gtimg.com%2F17%2F1770%2F177026%2F17702611_980x1200_0.jpg", "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1528800724111&di=33be87fd23df4cfae157d27567bf562f&imgtype=0&src=http%3A%2F%2Fpic29.nipic.com%2F20130602%2F7447430_190044343000_2.jpg", "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1528800753375&di=6bd17b6e2700cd0479d27faf4ad829b9&imgtype=0&src=http%3A%2F%2Fimg01.taopic.com%2F160911%2F267838-160911111J573.jpg"],
        releaseTime: "2018-06-20 15:11",
        id: 0
      },
      {
        userHadeUrl: "../../images/user.png",
        userName: "用户456456456",
        title: "这里是一级标题222",
        goodsInfo: "商品介绍信息222",
        price: "188.5",
        text: "这是一段关于商品的评价222，这是一段关于商品的评价222，这是一段关于商品的评价222，这是一段关于商品的评价222。",
        userImages: ["https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1528800630032&di=a26a076dc1d206187436adb85b572004&imgtype=0&src=http%3A%2F%2Fimg1.gtimg.com%2F17%2F1770%2F177026%2F17702611_980x1200_0.jpg", "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1528800724111&di=33be87fd23df4cfae157d27567bf562f&imgtype=0&src=http%3A%2F%2Fpic29.nipic.com%2F20130602%2F7447430_190044343000_2.jpg", "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1528800753375&di=6bd17b6e2700cd0479d27faf4ad829b9&imgtype=0&src=http%3A%2F%2Fimg01.taopic.com%2F160911%2F267838-160911111J573.jpg"],
        releaseTime: "2018-06-19 14:11",
        id: 1
      },
      {
        userHadeUrl: "../../images/user.png",
        userName: "用户789789789",
        title: "这里是一级标题333",
        goodsInfo: "商品介绍信息333",
        price: "110.3",
        text: "这是一段关于商品的评价333，这是一段关于商品的评价333，这是一段关于商品的评价333，这是一段关于商品的评价333。",
        userImages: ["https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1528800630032&di=a26a076dc1d206187436adb85b572004&imgtype=0&src=http%3A%2F%2Fimg1.gtimg.com%2F17%2F1770%2F177026%2F17702611_980x1200_0.jpg", "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1528800724111&di=33be87fd23df4cfae157d27567bf562f&imgtype=0&src=http%3A%2F%2Fpic29.nipic.com%2F20130602%2F7447430_190044343000_2.jpg", "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1528800753375&di=6bd17b6e2700cd0479d27faf4ad829b9&imgtype=0&src=http%3A%2F%2Fimg01.taopic.com%2F160911%2F267838-160911111J573.jpg"],
        releaseTime: "2018-06-18 13:11",
        id: 2
      },
      {
        userHadeUrl: "../../images/user.png",
        userName: "用户147147147",
        title: "这里是一级标题444",
        goodsInfo: "商品介绍信息444",
        price: "110.3",
        text: "这是一段关于商品的评价444，这是一段关于商品的评价444，这是一段关于商品的评价444，这是一段关于商品的评价444。",
        userImages: ["https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1528800630032&di=a26a076dc1d206187436adb85b572004&imgtype=0&src=http%3A%2F%2Fimg1.gtimg.com%2F17%2F1770%2F177026%2F17702611_980x1200_0.jpg", "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1528800724111&di=33be87fd23df4cfae157d27567bf562f&imgtype=0&src=http%3A%2F%2Fpic29.nipic.com%2F20130602%2F7447430_190044343000_2.jpg", "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1528800753375&di=6bd17b6e2700cd0479d27faf4ad829b9&imgtype=0&src=http%3A%2F%2Fimg01.taopic.com%2F160911%2F267838-160911111J573.jpg"],
        releaseTime: "2018-06-17 12:11",
        id: 3
      },
      {
        userHadeUrl: "../../images/user.png",
        userName: "用户258258258",
        title: "这里是一级标题555",
        goodsInfo: "商品介绍信息555",
        price: "110.3",
        text: "这是一段关于商品的评价555，这是一段关于商品的评价555，这是一段关于商品的评价555，这是一段关于商品的评价555。",
        userImages: ["https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1528800630032&di=a26a076dc1d206187436adb85b572004&imgtype=0&src=http%3A%2F%2Fimg1.gtimg.com%2F17%2F1770%2F177026%2F17702611_980x1200_0.jpg", "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1528800724111&di=33be87fd23df4cfae157d27567bf562f&imgtype=0&src=http%3A%2F%2Fpic29.nipic.com%2F20130602%2F7447430_190044343000_2.jpg", "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1528800753375&di=6bd17b6e2700cd0479d27faf4ad829b9&imgtype=0&src=http%3A%2F%2Fimg01.taopic.com%2F160911%2F267838-160911111J573.jpg"],
        releaseTime: "2018-06-16 11:11",
        id: 4
      }
    ]
  },
  imgClickShow:function(e){
    var imgIndex = e.currentTarget.dataset.index;
    var selectIndex = e.currentTarget.dataset.select;
    var userImages = this.data.comment[selectIndex].userImages;
    wx.previewImage({
      current:userImages[imgIndex],
      urls:userImages,
      success:function(a,b,c){
      }
    })
  }
})