Commit 115ae1b0 authored by chenqikuai's avatar chenqikuai

fix

parent 6f5216ea
...@@ -25,10 +25,12 @@ const emit = defineEmits(["update:modelValue"]); ...@@ -25,10 +25,12 @@ const emit = defineEmits(["update:modelValue"]);
<style lang="scss"> <style lang="scss">
.blackModeMenu___ { .blackModeMenu___ {
div.line.short { div.line.short,
div.line {
height: 3px; height: 3px;
bottom: 0; bottom: 0;
} }
&.el-menu { &.el-menu {
height: 48px; height: 48px;
} }
...@@ -36,7 +38,7 @@ const emit = defineEmits(["update:modelValue"]); ...@@ -36,7 +38,7 @@ const emit = defineEmits(["update:modelValue"]);
margin-left: 30px; margin-left: 30px;
margin-right: 30px; margin-right: 30px;
} }
&.syMenu .el-menu-item{ &.syMenu .el-menu-item {
padding-left: 34px; padding-left: 34px;
padding-right: 34px; padding-right: 34px;
} }
......
...@@ -55,6 +55,11 @@ ...@@ -55,6 +55,11 @@
: "居民身份证" : "居民身份证"
}} }}
<img <img
v-if="
(slotProps.authentication_subject_nature === 2 &&
slotProps?.authentication_business_license?.url) ||
slotProps.authentication_subject_nature === 1
"
src="@/assets/img/link.png" src="@/assets/img/link.png"
style="width: 14px" style="width: 14px"
@click=" @click="
......
...@@ -57,14 +57,14 @@ ...@@ -57,14 +57,14 @@
</div> </div>
<p class="number number--A"> <p class="number number--A">
{{ item.chain_times }} {{ item.chain_times }}
<span></span> <span>积分</span>
</p> </p>
<p class="price"> <p class="price">
价格: 价格:
<span>{{ item.price }}</span <span>{{ item.price }}</span
>元人民币 >元人民币
</p> </p>
<p class="average-price">上链均价:{{ item.chain_price }}</p> <p class="average-price">积分均价:{{ item.chain_price }}</p>
<div class="buy flex justify-center"> <div class="buy flex justify-center">
<syButton <syButton
@click="buyNow(item)" @click="buyNow(item)"
......
...@@ -13,12 +13,12 @@ ...@@ -13,12 +13,12 @@
></el-progress> ></el-progress>
</div> </div>
<div class="gas-info"> <div class="gas-info">
<p>剩余上链次数</p> <p>剩余积分</p>
<h2> <h2>
<span style="color: var(--sy-black); font-weight: 600">{{ <span style="color: var(--sy-black); font-weight: 600">{{
balance || 0 balance || 0
}}</span> }}</span>
积分
</h2> </h2>
</div> </div>
<div class="text-center mt-6"> <div class="text-center mt-6">
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
@click="Recharge" @click="Recharge"
v-if="!hideRecharge" v-if="!hideRecharge"
> >
充值燃料 充值积分
</syButton> </syButton>
</div> </div>
</div> </div>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
:style="{ :style="{
color: ( color: (
slotProps.amount !== 0 slotProps.amount !== 0
? slotProps.amount ? slotProps.amount > 0
: slotProps.chain_times > 0 : slotProps.chain_times > 0
) )
? green.color ? green.color
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
}" }"
> >
{{ slotProps.amount !== 0 ? slotProps.amount + "元" : "" }} {{ slotProps.amount !== 0 ? slotProps.amount + "元" : "" }}
{{ slotProps.amount === 0 ? slotProps.chain_times + "" : "" }} {{ slotProps.amount === 0 ? slotProps.chain_times + "积分" : "" }}
</div> </div>
</template> </template>
<template #type="slotProps"> <template #type="slotProps">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment