This commit is contained in:
parent
87963141b7
commit
acda32368d
7
App.vue
7
App.vue
|
@ -415,7 +415,12 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
let userId = this.$queue.getData("userId")
|
let userId = this.$queue.getData("userId")
|
||||||
|
// 商城配送方式 328
|
||||||
|
this.$Request.get('/app/common/type/328').then(res => {
|
||||||
|
if (res.code == 0) {
|
||||||
|
this.$queue.setData('peisongSel', res.data.value);
|
||||||
|
}
|
||||||
|
});
|
||||||
if (userId) {
|
if (userId) {
|
||||||
this.$Request.getT('/app/user/selectUserById').then(res => {
|
this.$Request.getT('/app/user/selectUserById').then(res => {
|
||||||
|
|
||||||
|
|
|
@ -67,8 +67,8 @@
|
||||||
<view style="font-size: 30upx;color: #333333;width: 25%;">配送方式</view>
|
<view style="font-size: 30upx;color: #333333;width: 25%;">配送方式</view>
|
||||||
<view style="font-size: 30upx;color: #000000;margin-left: 10upx;width: 40%;">
|
<view style="font-size: 30upx;color: #000000;margin-left: 10upx;width: 40%;">
|
||||||
<picker mode="selector" :range="WayList" @change="WaySel">
|
<picker mode="selector" :range="WayList" @change="WaySel">
|
||||||
<view v-if="sendName === '请选择配送方式'" style="color: #000000;">{{sendName}}</view>
|
<view style="color: #000000;">{{sendName?sendName:'请选择配送方式'}}</view>
|
||||||
<view v-else>{{sendName}}</view>
|
<!-- <view v-else>{{sendName}}</view> -->
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -194,9 +194,7 @@
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
WaySel(e) {
|
WaySel(e) {
|
||||||
// this.sendId = this.WayListTwo[e.detail.value].id;
|
|
||||||
this.sendName = this.WayList[e.detail.value];
|
this.sendName = this.WayList[e.detail.value];
|
||||||
|
|
||||||
if (this.sendName === '快递') {
|
if (this.sendName === '快递') {
|
||||||
this.sendWay = 1;
|
this.sendWay = 1;
|
||||||
this.postagePrice = this.postagePrices;
|
this.postagePrice = this.postagePrices;
|
||||||
|
|
|
@ -182,11 +182,54 @@
|
||||||
// 播放器下标
|
// 播放器下标
|
||||||
activeIndex: 0,
|
activeIndex: 0,
|
||||||
// 记录上一个播放器下标
|
// 记录上一个播放器下标
|
||||||
oldActiveIndex: 0
|
oldActiveIndex: 0,
|
||||||
|
page:1,
|
||||||
|
limit:10,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onReady() {},
|
onReady() {},
|
||||||
|
onLoad() {
|
||||||
|
this.jiukou()
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
jiukou(){
|
||||||
|
var data={
|
||||||
|
page:1,
|
||||||
|
limit:10,
|
||||||
|
// id:'1',
|
||||||
|
shipinquanId:'1'
|
||||||
|
}
|
||||||
|
uni.request({
|
||||||
|
url: 'https://bdb24c6d-8c19-4f80-8e7e-c9c9f037f131.bspapp.com/video',
|
||||||
|
method: 'POST',
|
||||||
|
data:{
|
||||||
|
info: 'get_video'
|
||||||
|
},
|
||||||
|
success: (res) => {
|
||||||
|
var msg = res.data.data
|
||||||
|
}
|
||||||
|
})
|
||||||
|
// this.$Request.getT('/app/shipinquan/list',data).then(res => {
|
||||||
|
// if (res.code == 0) {
|
||||||
|
// }
|
||||||
|
// });
|
||||||
|
// this.$Request.post('/app/shipinquan/add',data).then(res => {
|
||||||
|
// if (res.code == 0) {
|
||||||
|
// }
|
||||||
|
// });
|
||||||
|
// this.$Request.post('/app/shipinquan/delete',data).then(res => {
|
||||||
|
// if (res.code == 0) {
|
||||||
|
// }
|
||||||
|
// });
|
||||||
|
// this.$Request.post('/app/shipinquan/addContent',data).then(res => {
|
||||||
|
// if (res.code == 0) {
|
||||||
|
// }
|
||||||
|
// });
|
||||||
|
// this.$Request.getT('/app/shipinquan/contentlist',data).then(res => {
|
||||||
|
// if (res.code == 0) {
|
||||||
|
// }
|
||||||
|
// });
|
||||||
|
},
|
||||||
qiehuan(e) {
|
qiehuan(e) {
|
||||||
if (this.oldActiveIndex < e.detail.current) {
|
if (this.oldActiveIndex < e.detail.current) {
|
||||||
if (this.oldActiveIndex - e.detail.current != -2) {
|
if (this.oldActiveIndex - e.detail.current != -2) {
|
||||||
|
|
Loading…
Reference in New Issue