diff --git a/components/diy_nav/diy_nav.wxss b/components/diy_nav/diy_nav.wxss index 1a0976d..13521db 100644 --- a/components/diy_nav/diy_nav.wxss +++ b/components/diy_nav/diy_nav.wxss @@ -113,6 +113,7 @@ margin-top: 40rpx; font-size: 30rpx; font-family: "宋体"; + width: 100%;text-align: center; margin: 20rpx 0; } /* 隐藏图片 */ diff --git a/pages/giftpack/buygiftpack/giftpackbuy.js b/pages/giftpack/buygiftpack/giftpackbuy.js index 045eff7..59bc087 100644 --- a/pages/giftpack/buygiftpack/giftpackbuy.js +++ b/pages/giftpack/buygiftpack/giftpackbuy.js @@ -123,7 +123,8 @@ Page({ "buyType": '1', //1=积分兑换 2=余额购买 "giftBagId": id, //礼包Id "storeId": that.getStorageID, //商家Id - "userId": that.getUserID //用户ID + "userId": that.getUserID, //用户ID + "buyFrom": 2 }; var data = JSON.stringify(json); var url = that.url + "/api/weshop/marketing/buy/receive/gift/record/insert";