Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
mallapp
Commits
abee0f6d
Commit
abee0f6d
authored
Oct 14, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
修改
parents
618f6431
c95b1445
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
57 additions
and
36 deletions
+57
-36
index.vue
components/tabbar/index.vue
+28
-20
address2.vue
pages/address/address2.vue
+18
-5
index.vue
pages/index/index.vue
+1
-1
en.json
...modules/uni-calendar/components/uni-calendar/i18n/en.json
+10
-10
No files found.
components/tabbar/index.vue
View file @
abee0f6d
...
...
@@ -24,8 +24,8 @@
bottom
:
0
;
flex-direction
:
row
;
/* #ifndef */
padding-bottom
:
constant
(
safe-area-inset-top
);
padding-bottom
:
env
(
safe-area-inset-top
);
/*
padding-bottom: constant(safe-area-inset-top);
padding-bottom: env(safe-area-inset-top);
*/
/* #endif */
display
:
flex
;
left
:
0
;
...
...
@@ -245,24 +245,32 @@ export default {
},
3000
);
}
this
.
activeHandler
();
let
port
=
uni
.
getSystemInfoSync
().
platform
switch
(
port
)
{
case
'android'
:
this
.
height
=
'140'
this
.
paddingBottom
=
'20'
console
.
log
(
'运行Android上'
,
port
);
//android
break
;
case
'ios'
:
this
.
height
=
'160'
this
.
paddingBottom
=
'58'
console
.
log
(
'运行iOS上'
,
port
);
//ios
break
;
default
:
this
.
height
=
'160'
this
.
paddingBottom
=
'58'
console
.
log
(
'运行在开发者工具上'
);
//devtools
break
;
}
let
that
=
this
wx
.
getSystemInfo
({
success
(
res
)
{
let
lift
=
res
.
screenHeight
-
res
.
safeArea
.
bottom
that
.
paddingBottom
=
Number
(
lift
)
+
10
console
.
log
(
lift
)
}
})
// let port = uni.getSystemInfoSync().platform
// switch (port) {
// case 'android':
// this.height = '140'
// this.paddingBottom = '20'
// console.log('运行Android上',port);//android
// break;
// case 'ios':
// this.height = '160'
// this.paddingBottom = '58'
// console.log('运行iOS上',port);//ios
// break;
// default:
// this.height = '160'
// this.paddingBottom = '58'
// console.log('运行在开发者工具上');//devtools
// break;
// }
},
// activated(){
// if(uni.getStorageSync("navs")){
...
...
pages/address/address2.vue
View file @
abee0f6d
...
...
@@ -61,7 +61,11 @@
<view
class=
"school-bg"
>
<text>
<!--
<u-icon
name=
"arrow-left"
size=
"20"
></u-icon>
-->
<<<<<<<
HEAD
<text
class=
"school"
>
{{
title
}}
</text>
=======
<text
class=
"school font24"
>
选择就读学校
</text>
>>>>>>> c95b144519a5881142bd955a62b080013c3fb1e4
</text>
</view>
<!--
<view
class=
"search"
>
...
...
@@ -97,7 +101,12 @@
<u-popup
v-model=
"show4"
mode=
"right"
length=
"80%"
>
<view
class=
"school-bg"
>
<text>
<<<<<<<
HEAD
<text
class=
"school"
>
选择校区
</text>
=======
<!--
<u-icon
name=
"arrow-left"
size=
"20"
></u-icon>
-->
<text
class=
"school font24"
>
选择校区
</text>
>>>>>>> c95b144519a5881142bd955a62b080013c3fb1e4
</text>
</view>
<scroll-view
scroll-y=
"true"
style=
"height:100%;"
>
...
...
@@ -169,7 +178,7 @@
// 提交表单
registered
()
{
let
that
=
this
;
testCmd
=
"/api/WeChatPublic/Create
Student"
;
testCmd
=
"/api/WeChatPublic/Create
MallStudent"
;
//WeChatPublic/CreateStudent
postMsg
=
{
OpenId
:
that
.
u
.
OpenId
,
// openId 是 [string] 查看
UnionId
:
that
.
u
.
Unoinid
,
...
...
@@ -319,6 +328,10 @@
font-size
:
22
rpx
;
}
.school.font24
{
font-size
:
24
rpx
;
}
.search
{
margin-bottom
:
20
rpx
;
}
...
...
@@ -349,13 +362,13 @@
.list2
{
color
:
#138BF9
;
}
.list
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
border-bottom
:
solid
1px
#
99
9
;
height
:
60
rpx
;
border-bottom
:
solid
1px
#
D9D9D
9
;
padding
:
20
rpx
0
;
padding-left
:
20
rpx
;
padding-right
:
20
rpx
;
font-size
:
24
rpx
;
...
...
@@ -375,7 +388,7 @@
.school-bg
{
background-color
:
#EEF1FA
;
height
:
50
rpx
;
padding
:
20
rpx
0
;
display
:
flex
;
align-items
:
center
;
padding-left
:
50
rpx
;
...
...
pages/index/index.vue
View file @
abee0f6d
...
...
@@ -455,7 +455,7 @@
}
}
//测试方法
this
.
testJJSWApi
();
//
this.testJJSWApi();
uni
.
showNavigationBarLoading
();
},
created
()
{
...
...
uni_modules/uni-calendar/components/uni-calendar/i18n/en.json
View file @
abee0f6d
{
"uni-calender.ok"
:
"
ok
"
,
"uni-calender.cancel"
:
"
cancel
"
,
"uni-calender.today"
:
"
today
"
,
"uni-calender.
MON"
:
"MON
"
,
"uni-calender.
TUE"
:
"TUE
"
,
"uni-calender.
WED"
:
"WED
"
,
"uni-calender.
THU"
:
"THU
"
,
"uni-calender.
FRI"
:
"FRI
"
,
"uni-calender.
SAT"
:
"SAT
"
,
"uni-calender.S
UN"
:
"SUN
"
"uni-calender.ok"
:
"
确定
"
,
"uni-calender.cancel"
:
"
取消
"
,
"uni-calender.today"
:
"
今日
"
,
"uni-calender.
SUN"
:
"日
"
,
"uni-calender.
MON"
:
"一
"
,
"uni-calender.
TUE"
:
"二
"
,
"uni-calender.
WED"
:
"三
"
,
"uni-calender.
THU"
:
"四
"
,
"uni-calender.
FRI"
:
"五
"
,
"uni-calender.S
AT"
:
"六
"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment