部分
This commit is contained in:
@@ -39,7 +39,7 @@ Page({
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow: function () {
|
||||
|
||||
this.onLoad()
|
||||
},
|
||||
|
||||
/**
|
||||
@@ -77,6 +77,14 @@ Page({
|
||||
|
||||
},
|
||||
sub() {
|
||||
if(this.data.list.addressList == null){
|
||||
wx.showToast({
|
||||
title:"请先添加地址",
|
||||
icon:"none"
|
||||
})
|
||||
console.log(123)
|
||||
return ;
|
||||
}
|
||||
bin.getuserid().then((res) => {
|
||||
bin.request({
|
||||
url: "Cart/cart3",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"navigationBarTitleText": "支付",
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"shopinfo": "/components/orderconfirm/ordershopinfo/ordershopinfo",
|
||||
"chooseway": "/components/orderconfirm/orderchooseway/orderchooseway",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<shopinfo wx:for="{{list.cartList}}" title="{{item.goods_name}}" price="{{item.goods_price}}" spec="{{item.spec_key_name?item.spec_key_name:'默认规格'}}" img="{{item.image}}"></shopinfo>
|
||||
<!-- <shopinfo></shopinfo> -->
|
||||
<chooseway></chooseway>
|
||||
<chooseaddr></chooseaddr>
|
||||
<chooseaddr name="{{list.addressList.consignee}}" addr="{{list.addressList.province? list.addressList.province + list.addressList.city + list.addressList.address:''}}" number="{{list.addressList.zipcode}}" phone="{{list.addressList.mobile}}"></chooseaddr>
|
||||
<orderyf price="{{list.express_price}}"></orderyf>
|
||||
<agree></agree>
|
||||
<view class="bottom">
|
||||
|
||||
Reference in New Issue
Block a user