物流+下单+地址修改
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<view>
|
||||
<text class="name" v-if="userMes.nickname!=null">{{userMes.nickname}}</text>
|
||||
<text class="name" v-if="userMes.nickname==null">未设置</text>
|
||||
<image v-if="userMes.vip==1" src="../../static/icon/mine_v.png" alt="" class="per_user_img"></image>
|
||||
<!-- <image v-if="userMes.vip==1" src="../../static/icon/mine_v.png" alt="" class="per_user_img"></image> -->
|
||||
<text style="margin-left: 20rpx;font-size: 22rpx;color: #888;">({{userMes.tel}})</text>
|
||||
|
||||
<!-- <text class="tong">累计读书5本
|
||||
@@ -89,7 +89,7 @@
|
||||
<!-- <view class="nav_list" @click="onGoing()">
|
||||
<text>帮助与反馈11111</text>
|
||||
</view> -->
|
||||
<view class="nav_list" @click="newOnShare">
|
||||
<view class="nav_list" @click="newOnShare" v-if="isAndorid">
|
||||
<text>分享App</text>
|
||||
</view>
|
||||
<view class="nav_list" @click="onPageJump('../peanut/aboutUs')">
|
||||
@@ -131,13 +131,15 @@
|
||||
userMes: {},
|
||||
signShow: false,
|
||||
signContent: '是否要退出登录?',
|
||||
playData:{}
|
||||
playData:{},
|
||||
isAndorid:true,
|
||||
};
|
||||
},
|
||||
//第一次加载
|
||||
onLoad(e) {
|
||||
// 隐藏原生的tabbar
|
||||
uni.hideTabBar();
|
||||
this.getOS()
|
||||
},
|
||||
computed: {
|
||||
...mapState(['userInfo'])
|
||||
@@ -153,6 +155,17 @@
|
||||
},
|
||||
//方法
|
||||
methods: {
|
||||
// 获得操作系统
|
||||
getOS(){
|
||||
let oprateOs = ''
|
||||
oprateOs = uni.getSystemInfoSync().platform
|
||||
// console.log(oprateOs)
|
||||
if(oprateOs == 'android'){
|
||||
this.isAndorid = true
|
||||
}else{
|
||||
this.isAndorid = false
|
||||
}
|
||||
},
|
||||
haveSelected(data){
|
||||
console.log(data,' 选择的是')
|
||||
if(data.index == 0){
|
||||
|
||||
@@ -288,7 +288,7 @@
|
||||
orderType: "vip", //订单类型
|
||||
}
|
||||
$http.request({
|
||||
url: "book/buyorder/rechargeSave",
|
||||
url: "book/buyOrder/rechargeSave",
|
||||
method: "POST", // POST、GET、PUT、DELETE,具体说明查看官方文档
|
||||
data,
|
||||
header: { //默认 无 说明:请求头
|
||||
|
||||
@@ -401,7 +401,7 @@
|
||||
productId: that.stepsCj.priceTypeId // 充值的类型id
|
||||
}
|
||||
$http.request({
|
||||
url: "book/buyorder/rechargeSave",
|
||||
url: "book/buyOrder/rechargeSave",
|
||||
method: "POST", // POST、GET、PUT、DELETE,具体说明查看官方文档
|
||||
data,
|
||||
header: { //默认 无 说明:请求头1
|
||||
|
||||
@@ -359,7 +359,7 @@
|
||||
orderType: "point", //订单类型
|
||||
}
|
||||
$http.request({
|
||||
url: "book/buyorder/rechargeSave",
|
||||
url: "book/buyOrder/rechargeSave",
|
||||
method: "POST", // POST、GET、PUT、DELETE,具体说明查看官方文档
|
||||
data,
|
||||
header: { //默认 无 说明:请求头1
|
||||
|
||||
Reference in New Issue
Block a user