Authored by 李奇

首页修改

... ... @@ -32,10 +32,9 @@
"pages/bindPhoneNumber/bindPhoneNumber",
"pages/envelopesActivity/envelopesActivity",
"pages/goodsList/brandStore",
"pages/cart/ensure/ensure",
"pages/cart/invoice/invoice",
"pages/home/address/list",
"pages/home/address/list"
],
"window": {
"backgroundTextStyle": "light",
... ...
... ... @@ -2,24 +2,13 @@ Component({
properties: {
item: {
type: Object,
value: {
default_images: 'http://img10.static.yhbimg.com/goodsimg/2017/12/06/11/0186f48aaa66d73d10d4c2037bcadd9896.jpg?imageMogr2/thumbnail/{width}x{height}/background/d2hpdGU=/position/center/quality/80',
product_name: '测试商品名称有点长你懂得地方大幅度的测试商品名称有点长你懂得地方大幅度的测试商品名称有点长你懂得地方大幅度的',
salePriceStr: '3',
originPriceStr: '3',
showOriginPrice: false,
skn: 512587352
}
value: {}
}
},
methods: {
goDetail: function (e) {
const productSkn = this.properties.item.skn;
console.log(productSkn)
goDetail: function () {
wx.navigateTo({
url: `/pages/goodsDetail/goodsDetail?productSkn=${productSkn}`
url: `/pages/goodsDetail/goodsDetail?productSkn=${this.properties.item.skn}`
});
}
}
... ...
... ... @@ -9,7 +9,8 @@ Component({
product_name: '测试商品名称有点长你懂得地方大幅度的测试商品名称有点长你懂得地方大幅度的测试商品名称有点长你懂得地方大幅度的',
salePriceStr: '3',
originPriceStr: '3',
showOriginPrice: true
showOriginPrice: true,
skn: 512587352
},
{
... ... @@ -17,7 +18,8 @@ Component({
product_name: '测试商品名',
salePriceStr: '3',
originPriceStr: '3',
showOriginPrice: false
showOriginPrice: false,
skn: 512587352
},
{
... ... @@ -25,7 +27,8 @@ Component({
product_name: '测试商品名',
salePriceStr: '3',
originPriceStr: '3',
showOriginPrice: false
showOriginPrice: false,
skn: 512587352
}
]
}
... ...
... ... @@ -9,7 +9,7 @@
},
"compileType": "miniprogram",
"libVersion": "1.9.1",
"appid": "wx084ab813d88c594b",
"appid": "wxe8bfc9b404772199",
"projectname": "%E7%BA%A2%E4%BA%BA%E5%B0%8F%E5%BA%97",
"condition": {
"search": {
... ...