提交 5a9b1116 编写于 作者: 蓝色的小猫咪's avatar 蓝色的小猫咪

修正页面自定义 page{} 样式

上级 bc7e8869
<template> <template>
<view class="page"> <view class="page">
<page-head :title="title"></page-head> <page-head :title="title"></page-head>
<view class="uni-card"> <view class="uni-card" style="margin-top:50px;">
<view class="uni-list"> <view class="uni-list">
<block v-for="(list,index) in lists" :key="index"> <block v-for="(list,index) in lists" :key="index">
<view class="uni-list-cell uni-collapse"> <view class="uni-list-cell uni-collapse">
...@@ -85,10 +85,6 @@ ...@@ -85,10 +85,6 @@
</script> </script>
<style> <style>
.page {
padding-top: 60upx;
}
.list-collapse { .list-collapse {
padding-left: 36upx; padding-left: 36upx;
box-sizing: border-box; box-sizing: border-box;
......
<template> <template>
<view class="page"> <view class="page">
<page-head :title="title"></page-head> <page-head :title="title"></page-head>
<view class="uni-padding-wrap"> <view class="uni-padding-wrap uni-common-mt">
<view class="uni-card"> <view class="uni-card">
<view class="uni-card-content"> <view class="uni-card-content">
<view class="uni-card-content-inner"> <view class="uni-card-content-inner">
......
<template> <template>
<view class="page"> <view>
<page-head :title="title"></page-head> <page-head :title="title"></page-head>
<view class="uni-list"> <view class="uni-list" style="margin-top:30px;">
<view class="uni-list-cell uni-list-cell-pd"> <view class="uni-list-cell uni-list-cell-pd">
<view class="uni-list-cell-db">循环</view> <view class="uni-list-cell-db">循环</view>
<switch @change="switchChange"/> <switch @change="switchChange"/>
...@@ -57,13 +57,6 @@ ...@@ -57,13 +57,6 @@
</script> </script>
<style> <style>
.page {
padding-top: 60upx;
}
page {
background: #efeff4;
}
.uni-list{ .uni-list{
margin-bottom: 30upx; margin-bottom: 30upx;
} }
......
<template> <template>
<view class="page"> <view>
<page-head :title="title"></page-head> <page-head :title="title"></page-head>
<view class="uni-grid-9 uni-common-mt"> <view class="uni-grid-9 uni-common-mt">
<view class="uni-grid-9-item" hover-class="uni-grid-9-item-hover" v-for="(item,index) in grids" :key="index" :class="index % 3 === 2 ? 'no-border-right' : ''"> <view class="uni-grid-9-item" hover-class="uni-grid-9-item-hover" v-for="(item,index) in grids" :key="index" :class="index % 3 === 2 ? 'no-border-right' : ''">
...@@ -25,7 +25,4 @@ ...@@ -25,7 +25,4 @@
</script> </script>
<style> <style>
.page {
padding-top: 60upx;
}
</style> </style>
<template> <template>
<view class="page"> <view>
<page-head :title="title"></page-head> <page-head :title="title"></page-head>
<view class="uni-padding-wrap uni-common-mt"> <view class="uni-padding-wrap uni-common-mt">
<view class="uni-title"> <view class="uni-title">
...@@ -32,7 +32,5 @@ ...@@ -32,7 +32,5 @@
</script> </script>
<style> <style>
.page {
padding-top: 60upx;
}
</style> </style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册