|
|
@@ -1,4 +1,9 @@
|
|
|
<view class="float-box" style="top: {{top}}; left: {{left}}; z-index:{{zIndex}};" bindtouchmove="viewTouchMove">
|
|
|
- <slot wx:if="{{useSlot}}" />
|
|
|
- <image wx:else style="width: 160rpx; height: 160rpx; transform: translate(-50%,-50%);" src='../../static/image/add.png' data-title="新建线索" />
|
|
|
+ <slot wx:if="{{useSlot}}" />
|
|
|
+ <image wx:elif='{{!alternative}}' style="width: 160rpx; height: 160rpx; transform: translate(-50%,-50%);" src='../../static/image/add.png' binderror='imageOnErr' data-title="新建线索" />
|
|
|
+ <view wx:else class="circle-box">
|
|
|
+ <view class="circle">
|
|
|
+ +
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|