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/home/xyc/index.wxml

122 lines
4.7 KiB

<t-toast id="t-toast" />
<!--单身情况下-->
<view class="xybtn2" wx:if="{{!userInfo.loverId}}"><text class="btn21">银币</text><text class="btn22">{{userInfo.silverCoin}}枚</text></view>
<view class="xybtn3" wx:if="{{!userInfo.loverId}}" bindtap="go2MyYw">我的愿望<view class="xyctoast">{{wishes.length}}</view></view>
<!--非单身情况下-->
<view class="qlxybtn2" wx:if="{{userInfo.loverId}}"><text class="btn21">银币</text><text class="btn22">{{userInfo.silverCoin}}枚</text></view>
<view class="qlxybtn21" wx:if="{{userInfo.loverId}}" bindtap="go2TaYw">Ta的愿望</view>
<view class="qlxybtn22" wx:if="{{userInfo.loverId}}" bindtap="go2MyYw">我的愿望<view class="xyctoast">{{wishes.length}}</view></view>
<view class="bgt3" ></view>
<view class="bgt2" ></view>
<view class="bgt1" bindtap="showToast"></view>
<view class="xyk" ></view>
<view class="xybtn" bindtap="doXyPop"></view>
<!-- <view class="ppop" bindtap="showMultiText"></view> -->
<t-popup class="txypop" visible="{{visible}}" placement="center">
<view class="ttop1">
<view class="xynr">许愿内容</view>
<view class="qwsj">期望时间</view>
<view class="xylj">许愿链接</view>
<view class="xytp">许愿图片</view>
<t-textarea class="xynrf" model:value="{{xyContent}}" t-class="external-class" placeholder="内容限制30个字" />
<t-textarea class="qwsjt" placeholder="请选择到期时间" bindtap="doXzTime" value="{{note}}" disabled />
<view class="xltb"></view>
<t-textarea class="xyljt" model:value="{{xyLink}}" placeholder="愿望链接(可不填)" />
<view >
<t-upload class="xytpt"
mediaType="{{['video','image']}}"
max="{{1}}"
files="{{fileList}}"
bind:add="handleAdd"
bind:remove="handleRemove"
>
</t-upload>
</view>
<view class="qx" bindtap="doCancelXy">取消</view>
<view data-fs="{{form}}" data-note="{{note}}" class="wc" bindtap="doFinishXy">完成</view>
</view>
</t-popup>
<t-calendar visible="{{cvisible}}" bind:confirm="handleConfirm" bind:close="onClose" min-date="{{minDate}}"/>
<!-- 提示 -->
<view class="xyc-toast" wx:if="{{showToast}}">
投枚银币许个愿吧!守护精灵将会祝福你的愿望!
</view>
<!-- 许愿祝福中 -->
<view class="xyc-process" wx:if="{{showXyz}}">
<t-image src="/images/hourglass.gif"/>
<view>愿望祝福中……</view>
</view>
<!--愿望详情-->
<view wx:if="{{showDetail}}">
<view class="wishdetail" bindtap="closeDetail"></view>
<view class="popbox"></view>
<t-image class="yximg" src="{{item.img}}"></t-image>
<view class="ywwz2">愿望</view>
<view class="ywxq2">{{item.content}}</view>
<view class="qwsj2">期望时间</view>
<view class="qwsjtxt2">{{item.deadline}}</view>
<view class="anwz1" bindtap="openShare">
<view class="anwz1-tb">
<t-image class="anzmlogo1" src="https://oss.wish.ydxxkj.top/xy/lfc.png"></t-image>
</view>
<view class="anwztxt1">分享</view>
</view>
</view>
<!-- 分享 -->
<t-popup visible="{{shareVisible}}" placement="bottom">
<view class="popup-main">
<view class="main-top">
<view></view>
<view class="text">分享到</view>
<t-icon name="close" size="32" bindtap="openShare"/>
</view>
<view class="main-box">
<view class="box-item">
<button open-type="share" class="item-icon" bindtap="shareWx">
<t-image src="https://oss.wish.ydxxkj.top/xy/lfc.png"></t-image>
</button>
<view class="item-text">微信</view>
</view>
<view class="box-item">
<view class="item-icon cyan">
<t-image src="https://oss.wish.ydxxkj.top/xy/antFill-pyq.png"></t-image>
</view>
<view class="item-text">朋友圈</view>
</view>
<view class="box-item">
<view class="item-icon orange">
<t-image src="https://oss.wish.ydxxkj.top/xy/antFill-wb.png"></t-image>
</view>
<view class="item-text">微博</view>
</view>
<view class="box-item">
<view class="item-icon blue">
<t-image src="https://oss.wish.ydxxkj.top/xy/antFill-qq.png"></t-image>
</view>
<view class="item-text">QQ</view>
</view>
<view class="box-item">
<view class="item-icon yellow">
<t-image src="https://oss.wish.ydxxkj.top/xy/antFill-qqkj.png"></t-image>
</view>
<view class="item-text">QQ空间</view>
</view>
<view class="box-item">
<view class="item-icon orange">
<t-image src="https://oss.wish.ydxxkj.top/xy/antFill-tp.png"></t-image>
</view>
<view class="item-text">生成图片</view>
</view>
</view>
</view>
</t-popup>