pplok #26
@ -17,6 +17,7 @@
|
||||
font-size: 32rpx;
|
||||
color: #333;
|
||||
margin-bottom: 34rpx;
|
||||
width: 540rpx;
|
||||
}
|
||||
.menery{
|
||||
font-size: 34rpx;
|
||||
|
@ -1 +1 @@
|
||||
.box{border-top:1rpx solid #eaeaea;display:flex;flex-direction:column;align-items:center}.box .swiper{margin-top:109rpx;width:389rpx;height:657rpx}.box .swiper .image{width:389rpx;height:549rpx;background-color:#000}.box .title{font-size:32rpx;color:#333;margin-bottom:34rpx}.box .menery{font-size:34rpx;color:#666;margin-bottom:70rpx}.box .add{width:308rpx;height:98rpx;background-color:#50CA80;border-radius:49rpx;line-height:98rpx;font-size:34rpx;color:#fff;text-align:center}
|
||||
.box{border-top:1rpx solid #eaeaea;display:flex;flex-direction:column;align-items:center}.box .swiper{margin-top:109rpx;width:389rpx;height:657rpx}.box .swiper .image{width:389rpx;height:549rpx;background-color:#000}.box .title{font-size:32rpx;color:#333;margin-bottom:34rpx;width:540rpx}.box .menery{font-size:34rpx;color:#666;margin-bottom:70rpx}.box .add{width:308rpx;height:98rpx;background-color:#50CA80;border-radius:49rpx;line-height:98rpx;font-size:34rpx;color:#fff;text-align:center}
|
||||
|
@ -7,7 +7,8 @@ let request = function (obj){
|
||||
header,
|
||||
dataType,
|
||||
responseType,
|
||||
complete
|
||||
complete,
|
||||
name
|
||||
} = obj
|
||||
url="http://daigou.sdbairui.com/index.php/WXAPI/" + url
|
||||
if(method == "POST" || method == "post"){
|
||||
@ -19,7 +20,7 @@ let request = function (obj){
|
||||
if(data == undefined){
|
||||
data = {}
|
||||
}
|
||||
data.openid = wx.getStorageSync("openid")
|
||||
data[name || 'openid'] = wx.getStorageSync("openid")
|
||||
return new Promise((res,rej)=>{
|
||||
wx.request({
|
||||
url,
|
||||
|
Loading…
Reference in New Issue
Block a user