<template>
    <view class="info">
        <image
            class="logo"
            :src="logoUrl"
            mode="scaleToFill"
        />

      <view class="storeStatus">
        <view class="title1">{{storeName}}</view> 
        <view style="margin-top: 40rpx;">
            <view class="item">
                联系人：<input class="uni-input" :placeholder-style="appTheme ? '' : 'color:#cccbcb'"  style="margin-left: 18rpx;" v-model="invoiceInfo.invoice_contact.person" placeholder="发票联系人"/>
            </view>
            <view class="item">
                联系电话:<input class="uni-input" :placeholder-style="appTheme ? '' : 'color:#cccbcb'" v-model="invoiceInfo.invoice_contact.phone"  placeholder="联系电话" />
            </view>
            <view class="item">
                开具方式:
                <picker @change="bindPickerChange($event,'invoice_mode')" :value="invoice_mode_index" :range="invoice_mode_array" :range-key="'label'">
                    <view class="uni-input" >{{invoice_mode_array[invoice_mode_index].label}}</view>
                </picker>
            </view>
            <view class="item">
                发票材质:
                <picker @change="bindPickerChange($event,'invoice_material')" :value="invoice_material_index" :range="invoice_material_array" :range-key="'label'">
                    <view class="uni-input">{{invoice_material_array[invoice_material_index].label}}</view>
                </picker>
            </view>
            <view class="item">
                发票种类:
                <picker @change="bindPickerChange($event,'invoice_class')" :value="invoice_class_index" :range="invoice_class_array" :range-key="'label'">
                    <view class="uni-input">{{invoice_class_array[invoice_class_index].label}}</view>
                </picker>
            </view>

            <view class="save_button" @tap="saveInvoiceInfo">保存</view>
        </view>
      </view>
     
    </view>


    <!-- 公共组件 -->
    <jx-loading />
  </template>
  
  <script lang="ts" src="./setInvoiceEB.ts" >
  </script>
  
  <style lang="scss" scoped>
  @import './setInvoiceEB.scss';
  </style>
  
  <style>
@media (prefers-color-scheme: light) {
  page {
    background-color: #fff;
  }
}
  </style>