Browse Source

公共样式

master
kuaileWu 2 years ago
parent
commit
d4044130f8
  1. 157
      App.vue
  2. 1
      static/images/frontend/邀请新医生.svg

157
App.vue

@ -1,17 +1,154 @@
<script>
export default {
onLaunch: function() {
console.log('App Launch')
},
onShow: function() {
console.log('App Show')
},
onHide: function() {
console.log('App Hide')
}
onLaunch: function() {},
onShow: function() {},
onHide: function() {}
}
</script>
<style>
/*每个页面公共css */
view,
text,
h1,
h2,
h3,
h4,
h5,
p,
span,
a,
div,
ol,
ul,
li,
dl,
dt,
dd,
table,
tbody,
tfoot,
thead,
tr,
th,
td,
input,
textarea,
form {
margin: 0;
padding: 0;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
input,
textarea {
outline: none;
}
input[type="text"]{
border-radius: 12rpx;
-webkit-appearance: none;
}
page,html,body{
height: 100%;
margin:0 auto;
padding: 0;
background: #F2F2F2;
-webkit-text-size-adjust: 100%;
font-family: PingFangSC-Regular,sans-serif;
font-weight: 400;
height: 100%;
}
.fl {
float: left;
}
.fr {
float: right;
}
.clear:after {
display: block;
content: '';
clear: both;
}
.hide {
display: none;
}
.hover{
opacity: 0.7;
}
.ft18{
font-size:18rpx;
line-height: 18rpx;
}
.ft22{
font-size:22rpx;
line-height: 22rpx;
}
.ft24{
font-size:24rpx;
line-height: 24rpx;
}
.ft26{
font-size:26rpx;
line-height: 18rpx;
}
.ft28{
font-size:28rpx;
line-height: 28rpx;
}
.ft30{
font-size:30rpx;
line-height: 30rpx;
}
.ft32{
font-size:32rpx;
line-height: 32rpx;
}
.ft34{
font-size:34rpx;
line-height: 34rpx;
}
.PfScRegular{
font-family: PingFangSC-Regular, sans-serif !important;
font-weight: 400 !important;
}
.PfScUltralight{
font-family: PingFangSC-Ultralight, sans-serif !important;
}
.PfScLight{
font-family: PingFangSC-Light, sans-serif !important;
}
.PfScThin{
font-family: PingFangSC-Thin, sans-serif !important;
}
.PfScMedium{
font-family: PingFangSC-Medium, sans-serif !important;
font-weight: 500 !important;
}
.PfScSemibold{
font-family: PingFangSC-Semibold, sans-serif !important;
font-weight: 600 !important;
}
.PfScHeavy{
font-family: PingFangSC-Heavy, sans-serif !important;
font-weight: 800 !important;
}
.over2{
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
text-overflow: ellipsis;
}
.over3{
-webkit-line-clamp: 3 !important;
}
.over4{
-webkit-line-clamp: 4 !important;
}
.over5{
-webkit-line-clamp: 5 !important;
}
.btPadding{
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
}
</style>

1
static/images/frontend/邀请新医生.svg

@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" width="44px" height="44px" viewBox="0 0 44.0 44.0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><clipPath id="i0"><path d="M750,0 L750,1624 L0,1624 L0,0 L750,0 Z"></path></clipPath></defs><g transform="translate(-41.0 -1229.0)"><g clip-path="url(#i0)"><g transform="translate(41.0 1229.0)"><g transform="translate(5.999999999999172 7.000000000000561)"><g transform="translate(0.0 12.720748500185438)"><path d="M14.9660595,2.43290893 C17.2216777,4.61885436 18.1118408,7.82431782 17.2985122,10.8323252 C16.4852724,13.8403326 14.0931975,16.1897443 11.0305502,16.988504 C7.96790295,17.7873513 4.70429688,16.9130783 2.47871166,14.6976108 C-0.867646836,11.2946913 -0.819789368,5.88549906 2.58628006,2.5401344 C5.99238498,-0.80514266 11.4997202,-0.852185208 14.9644625,2.43448577 L14.9660595,2.43290893 Z" stroke="#333333" stroke-width="3.8" fill="none" stroke-linejoin="round"></path></g><g transform="translate(21.56442794947725 3.1537779712107294)"><polygon points="0,5.51895815 4.81635645,10.2494937 10.4355721,4.73053555 5.61912688,0 0,5.51895815 0,5.51895815" stroke="#68D475" stroke-width="3.8" fill="none" stroke-linejoin="round"></polygon></g><g transform="translate(15.0829971480307 0.0)"><path d="M0,14.8924267 L15.0829989,0" stroke="#333333" stroke-width="3.8" fill="none" stroke-linecap="round" stroke-linejoin="round"></path></g></g></g></g></g></svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

Loading…
Cancel
Save