yuminge-app/yun-min-program-plugin-master/packageD/mycomponent/yzSubscribe/yzSubscribe.wxml

57 lines
2.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<view class="invoice" catchtap="show1btn">
<view class="left">
<view class="span">发票</view>
<view class="type" wx:if="{{ invoicename }}">
<text class="font">{{ invoicename }}</text>{{ companyname }}—{{ showInvoiceTitle }}
</view>
</view>
<view class="right">
<van-icon name="arrow" color="#333" size='32rpx' />
</view>
</view>
<!--发票-->
<van-popup show="{{showInvoice}}" position="bottom" closeable bind:close="closePopup">
<view class="popup_box">
<view class="h1">发票</view>
<view class="p">
<icon class="iconfont icon-tishi1"></icon>
<text class="span">发票须知启用电子普通发票订单完成后24小时内开具点击“我的订单“可查看和下载</text>
</view>
<view class="type_box">
<view class="h2">发票类型</view>
<view class="type">
<view class="button {{invoice_list.invoice_type === 'electron'?'cur':''}}" wx:if="{{invoiceData.electron_status}}" data-type="{{'electron'}}" catchtap="invoice_type">
电子发票
</view>
<view class="button {{invoice_list.invoice_type === 'papery'?'cur':''}}" wx:if="{{invoiceData.papery_status}}" data-type="{{'papery'}}" catchtap="invoice_type">
纸质发票
</view>
</view>
</view>
<view class="type_box">
<view class="h2">发票抬头</view>
<view class="type">
<view class="button {{invoice_list.invoice_status === 'person'?'cur':''}}" data-type="{{'person'}}" catchtap="invoice_title">
个人
</view>
<view class="button {{invoice_list.invoice_status === 'company'?'cur':''}}" data-type="{{'company'}}" catchtap="invoice_title">
单位
</view>
</view>
<view class="input_box" wx:if="{{invoice_list.invoice_status === 'person'}}">
<van-field value="{{invoice_list.call}}" placeholder="请输入发票抬头" bind:blur="callinp" />
<van-field value="{{invoice_list.email}}" placeholder="请输入邮箱(非必填)" bind:blur="emailinp" />
</view>
<view class="input_box" wx:if="{{invoice_list.invoice_status === 'company'}}">
<van-field value="{{invoice_list.call}}" placeholder="请填写单位名称" bind:blur="callinp" />
<van-field value="{{invoice_list.company_number}}" placeholder="请添加纳税人识别号" bind:blur="companyNumberinp" />
<van-field value="{{invoice_list.email}}" placeholder="请输入邮箱(非必填)" bind:blur="emailinp" />
</view>
</view>
<view class="btn">
<view class="button" catchtap="Subinvoice">确定</view>
</view>
</view>
</van-popup>