Commit 1d5ffbb7 by 陈超

T

parent 9488395d
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<van-image :src="info.cover" fit="cover" width="120" height="68"></van-image> <van-image :src="info.cover" fit="cover" width="120" height="68"></van-image>
<div class="layout_v" style="margin-left: 0.75rem;"> <div class="layout_v" style="margin-left: 0.75rem;">
<span class="text_14_600 color_333333">{{info.title}}</span> <span class="text_14_600 color_333333">{{info.title}}</span>
<span class="text_14_600 color_FF3B3B" style="margin-top: 0.5rem;">¥{{info.lastPrice}}</span> <span class="text_14_600 color_FF3B3B" style="margin-top: 0.5rem;">¥{{info.price}}</span>
</div> </div>
</div> </div>
<div class="layout_h_v pay_course_bottom"> <div class="layout_h_v pay_course_bottom">
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<van-icon @click="onPlus" name="__THEME__/img/plus.png" size="20" ></van-icon> <van-icon @click="onPlus" name="__THEME__/img/plus.png" size="20" ></van-icon>
</div> </div>
</div> </div>
<div class="layout_h" style="padding: 0.75rem;min-height: 5.5rem;"> <div @click="onAddress" class="layout_h" style="padding: 0.75rem;min-height: 5.5rem;">
<van-icon class="self_center" name="__THEME__/img/address_icon.png" size="28" ></van-icon> <van-icon class="self_center" name="__THEME__/img/address_icon.png" size="28" ></van-icon>
<div class="layout_v weight_full self_center" style="margin-right: 0.625rem;margin-left: 0.75rem;"> <div class="layout_v weight_full self_center" style="margin-right: 0.625rem;margin-left: 0.75rem;">
<span v-if="!hasAddress" class="text_16_400 color_999999">添加收货信息</span> <span v-if="!hasAddress" class="text_16_400 color_999999">添加收货信息</span>
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
return false return false
}, },
totalPrice: function() { totalPrice: function() {
return "0" return this.info.lastPrice
}, },
discount: function() { discount: function() {
return "(已优惠:¥0)" return "(已优惠:¥0)"
...@@ -104,6 +104,10 @@ ...@@ -104,6 +104,10 @@
onBuy: function() { onBuy: function() {
},
onAddress: function() {
} }
} }
......
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