Commit 9e899632 authored by lijiongliang's avatar lijiongliang

首页修改

parent de05ba3e
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<view class="banner"> <view class="banner">
<view class="banner-img"> <view class="banner-img">
<image src="http://jdnc-oss.uzosp.com/2022/06/15/e7dec07c0dbe4e2faa42530e3a0b2218.png"></image> <image src="http://jdnc-oss.uzosp.com/2022/06/18/9680b34d2b57444fbc212fcf27a43ffe.jpg"></image>
<view class="left" @click="goJdShop(1)"> <view class="left" @click="goJdShop(1)">
<view class="banner-btn"> <view class="banner-btn">
<image src="../static/index/ban-btn.png"></image> <image src="../static/index/ban-btn.png"></image>
...@@ -93,9 +93,9 @@ ...@@ -93,9 +93,9 @@
goJdShop(index){ goJdShop(index){
let sku; let sku;
if(index == 1){ if(index == 1){
sku = 100024847751 sku = 100025676633
}else{ }else{
sku = 100024847859 sku = 100025676611
} }
console.log(sku,777777777) console.log(sku,777777777)
uni.navigateToMiniProgram({ uni.navigateToMiniProgram({
......
...@@ -48,6 +48,16 @@ ...@@ -48,6 +48,16 @@
tabbar: "tabbar" tabbar: "tabbar"
}) })
}, },
onShareAppMessage(res) {
console.log(res,111111)
if (res.from === 'menu') {
return {
title: '京东汽车挪车牌',
path: '/pages/main',
imageUrl: ""
};
}
},
onShow: function() { onShow: function() {
uni.hideHomeButton() uni.hideHomeButton()
if (this.tab == 'personal') { if (this.tab == 'personal') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment