Commit 2d95d6d1 authored by 罗超's avatar 罗超

修复漏洞

parent b422bbfb
......@@ -23,7 +23,9 @@
<u-row gutter="20">
<u-col span="6" v-for="(cx, ci) in g" :key="ci">
<view class="good" @click="clickHandler(cx)">
<image src="../../static/images/share.png" mode="widthFix" class="share" v-if="cx.ExtensionImg&&cx.ExtensionImg!=''" @click="goshare(cx.ExtensionImg)" />
<view class="sharebox" v-if="cx.ExtensionImg&&cx.ExtensionImg!=''" @click.native.stop="goshare(cx.ExtensionImg)">
<image src="../../static/images/share.png" mode="widthFix" class="share" />
</view>
<!-- <view class="good-img" :style="{ 'background-image': 'url(' + (cx.cover_img ? cx.cover_img : '') + ')', backgroundSize: '100% 100%' }"> -->
<view
class="good-img"
......@@ -150,7 +152,7 @@ export default {
this.initPage();
uni.showNavigationBarLoading();
if (option.user_id) {
uni.setStorageSync("pid", { pid: options.user_id });
uni.setStorageSync("pid", { pid: option.user_id });
}
this.u = uni.getStorageSync("mall_UserInfo");
if (!this.u) {
......@@ -249,7 +251,15 @@ export default {
height: 243px;
position: relative;
}
.liveStyle .u-good-list .good .share{
.liveStyle .u-good-list .good .sharebox{
width: 50px;
height: 50px;
position: absolute;
right: 0px;
top: 0px;
z-index: 5;
}
.liveStyle .u-good-list .good .sharebox .share{
width: 50rpx;
height: 50rpx;
position: absolute;
......
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