qingcheng-xiaochengxu/pages/personCenter/component/commissionRatePop/commissionRatePop.wxml

69 lines
3.3 KiB
Plaintext

<view wx:if="{{show}}" class="popup-wrapper">
<view class="promo-mask" bindtap="close"></view>
<view class="flex-col section popup-content">
<text class="self-center font text">代理价设置</text>
<view class="flex-col self-stretch mt-24">
<view class="flex-col">
<text class="self-start font_2 text_2">我的价格{{ myUnitPrice }},我的抽成{{ (myUnitPrice*100 - pgencyPrice*100)/100 }}元</text>
<view class="flex-col self-stretch section_2 mt-13">
<view class="flex-row justify-between items-center">
<text class="font_2 text_4">结算标准</text>
<text class="font_2 text_3">{{ projectDetailName }}</text>
</view>
<view class="flex-row justify-between items-center group">
<text class="font_2 text_5">代理价</text>
<view class="flex-col justify-start items-start text-wrapper">
<input
class="text_8 font"
type="digit"
placeholder="请输入代理单价"
data-field="pgencyPrice"
value="{{ pgencyPrice }}"
disabled="{{ pgencyPriceAble }}"
bindblur="calculateRatio"
bindinput="handleInputChange"
/>
</view>
</view>
<view class="flex-row justify-between items-center group_2">
<text class="font_2 text_7">抽成比例</text>
<view class="flex-col justify-start items-start text-wrapper input-container">
<image class="input-icon" src="./images/baifenbi.png"></image>
<input
class="text_8 font"
placeholder="请输入抽成比例"
type="digit"
data-field="commissionRate"
value="{{ commissionRate }}"
disabled="{{ commissionRateAble }}"
bindblur="calculateUnitPrice"
bindinput="handleInputChange"
/>
</view>
</view>
<view class="flex-row justify-between items-center group_3">
<text class="font_2 text_10">设价方式</text>
<radio-group class="flex-col group_4" bindchange="radioChange">
<view class="flex-row items-center">
<radio class="radio" color="#FF8D1A" value="代理价"></radio>
<text class="font_2 text_9 ml-7">代理价</text>
</view>
<view class="flex-row items-center mt-14">
<radio class="radio_1" color="#FF8D1A" value="抽成比例"></radio>
<text class="font_2 text_11 ml-7">抽成比例</text>
</view>
</radio-group>
</view>
</view>
</view>
<view class="flex-col items-center mt-22">
<view class="flex-col justify-start items-center text-wrapper_2" bind:tap="confirm"><text class="font_3 text_12">确定</text></view>
<view class="flex-col justify-start items-center text-wrapper_3 mt-12" bind:tap="cancel">
<text class="font_3 text_13">取消</text>
</view>
</view>
</view>
</view>
</view>