Commit 3d50a774 by luyt

fix:tost定位

1 parent 5dfc6255
/* pages/tab/index/components/likeToast/likeToast.wxss */ /* pages/tab/index/components/likeToast/likeToast.wxss */
.toast-box { .toast-box {
position: absolute; position: fixed;
left: 0; left: 0;
top: 0; top: 0;
width: 100%; width: 100%;
......
...@@ -78,11 +78,11 @@ ...@@ -78,11 +78,11 @@
</view> </view>
<!-- 生意助手 --> <!-- 生意助手 -->
<view wx:else> <view wx:else>
<image class="like" wx:if="{{item.starTag == 1}}" src="{{IMG_URL}}index/like.png" data-type="like" data-outidx="{{index}}" data-item="{{item}}" bindtap="showToast" /> <image class="like" wx:if="{{item.clueType == 1 && item.starTag == 1}}" src="{{IMG_URL}}index/like.png" data-type="like" data-outidx="{{index}}" data-item="{{item}}" bindtap="showToast" />
<image class="like" wx:else src="{{IMG_URL}}index/dislike.png" data-type="dislike" data-outidx="{{index}}" data-item="{{item}}" bindtap="showToast" /> <image class="like" wx:if="{{item.clueType == 1 && item.starTag == 0}}" src="{{IMG_URL}}index/dislike.png" data-type="dislike" data-outidx="{{index}}" data-item="{{item}}" bindtap="showToast" />
<view class="name" hover-class="none" hover-stop-propagation="false"> <view class="name" hover-class="none" hover-stop-propagation="false">
{{item.nickName}} {{item.nickName}}
<image class="avatar" src="{{IMG_URL}}index/avatar.png" /> <image class="avatar" src="{{IMG_URL}}index/avatar.png" wx:if="{{item.clueType == 3}}" />
</view> </view>
<view class="line" hover-class="none" hover-stop-propagation="false" /> <view class="line" hover-class="none" hover-stop-propagation="false" />
<view class="want-more" style="height:{{item.getMoreFlag? 100: 'auto'}}px"> <view class="want-more" style="height:{{item.getMoreFlag? 100: 'auto'}}px">
...@@ -131,8 +131,8 @@ ...@@ -131,8 +131,8 @@
<view class="dialog-box"> <view class="dialog-box">
<form bindsubmit="submit"> <form bindsubmit="submit">
<view class="dialog-header"> <view class="dialog-header">
<view hidden="{{isReset}}" class="header-btn btn-gray" bindtap="showCalculate">取消</view> <view wx:if="{{isReset}}" class="header-btn btn-gray" bindtap="showCalculate">取消</view>
<view hidden="{{!isReset}}" class="header-btn btn-gray" bindtap="reset">重置</view> <view wx:if="{{!isReset}}" class="header-btn btn-gray" bindtap="reset">重置</view>
<button class="header-btn btn-primary" form-type="submit">确定</button> <button class="header-btn btn-primary" form-type="submit">确定</button>
</view> </view>
<view class="dialog-content"> <view class="dialog-content">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!