shareModal.wxml
1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!-- 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>