This commit is contained in:
Mr.jiang 2024-07-18 18:16:29 +08:00
parent 87963141b7
commit acda32368d
3 changed files with 52 additions and 6 deletions

View File

@ -415,7 +415,12 @@
}
});
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) {
this.$Request.getT('/app/user/selectUserById').then(res => {

View File

@ -67,8 +67,8 @@
<view style="font-size: 30upx;color: #333333;width: 25%;">配送方式</view>
<view style="font-size: 30upx;color: #000000;margin-left: 10upx;width: 40%;">
<picker mode="selector" :range="WayList" @change="WaySel">
<view v-if="sendName === '请选择配送方式'" style="color: #000000;">{{sendName}}</view>
<view v-else>{{sendName}}</view>
<view style="color: #000000;">{{sendName?sendName:'请选择配送方式'}}</view>
<!-- <view v-else>{{sendName}}</view> -->
</picker>
</view>
</view>
@ -194,9 +194,7 @@
},
methods: {
WaySel(e) {
// this.sendId = this.WayListTwo[e.detail.value].id;
this.sendName = this.WayList[e.detail.value];
if (this.sendName === '快递') {
this.sendWay = 1;
this.postagePrice = this.postagePrices;

View File

@ -182,11 +182,54 @@
//
activeIndex: 0,
//
oldActiveIndex: 0
oldActiveIndex: 0,
page:1,
limit:10,
}
},
onReady() {},
onLoad() {
this.jiukou()
},
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) {
if (this.oldActiveIndex < e.detail.current) {
if (this.oldActiveIndex - e.detail.current != -2) {