| | |
| | | <view class=""> |
| | | <text>¥</text> |
| | | <text>{{goodsData.price}}</text> |
| | | <text>积分:{{goodsData.points}}</text> |
| | | <!-- <text>积分:{{goodsData.points}}</text> --> |
| | | </view> |
| | | <view class="collect" @tap="collectGoods"> |
| | | <image :src="goodsData.collect == 1 ? '/static/imgs/colls.png' : '/static/imgs/coll.png'" mode=""></image> |
| | |
| | | data() { |
| | | return { |
| | | indicatorDots: true, |
| | | indicatorColor: '#e3b400', |
| | | indicatorColor: '#1735C0', |
| | | indicatorActiveColor: '#ffffff', |
| | | autoplay: true, |
| | | interval: 3000, |
| | |
| | | console.log("success:" + JSON.stringify(res)) |
| | | }, |
| | | fail: (err) => { |
| | | console.log("fail:" + JSON.stringify(err)) |
| | | console.log("fail:" + JSON.stringify(err)) |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | durationChange (e) { |
| | | this.bannerIndex = e.detail.current + 1 |