Commit a3119295 by 陈超

T

parent 1f701203
...@@ -26,11 +26,12 @@ ...@@ -26,11 +26,12 @@
<div class="layout_h" style="padding: 0.75rem;"> <div class="layout_h" style="padding: 0.75rem;">
<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;">
<div class="layout_h"> <span v-if="!hasAddress" class="text_16_400 color_999999">添加收货信息</span>
<div v-if="hasAddress" class="layout_h">
<span class="text_16_400 color_333333" style="margin-right: 0.5rem;">李四</span> <span class="text_16_400 color_333333" style="margin-right: 0.5rem;">李四</span>
<span class="text_14_400 color_999999">15184322979</span> <span class="text_14_400 color_999999">15184322979</span>
</div> </div>
<div class="text_14_400 color_333333" style="margin-top: 0.5rem;">重庆市江北区大石坝东原中心1505重庆市江北区大石坝东原中心1505</div> <div v-if="hasAddress" class="text_14_400 color_333333" style="margin-top: 0.5rem;">重庆市江北区大石坝东原中心1505重庆市江北区大石坝东原中心1505</div>
</div> </div>
<van-icon class="self_center" name="__THEME__/img/right_arrow.png" size="12" ></van-icon> <van-icon class="self_center" name="__THEME__/img/right_arrow.png" size="12" ></van-icon>
</div> </div>
...@@ -54,13 +55,21 @@ ...@@ -54,13 +55,21 @@
data: function() { data: function() {
return { return {
count: 1, count: 1,
info: "" info: "",
} }
}, },
created:function(){ created:function(){
let d = {:json_encode($data)}; let d = {:json_encode($data)};
this.info = d this.info = d
}, },
computed: {
hasAddress: function() {
return false
}
},
methods: { methods: {
onMinus: function() { onMinus: 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