This commit is contained in:
@fawn-nine
2023-07-20 18:03:48 +08:00
parent fc9bca37c1
commit 32166040c3
2 changed files with 8 additions and 7 deletions

View File

@@ -9,10 +9,10 @@
:activeStyle="{color: '#303133',fontWeight: 'bold', transform: 'scale(1.01)'}"></u-tabs>
</view>
</view>
<view class="search_box" @click="onPageJump('../peanut/searchFor')">
<!-- <view class="search_box" @click="onPageJump('../peanut/searchFor')">
<text class="icon_search"></text>
<text class="prompt">搜索...</text>
</view>
</view> -->
<!-- 二级分类商品 -->
<view class="twoBox" style="">

View File

@@ -305,7 +305,7 @@
getOS(){
let oprateOs = ''
oprateOs = uni.getSystemInfoSync().platform
console.log(oprateOs)
// console.log(oprateOs)
if(oprateOs == 'android'){
this.isAndorid = true
}else{
@@ -342,11 +342,11 @@
if (res.code == 0) {
if (res.list.length != 0) {
this.addressList = res.list
console.log(this.addressList,'地址列表')
// console.log(this.addressList,'地址列表')
this.adressMoRen = this.addressList[this.adressMoRIndex]
console.log(this.adressMoRen, '默认')
// console.log(this.adressMoRen, '默认')
if(this.adressMoRen != {}){
console.log('运费之前')
// console.log('运费之前')
this.getYunFei()
}else{
this.getUserAddress()
@@ -589,7 +589,8 @@
addressId:this.adressMoRen.addressid // 地址ID
}
$http.request({
url: "book/buyorder/save",
// url: "book/buyorder/save",
url: "book/buyorder/buysave",
method: "POST", // POST、GET、PUT、DELETE具体说明查看官方文档
data,
header: { //默认 无 说明:请求头