<t-toast id="t-toast" />
<!--单身情况下-->
<view class="xybtn2" wx:if="{{single}}"><text class="btn21">银币</text><text class="btn22">{{userInfo.silverCoin}}枚</text></view>
<view class="xybtn3" wx:if="{{single}}" bindtap="go2MyYw">我的愿望<view class="xyctoast">{{wishes.length}}</view></view>

<!--非单身情况下-->
<view class="qlxybtn2" wx:if="{!{single}}"><text class="btn21">银币</text><text class="btn22">{{userInfo.silverCoin}}枚</text></view>
<view class="qlxybtn21" wx:if="{!{single}}" bindtap="go2TaYw">Ta的愿望</view>
<view class="qlxybtn22" wx:if="{!{single}}" bindtap="go2MyYw">我的愿望<view class="xyctoast">{{wishes.length}}</view></view>
<view class="bgt3" ></view>
<view class="bgt2" ></view>
<view class="bgt1" ></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" />

<!-- 提示 -->
<view class="xyc-toast">
    投枚银币许个愿吧！守护精灵将会祝福你的愿望！
</view>

<!-- 许愿祝福中 -->
<view class="xyc-process" wx:if="{{showXyz}}">
  愿望祝福中……
</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" >
    <view class="anwz1-tb" bindtap="openShare">
      <t-image class="anzmlogo1" src="https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xyc/lfc.png"></t-image>
    </view>
    <view class="anwztxt1">分享</view>
  </view>
</view>

