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

70 lines
3.3 KiB
Plaintext
Raw Permalink Normal View History

<wxs module="filters" src="../../../../utils/addmul.wxs"></wxs>
2025-05-29 13:29:32 +00:00
<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">我的价格{{ filters.toFix2(myUnitPrice) }},我的抽成{{ filters.toFix2((myUnitPrice*100 - pgencyPrice*100)/100) }}元</text>
2025-05-29 13:29:32 +00:00
<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>
2025-06-05 01:47:29 +00:00
<text class="font_2 text_3">{{ projectDetailName }}</text>
2025-05-29 13:29:32 +00:00
</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">
2025-06-05 01:47:29 +00:00
<input
class="text_8 font"
type="digit"
placeholder="请输入"
2025-06-05 01:47:29 +00:00
data-field="pgencyPrice"
value="{{ pgencyPrice }}"
disabled="{{ pgencyPriceAble }}"
bindblur="calculateRatio"
bindinput="handleInputChange"
/>
2025-05-29 13:29:32 +00:00
</view>
</view>
<view class="flex-row justify-between items-center group_2">
<text class="font_2 text_7">抽成比例</text>
2025-06-05 01:47:29 +00:00
<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="请输入"
2025-06-05 01:47:29 +00:00
type="digit"
data-field="commissionRate"
value="{{ commissionRate }}"
disabled="{{ commissionRateAble }}"
bindblur="calculateUnitPrice"
bindinput="handleInputChange"
/>
2025-05-29 13:29:32 +00:00
</view>
</view>
<view class="flex-row justify-between items-center group_3">
<text class="font_2 text_10">设价方式</text>
2025-06-05 01:47:29 +00:00
<radio-group class="flex-col group_4" bindchange="radioChange">
2025-05-29 13:29:32 +00:00
<view class="flex-row items-center">
2025-06-05 01:47:29 +00:00
<radio class="radio" color="#FF8D1A" value="代理价"></radio>
2025-05-29 13:29:32 +00:00
<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="抽成比例" checked></radio>
2025-05-29 13:29:32 +00:00
<text class="font_2 text_11 ml-7">抽成比例</text>
</view>
</radio-group>
</view>
2025-05-29 00:56:35 +00:00
</view>
</view>
2025-05-29 13:29:32 +00:00
<view class="flex-col items-center mt-22">
2025-06-03 16:18:25 +00:00
<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">
2025-05-29 13:29:32 +00:00
<text class="font_3 text_13">取消</text>
2025-05-29 00:56:35 +00:00
</view>
</view>
</view>
</view>
2025-05-29 13:29:32 +00:00
</view>