Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-web-h5app-drs
Overview
Overview
Details
Activity
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
zhuxiaomei
patzn-cloud-web-h5app-drs
Commits
82602cd7
Commit
82602cd7
authored
Dec 07, 2020
by
zhuxiaomei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消息 生成的按钮
parent
9154d9bd
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
163 additions
and
63 deletions
+163
-63
sampling-place.js
src/api/drs/sampling-place.js
+1
-0
Home.vue
src/page/Home.vue
+1
-1
Message.vue
src/page/Message.vue
+76
-0
Mine.vue
src/page/mine/Mine.vue
+1
-1
SamplingList.vue
src/page/sampling-list/SamplingList.vue
+3
-3
SelectShelves.vue
src/page/sampling-list/components/SelectShelves.vue
+3
-3
File.vue
src/page/sampling-list/file/File.vue
+3
-3
SamplingPlan.vue
src/page/sampling-plan/SamplingPlan.vue
+4
-22
SamplingPlanAdd.vue
src/page/sampling-plan/SamplingPlanAdd.vue
+2
-4
File.vue
src/page/sampling-plan/file/File.vue
+3
-3
CreateLoc.vue
src/page/sampling-plan/loc/CreateLoc.vue
+13
-2
LocChecked.vue
src/page/sampling-plan/loc/LocChecked.vue
+11
-3
CreateSampler.vue
src/page/sampling-plan/sampler/CreateSampler.vue
+12
-2
SamplerChecked.vue
src/page/sampling-plan/sampler/SamplerChecked.vue
+11
-3
routes.js
src/router/routes.js
+8
-2
main.less
src/styles/main.less
+11
-11
No files found.
src/api/drs/sampling-place.js
View file @
82602cd7
...
@@ -8,6 +8,7 @@ export default {
...
@@ -8,6 +8,7 @@ export default {
page
:
data
=>
http
.
post
(
'/drs/v1/sampling_place/page'
,
data
).
then
(
res
=>
res
),
page
:
data
=>
http
.
post
(
'/drs/v1/sampling_place/page'
,
data
).
then
(
res
=>
res
),
pageApp
:
data
=>
http
.
post
(
'/drs/v1/sampling_place/page_app'
,
data
).
then
(
res
=>
res
),
pageApp
:
data
=>
http
.
post
(
'/drs/v1/sampling_place/page_app'
,
data
).
then
(
res
=>
res
),
edit
:
data
=>
http
.
put
(
'/drs/v1/sampling_place/'
+
data
.
id
,
data
.
obj
).
then
(
res
=>
res
),
edit
:
data
=>
http
.
put
(
'/drs/v1/sampling_place/'
+
data
.
id
,
data
.
obj
).
then
(
res
=>
res
),
deleteByIds
:
ids
=>
http
.
delete
(
'/drs/v1/sampling_place/?ids='
+
ids
).
then
(
res
=>
res
),
listPlaces
:
data
=>
http
.
post
(
'/drs/v1/sampling_place/list_places'
,
data
).
then
(
res
=>
res
),
listPlaces
:
data
=>
http
.
post
(
'/drs/v1/sampling_place/list_places'
,
data
).
then
(
res
=>
res
),
addMulti
:
data
=>
http
.
put
(
'/drs/v1/sampling_place/update_multi_selected'
,
data
).
then
(
res
=>
res
),
addMulti
:
data
=>
http
.
put
(
'/drs/v1/sampling_place/update_multi_selected'
,
data
).
then
(
res
=>
res
),
savePlaces
:
data
=>
httpJson
.
post
(
'/drs/v1/sampling_place/savePlaces'
,
JSON
.
stringify
(
data
)).
then
(
res
=>
res
),
savePlaces
:
data
=>
httpJson
.
post
(
'/drs/v1/sampling_place/savePlaces'
,
JSON
.
stringify
(
data
)).
then
(
res
=>
res
),
...
...
src/page/Home.vue
View file @
82602cd7
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
</div>
</div>
</div>
</div>
<div
style=
"display: flex"
class=
"box-c"
>
<div
style=
"display: flex"
class=
"box-c"
>
<div
style=
"width:50%;background: brown"
>
<div
style=
"width:50%;background: brown"
@
click=
"_goto('/message')"
>
<!--todo 消息-->
<!--todo 消息-->
<div>
消息
</div>
<div>
消息
</div>
<div>
4
</div>
<div>
4
</div>
...
...
src/page/Message.vue
0 → 100644
View file @
82602cd7
<
template
>
<div>
<div
class=
"layout-cont"
>
<!--下拉刷新 https://vant-contrib.gitee.io/vant/#/zh-CN/pull-refresh-->
<van-pull-refresh
v-model=
"refreshing"
@
refresh=
"_refresh"
>
<!--上拉加载 https://vant-contrib.gitee.io/vant/#/zh-CN/list-->
<van-list
v-model=
"loading"
:finished=
"finished"
finished-text=
"没有更多了"
@
load=
"_load"
>
<van-swipe-cell
v-for=
"item in resultList"
:key=
"item.name"
>
<div
class=
"result-item"
>
<div>
标题:
{{
item
.
title
}}
</div>
<div>
内容:
{{
item
.
content
}}
</div>
<div>
发送人:
{{
item
.
sender
}}
</div>
<div>
创建时间:
{{
$dateformat
(
item
.
ctime
,
'yyyy-mm-dd HH:MM'
)
}}
</div>
</div>
</van-swipe-cell>
</van-list>
</van-pull-refresh>
</div>
</div>
</
template
>
<
script
>
import
{
message
}
from
'../api'
export
default
{
data
()
{
return
{
resultList
:
[],
page
:
1
,
rows
:
10
,
refreshing
:
false
,
//刷新中...
loading
:
false
,
//加载中...
finished
:
false
,
//没有更多数据
}
},
mounted
()
{
this
.
_getData
()
},
methods
:
{
_searchParams
()
{
let
data
=
{
page
:
this
.
page
,
rows
:
this
.
rows
,
service
:
'drs'
,
read
:
0
};
return
this
.
$serializeForm
(
data
)
},
_getData
:
async
function
()
{
let
result
=
await
message
.
myPage
(
this
.
_searchParams
())
this
.
resultList
=
[...(
this
.
page
===
1
?
[]
:
this
.
resultList
),
...
result
.
records
]
this
.
refreshing
=
false
this
.
loading
=
false
if
(
this
.
resultList
.
length
===
result
.
total
)
{
this
.
finished
=
true
}
},
_refresh
()
{
this
.
page
=
1
;
this
.
_getData
()
},
_load
()
{
this
.
page
=
this
.
page
+
1
;
this
.
_getData
()
},
}
}
</
script
>
<
style
scoped
>
</
style
>
src/page/mine/Mine.vue
View file @
82602cd7
<
template
>
<
template
>
<div
class=
"personal-cont"
>
<div
class=
"personal-cont"
>
<div
class=
"layout-cont"
>
<div
class=
"layout-cont
-tab
"
>
<div
class=
"personal-top-img"
>
<div
class=
"personal-top-img"
>
<img
src=
"@/assets/touxiang2.png"
@
click=
"_goto"
>
<img
src=
"@/assets/touxiang2.png"
@
click=
"_goto"
>
</div>
</div>
...
...
src/page/sampling-list/SamplingList.vue
View file @
82602cd7
...
@@ -70,9 +70,9 @@
...
@@ -70,9 +70,9 @@
</van-list>
</van-list>
</van-pull-refresh>
</van-pull-refresh>
</div>
</div>
<div
class=
"bottom-btn
bottom-btn-two
"
v-if=
"showCheck"
>
<div
class=
"bottom-btn"
v-if=
"showCheck"
>
<van-button
square
@
click=
"_checkAll"
>
{{checkAll?'取消全选':'全选'}}
</van-button>
<van-button
square
block
@
click=
"_checkAll"
>
{{checkAll?'取消全选':'全选'}}
</van-button>
<van-button
square
type=
"danger"
@
click=
"_del(checkListValue)"
>
删除
</van-button>
<van-button
square
block
type=
"danger"
@
click=
"_del(checkListValue)"
>
删除
</van-button>
</div>
</div>
</template>
</template>
<SelectShelves
ref=
"shelvesSelect"
@
on-select=
"_shelvesResult"
></SelectShelves>
<SelectShelves
ref=
"shelvesSelect"
@
on-select=
"_shelvesResult"
></SelectShelves>
...
...
src/page/sampling-list/components/SelectShelves.vue
View file @
82602cd7
...
@@ -28,9 +28,9 @@
...
@@ -28,9 +28,9 @@
></van-tree-select>
></van-tree-select>
</div>
</div>
</div>
</div>
<div
class=
"bottom-btn
bottom-btn-two
"
>
<div
class=
"bottom-btn"
>
<van-button
square
type=
"default"
@
click=
"_cancel"
>
取消
</van-button>
<van-button
square
block
type=
"default"
@
click=
"_cancel"
>
取消
</van-button>
<van-button
square
type=
"info"
@
click=
"_ok"
>
确定
</van-button>
<van-button
square
block
type=
"info"
@
click=
"_ok"
>
确定
</van-button>
</div>
</div>
</van-popup>
</van-popup>
</div>
</div>
...
...
src/page/sampling-list/file/File.vue
View file @
82602cd7
...
@@ -19,10 +19,10 @@
...
@@ -19,10 +19,10 @@
</van-list>
</van-list>
</van-pull-refresh>
</van-pull-refresh>
</div>
</div>
<div
class=
"bottom-btn
bottom-btn-two
"
>
<div
class=
"bottom-btn"
>
<!--<van-button type="info" block @click="_goto('/sampling_list/file_upload')">添加附件</van-button>-->
<!--<van-button type="info" block @click="_goto('/sampling_list/file_upload')">添加附件</van-button>-->
<van-button
type=
"info"
square
@
click=
"_goto('/sampling_list/file_upload')"
>
添加附件
</van-button>
<van-button
type=
"info"
square
block
@
click=
"_goto('/sampling_list/file_upload')"
>
添加附件
</van-button>
<van-button
type=
"primary"
square
@
click=
"_uploadImg"
>
添加图片
</van-button>
<van-button
type=
"primary"
square
block
@
click=
"_uploadImg"
>
添加图片
</van-button>
</div>
</div>
<van-image-preview
v-model=
"showImg"
:images=
"imgList"
>
<van-image-preview
v-model=
"showImg"
:images=
"imgList"
>
<!--<template #:index>第{{ index }}页</template>-->
<!--<template #:index>第{{ index }}页</template>-->
...
...
src/page/sampling-plan/SamplingPlan.vue
View file @
82602cd7
...
@@ -80,14 +80,10 @@
...
@@ -80,14 +80,10 @@
</van-list>
</van-list>
</van-pull-refresh>
</van-pull-refresh>
</div>
</div>
<div
class=
"bottom-btn bottom-btn-five"
v-if=
"showCheck"
>
<div
class=
"bottom-btn"
v-if=
"showCheck"
>
<van-button
square
@
click=
"_checkAll"
>
{{checkAll?'取消全选':'全选'}}
</van-button>
<van-button
square
block
@
click=
"_checkAll"
>
{{checkAll?'取消全选':'全选'}}
</van-button>
<van-button
square
type=
"danger"
@
click=
"_del(checkListValue)"
>
删除
</van-button>
<van-button
square
block
type=
"danger"
@
click=
"_del(checkListValue)"
>
删除
</van-button>
<van-button
square
type=
"info"
@
click=
"_submit(checkListValue)"
>
提交
</van-button>
<van-button
square
block
type=
"info"
@
click=
"_submit(checkListValue)"
>
提交
</van-button>
<!--生成人-->
<van-button
square
type=
"primary"
@
click=
"_createSampler(checkListValue)"
>
生成抽样人员
</van-button>
<!--生成地点-->
<van-button
square
type=
"warning"
@
click=
"_createLoc(checkListValue)"
>
生成抽样地点
</van-button>
</div>
</div>
</template>
</template>
</customer-navBar-layout>
</customer-navBar-layout>
...
@@ -284,20 +280,6 @@
...
@@ -284,20 +280,6 @@
// todo 提交
// todo 提交
}
}
},
},
_createSampler
()
{
if
(
this
.
checkListValue
.
length
===
0
)
{
this
.
$toast
(
'请至少选择一条数据!'
)
}
else
{
this
.
$router
.
push
({
path
:
'/sampling_plan/create_sampler'
,
query
:
{
ids
:
this
.
checkListValue
}})
}
},
_createLoc
()
{
if
(
this
.
checkListValue
.
length
===
0
)
{
this
.
$toast
(
'请至少选择一条数据!'
)
}
else
{
this
.
$router
.
push
({
path
:
'/sampling_plan/create_loc'
,
query
:
{
ids
:
this
.
checkListValue
}})
}
},
_goFile
(
id
)
{
_goFile
(
id
)
{
this
.
$router
.
push
({
path
:
'/sampling_plan/file'
,
query
:
{
planId
:
id
}})
this
.
$router
.
push
({
path
:
'/sampling_plan/file'
,
query
:
{
planId
:
id
}})
}
}
...
...
src/page/sampling-plan/SamplingPlanAdd.vue
View file @
82602cd7
...
@@ -156,13 +156,12 @@
...
@@ -156,13 +156,12 @@
},
},
onSubmit
(
res
)
{
onSubmit
(
res
)
{
if
(
this
.
id
)
{
if
(
this
.
id
)
{
this
.
_editSave
(
res
)
this
.
_editSave
(
this
.
$serializeForm
(
res
)
)
}
else
{
}
else
{
this
.
_addSave
(
res
)
this
.
_addSave
(
this
.
$serializeForm
(
res
)
)
}
}
},
},
_editSave
:
async
function
(
res
)
{
_editSave
:
async
function
(
res
)
{
res
.
type
=
0
let
result
=
await
samplingPlan
.
edit
({
id
:
this
.
id
,
obj
:
res
})
let
result
=
await
samplingPlan
.
edit
({
id
:
this
.
id
,
obj
:
res
})
if
(
result
)
{
if
(
result
)
{
this
.
$toast
(
'编辑成功!'
)
this
.
$toast
(
'编辑成功!'
)
...
@@ -170,7 +169,6 @@
...
@@ -170,7 +169,6 @@
}
}
},
},
_addSave
:
async
function
(
res
)
{
_addSave
:
async
function
(
res
)
{
res
.
type
=
0
let
result
=
await
samplingPlan
.
add
(
res
)
let
result
=
await
samplingPlan
.
add
(
res
)
if
(
result
)
{
if
(
result
)
{
this
.
$toast
(
'添加成功!'
)
this
.
$toast
(
'添加成功!'
)
...
...
src/page/sampling-plan/file/File.vue
View file @
82602cd7
...
@@ -19,10 +19,10 @@
...
@@ -19,10 +19,10 @@
</van-list>
</van-list>
</van-pull-refresh>
</van-pull-refresh>
</div>
</div>
<div
class=
"bottom-btn
bottom-btn-two
"
>
<div
class=
"bottom-btn"
>
<!--<van-button type="info" block @click="_goto('/sampling_list/file_upload')">添加附件</van-button>-->
<!--<van-button type="info" block @click="_goto('/sampling_list/file_upload')">添加附件</van-button>-->
<van-button
type=
"info"
square
@
click=
"_goto('/sampling_list/file_upload')"
>
添加附件
</van-button>
<van-button
type=
"info"
square
block
@
click=
"_goto('/sampling_list/file_upload')"
>
添加附件
</van-button>
<van-button
type=
"primary"
square
@
click=
"_uploadImg"
>
添加图片
</van-button>
<van-button
type=
"primary"
square
block
@
click=
"_uploadImg"
>
添加图片
</van-button>
</div>
</div>
<van-image-preview
v-model=
"showImg"
:images=
"imgList"
>
<van-image-preview
v-model=
"showImg"
:images=
"imgList"
>
<!--<template #:index>第{{ index }}页</template>-->
<!--<template #:index>第{{ index }}页</template>-->
...
...
src/page/sampling-plan/loc/CreateLoc.vue
View file @
82602cd7
<
template
>
<
template
>
<div></div>
<div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
name
:
"CreateLoc"
name
:
"CreateLoc"
,
data
(){
return
{
planId
:
''
}
},
mounted
()
{
this
.
planId
=
this
.
$route
.
query
.
planId
},
methods
:{}
}
}
</
script
>
</
script
>
...
...
src/page/sampling-plan/loc/LocChecked.vue
View file @
82602cd7
<
template
>
<
template
>
<div>
<div>
<search-bar
label=
"地点名称"
@
search=
"_search"
></search-bar>
<search-bar
label=
"地点名称"
@
search=
"_search"
></search-bar>
<div
class=
"layout-cont-s layout-cont-s-btn"
>
<div
class=
"layout-cont-s layout-cont-s-btn"
>
<van-pull-refresh
v-model=
"refreshing"
@
refresh=
"_refresh"
>
<van-pull-refresh
v-model=
"refreshing"
@
refresh=
"_refresh"
>
<van-list
<van-list
v-model=
"loading"
v-model=
"loading"
...
@@ -24,7 +24,8 @@
...
@@ -24,7 +24,8 @@
</van-pull-refresh>
</van-pull-refresh>
</div>
</div>
<div
class=
"bottom-btn"
>
<div
class=
"bottom-btn"
>
<van-button
type=
"info"
block
@
click=
"_add"
>
添加
</van-button>
<van-button
type=
"info"
square
block
@
click=
"_add"
>
添加
</van-button>
<van-button
type=
"default"
square
block
@
click=
"_create"
>
生成抽样地点
</van-button>
</div>
</div>
</div>
</div>
</template>
</template>
...
@@ -83,12 +84,19 @@
...
@@ -83,12 +84,19 @@
this
.
$router
.
push
({
path
:
'/sampling_plan/select_loc'
,
query
:
{
planId
:
this
.
planId
}})
this
.
$router
.
push
({
path
:
'/sampling_plan/select_loc'
,
query
:
{
planId
:
this
.
planId
}})
},
},
_del
:
async
function
(
id
)
{
_del
:
async
function
(
id
)
{
let
result
=
await
samplingPlace
.
deleteByIds
(
{
ids
:
[
id
]}
)
let
result
=
await
samplingPlace
.
deleteByIds
(
[
id
]
)
if
(
result
)
{
if
(
result
)
{
this
.
$toast
(
'操作成功!'
)
this
.
$toast
(
'操作成功!'
)
this
.
_refresh
()
this
.
_refresh
()
}
}
},
},
_create
()
{
if
(
this
.
resultList
.
length
===
0
)
{
this
.
$toast
(
'请先维护抽样地点!'
)
}
else
{
this
.
$router
.
push
({
path
:
'/sampling_plan/create_loc'
,
query
:
{
planId
:
this
.
planId
}})
}
}
}
}
}
}
</
script
>
</
script
>
...
...
src/page/sampling-plan/sampler/CreateSampler.vue
View file @
82602cd7
<
template
>
<
template
>
<div>
</div>
<div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
name
:
"CreateSampler"
name
:
"CreateSampler"
,
data
()
{
return
{
planId
:
''
}
},
mounted
()
{
this
.
planId
=
this
.
$route
.
query
.
planId
},
methods
:
{}
}
}
</
script
>
</
script
>
...
...
src/page/sampling-plan/sampler/SamplerChecked.vue
View file @
82602cd7
<
template
>
<
template
>
<div>
<div>
<search-bar
label=
"姓名"
@
search=
"_search"
></search-bar>
<search-bar
label=
"姓名"
@
search=
"_search"
></search-bar>
<div
class=
"layout-cont-s layout-cont-s-btn"
>
<div
class=
"layout-cont-s layout-cont-s-btn"
>
<van-pull-refresh
v-model=
"refreshing"
@
refresh=
"_refresh"
>
<van-pull-refresh
v-model=
"refreshing"
@
refresh=
"_refresh"
>
<van-list
<van-list
v-model=
"loading"
v-model=
"loading"
...
@@ -23,7 +23,8 @@
...
@@ -23,7 +23,8 @@
</van-pull-refresh>
</van-pull-refresh>
</div>
</div>
<div
class=
"bottom-btn"
>
<div
class=
"bottom-btn"
>
<van-button
type=
"info"
block
@
click=
"_add"
>
添加
</van-button>
<van-button
type=
"info"
square
block
@
click=
"_add"
>
添加
</van-button>
<van-button
type=
"default"
square
block
@
click=
"_create"
>
生成抽样人员
</van-button>
</div>
</div>
</div>
</div>
</template>
</template>
...
@@ -79,7 +80,7 @@
...
@@ -79,7 +80,7 @@
this
.
_getData
()
this
.
_getData
()
},
},
_add
()
{
_add
()
{
this
.
$router
.
push
({
path
:
'/sampling_plan/select_sampler'
,
query
:{
planId
:
this
.
planId
}})
this
.
$router
.
push
({
path
:
'/sampling_plan/select_sampler'
,
query
:
{
planId
:
this
.
planId
}})
},
},
_del
:
async
function
(
id
)
{
_del
:
async
function
(
id
)
{
let
result
=
await
samplingPlan
.
deletePlanSampler
({
samplerId
:
id
,
planId
:
this
.
planId
})
let
result
=
await
samplingPlan
.
deletePlanSampler
({
samplerId
:
id
,
planId
:
this
.
planId
})
...
@@ -88,6 +89,13 @@
...
@@ -88,6 +89,13 @@
this
.
_refresh
()
this
.
_refresh
()
}
}
},
},
_create
()
{
if
(
this
.
resultList
.
length
===
0
)
{
this
.
$toast
(
'请先维护抽样人员!'
)
}
else
{
this
.
$router
.
push
({
path
:
'/sampling_plan/create_sampler'
,
query
:
{
planId
:
this
.
planId
}})
}
}
}
}
}
}
</
script
>
</
script
>
...
...
src/router/routes.js
View file @
82602cd7
...
@@ -2,6 +2,7 @@ import Index from '@/page/Index'
...
@@ -2,6 +2,7 @@ import Index from '@/page/Index'
import
Home
from
'@/page/Home'
import
Home
from
'@/page/Home'
import
Login
from
'@/page/Login'
import
Login
from
'@/page/Login'
import
ForgetPwd
from
'@/page/ForgetPwd'
import
ForgetPwd
from
'@/page/ForgetPwd'
import
Message
from
'@/page/Message'
import
SamplingPlanRoutes
from
'./sampling-plan-routes'
import
SamplingPlanRoutes
from
'./sampling-plan-routes'
import
SamplingTaskRoutes
from
'./sampling-task-routes'
import
SamplingTaskRoutes
from
'./sampling-task-routes'
import
SamplingListRoutes
from
'./sampling-list-routes'
import
SamplingListRoutes
from
'./sampling-list-routes'
...
@@ -30,12 +31,17 @@ export default [
...
@@ -30,12 +31,17 @@ export default [
name
:
"forgetPwd"
,
name
:
"forgetPwd"
,
component
:
ForgetPwd
,
component
:
ForgetPwd
,
meta
:
{
title
:
"找回密码"
,
hideNavBar
:
true
},
meta
:
{
title
:
"找回密码"
,
hideNavBar
:
true
},
},{
},
{
path
:
"/debug"
,
path
:
"/debug"
,
name
:
"debug"
,
name
:
"debug"
,
component
:
DebugComponent
,
component
:
DebugComponent
,
meta
:
{
title
:
"调试组件页面"
,
hideNavBar
:
true
},
meta
:
{
title
:
"调试组件页面"
,
hideNavBar
:
true
},
},
},
{
path
:
"/message"
,
name
:
'message'
,
component
:
Message
,
meta
:
{
title
:
'我的消息'
}
}
],
],
},
{
},
{
...
...
src/styles/main.less
View file @
82602cd7
...
@@ -44,15 +44,23 @@ html, body, #app, .main-content-con {
...
@@ -44,15 +44,23 @@ html, body, #app, .main-content-con {
}
}
//主要内容 不包括navbar searchbar
//主要内容 不包括navbar searchbar
.layout-cont {
.layout-cont{
width: 100%;
height: 100%;
overflow: auto;
}
//底部导航
.layout-cont-tab {
width: 100%;
width: 100%;
height: calc(100% - 50px);
height: calc(100% - 50px);
overflow: auto;
}
}
//有底部按钮
//有底部按钮
.layout-cont-btn {
.layout-cont-btn {
width: 100%;
width: 100%;
height: calc(100% - 44px);
height: calc(100% - 44px);
overflow: auto;
}
}
//有search 54
//有search 54
...
@@ -90,18 +98,10 @@ html, body, #app, .main-content-con {
...
@@ -90,18 +98,10 @@ html, body, #app, .main-content-con {
.bottom-btn {
.bottom-btn {
width: 100%;
width: 100%;
height: 44px;
height: 44px;
display: flex;
flex: 1;
}
}
.bottom-btn-two {
> button {
width: 50%
}
}
.bottom-btn-five {
> button {
width: 20%
}
}
.personal-cont {
.personal-cont {
.personal-top-img {
.personal-top-img {
...
...
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