1 line
1.8 KiB
Plaintext
1 line
1.8 KiB
Plaintext
<view wx:if="{{a}}" bindtap="{{m}}" class="{{['popup-mask', 'data-v-fbf56c15', virtualHostClass]}}" style="{{virtualHostStyle}}" hidden="{{virtualHostHidden || false}}" id="{{n}}"><view class="popup-content data-v-fbf56c15" catchtap="{{l}}"><view class="popup-header data-v-fbf56c15"><view class="popup-title text-bold data-v-fbf56c15">{{b}}</view><view class="popup-close data-v-fbf56c15" bindtap="{{c}}">×</view></view><view class="popup-body data-v-fbf56c15"><view class="flex margin-bottom-sm data-v-fbf56c15"><view class="data-v-fbf56c15">区域名称</view><view class="text-red data-v-fbf56c15">*</view></view><input class="form-input data-v-fbf56c15" placeholder="请输入区域名称" value="{{d}}" bindinput="{{e}}"/><view class="flex margin-bottom-sm margin-top data-v-fbf56c15"><view class="data-v-fbf56c15">区域颜色</view><view class="text-red data-v-fbf56c15">*</view></view><view class="flex align-center margin-bottom-sm data-v-fbf56c15"><view class="color-preview data-v-fbf56c15" style="{{'background-color:' + f}}"></view><text class="margin-left-sm text-gray data-v-fbf56c15">{{g}}</text></view><view class="margin-bottom-sm text-gray data-v-fbf56c15">请选择颜色</view><view class="color-grid data-v-fbf56c15"><view wx:for="{{h}}" wx:for-item="item" wx:key="d" class="color-option data-v-fbf56c15" bindtap="{{item.e}}"><view class="{{['color-item', 'data-v-fbf56c15', item.a && 'color-item-active']}}" style="{{'background-color:' + item.b}}"></view><text class="color-label data-v-fbf56c15">{{item.c}}</text></view></view></view><view class="popup-footer data-v-fbf56c15"><button class="btn-cancel data-v-fbf56c15" bindtap="{{i}}">取消</button><button class="btn-confirm bg-blue data-v-fbf56c15" bindtap="{{j}}" loading="{{k}}">确定</button></view></view></view> |