|
|
@ -258,8 +258,8 @@ |
|
|
<view class="modal-btn confirm-btn" bindtap="saveEdit">提交</view> |
|
|
<view class="modal-btn confirm-btn" bindtap="saveEdit">提交</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<scroll-view scroll-y="true" style="height: calc(100vh - 160rpx); overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 160rpx 60rpx 40rpx; box-sizing: border-box;"> |
|
|
<scroll-view scroll-y="true" style="height: calc(100vh - 120rpx); overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 40rpx 60rpx 120rpx; box-sizing: border-box; margin-top: 120rpx; position: relative; z-index: 1;"> |
|
|
<view> |
|
|
<view style="width: 100%; max-width: 100%;"> |
|
|
<!-- 动态生成多个价格输入框 --> |
|
|
<!-- 动态生成多个价格输入框 --> |
|
|
<block wx:if="{{editSupply.specArray && editSupply.specArray.length > 1}}"> |
|
|
<block wx:if="{{editSupply.specArray && editSupply.specArray.length > 1}}"> |
|
|
<view class="dynamic-price-container"> |
|
|
<view class="dynamic-price-container"> |
|
|
@ -307,8 +307,26 @@ |
|
|
<view class="edit-form-label">货源描述</view> |
|
|
<view class="edit-form-label">货源描述</view> |
|
|
<textarea class="edit-form-textarea" placeholder="请输入货源描述" bindinput="onEditInput" data-field="description" value="{{editSupply.description}}" auto-height="true" maxlength="500"></textarea> |
|
|
<textarea class="edit-form-textarea" placeholder="请输入货源描述" bindinput="onEditInput" data-field="description" value="{{editSupply.description}}" auto-height="true" maxlength="500"></textarea> |
|
|
|
|
|
|
|
|
<!-- 添加底部空白区域 --> |
|
|
<view class="edit-form-label">讲价设置</view> |
|
|
<view style="height: 10vh; background: transparent;"></view> |
|
|
<view class="bargain-buttons"> |
|
|
|
|
|
<button |
|
|
|
|
|
class="bargain-button {{editSupply.bargaining === 1 ? 'active' : ''}}" |
|
|
|
|
|
bindtap="toggleBargain" |
|
|
|
|
|
data-canbargain="false" |
|
|
|
|
|
> |
|
|
|
|
|
不可讲价 |
|
|
|
|
|
</button> |
|
|
|
|
|
<button |
|
|
|
|
|
class="bargain-button {{editSupply.bargaining === 0 ? 'active' : ''}}" |
|
|
|
|
|
bindtap="toggleBargain" |
|
|
|
|
|
data-canbargain="true" |
|
|
|
|
|
> |
|
|
|
|
|
可讲价 |
|
|
|
|
|
</button> |
|
|
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view style="height: 40rpx; background: transparent;"></view> |
|
|
</view> |
|
|
</view> |
|
|
</scroll-view> |
|
|
</scroll-view> |
|
|
</view> |
|
|
</view> |
|
|
|