From 29f3a095dc58860849cdaa0b057b9fab495e5f6d Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Wed, 07 Jan 2026 14:04:07 +0800
Subject: [PATCH] 1
---
src/page/home/listcomponents/dazongjiaoyi.vue | 34 +++++++++++++++++++++++-----------
1 files changed, 23 insertions(+), 11 deletions(-)
diff --git a/src/page/home/listcomponents/dazongjiaoyi.vue b/src/page/home/listcomponents/dazongjiaoyi.vue
index ff01761..0e7a88f 100644
--- a/src/page/home/listcomponents/dazongjiaoyi.vue
+++ b/src/page/home/listcomponents/dazongjiaoyi.vue
@@ -11,7 +11,12 @@
</div>
</div>
<div class="dbox">
- <div class="daz"><span class="d1">{{ $t("MingCheng") }}</span><span class="d2">{{ $t("hj81") }}</span><span class="d3"></span></div>
+ <div class="daz">
+ <span class="d1">{{ $t("MingCheng") }}</span>
+ <span class="d2">{{ $t("hj81") }}</span><span class="d3"></span>
+ <span class="d2">{{ $t("jy544") }}</span><span class="d3"></span>
+ <span class="d2">{{ $t("jy545") }}</span><span class="d3"></span>
+ </div>
</div>
<div class="list" v-for="(item, index) in dazongList" :key="index">
<div class="lbox">
@@ -22,11 +27,13 @@
<span class="sh" v-if="item.stockType == 'sh'">{{ $t("jy84") }}</span>
<span class="bj" v-if="item.stockType == 'bj'">{{ $t("jy85") }}</span>
<a :class="item.stockType == 'sh' ? 'shbg' : item.stockType == 'bj' ? 'bjbg' : ''">{{
- item.stockGid
+ item.stockGid
}}</a>
</p>
</div>
<div class="lb2"> {{ item.price }} </div>
+ <div class="lb2"> {{ item.discount }}</div>
+ <div class="lb2"> {{ item.residualShare }}%</div>
<div class="lb3"><a @click="getdetail(item)">{{ $t("hj238") }}</a></div>
</div>
</div>
@@ -37,10 +44,13 @@
<h6>{{ currentItem.price ? currentItem.price : '' }}</h6>
<div class="erty tghj"><input :placeholder="$t('jy87')" type="number" class="inpy" v-model="num"
@input="num = num.replace(/^(0+)|[^\d]+/g, '')"><a>{{ $t("hj117") }}</a></div>
- <p class="plm"><span>{{ $t("jy88") }}</span><a>{{ currentItem.price ? (currentItem.price * num * 100).toFixed(2) :
- '0.00'
- }}</a></p>
- <div class="erty"><input :placeholder="$t('jy89')" type="password" class="inpy" v-model="password"></div>
+ <p class="plm"><span>{{ $t("jy88") }}</span><a>{{ currentItem.price ? (currentItem.price * num *
+ 100).toFixed(2) :
+ '0.00'
+ }}</a>
+ </p>
+ <div class="erty"><input :placeholder="$t('jy89')" type="password" class="inpy" v-model="password">
+ </div>
<p class="plm"><span>{{ $t("hj54") }}</span><a>{{ userinfo.enableAmt }}</a></p>
<div class="maik" @click="getxiadan">{{ $t("hj85") }}</div>
</div>
@@ -69,8 +79,8 @@
this.getUserInfo()
},
methods: {
- sharerecordDz(){
- this.$router.push({path:'/sharerecordDz'})
+ sharerecordDz() {
+ this.$router.push({ path: '/sharerecordDz' })
},
getdetail(item) {
this.currentItem = item
@@ -143,10 +153,11 @@
}
.d3 {
- width: 40%;
+ width: 15%;
}
}
}
+
.kuange {
width: 5.34rem;
margin: 0 auto;
@@ -158,6 +169,7 @@
text-align: center;
margin: 0 auto;
margin-bottom: 0.5rem;
+
img {
width: 0.51rem;
height: 0.51rem;
@@ -251,7 +263,7 @@
display: inline-block;
width: 1.6rem;
height: 0.67rem;
- background: linear-gradient(-55deg,rgb(241, 22, 20),rgb(240, 40, 37));
+ background: linear-gradient(-55deg, rgb(241, 22, 20), rgb(240, 40, 37));
border-radius: 0.35rem;
text-align: center;
color: #fff;
@@ -363,7 +375,7 @@
.maik {
width: 9.21rem;
height: 1.07rem;
- background: linear-gradient(-55deg,rgb(241, 22, 20),rgb(240, 40, 37));
+ background: linear-gradient(-55deg, rgb(241, 22, 20), rgb(240, 40, 37));
border-radius: 0.26rem;
margin: 0 auto;
margin-top: 0.56rem;
--
Gitblit v1.9.3