diff --git a/pages/index/searchbar/detail/index.js b/pages/index/searchbar/detail/index.js
index 56fd3ee..34d5db1 100644
--- a/pages/index/searchbar/detail/index.js
+++ b/pages/index/searchbar/detail/index.js
@@ -17,6 +17,7 @@ Page({
teljpgUrl: imgurl.teljpg.url,
share01: imgurl.share01.url,
actUrl: imgurl.act.url,
+ wmhome: imgurl.wmhome.url,
page: 1,
imglist: null,
shopVoList: [],
@@ -56,6 +57,11 @@ Page({
}
this.getUserInfo()
},
+ goback: function () {
+ wx.switchTab({
+ url: '/pages/main/index',
+ })
+ },
/**
* 绘制分享海报
*/
diff --git a/pages/index/searchbar/detail/index.wxml b/pages/index/searchbar/detail/index.wxml
index da7292e..af4dbd4 100644
--- a/pages/index/searchbar/detail/index.wxml
+++ b/pages/index/searchbar/detail/index.wxml
@@ -1,3 +1,4 @@
+
diff --git a/pages/index/searchbar/detail/index.wxss b/pages/index/searchbar/detail/index.wxss
index 94ea8c8..553f5e8 100644
--- a/pages/index/searchbar/detail/index.wxss
+++ b/pages/index/searchbar/detail/index.wxss
@@ -384,3 +384,25 @@
width: 300rpx;
margin: 30rpx auto 0;
}
+button::after{ border: none; }
+.goback{
+ position: fixed;
+ right: 20rpx;
+ bottom: 60rpx;
+ width:100rpx!important;
+ height:100rpx;
+ z-index: 100;
+ background:rgba(255,255,255,1);
+ line-height: 95rpx;
+ border:1rpx solid rgba(227,227,227,1);
+ border-radius:50%;
+}
+.goback image{
+ position: absolute;
+ width: 60rpx;
+ left: 0;
+ right: 0;
+ top: 0;
+ bottom: 0;
+ margin: auto;
+}