187 lines
3.3 KiB
Stylus
187 lines
3.3 KiB
Stylus
// 网站默认样式修改
|
|
html,body,#app
|
|
height 100%
|
|
|
|
h1,h2,h3,h4,h5,h6,ul,li,p
|
|
padding 0
|
|
margin 0
|
|
|
|
// 自定义全局css
|
|
.line
|
|
width 100%
|
|
height 0.267rem
|
|
background #f6f6f6
|
|
|
|
.content
|
|
padding-top 46px
|
|
padding-bottom 50px
|
|
overflow auto
|
|
|
|
.inline_block
|
|
display inline-block
|
|
|
|
.mt80
|
|
margin-top 0.8rem
|
|
.mt25
|
|
margin-top 0.25rem
|
|
.mt10
|
|
margin-top 0.1rem
|
|
.mt36
|
|
margin-top 0.36rem
|
|
.mt40
|
|
margin-top 0.4rem
|
|
.ml10
|
|
margin-left 0.1rem
|
|
.ml20
|
|
margin-left 0.2rem
|
|
.ml40
|
|
margin-left 0.4rem
|
|
.mr10
|
|
margin-right 0.1rem
|
|
.pd43
|
|
padding 0 0.43rem
|
|
.pd30
|
|
padding 0 0.30rem
|
|
.pt20
|
|
padding-top 0.2rem
|
|
|
|
.mt
|
|
margin-top mt()
|
|
// 框架的一些样式重置
|
|
// .task 限制只在task页面生效
|
|
.task .van-tab--active,
|
|
.news .van-tab--active
|
|
background $themeColor
|
|
|
|
.task .van-tabs__line,
|
|
.news .van-tabs__line
|
|
background #ee0a2400 !important
|
|
|
|
.task .van-tabs__wrap,
|
|
.news .van-tabs__wrap
|
|
height 1.17333rem
|
|
border-bottom 2px solid $themeColor
|
|
|
|
.task_info .van-cell,
|
|
.news .van-cell
|
|
padding-left 0
|
|
padding-right 0
|
|
|
|
.task_hall .van-tabs__line,
|
|
.news .van-tabs__line,
|
|
.CapitalDetails .van-tabs__line{
|
|
background-color: $themeColor;
|
|
}
|
|
// task和taskinfo页面列表头部的公共样式
|
|
// 放在这里减少冗余
|
|
.items_title
|
|
display flex
|
|
justify-content space-between
|
|
height 1.187rem
|
|
align-items center
|
|
border_bottom()
|
|
.title_status
|
|
color: red;
|
|
font-size 13px
|
|
.title_left
|
|
display flex
|
|
align-items center
|
|
img
|
|
width 0.573rem
|
|
height 0.573rem
|
|
margin-right 0.28rem
|
|
span
|
|
font-size 13px
|
|
margin-right 0.16rem
|
|
margin-left 0.16rem
|
|
max-width 3.5rem
|
|
.y
|
|
padding 0.107rem 0.23rem
|
|
// width 1.067rem
|
|
text-align center
|
|
color #fff
|
|
font-size 12px
|
|
display inline-block
|
|
.y_1
|
|
margin-right 0.147rem
|
|
// 任务详情组件中统一的标题和内容样式
|
|
.tv_b
|
|
color #e6a23c !important
|
|
.tv_c
|
|
color #67c23a !important
|
|
.topic
|
|
padding 0.2rem 0
|
|
.title
|
|
font-size 0.34667rem
|
|
color #969799
|
|
border-bottom 0.01rem #cccccc solid
|
|
padding-bottom 0.1rem
|
|
display flex
|
|
.topic_title
|
|
flex 1
|
|
.topic_value
|
|
flex 1
|
|
text-align right
|
|
.center
|
|
padding 0.2rem 0.1rem 0
|
|
.text
|
|
padding 0 0.2rem
|
|
.text_f
|
|
display flex
|
|
p
|
|
font-size 0.36rem
|
|
line-height 2
|
|
color #969799
|
|
flex 1
|
|
.text_separate
|
|
font-size 0.36rem
|
|
line-height 2
|
|
color #969799
|
|
display flex
|
|
.p
|
|
width 20%
|
|
.span
|
|
width 80%
|
|
.radio
|
|
padding-top 0.2rem
|
|
font-size 0.36rem
|
|
color #969799
|
|
|
|
// 提示语样式
|
|
.prompting
|
|
flex 1
|
|
font-size 0.24rem
|
|
color red
|
|
.prompting_m
|
|
margin 0.2rem
|
|
.prompting_cen
|
|
text-align center
|
|
// 按钮统一处理
|
|
.account_sub
|
|
padding 0.267rem 0.48rem
|
|
.account_sub_top
|
|
padding 0.267rem 0
|
|
// 自定义面板组件的下划线
|
|
// .mycell
|
|
// &:not(:last-child)::after
|
|
// position: absolute;
|
|
// box-sizing: border-box;
|
|
// content: ' ';
|
|
// pointer-events: none;
|
|
// right: 0;
|
|
// bottom: 0;
|
|
// left: 0.42667rem;
|
|
// border-bottom: 0.02667rem solid #ebedf0;
|
|
// transform: scaleY(.5);
|
|
|
|
// 边框
|
|
.border_r
|
|
border-right 0.01rem solid #eeeeee
|
|
.border_b
|
|
border-bottom 0.01rem solid #eeeeee
|
|
|
|
.task,
|
|
.news
|
|
.van-tab__pane
|
|
overflow-y: scroll;
|