style: 调整模板缩进对齐并修复语法错误

统一修复了两个页面文件中的vue模板缩进格式,修正了多余的闭合标签问题,让代码排版更整洁易读
This commit is contained in:
2026-07-06 17:51:47 +08:00
parent 1c5cc62368
commit 224b409455
2 changed files with 6 additions and 6 deletions

View File

@@ -447,9 +447,9 @@
<ns-goods-action-icon :text="$lang('goods.detail.home')" icon="icon-shouye1" @click="goHome" />
<!-- #ifdef MP-WEIXIN -->
<ns-goods-action-icon
:text="$lang('goods.detail.cart')"
:cornerMarkBg="themeStyle.goods_detail.goods_cart_num_corner"
<ns-goods-action-icon
:text="$lang('goods.detail.cart')"
:cornerMarkBg="themeStyle.goods_cart_num_corner"
icon="icon-gouwuche2"
:corner-mark="cartNumber > 0 ? cartNumber + '' : ''"
@click="goCart"
@@ -483,13 +483,13 @@
<ns-goods-action-button
class="goods-action-button"
:text="$lang('goods.detail.addcart')"
:backgroundColor="themeStyle.goods_detail.goods_btn_color_shallow"
:backgroundColor="themeStyle.goods_btn_color_shallow"
@click="joinCart"
v-if="goodsSkuDetail.is_virtual == 0"
/>
<ns-goods-action-button
class="goods-action-button"
:backgroundColor="themeStyle.goods_detail.goods_btn_color"
:backgroundColor="themeStyle.goods_btn_color"
:textColor="themeStyle.btn_text_color"
:text="$lang('goods.detail.buynow')"
@click="buyNow"