作者 anyv
1 个管道 的构建 通过 耗费 0 秒

25

... ... @@ -37,9 +37,7 @@
</if>
<p class="ad_conPhone">{$vo.phone}</p>
<a href="{:url('Personalcenter/address_edit',array('id'=>$vo.id))}">
<img class="ad_conImg" src="__TMPL__/public/assets/images/35.png" alt="">
</a>
<img class="ad_conImg" src="__TMPL__/public/assets/images/35.png" ontouchstart="address_edit({$vo.id})" alt="">
</div>
</div>
<p class="ad_conAddress">收货地址:{$vo.region}{$vo.detailed}</p>
... ... @@ -83,6 +81,13 @@
}
});
}
/**
*编辑地址
*/
function address_edit(id){
window.location.href = "{:url('Personalcenter/address_edit')}?id="+id;
}
</script>
</body>
... ...