Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
Y
year-end-activitiy
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.foundation.frontend
year-end-activitiy
提交
8814f9ff
提交
8814f9ff
编写于
12月 09, 2019
作者:
tao.wu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改页面宽度固定引起的bug
上级
dbbd68cf
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
29 行增加
和
138 行删除
+29
-138
common.less
assets/style/common.less
+10
-122
index.less
assets/style/index.less
+15
-13
index.less
components/h5header/index.less
+3
-3
nuxt.config.js
nuxt.config.js
+1
-0
未找到文件。
assets/style/common.less
浏览文件 @
8814f9ff
img{
-webkit-user-select:none;
-moz-user-select:none;
-o-user-select:none;
user-select:none;
}
body, div, span, header, footer, nav, section, aside, article, ul, dl, dt, dd, li, a, p, h1, h2, h3, h4,h5, h6, i, b, textarea, button, input, select, figure, figcaption {
padding: 0;
margin: 0;
list-style: none;
font-style: normal;
text-decoration: none;
border: none;
color: #333;
font-weight: normal;
font-family: "PingFangSC-Regular","-apple-system-font","Source Han Sans","Helvetica Neue","sans-serif";
box-sizing: border-box;
-webkit-tap-highlight-color:transparent;
-webkit-font-smoothing: antialiased;
&:hover{
outline: none;
}
}
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar
{
width: 0px;
height: 0px;
background-color: #F5F5F5;
}
/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track
{
-webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0);
border-radius: 10px;
background-color: #F5F5F5;
}
/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb
{
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
background-color: #555;
}
input[type="button"], input[type="submit"], input[type="search"], input[type="reset"] {
-webkit-appearance: none;
}
textarea { -webkit-appearance: none;}
html,body{
html,body{
height: 100%;
width: 100%;
width: 100%;
background-color: #fff;
background-color: #fff;
overflow-x: hidden;
}
-webkit-overflow-scrolling: touch;
.clear:after{
content: '';
display: block;
clear: both;
}
.clear{
zoom:1;
}
.back_img{
background-repeat: no-repeat;
background-size: 100% 100%;
}
.margin{
margin: 0 auto;
}
.left{
float: left;
}
.right{
float: right;
}
}
img{
.hide{
-webkit-user-select:none;
display: none;
-moz-user-select:none;
}
-o-user-select:none;
user-select:none;
.show{
margin-bottom: -.5px;
display: block;
}
.ellipsis{
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.paddingTop{
padding-top: 1.95rem;
}
@keyframes backOpacity{
0% { opacity: 1 }
25% { opacity: .5 }
50% { opacity: 1 }
75% { opacity: .5 }
100% { opacity: 1 }
}
.animation_opactiy{
animation: backOpacity 2s ease-in-out infinite;
}
.template-content .mint-cell-title {
display: none;
}
.template-content .mint-cell-value {
width: 100%;
}
.template-content .mint-cell-wrapper {
padding: 0;
}
}
\ No newline at end of file
assets/style/index.less
浏览文件 @
8814f9ff
.index-wrap {
.index-wrap {
width: 100%;
position: relative;
div {
div {
width: 375px;
width: 100%;
img {
img {
width:
375px
;
width:
100%
;
display: block;
display: block;
}
}
}
}
...
@@ -12,7 +13,7 @@
...
@@ -12,7 +13,7 @@
height: 72.5px;
height: 72.5px;
background: url(../img/img4.png) no-repeat center center;
background: url(../img/img4.png) no-repeat center center;
background-size: 100% 100%;
background-size: 100% 100%;
margin-bottom: -.5px;
.wrap-count {
.wrap-count {
width: 325px;
width: 325px;
height: 72.5px;
height: 72.5px;
...
@@ -50,7 +51,7 @@
...
@@ -50,7 +51,7 @@
height: 94.5px;
height: 94.5px;
background: url(../img/img5.png) no-repeat center center;
background: url(../img/img5.png) no-repeat center center;
background-size: 100% 100%;
background-size: 100% 100%;
margin-bottom: -.5px;
img {
img {
padding-top: 15px;
padding-top: 15px;
}
}
...
@@ -68,7 +69,7 @@
...
@@ -68,7 +69,7 @@
height: 166px;
height: 166px;
background: url(../img/img11.png) no-repeat center center;
background: url(../img/img11.png) no-repeat center center;
background-size: 100% 100%;
background-size: 100% 100%;
margin-bottom: -.5px;
img {
img {
padding-top: 81px;
padding-top: 81px;
}
}
...
@@ -127,7 +128,7 @@
...
@@ -127,7 +128,7 @@
.btn-rule {
.btn-rule {
width: 110px;
width: 110px;
height: 15px;
//
height: 15px;
font-size: 15px;
font-size: 15px;
color: rgba(255, 255, 255, 1);
color: rgba(255, 255, 255, 1);
line-height: 15px;
line-height: 15px;
...
@@ -146,7 +147,7 @@
...
@@ -146,7 +147,7 @@
}
}
.fix-btn {
.fix-btn {
width:
375px
;
width:
100%
;
height: 50px;
height: 50px;
position: fixed;
position: fixed;
left: 0;
left: 0;
...
@@ -187,7 +188,7 @@
...
@@ -187,7 +188,7 @@
// 微信分享助力活动
// 微信分享助力活动
.wx-share-wrap {
.wx-share-wrap {
width:
375px
;
width:
100%
;
// height: 601.5px;
// height: 601.5px;
button,input{
button,input{
appearance: none;
appearance: none;
...
@@ -195,11 +196,12 @@
...
@@ -195,11 +196,12 @@
outline: none;
outline: none;
}
}
section {
section {
width:
375px
;
width:
100%
;
// height: 601.5px;
// height: 601.5px;
padding-bottom: 27.5px;
padding-bottom: 27.5px;
background: url(../img/bgtop.png) no-repeat;
background: url(../img/bgtop.png) no-repeat;
background-size: 100% 100%;
background-size: 100% 100%;
margin-bottom: -.5px;
.invite-info{
.invite-info{
img{
img{
width: 50px;
width: 50px;
...
@@ -368,10 +370,10 @@
...
@@ -368,10 +370,10 @@
}
}
}
}
.wx-share-result{
.wx-share-result{
width:
375px
;
width:
100%
;
// height: 601.5px;
// height: 601.5px;
section{
section{
width:
375px
;
width:
100%
;
// height: 601.5px;
// height: 601.5px;
padding-top: 40px;
padding-top: 40px;
.res-wrap{
.res-wrap{
...
@@ -418,7 +420,7 @@
...
@@ -418,7 +420,7 @@
color:rgba(103,104,105,1);
color:rgba(103,104,105,1);
}
}
.line{
.line{
width:
375px
;
width:
100%
;
height: 5px;
height: 5px;
background:rgba(248,249,250,1);
background:rgba(248,249,250,1);
}
}
...
...
components/h5header/index.less
浏览文件 @
8814f9ff
header{
header{
width:
375px
;
width:
100%
;
position: fixed;
position: fixed;
left: 0;
left: 0;
top: 0;
top: 0;
z-index: 300;
z-index: 300;
.status{
.status{
width:
375px
;
width:
100%
;
}
}
.head-wrap{
.head-wrap{
width:
375px
;
width:
100%
;
height: 44Px;
height: 44Px;
line-height: 44Px;
line-height: 44Px;
box-sizing: border-box;
box-sizing: border-box;
...
...
nuxt.config.js
浏览文件 @
8814f9ff
...
@@ -39,6 +39,7 @@ module.exports = {
...
@@ -39,6 +39,7 @@ module.exports = {
** Global CSS
** Global CSS
*/
*/
css
:
[
css
:
[
'~/assets/style/common.less'
,
'vant/lib/index.css'
'vant/lib/index.css'
],
],
/*
/*
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录