<nav type="back" background-color="#46a9a4" title="账户管理" />


<view class="top" style="color: #382E2E;">
    <view class="top-figure">店铺首图</view>
    <upload bind:onChangeFile="changeFile" fileList="{{imageList}}" accept="image" maxCount="1" uploadURL="{{uploadURL}}" domain="{{domain}}" uptokenURL="{{uptokenURL}}"></upload>
    <view class="top-deails">
        <view class="top-name">
            <view class="name">店铺名称:</view>
            <input bindblur="blur" type="text" class="input" data-name="storeName" value="{{storeName}}" placeholder="请输入店铺名称"></input>
        </view>
        <van-icon name="arrow" />
    </view>
    <view class="top-deails">
        <view class="top-name">
            <view class="name">人均消费:</view>
            <input bindblur="blur" type="text" class="input" data-name="perCapita" value="{{perCapita}}" placeholder="请输入人均消费"></input>
        </view>
        <van-icon name="arrow" />
    </view>
    <view class="top-deails">
        <view class="top-names">
            <view class="name">店铺简介:</view>
            <textarea bindblur="blur" type="text" class="input" data-name="desc" value="{{desc}}" placeholder="请输入店铺简介"></textarea>
        </view>
    </view>
    <view class="top-deails">
        <view class="top-name">
            <view class="name">店长名称:</view>
            <input bindblur="blur" type="text" class="input" data-name="name" value="{{name}}" placeholder="请输入店长名称"></input>
        </view>
        <van-icon name="arrow" />
    </view>
    <view class="top-deails">
        <view class="top-name">
            <view class="name">营业时间:</view>
            <input bindblur="blur" type="text" class="input" data-name="workingTime" value="{{workingTime}}" placeholder="请输入营业时间"></input>
        </view>
        <van-icon name="arrow" />
    </view>
    <view class="top-deails" bindtap="mobile">
        <view class="top-name">
            <view class="name">绑定手机号:</view>
            <!-- <input bindblur="blur" type="text" class="input" data-name="store.mobile" value="{{store.mobile}}" placeholder="绑定手机号"></input> -->
            <view class="content">{{store.mobile}}</view>
        </view>
        <van-icon name="arrow" />
    </view>
    <view class="top-deails">
        <view class="top-name">
            <view class="name">用户账号:</view>
            <view class="content">{{store.user.username}}</view>
            <!-- <input bindblur="blur" type="text" class="input" data-name="store.user.username" value="{{store.user.username}}" placeholder="用户账号"></input> -->
        </view>
        <van-icon name="arrow" />
    </view>
    <view class="top-deails" bindtap="password">
        <view class="top-name">
            <view class="name">重置密码:</view>
            <view class="content">{{store.user.password}}</view>
            <!-- <input bindblur="blur" type="text" class="input" data-name="store.user.password" value="{{store.user.password}}" placeholder="登录密码"></input> -->
        </view>
        <van-icon name="arrow" />
    </view>
    <view style="margin-top: 20rpx;">
        <van-button style="margin-top: 20rpx;" bind:tap="chooseGeoPoint" type="primary" size="small">选择民宿地址</van-button>
        <view style="margin-top: 10rpx;">
            <text class="text-small grey">{{address}}</text>
        </view>
    </view>
    <view class="top-figure">店铺图片</view>
    <upload bind:onChangeFile="changeFiles" fileList="{{licenseList}}" accept="image" maxCount="9" uploadURL="{{uploadURL}}" domain="{{domain}}" uptokenURL="{{uptokenURL}}"></upload>
</view>
<!-- <diy-editor width="100%" height="600rpx" insertPicture="{{true}}" placeholder="开始输入..." bind:Content="getHtml" bind:insertImage="insertImage" id="hf_editor" uploadURL="{{uploadURL}}" domain="{{domain}}" uptokenURL="{{uptokenURL}}" /> -->
<!-- <diy-editor width="100%" height="600rpx" insertPicture="{{true}}" placeholder="编写文章..." data-field="{{field.key}}" bind:Content="getHtml" bind:insertImage="insertImage" id="editor{{field.key}}" /> -->
<view class="bommon" style="color: #382E2E;">
    <view class="bommon-name" bindtap="determine">确定</view>
</view>