|
@@ -11,11 +11,19 @@
|
|
|
|
|
|
<!-- 浮动按钮 -->
|
|
|
<FloatingButton>
|
|
|
- <image style="width: 100rpx; height: 100rpx; transform: translate(-50%,-50%);" src='../../static/image/add.png' />
|
|
|
+ <image style="width: 100rpx; height: 100rpx; transform: translate(-50%,-50%);" src='../../static/image/add.png' data-title="新建线索" bindtap="openSheet" />
|
|
|
</FloatingButton>
|
|
|
|
|
|
<My_listBox id='ListBox' bindgetlist="getList" height='{{scrollHeight}}'>
|
|
|
<List list='{{list}}' tagColor='{{tagColor}}' />
|
|
|
<My_empty wx:if="{{list.length==0}}" />
|
|
|
<view style="height: 50px;" />
|
|
|
-</My_listBox>
|
|
|
+</My_listBox>
|
|
|
+
|
|
|
+<!-- 抽屉 -->
|
|
|
+<van-popup class="popup" show="{{ sheetTitle }}" custom-style="height: 100vh;" position="bottom" round closeable bind:close='sheetClose'>
|
|
|
+ <view class="header">{{sheetTitle}}</view>
|
|
|
+ <scroll-view scroll-y style="height:{{scrollHeight}}rpx;">
|
|
|
+ <Insert wx:if="{{initInsert}}" bind:endInsert='endInsert' />
|
|
|
+ </scroll-view>
|
|
|
+</van-popup>
|