main
liudan 1 year ago
parent 459daa2dc5
commit d7b1b17751
  1. 15
      components/shopro-notice-modal/shopro-notice-modal.vue
  2. 2
      pages/index/index.vue

@ -4,7 +4,11 @@
<view class="cu-modal" :class="{ show: showModal }" @tap="hideModal(p, index)" v-if="popupCurrent === index && p.image"> <view class="cu-modal" :class="{ show: showModal }" @tap="hideModal(p, index)" v-if="popupCurrent === index && p.image">
<view class="cu-dialog" style="width: 610rpx;background: none;"> <view class="cu-dialog" style="width: 610rpx;background: none;">
<view class="img-box" @tap.stop="onPopup(p.path)"><image class="modal-img" :src="p.image" mode="aspectFit"></image></view> <view class="img-box" @tap.stop="onPopup(p.path)"><image class="modal-img" :src="p.image" mode="aspectFit"></image></view>
<view class="close" @tap="hideModal(p, index)">
<u-icon name="close" size="34"></u-icon>
</view>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
@ -68,4 +72,15 @@ export default {
height: 830rpx; height: 830rpx;
} }
} }
.close{
position: absolute;
top: 0;
right: 0;
z-index: 999;
border-radius: 50%;
text-align: center;
padding:20rpx;
background-color: #aaaaaa;
color:#fff;
}
</style> </style>

@ -90,7 +90,7 @@
<!-- 登录提示 --> <!-- 登录提示 -->
<shopro-auth-modal></shopro-auth-modal> <shopro-auth-modal></shopro-auth-modal>
<!-- 悬浮按钮 --> <!-- 悬浮按钮 -->
<shopro-float-btn></shopro-float-btn> <!-- <shopro-float-btn></shopro-float-btn> -->
<!-- 连续弹窗提醒 --> <!-- 连续弹窗提醒 -->
<shopro-notice-modal v-if="!showPrivacy && isLogin"></shopro-notice-modal> <shopro-notice-modal v-if="!showPrivacy && isLogin"></shopro-notice-modal>
<!-- 隐私协议 --> <!-- 隐私协议 -->

Loading…
Cancel
Save