Compare commits
2 Commits
621d5d4c57
...
851bfe149c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
851bfe149c | ||
|
|
52975fe514 |
@@ -16,6 +16,7 @@ onHide(() => {
|
|||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import "@/static/fonts/iconfont.css";
|
@import "@/static/fonts/iconfont.css";
|
||||||
|
@import "@/static/scss/index.scss";
|
||||||
|
|
||||||
/* 添加全局样式 */
|
/* 添加全局样式 */
|
||||||
page,
|
page,
|
||||||
|
|||||||
@@ -6,7 +6,10 @@
|
|||||||
v-for="(item, index) in itemList"
|
v-for="(item, index) in itemList"
|
||||||
:key="index"
|
:key="index"
|
||||||
>
|
>
|
||||||
<view class="more-tips-item-title" @click="sendReply(item)">
|
<view
|
||||||
|
class="more-tips-item-title font-500 font-size-12 line-height-24 text-center"
|
||||||
|
@click="sendReply(item)"
|
||||||
|
>
|
||||||
{{ item }}
|
{{ item }}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -24,11 +24,7 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.more-tips-item-title {
|
.more-tips-item-title {
|
||||||
font-weight: 500;
|
|
||||||
font-size: $uni-font-size-sm;
|
|
||||||
color: #00a6ff;
|
color: #00a6ff;
|
||||||
line-height: 24px;
|
|
||||||
text-align: center;
|
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
23
src/static/scss/background.scss
Normal file
23
src/static/scss/background.scss
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
// 背景颜色
|
||||||
|
.bg-white {
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bg-gray {
|
||||||
|
background-color: #f5f5f5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bg-17294E {
|
||||||
|
background-color: #17294e;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bg-liner {
|
||||||
|
background: linear-gradient(205deg, #8ae3fc 0%, rgba(138, 227, 252, 0) 20%),
|
||||||
|
linear-gradient(155deg, #fef7e1 0%, rgba(254, 247, 225, 0) 20%),
|
||||||
|
radial-gradient(
|
||||||
|
48% 48% at 61% 118%,
|
||||||
|
#ffffff 0%,
|
||||||
|
rgba(255, 255, 255, 0) 100%
|
||||||
|
),
|
||||||
|
linear-gradient(180deg, rgba(238, 248, 255, 0) 0%, #eef8ff 50%), #eef8ff;
|
||||||
|
}
|
||||||
4
src/static/scss/border.scss
Normal file
4
src/static/scss/border.scss
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
// 边框
|
||||||
|
.border {
|
||||||
|
border: 1px solid #000;
|
||||||
|
}
|
||||||
49
src/static/scss/colors.scss
Normal file
49
src/static/scss/colors.scss
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
// 字体颜色
|
||||||
|
|
||||||
|
.color-white {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-00 {
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-33 {
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-66 {
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-99 {
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-525866 {
|
||||||
|
color: #525866;
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-171717 {
|
||||||
|
color: #171717;
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-99A0AE {
|
||||||
|
color: #99a0ae;
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-FF3D60 {
|
||||||
|
color: #ff3d60;
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-2D91FF {
|
||||||
|
color: #2d91ff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-43669A {
|
||||||
|
color: #43669a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-21B466 {
|
||||||
|
color: #21b466;
|
||||||
|
}
|
||||||
16
src/static/scss/display.scss
Normal file
16
src/static/scss/display.scss
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
// 显示类型
|
||||||
|
.block {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inline-block {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flex {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.grid {
|
||||||
|
display: grid;
|
||||||
|
}
|
||||||
13
src/static/scss/ellipsis.scss
Normal file
13
src/static/scss/ellipsis.scss
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
// 省略号
|
||||||
|
.ellipsis-1 {
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ellipsis-2 {
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-line-clamp: 2;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
20
src/static/scss/flex.scss
Normal file
20
src/static/scss/flex.scss
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
// 弹性布局
|
||||||
|
.flex {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flex-items-center {
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flex-justify-center {
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flex-col {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flex-wrap {
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
4
src/static/scss/font-family.scss
Normal file
4
src/static/scss/font-family.scss
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
// 字体-family
|
||||||
|
.font-family-sans-serif {
|
||||||
|
font-family: sans-serif;
|
||||||
|
}
|
||||||
24
src/static/scss/font-size.scss
Normal file
24
src/static/scss/font-size.scss
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
// 字体-size
|
||||||
|
.font-size-12 {
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.font-size-14 {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.font-size-16 {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.font-size-17 {
|
||||||
|
font-size: 17px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.font-size-18 {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.font-size-20 {
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
20
src/static/scss/font-weight.scss
Normal file
20
src/static/scss/font-weight.scss
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
// 字体-weight
|
||||||
|
.font-bold {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.font-400 {
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
.font-500 {
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
.font-600 {
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.font-700 {
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
0
src/static/scss/height.scss
Normal file
0
src/static/scss/height.scss
Normal file
19
src/static/scss/index.scss
Normal file
19
src/static/scss/index.scss
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
@import "./background.scss";
|
||||||
|
@import "./border.scss";
|
||||||
|
@import "./colors.scss";
|
||||||
|
@import "./display.scss";
|
||||||
|
@import "./flex.scss";
|
||||||
|
@import "./font-weight.scss";
|
||||||
|
@import "./height.scss";
|
||||||
|
@import "./line-height.scss";
|
||||||
|
@import "./margin.scss";
|
||||||
|
@import "./padding.scss";
|
||||||
|
@import "./font-size.scss";
|
||||||
|
@import "./font-family.scss";
|
||||||
|
@import "./text-align.scss";
|
||||||
|
@import "./rounded.scss";
|
||||||
|
@import "./ellipsis.scss";
|
||||||
|
@import "./position.scss";
|
||||||
|
@import "./scroll.scss";
|
||||||
|
@import "./overflow.scss";
|
||||||
|
@import "./width.scss";
|
||||||
20
src/static/scss/line-height.scss
Normal file
20
src/static/scss/line-height.scss
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
// 行高
|
||||||
|
.line-height-17 {
|
||||||
|
line-height: 17px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.line-height-18 {
|
||||||
|
line-height: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.line-height-20 {
|
||||||
|
line-height: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.line-height-21 {
|
||||||
|
line-height: 21px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.line-height-22 {
|
||||||
|
line-height: 22px;
|
||||||
|
}
|
||||||
8
src/static/scss/margin.scss
Normal file
8
src/static/scss/margin.scss
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
// 外边距-bottom
|
||||||
|
.mb-10 {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mb-12 {
|
||||||
|
margin-bottom: 12px;
|
||||||
|
}
|
||||||
4
src/static/scss/overflow.scss
Normal file
4
src/static/scss/overflow.scss
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
// 溢出
|
||||||
|
.overflow-hidden {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
20
src/static/scss/padding.scss
Normal file
20
src/static/scss/padding.scss
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
// 内边距
|
||||||
|
.p-12 {
|
||||||
|
padding: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pt-12 {
|
||||||
|
padding-top: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pr-12 {
|
||||||
|
padding-right: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pb-12 {
|
||||||
|
padding-bottom: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pl-12 {
|
||||||
|
padding-left: 12px;
|
||||||
|
}
|
||||||
8
src/static/scss/position.scss
Normal file
8
src/static/scss/position.scss
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
// 定位
|
||||||
|
.relative {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.absolute {
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
16
src/static/scss/rounded.scss
Normal file
16
src/static/scss/rounded.scss
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
// 圆角
|
||||||
|
.rounded-4 {
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.rounded-8 {
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.rounded-12 {
|
||||||
|
border-radius: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.rounded-full {
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
8
src/static/scss/scroll.scss
Normal file
8
src/static/scss/scroll.scss
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
// 滚动条
|
||||||
|
.scroll-y {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.scroll-x {
|
||||||
|
overflow-x: auto;
|
||||||
|
}
|
||||||
12
src/static/scss/text-align.scss
Normal file
12
src/static/scss/text-align.scss
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
// 文本-align
|
||||||
|
.text-center {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-left {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-right {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
7
src/static/scss/width.scss
Normal file
7
src/static/scss/width.scss
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
.w-full {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.w-50 {
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user