Commit 257793ba authored by 黄奎's avatar 黄奎

多少人

parent d7d33b0c
......@@ -66,9 +66,9 @@
<text class="school">选择就读学校</text>
</text>
</view>
<view class="search">
<!-- <view class="search">
<u-search placeholder="请输入名称" v-model="keyword"></u-search>
</view>
</view> -->
<scroll-view scroll-y="true" style="height:100%;">
<view class="list" :class="[actuve==i?'list2':'']" v-for="(item, i) in schoollist" :key="i"
@click="masklist(item.Content,i)">
......@@ -103,9 +103,9 @@
<text class="school">选择校区</text>
</text>
</view>
<view class="search">
<!-- <view class="search">
<u-search placeholder="请输入名称" v-model="keyword"></u-search>
</view>
</view> -->
<scroll-view scroll-y="true" style="height:100%;">
<view class="list" :class="[actuve2==i?'list2':'']" v-for="(item, i) in campus" :key="i"
@click="masklist2(item,i)">
......@@ -192,14 +192,14 @@
that.requestJJSWAdmin(testCmd, postMsg,
(res) => {
if (res.data.Code == 1) {
uni.showToast({
title: '提交成功',
icon: 'exception',
duration: 2000
});
uni.navigateTo({
url: 'bankcard'
})
// uni.showToast({
// title: '提交成功',
// icon: 'exception',
// duration: 2000
// });
uni.navigateBack({
delta: 1
});
} else {
uni.showToast({
title: res.data.Message,
......
......@@ -1093,7 +1093,7 @@
.teacher {
display: flex;
justify-content: space-between;
align-items: center;
/* align-items: center; */
margin-bottom: 50rpx;
}
......@@ -1115,13 +1115,13 @@
}
.teacher5 {
color: #999;
font-size: 20rpx;
overflow: hidden;
/* color: #999;
font-size: 20rpx; */
/* overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical
-webkit-box-orient: vertical */
}
.introduce-box {
......
......@@ -3,9 +3,20 @@
<!-- @click="chosenAddress(ds.address.id)" -->
<view class="add-box" >
<!-- <view v-if="address.province && address.province != ''" class="add-info"> -->
<view v-if="address.province && address.province != ''" class="add-info" style="margin-top: 39px;">
<view v-if="address.province && address.province != ''" class="add-info" >
<!-- <view class="address">{{ address.province + address.city + address.district }}</view> -->
<view v-if="namelist&&namelist.length>0" class="area" @click="mask()">{{Thename}}</view>
<view v-if="namelist&&namelist.length>0" class="area">
<view class="name-top">
<view class="mask-lit22"
:style="{ 'background-color': mc }">{{Thename.substr(0,1)}}
</view>
<view class="switch-box1" @click="mask()">
<view class="switch-box2">{{Thename}}</view>
<view class="switch-box3" >点击切换学员</view>
</view>
</view>
</view>
<view v-if="namelist.length<0" class="area"@click="chosenAddress()">请添加学员</view>
<view class="address">
<!-- 切换学员 -->
......@@ -436,9 +447,12 @@
}
this.requestJJSWAdmin(testCmd, postMsg,
(res) => {
this.namelist = res.data.Data
this.Thename = res.data.Data[0].StuName
this.JJSWStuId = res.data.Data[0].StuId
if(res.data.Data.length>0) {
this.namelist = res.data.Data
this.Thename = res.data.Data[0].StuName
this.JJSWStuId = res.data.Data[0].StuId
}
}
);
},
......@@ -492,7 +506,7 @@
});
return;
}
if(that.JJSWStuId=='') {
if(that.JJSWStuId==''||that.Thename=='') {
this.$refs.uToast.show({
title: '请添加学员!',
type: 'warning'
......@@ -506,7 +520,8 @@
complete(res) {
that.submitOrder = false;
let form = {};
form.Consignee = that.adressInfo.Consignee;
// form.Consignee = that.adressInfo.Consignee;
form.Consignee = that.Thename;
form.Mobile = that.adressInfo.Mobile;
form.Province = that.adressInfo.Province;
form.City = that.adressInfo.City;
......@@ -812,6 +827,29 @@
</script>
<style>
.mask-lit22{
width: 50rpx;
height: 50rpx;
display: flex;
justify-content: center;
align-items: center;
font-size: 30rpx;
border-radius: 50%;
text-align: center;
line-height: 40rpx;
color: #FFF;
margin-right: 20rpx;
}
.switch-box2{
font-size: 25rpx;
}
.switch-box3{
font-size: 18rpx;
color: #999;
}
.name-top{
display: flex;
}
.mask-lit {
display: flex;
justify-content: space-between;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment