<view class="u-page data-v-666e420a"><view class="u-demo-block data-v-666e420a"><block wx:if="{{!isLoggedIn}}"><view class="data-v-666e420a"><view class="section-header custom-layout data-v-666e420a"><text class="section-title data-v-666e420a" style="flex:1;min-width:200rpx;white-space:nowrap;">账号密码</text><text class="section-subtitle data-v-666e420a" style="flex:1;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;">输入孔网账号密码</text></view><view class="login-form-row data-v-666e420a"><u--input bind:input="__e" class="login-input data-v-666e420a" vue-id="6758fd2a-1" placeholder="请输入账号" value="{{username}}" data-event-opts="{{[['^input',[['__set_model',['','username','$event',[]]]]]]}}" bind:__l="__l"></u--input><u--input bind:input="__e" class="login-input data-v-666e420a" vue-id="6758fd2a-2" placeholder="请输入密码" type="password" value="{{password}}" data-event-opts="{{[['^input',[['__set_model',['','password','$event',[]]]]]]}}" bind:__l="__l"></u--input><button text="登录" size="mini" loading="{{isLoading}}" disabled="{{isLoading}}" customStyle="{{$root.a0}}" data-event-opts="{{[['tap',[['login',['$event']]]]]}}" bindtap="__e" class="data-v-666e420a">{{isLoading?'正在登录...':'登录'}}</button></view><view class="remember-password data-v-666e420a"><checkbox-group data-event-opts="{{[['change',[['handleRememberPasswordChange',['$event']]]]]}}" bindchange="__e" class="data-v-666e420a"><label class="checkbox-label data-v-666e420a"><checkbox style="transform:scale(0.7);" checked="{{rememberPassword}}" value="1" color="#007AFF" class="data-v-666e420a"></checkbox><text class="data-v-666e420a">记住密码</text></label></checkbox-group></view></view></block><block wx:else><view class="user-info data-v-666e420a"><view class="user-avatar data-v-666e420a"><image src="{{userInfo&&userInfo.photo?userInfo.photo:'/static/admin-avatar.png'}}" mode="aspectFill" class="data-v-666e420a"></image></view><view class="user-details data-v-666e420a"><text class="username data-v-666e420a">{{userInfo&&userInfo.nickname?userInfo.nickname:username}}</text><text class="user-area data-v-666e420a">{{userInfo&&userInfo.areaName?userInfo.areaName:''}}</text></view><text data-event-opts="{{[['tap',[['handleLogout',['$event']]]]]}}" class="logout data-v-666e420a" bindtap="__e">退出登录</text></view></block><view class="accounts-manager data-v-666e420a"><view class="section-header data-v-666e420a" style="padding-top:10rpx;"><text class="section-title data-v-666e420a" style="font-size:26rpx;">账号管理</text><view data-event-opts="{{[['tap',[['showAddAccount',['$event']]]]]}}" class="add-account data-v-666e420a" bindtap="__e">+ 添加账号</view></view><view class="account-list data-v-666e420a"><block wx:for="{{accounts}}" wx:for-item="account" wx:for-index="index" wx:key="index"><view class="account-item data-v-666e420a"><view class="account-info data-v-666e420a"><text class="account-username data-v-666e420a">{{account.username}}</text><text class="{{['account-status','data-v-666e420a',(account.isActive)?'active':'']}}">{{account.isActive?'当前使用':'备用'}}</text></view><view class="account-actions data-v-666e420a"><block wx:if="{{!account.isActive}}"><text data-event-opts="{{[['tap',[['setAsActive',[index]]]]]}}" class="action-btn data-v-666e420a" bindtap="__e">使用</text></block><block wx:if="{{!account.isActive}}"><text data-event-opts="{{[['tap',[['removeAccount',[index]]]]]}}" class="action-btn delete data-v-666e420a" bindtap="__e">删除</text></block></view></view></block></view></view><uni-popup vue-id="6758fd2a-3" type="center" data-ref="accountPopup" class="data-v-666e420a vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="add-account-popup data-v-666e420a"><view class="popup-title data-v-666e420a">添加备用账号</view><view class="popup-form data-v-666e420a"><u--input bind:input="__e" class="popup-input data-v-666e420a" vue-id="{{('6758fd2a-4')+','+('6758fd2a-3')}}" placeholder="请输入账号" border="surround" value="{{newAccount.username}}" data-event-opts="{{[['^input',[['__set_model',['$0','username','$event',[]],['newAccount']]]]]}}" bind:__l="__l"></u--input><u--input bind:input="__e" class="popup-input data-v-666e420a" vue-id="{{('6758fd2a-5')+','+('6758fd2a-3')}}" placeholder="请输入密码" type="password" border="surround" value="{{newAccount.password}}" data-event-opts="{{[['^input',[['__set_model',['$0','password','$event',[]],['newAccount']]]]]}}" bind:__l="__l"></u--input></view><view class="popup-actions data-v-666e420a"><button data-event-opts="{{[['tap',[['closePopup',['$event']]]]]}}" class="popup-btn cancel data-v-666e420a" bindtap="__e">取消</button><button data-event-opts="{{[['tap',[['addAccount',['$event']]]]]}}" class="popup-btn confirm data-v-666e420a" bindtap="__e">确认</button></view></view></uni-popup></view><view class="u-demo-block data-v-666e420a"><text class="section-title data-v-666e420a">屏蔽店铺</text><u--textarea bind:input="__e" vue-id="6758fd2a-6" placeholder="在售商品列中不显示的店铺(屏蔽店铺之间使用;分割)" inputStyle="{{({fontSize:'32rpx !important'})}}" placeholder-style="font-size: 32rpx !important" value="{{value1}}" data-event-opts="{{[['^input',[['__set_model',['','value1','$event',[]]]]]]}}" class="data-v-666e420a" bind:__l="__l"></u--textarea></view><view class="u-demo-block data-v-666e420a"><view class="section-header data-v-666e420a"><text class="section-title data-v-666e420a">价格模式(总价=书价+运费)</text><text class="section-subtitle data-v-666e420a">自动生成改价</text></view><view class="u-demo-block__content data-v-666e420a"><u-subsection vue-id="6758fd2a-7" list="{{list}}" mode="button" current="{{current1}}" activeColor="#000000" data-event-opts="{{[['^change',[['change1']]]]}}" bind:change="__e" class="data-v-666e420a" bind:__l="__l"></u-subsection><view class="price-reference data-v-666e420a" style="color:#888;font-size:28rpx;margin:20rpx 0;"><block wx:if="{{current1===0}}"><text class="data-v-666e420a">以最低价的<text class="highlight-text data-v-666e420a">总价</text>为参照物</text></block><block wx:if="{{current1===1}}"><text class="data-v-666e420a">以<text class="highlight-text data-v-666e420a">总价</text>最低的<text class="highlight-text data-v-666e420a">{{averageRange}}</text>个价格平均值为参照物</text></block><block wx:if="{{current1===1}}"><view class="average-range-control data-v-666e420a"><text class="range-label data-v-666e420a">参考值个数(2-12之间)</text><view class="range-control data-v-666e420a"><text data-event-opts="{{[['tap',[['decreaseRange',['$event']]]]]}}" class="range-btn data-v-666e420a" bindtap="__e"></text><text class="range-value data-v-666e420a">{{averageRange}}</text><text data-event-opts="{{[['tap',[['increaseRange',['$event']]]]]}}" class="range-btn data-v-666e420a" bindtap="__e"></text></view></view></block><block wx:if="{{current1===0}}"><view class="position-selector data-v-666e420a"><text class="range-label data-v-666e420a">选择第几条数据(1-12之间)</text><view class="freight-picker data-v-666e420a" style="margin-top:10rpx;"><picker mode="selector" range="{{positionOptions}}" value="{{selectedPositionIndex}}" data-event-opts="{{[['change',[['onPositionChange',['$event']]]]]}}" bindchange="__e" class="data-v-666e420a"><view class="picker-content data-v-666e420a">{{''+(positionOptions[selectedPositionIndex]||'请选择位置')+''}}<text class="arrow data-v-666e420a"></text></view></picker></view></view></block><block wx:if="{{current1===2}}"><text class="data-v-666e420a">以最近售出的<text class="highlight-text data-v-666e420a">总价</text>为参照<text style="color:red;" class="data-v-666e420a">[不含运费]</text></text></block></view></view></view><view class="u-demo-block data-v-666e420a"><view class="section-header data-v-666e420a"><text class="section-title data-v-666e420a">运费</text></view><view class="number-control-wrapper data-v-666e420a"><text data-event-opts="{{[['tap',[['decreaseValue3',['$event']]]]]}}" class="number-control-btn minus-btn data-v-666e420a" bindtap="__e">-</text><input class="custom-input-box data-v-666e420a" type="digit" disabled="{{false}}" data-event-opts="{{[['blur',[['validateValue3',['$event']]]],['input',[['__set_model',['','value3','$event',[]]]]]]}}" value="{{value3}}" bindblur="__e" bindinput="__e"/><text data-event-opts="{{[['tap',[['increaseValue3',['$event']]]]]}}" class="number-control-btn plus-btn data-v-666e420a" bindtap="__e">+</text></view><view class="section-header data-v-666e420a"><text class="section-title data-v-666e420a">最低书价(不含运费)</text></view><view class="number-control-wrapper data-v-666e420a"><text data-event-opts="{{[['tap',[['decreaseValue4',['$event']]]]]}}" class="number-control-btn minus-btn data-v-666e420a" bindtap="__e">-</text><input class="custom-input-box data-v-666e420a" type="digit" disabled="{{false}}" data-event-opts="{{[['blur',[['validateValue4',['$event']]]],['input',[['__set_model',['','value4','$event',[]]]]]]}}" value="{{value4}}" bindblur="__e" bindinput="__e"/><text data-event-opts="{{[['tap',[['increaseValue4',['$event']]]]]}}" class="number-control-btn plus-btn data-v-666e420a" bindtap="__e">+</text></view></view><view class="u-demo-block data-v-666e420a" style="margin-top:40rpx;"><view class="section-header data-v-666e420a"><text class="section-title data-v-666e420a">品相筛选</text><text class="section-subtitle data-v-666e420a">根据自己偏好选择</text></view><view class="freight-picker data-v-666e420a"><picker mode="selector" range="{{conditionCode}}" value="{{selectConditionCodeIndex}}" data-event-opts="{{[['change',[['onConditionCode',['$event']]]]]}}" bindchange="__e" class="data-v-666e420a"><view class="picker-content data-v-666e420a">{{''+(conditionCode[selectConditionCodeIndex]||'请选择品相')+''}}<text class="arrow data-v-666e420a"></text></view></picker></view></view></view>