1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- var app = getApp();
- Component({
- properties: {
- spuItem: {
- type: Object,
- value: {
- actId: "",
- skuId: "",
- spuImage: "",
- spuName: "",
- endTime: 0,
- beginTime: "",
- actPrice: ["", ""],
- marketPrice: ["", ""],
- spuCanBuyNum: "",
- soldNum: "",
- actId: "",
- limitMemberNum: "",
- limitOrderNum: "",
- serverTime: "",
- isLimit: false,
- skuList: [],
- spuDescribe: "",
- is_take_fullreduction: 0,
- bigImg: '',
- car_count: 0
- }
- },
- isPast: {
- type: Boolean,
- value: false
- },
- actEnd: {
- type: Boolean,
- value: false
- },
- reduction: {
- type: Object,
- value: {
- full_money: '',
- full_reducemoney: '',
- is_open_fullreduction: 0
- }
- },
- skin: {
- type: Object
- },
- goods_sale_unit: String
- },
- attached() {
- this.setData({ placeholdeImg: app.globalData.placeholdeImg })
- },
- data: {
- disabled: false,
- placeholdeImg: ''
- },
- methods: {
- goLink: function() {
- let id = this.data.spuItem.actId;
- id && wx.navigateTo({
- url: `/lionfish_comshop/moduleA/pin/goodsDetail?&id=${id}`,
- })
- }
- }
- });
|