Commit 433c0819 authored by zhengke's avatar zhengke

修改

parent 6f3b618e
......@@ -217,7 +217,16 @@
</template>
</view>
</template>
<view class="contract_nav" v-if="mall_Info.mall&&mall_Info.mall.id==5">
<button
class="Ma_nav-item"
show-message-card="true"
:send-message-path="currentParent"
open-type="contact"
>
<img src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1644833656000_313.png" />
</button>
</view>
<view v-if="showtabs == true">
<tabbar></tabbar>
</view>
......@@ -346,6 +355,8 @@ export default {
AppletID: 0, //判断小程序的id,相亲:11
page_idt: 0, //首页组件分享参数
boxpaddingbottom: 0, //底部的高度
mall_Info:{},
currentParent:''
};
},
components: {
......@@ -638,9 +649,15 @@ export default {
this.getstartModel(nowtime);
}
}
that.mall_Info = uni.getStorageSync("basedata");
uni.showNavigationBarLoading();
},
created() {},
created() {
let pages = getCurrentPages(); //获取加载的页面
let currentPage = pages[pages.length - 1]; //获取当前页面的对象
this.currentParent = currentPage.route ;//当前页面url
},
// #ifdef MP-WEIXIN
onShareTimeline() {
setTimeout(() => {
......@@ -689,11 +706,13 @@ export default {
path = "user_id=" + uid + "&SmallShopId=" + SmallShopId + "&Up=" + Up;
}
console.log(path);
return {
title: title,
query: path,
imageUrl: "",
};
},
onShareAppMessage(res) {
setTimeout(() => {
......@@ -1726,4 +1745,29 @@ export default {
font-size: 36rpx;
color: #8f8f94;
} */
.contract_nav {
position: fixed;
bottom: 15%;
right: 10rpx;
height: auto;
width: 80px;
z-index: 99999999999;
display: flex;
flex-direction: column;
}
.Ma_nav-item {
width: 80px;
height: 80px;
border-radius: 50px;
margin-top: 12px;
border: none;
outline: none;
background: transparent;
padding: 0px;
}
.Ma_nav-item::after{ border: none; }
.contract_nav .Ma_nav-item img {
width: 80px;
height: 80px;
}
</style>
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