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.
149 lines
6.3 KiB
149 lines
6.3 KiB
<!--pages/home/xyc/wdyw/wdyw.wxml-->
|
|
<!--返回图标-->
|
|
<view class="reback" bindtap="go2Reback"></view>
|
|
<view class="title">我的愿望</view>
|
|
|
|
<view class="ywbjt1"></view>
|
|
<view class="xycbg2"></view>
|
|
<view class="xycbg3"></view>
|
|
|
|
<view class="wishbox">
|
|
<view wx:for="{{wishes}}" wx:key="index">
|
|
<view class="boxitem" bindtap="go2WishDetail" data-wish="{{item}}">
|
|
<t-image src="{{item.img}}" class="boximg"></t-image>
|
|
<view class="boxtitle">{{item.content}}</view>
|
|
<view class="qwsjbox">期望时间:{{item.deadline}}</view>
|
|
<t-image class="logosta" src="https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xyc/ywc.png" wx:if="{{item.status=='completed'}}"></t-image>
|
|
<t-image class="logostajxz" src="https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xyc/jxzdt.gif" wx:if="{{item.status=='processing'}}"></t-image>
|
|
<t-image class="logosta" src="https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xyc/ygq.png" wx:if="{{item.status=='expired'}}"></t-image>
|
|
<view class="wczt" wx:if="{{item.status=='processing'}}">进行中</view>
|
|
<view class="wczt" wx:if="{{item.status=='completed'}}">已完成</view>
|
|
<view class="wczt" wx:if="{{item.status=='expired'}}">已过期</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<!--愿望详情-->
|
|
<t-popup visible="{{visible}}" bind:visible-change="onVisibleChange" placement="top">
|
|
<view class="all" >
|
|
<view class="wishdetail" bindtap="changeVisible"></view>
|
|
<view class="popbox"></view>
|
|
<t-image class="yximg" src="{{detail.img}}"></t-image>
|
|
<view class="ywwz">愿望</view>
|
|
<view class="ywxq">{{detail.content}}</view>
|
|
<view class="qwsj">期望时间</view>
|
|
<view class="qwsjtxt">{{detail.deadline}}</view>
|
|
</view>
|
|
|
|
<view class="ywcczk" wx:if="{{detail.status=='processing'}}"><!--进行中按钮展示-->
|
|
<view class="anwz1">
|
|
<view class="yqq" bindtap="go2DelDialog"></view>
|
|
<view class="anwztxt1">删除</view>
|
|
<t-image bindtap="go2DelDialog" class="anzmlogo1" src="https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xyc/lsc.png"></t-image>
|
|
</view>
|
|
<view class="anwz1">
|
|
<view class="yqq"></view>
|
|
<view class="anwztxt1">修改</view>
|
|
<t-image class="anzmlogo1" src="https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xyc/lxg.png"></t-image>
|
|
</view>
|
|
<view class="anwz1">
|
|
<view class="yqq" bindtap="doFinishWish"></view>
|
|
<view class="anwztxt1" >已达成</view>
|
|
<t-image bindtap="doFinishWish" class="anzmlogo1" src="https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xyc/lydc.png"></t-image>
|
|
</view>
|
|
<view class="anwz1" bindtap="showShare">
|
|
<view class="yqq"></view>
|
|
<view class="anwztxt1">分享</view>
|
|
<t-image class="anzmlogo1" src="https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xyc/lfc.png"></t-image>
|
|
</view>
|
|
</view>
|
|
<view class="ywcczk" wx:if="{{detail.status=='completed'}}"><!--已完成按钮展示-->
|
|
<view class="anwz1">
|
|
<view class="yqq" bindtap="go2DelDialog"></view>
|
|
<view class="anwztxt1">删除</view>
|
|
<t-image bindtap="go2DelDialog" class="anzmlogo1" src="https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xyc/lsc.png"></t-image>
|
|
</view>
|
|
<view class="anwz1" bindtap="showShare">
|
|
<view class="yqq"></view>
|
|
<view class="anwztxt1">分享</view>
|
|
<t-image class="anzmlogo1" src="https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xyc/lfc.png"></t-image>
|
|
</view>
|
|
</view>
|
|
<view class="ywcczk" wx:if="{{detail.status=='expired'}}">
|
|
<view class="anwz1">
|
|
<view class="yqq" bindtap="go2DelDialog"></view>
|
|
<view class="anwztxt1">删除</view>
|
|
<t-image bindtap="go2DelDialog" class="anzmlogo1" src="https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xyc/lsc.png"></t-image>
|
|
</view>
|
|
<view class="anwz1">
|
|
<view class="yqq"></view>
|
|
<view class="anwztxt1">修改</view>
|
|
<t-image class="anzmlogo1" src="https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xyc/lxg.png"></t-image>
|
|
</view>
|
|
</view><!--已过期按钮展示-->
|
|
|
|
|
|
</t-popup>
|
|
|
|
<!--确定删除对话框-->
|
|
<t-dialog
|
|
data-del="{{detail.id}}"
|
|
visible="{{showDelDialog}}"
|
|
content="确定要删除愿望吗?"
|
|
confirm-btn="{{ confirmBtn }}"
|
|
cancel-btn="取消"
|
|
confirm-btn="确定"
|
|
bind:confirm="confirmDelDialog"
|
|
bind:cancel="closeDelDialog"
|
|
/>
|
|
|
|
<!-- 分享 -->
|
|
<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="showShare"/>
|
|
</view>
|
|
<view class="main-box">
|
|
<view class="box-item">
|
|
<button open-type="share" class="item-icon" bindtap="shareWx">
|
|
<t-image src="cloud://cloud1-2geqetnm309fb1b9.636c-cloud1-2geqetnm309fb1b9-1318421017/wechat.png"></t-image>
|
|
</button>
|
|
<view class="item-text">微信</view>
|
|
</view>
|
|
<view class="box-item">
|
|
<view class="item-icon cyan">
|
|
<t-image src="cloud://cloud1-2geqetnm309fb1b9.636c-cloud1-2geqetnm309fb1b9-1318421017/pyq.png"></t-image>
|
|
</view>
|
|
<view class="item-text">朋友圈</view>
|
|
</view>
|
|
<view class="box-item">
|
|
<view class="item-icon orange">
|
|
<t-image src="cloud://cloud1-2geqetnm309fb1b9.636c-cloud1-2geqetnm309fb1b9-1318421017/weibo.png"></t-image>
|
|
</view>
|
|
<view class="item-text">微博</view>
|
|
</view>
|
|
<view class="box-item">
|
|
<view class="item-icon blue">
|
|
<t-image src="cloud://cloud1-2geqetnm309fb1b9.636c-cloud1-2geqetnm309fb1b9-1318421017/qq.png"></t-image>
|
|
</view>
|
|
<view class="item-text">QQ</view>
|
|
</view>
|
|
<view class="box-item">
|
|
<view class="item-icon yellow">
|
|
<t-image src="cloud://cloud1-2geqetnm309fb1b9.636c-cloud1-2geqetnm309fb1b9-1318421017/qqkj.png"></t-image>
|
|
</view>
|
|
<view class="item-text">QQ空间</view>
|
|
</view>
|
|
<view class="box-item">
|
|
<view class="item-icon orange">
|
|
<t-image src="cloud://cloud1-2geqetnm309fb1b9.636c-cloud1-2geqetnm309fb1b9-1318421017/tupian.png"></t-image>
|
|
</view>
|
|
<view class="item-text">生成图片</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</t-popup>
|