| | |
| | | <span class="bj" v-if="item.stockType == 'bj'">{{ $t("jy85") }}</span> |
| | | <a :class="item.stockType == 'sh' ? 'shbg' : item.stockType == 'bj' ? 'bjbg' : ''">{{ |
| | | item.stockGid |
| | | }}</a> |
| | | }}</a> |
| | | </p> |
| | | </div> |
| | | <div class="lb2"> {{ item.price }} </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 class="progress-bar-wrapper"> |
| | | <div class="progress-bar-bg"> |
| | | <div class="progress-bar-fill" :style="{ width: (item.residualShare || 0) + '%' }"></div> |
| | | <div class="progress-bar-fill" :style="{ width: ((100 - item.residualShare) || 0) + '%' }"></div> |
| | | </div> |
| | | <span class="progress-text">【{{ $t("jy546") }}{{ item.residualShare || 0 }}%】</span> |
| | | </div> |
| | | </div> |
| | | <van-popup v-model="show" round position="bottom"> |
| | | <div class="boxd"> |
| | | <div class="boxh"> {{ $t("jy86") }} <span @click="show = false"></span></div> |
| | | <h5>{{ $t("hj130") }}</h5> |
| | | <div class="boxh"> {{ $t("jy536") }} <span @click="show = false"></span></div> |
| | | <h5>{{ $t("hj120") }}</h5> |
| | | <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> |
| | |
| | | return |
| | | } |
| | | var opt = { |
| | | stockCode: this.currentItem.stockCode, |
| | | stockCode: this.currentItem.stockGid, |
| | | password: this.password, |
| | | num: this.num * 100, |
| | | } |