Commit abee0f6d authored by 黄奎's avatar 黄奎

修改

parents 618f6431 c95b1445
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
bottom: 0; bottom: 0;
flex-direction: row; flex-direction: row;
/* #ifndef */ /* #ifndef */
padding-bottom: constant(safe-area-inset-top); /* padding-bottom: constant(safe-area-inset-top);
padding-bottom: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-top); */
/* #endif */ /* #endif */
display: flex; display: flex;
left: 0; left: 0;
...@@ -245,24 +245,32 @@ export default { ...@@ -245,24 +245,32 @@ export default {
}, 3000); }, 3000);
} }
this.activeHandler(); this.activeHandler();
let port = uni.getSystemInfoSync().platform let that=this
switch (port) { wx.getSystemInfo({
case 'android': success(res) {
this.height = '140' let lift=res.screenHeight-res.safeArea.bottom
this.paddingBottom = '20' that.paddingBottom = Number(lift)+10
console.log('运行Android上',port);//android console.log(lift)
break; }
case 'ios': })
this.height = '160' // let port = uni.getSystemInfoSync().platform
this.paddingBottom = '58' // switch (port) {
console.log('运行iOS上',port);//ios // case 'android':
break; // this.height = '140'
default: // this.paddingBottom = '20'
this.height = '160' // console.log('运行Android上',port);//android
this.paddingBottom = '58' // break;
console.log('运行在开发者工具上');//devtools // case 'ios':
break; // this.height = '160'
} // this.paddingBottom = '58'
// console.log('运行iOS上',port);//ios
// break;
// default:
// this.height = '160'
// this.paddingBottom = '58'
// console.log('运行在开发者工具上');//devtools
// break;
// }
}, },
// activated(){ // activated(){
// if(uni.getStorageSync("navs")){ // if(uni.getStorageSync("navs")){
......
...@@ -61,7 +61,11 @@ ...@@ -61,7 +61,11 @@
<view class="school-bg"> <view class="school-bg">
<text> <text>
<!-- <u-icon name="arrow-left" size="20"></u-icon> --> <!-- <u-icon name="arrow-left" size="20"></u-icon> -->
<<<<<<< HEAD
<text class="school">{{title}}</text> <text class="school">{{title}}</text>
=======
<text class="school font24">选择就读学校</text>
>>>>>>> c95b144519a5881142bd955a62b080013c3fb1e4
</text> </text>
</view> </view>
<!-- <view class="search"> <!-- <view class="search">
...@@ -97,7 +101,12 @@ ...@@ -97,7 +101,12 @@
<u-popup v-model="show4" mode="right" length="80%"> <u-popup v-model="show4" mode="right" length="80%">
<view class="school-bg"> <view class="school-bg">
<text> <text>
<<<<<<< HEAD
<text class="school">选择校区</text> <text class="school">选择校区</text>
=======
<!-- <u-icon name="arrow-left" size="20"></u-icon> -->
<text class="school font24">选择校区</text>
>>>>>>> c95b144519a5881142bd955a62b080013c3fb1e4
</text> </text>
</view> </view>
<scroll-view scroll-y="true" style="height:100%;"> <scroll-view scroll-y="true" style="height:100%;">
...@@ -169,7 +178,7 @@ ...@@ -169,7 +178,7 @@
// 提交表单 // 提交表单
registered() { registered() {
let that = this; let that = this;
testCmd = "/api/WeChatPublic/CreateStudent"; testCmd = "/api/WeChatPublic/CreateMallStudent";//WeChatPublic/CreateStudent
postMsg = { postMsg = {
OpenId: that.u.OpenId, // openId 是 [string] 查看 OpenId: that.u.OpenId, // openId 是 [string] 查看
UnionId: that.u.Unoinid, UnionId: that.u.Unoinid,
...@@ -319,6 +328,10 @@ ...@@ -319,6 +328,10 @@
font-size: 22rpx; font-size: 22rpx;
} }
.school.font24{
font-size: 24rpx;
}
.search { .search {
margin-bottom: 20rpx; margin-bottom: 20rpx;
} }
...@@ -349,13 +362,13 @@ ...@@ -349,13 +362,13 @@
.list2 { .list2 {
color: #138BF9; color: #138BF9;
} }
.list { .list {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
border-bottom: solid 1px #999; border-bottom: solid 1px #D9D9D9;
height: 60rpx; padding:20rpx 0;
padding-left: 20rpx; padding-left: 20rpx;
padding-right: 20rpx; padding-right: 20rpx;
font-size: 24rpx; font-size: 24rpx;
...@@ -375,7 +388,7 @@ ...@@ -375,7 +388,7 @@
.school-bg { .school-bg {
background-color: #EEF1FA; background-color: #EEF1FA;
height: 50rpx; padding: 20rpx 0;
display: flex; display: flex;
align-items: center; align-items: center;
padding-left: 50rpx; padding-left: 50rpx;
......
...@@ -455,7 +455,7 @@ ...@@ -455,7 +455,7 @@
} }
} }
//测试方法 //测试方法
this.testJJSWApi(); // this.testJJSWApi();
uni.showNavigationBarLoading(); uni.showNavigationBarLoading();
}, },
created() { created() {
......
{ {
"uni-calender.ok": "ok", "uni-calender.ok": "确定",
"uni-calender.cancel": "cancel", "uni-calender.cancel": "取消",
"uni-calender.today": "today", "uni-calender.today": "今日",
"uni-calender.MON": "MON", "uni-calender.SUN": "日",
"uni-calender.TUE": "TUE", "uni-calender.MON": "一",
"uni-calender.WED": "WED", "uni-calender.TUE": "二",
"uni-calender.THU": "THU", "uni-calender.WED": "三",
"uni-calender.FRI": "FRI", "uni-calender.THU": "四",
"uni-calender.SAT": "SAT", "uni-calender.FRI": "五",
"uni-calender.SUN": "SUN" "uni-calender.SAT": "六"
} }
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