|
@@ -2,7 +2,7 @@
|
|
|
<view class="page">
|
|
<view class="page">
|
|
|
<view class="block">
|
|
<view class="block">
|
|
|
<view
|
|
<view
|
|
|
- class="flex"
|
|
|
|
|
|
|
+ class="flex-align-center"
|
|
|
:style="{
|
|
:style="{
|
|
|
marginTop: index === 0 ? 0 : '40rpx',
|
|
marginTop: index === 0 ? 0 : '40rpx',
|
|
|
}"
|
|
}"
|
|
@@ -12,18 +12,26 @@
|
|
|
<view class="fs-32 lh-48 color-999" style="width: 192rpx">{{
|
|
<view class="fs-32 lh-48 color-999" style="width: 192rpx">{{
|
|
|
item.label
|
|
item.label
|
|
|
}}</view>
|
|
}}</view>
|
|
|
- <view class="fs-32 lh-48 color-000" v-if="index === 7">
|
|
|
|
|
|
|
+ <view class="fs-28 lh-48 color-000" v-if="index === 7">
|
|
|
<text style="color: rgba(255, 153, 0, 1)">{{ item.value }}</text>
|
|
<text style="color: rgba(255, 153, 0, 1)">{{ item.value }}</text>
|
|
|
<text style="margin-left: 2px">元</text>
|
|
<text style="margin-left: 2px">元</text>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="fs-32 lh-48 color-000" v-else>{{ item.value }}</view>
|
|
|
|
|
|
|
+ <view class="fs-28 lh-48 color-000" v-else>{{ item.value }}</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <view class="block pt-40 pb-40 pl-30 pr-30 flex mt-30" v-if="email">
|
|
|
|
|
+ <view class="fs-32 lh-48 color-999" style="width: 192rpx">电子邮箱</view>
|
|
|
|
|
+ <view class="fs-28 lh-48 color-000">{{ email }}</view>
|
|
|
|
|
+ </view>
|
|
|
<view class="block pt-40 pb-40 pl-30 pr-30 flex mt-30">
|
|
<view class="block pt-40 pb-40 pl-30 pr-30 flex mt-30">
|
|
|
<view class="fs-32 lh-48 color-999" style="width: 192rpx">发票</view>
|
|
<view class="fs-32 lh-48 color-999" style="width: 192rpx">发票</view>
|
|
|
<view class="ml-auto flex-align-center" @click="openInvoice">
|
|
<view class="ml-auto flex-align-center" @click="openInvoice">
|
|
|
<view class="fs-28 color-primary mr-4">立即查看</view>
|
|
<view class="fs-28 color-primary mr-4">立即查看</view>
|
|
|
- <uni-icons type="right" size="14" color="var(--color-primary)"></uni-icons>
|
|
|
|
|
|
|
+ <uni-icons
|
|
|
|
|
+ type="right"
|
|
|
|
|
+ size="14"
|
|
|
|
|
+ color="var(--color-primary)"
|
|
|
|
|
+ ></uni-icons>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -35,6 +43,7 @@ import { onLoad } from "@dcloudio/uni-app";
|
|
|
import { ref } from "vue";
|
|
import { ref } from "vue";
|
|
|
|
|
|
|
|
const openInvoiceId = ref();
|
|
const openInvoiceId = ref();
|
|
|
|
|
+const email = ref();
|
|
|
const list = ref([
|
|
const list = ref([
|
|
|
{
|
|
{
|
|
|
label: "公司名称",
|
|
label: "公司名称",
|
|
@@ -103,6 +112,7 @@ onLoad((options: any) => {
|
|
|
)}`;
|
|
)}`;
|
|
|
list.value[8].value = res[fd].createTime;
|
|
list.value[8].value = res[fd].createTime;
|
|
|
openInvoiceId.value = res[fd].id;
|
|
openInvoiceId.value = res[fd].id;
|
|
|
|
|
+ email.value = res[fd].email || "";
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
return Promise.reject({
|
|
return Promise.reject({
|