123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193 |
- /* 顶部 start */
- .header {
- padding: 80rpx 60rpx 40rpx 60rpx;
-
- .title {
- font-size: 36rpx;
- color: $tn-font-color;
- font-weight: bold;
- }
-
- .sub-title {
- font-size: 28rpx;
- color: $tn-content-color;
- padding-top: 18rpx;
- }
-
- .tips-title {
- font-size: 24rpx;
- color: $tn-font-sub-color;
- padding-top: 5rpx;
- }
- }
- /* 顶部 end */
- /* 展示内容容器 start */
- .show-content-container {
-
- /* 标题容器 start */
- .title-container {
- display: flex;
- position: relative;
- align-items: center;
- justify-content: space-between;
- min-height: 100rpx;
-
- // 标题样式
- .title {
- height: 100%;
- max-width: 100%;
- margin: 0 20rpx;
- font-size: 30rpx;
- display: flex;
- align-items: center;
- justify-content: center;
-
- // 标题前面小点
- &:before {
- content: " ";
- background-color: $tn-main-color;
- width: 15rpx;
- height: 15rpx;
- border-radius: 10rpx;
- margin-right: 18rpx;
- }
- }
- }
- /* 标题容器 end */
-
- /* 内容 start */
- .content {
- padding: 20rpx;
- }
- /* 内容 end */
-
- }
- /* 展示内容容器 end */
- /* 内容容器 start */
- .demo-content-container {
- border: 1rpx dashed $tn-main-color;
- margin: 20rpx;
- margin-top: 0rpx;
-
- position: fixed;
- width: 95%;
- z-index: 10;
-
- transition: all 0.15s ease-out;
-
- &.top {
- width: 100%;
- margin: 0;
- }
-
- &.no-fixed {
- position: relative !important;
- }
-
- /* 标题容器 start */
- .title-container {
- display: flex;
- position: relative;
- align-items: center;
- justify-content: center;
- min-height: 100rpx;
-
- // 标题样式
- .title {
- height: 100%;
- max-width: 100%;
- margin: 0 30rpx;
- font-size: 30rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- }
- /* 标题容器 end */
-
- /* 内容 start */
- .content {
- padding: 30rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- /* 内容 end */
-
- }
- /* 内容容器 end */
- /* 可选项内容容器 start */
- .demo-section-container {
- margin: 20rpx;
- height: 100%;
-
- /* 标题容器 start */
- .title-container {
- display: flex;
- position: relative;
- align-items: center;
- justify-content: center;
- min-height: 100rpx;
- margin-bottom: 10rpx;
-
- // 标题样式
- .title {
- height: 100%;
- max-width: 100%;
- margin: 0 30rpx;
- font-size: 30rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- }
-
- &::after {
- content: " ";
- box-sizing: border-box;
- width: 90%;
- height: 100%;
- position: absolute;
- top: 0;
- left: 50%;
- transform: translateX(-50%);
- border-bottom: 1rpx solid $tn-border-solid-color;
- }
- }
- /* 标题容器 end */
-
- /* 参数内容 start*/
- .content {
- padding: 0 20rpx 10rpx 20rpx;
-
- // 标题样式
- .title {
- padding-left: 20rpx;
- height: 100%;
- position: relative;
-
- &::before {
- content: " ";
- position: absolute;
- top: 50%;
- left: 0;
- width: 4rpx;
- height: 90%;
- background-color: $tn-main-color;
- border-radius: 6rpx;
- transform: translateY(-50%);
- }
- }
-
- // 参数样式
- .section {
- margin-top: 15rpx;
- margin-bottom: 20rpx;
- }
- }
- /* 参数内容 end*/
-
- }
- /* 可选项内容容器 end */
|