shareModal.wxml 1.22 KB
<!-- components/show-modal/index.wxml -->
<view wx:if="{{_show}}" class='popV' catchtouchmove="move">
	<view class='popV-mask' bindtap="selectMask" animation='{{maskAnimate}}' />
	<!-- 动态修改top -->
	<view class='popV-content' animation='{{frameAnimate}}'>
		<view class="tap_title" wx:if="{{tabTitleShow}}">{{tapTitle}}</view>
		<view class="popV-title" wx:if="{{title}}">{{title}}</view>
		<slot wx:if="{{custom}}" />
		<view class="popV-content-btm {{btnBorder?'border':''}}">
			<!-- style="color:{{btnTextColor[index]?btnTextColor[index]:''}};" -->
			<view class='popV-item' bindtap='shareBtn' data-type="wx">
				<image class="img wximg " src="./images/wxIcon.png" />
				转发
			</view>
			<view class='popV-item' bindtap='shareBtn' data-type="download">
				<image class="img" src="./images/downloadIcon.png" />
				保存
			</view>
			<!-- <view
			      wx:for="{{btns}}"
			      wx:key="index"
			      data-index="{{index}}"
			      class='popV-item'
			      hover-class='popV-hover'
			      bindtap='selectBtn'>
				{{item}}
			</view> -->
		</view>
		<image
		       class="closeIcon"
		       src="./images/closeIcon.png"
		       data-type="close"
		       bindtap='selectBtn'
		       bindload="" />
	</view>
</view>