You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xzjl-ui/pages/xz/index.wxml

65 lines
2.9 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<view class="already">
<view class="already-top"></view>
<!-- 打开信札页面 -->
<view wx:if="{{showLetter}}">
<view class="already-img"></view>
<view class="already-text">
<view class="already-text0">Hi~</view>
<view class="already-text1">这里有一封来自</view>
<view class="already-text1">【{{letterMsg.from}}】</view>
<view class="already-text1"> 寄给你的信!</view>
<view class="already-text1">快点击信封打开看看吧!</view>
<view class="already-btn">
<view class="btn" bindtap="openLetter">打开</view>
</view>
</view>
</view>
<!-- 显示信札页面 -->
<view class="body" wx:if="{{!showLetter}}">
<view class="xinfo">
<view class="xinfo-title">To{{letterMsg.to}}</view>
<view class="xinfo-main">
<t-textarea disabled autosize="true" model:value="{{content}}"/>
</view>
<view class="xinfo-voice" bindtap="playVideos" wx:for="{{audioList}}" wx:key="index" data-url="{{item}}">
<view class="xinfo-icon"></view>
<view> {{item.duration}} </view>
</view>
<view class="xinfo-img" wx:for="{{imgList}}" wx:key="index">
<image src="{{item.img}}" />
</view>
<view class="xinfo-sign">Form{{letterMsg.from}}</view>
<view class="xinfo-time">{{time}}</view>
</view>
<view class="body-btm-img">
<view class="btm-img-icon"></view>
<view class="btm-img-goback" bindtap="go2Back">
<image src="https://wk921-1316969570.cos.ap-nanjing.myqcloud.com/iconPark-return%401x.png" />
</view>
<view class="btm-img-more" bindtap="openMore">
<image src="https://wk921-1316969570.cos.ap-nanjing.myqcloud.com/md-more_horiz%20Copy%401x.png" />
</view>
<view class="btm-img-more modify" wx:if="{{showMore}}" bindtap="openDel">销毁</view>
<!-- <view class="btm-img-more del" wx:if="{{showMore}}">修改</view> -->
</view>
</view>
<!-- 删除页面 -->
<view class="delete" wx:if="{{showDel}}">
<view class="delete-box">
<view class="box-text">确定要烧毁信件吗?</view>
<view class="box-text">销毁后信件将彻底消失</view>
<view class="box-btn">
<view class="btn" bindtap="openDel">取消</view>
<view class="btn" bindtap="resetLetter">确认</view>
</view>
</view>
</view>
</view>