Commit 0b44bb4a by zhouweifeng

style copybtn

parent 73f0f739
......@@ -122,7 +122,7 @@
<view class="iconright iconfont icon" style="vertical-align: middle"></view>
</view>
<!-- 删除该会议 -->
<template is="deleteBtn" onhandleDelete="handleDelete" data="{{title: '删除该会议' }}"/>
<template is="deleteBtn" onhandleDelete="handleDelete" onhandleCopy="handleDelete" data="{{title: '删除该会议',copy: '再次邀请会议' }}"/>
</view>
<!-- 底部导航栏 -->
<view class="footNav">
......
......@@ -67,6 +67,12 @@ create.Page({
id: '',
saveLoading: false
},
copy() {
debugger
dd.navigateTo({
url: `/pages/createMeeting/createMeeting`
})
},
onShow() {
console.log('onshow')
this.update()
......
......@@ -7,13 +7,24 @@
.delete-task {
border: 1rpx solid rgba(222, 222, 222, 1);
background: #fff;
border-radius: 48rpx;
color: rgba(27, 38, 61, 0.72);
font-size: 28rpx;
line-height: 64rpx;
padding: 0 34rpx;
}
.delete-task~.delete-task {
border-left-width: 0;
}
.delete-task:nth-last-of-type(1) {
border-radius: 0 48rpx 48rpx 0;
}
.delete-task:first-of-type {
border-radius: 48rpx 0 0 48rpx;
}
.delete-task .iconfont {
color: rgba(242, 86, 67, 1);
font-size: 28rpx;
......
......@@ -4,5 +4,9 @@
<text class="iconfont iconicon_delete"></text>
<text class="delete-task-text">{{title}}</text>
</view>
<view a:if="{{copy}}" class="delete-task" onTap="handleCopy">
<text class="iconfont iconicon_delete"></text>
<text class="delete-task-text">{{copy}}</text>
</view>
</view>
</template>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment