找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 72|回复: 3

建议:勋章、道具、排行榜三个频道增加 DIY 功能。 New

[复制链接]

327

主题

1063

回帖

1392

积分

金牌会员

积分
1392
发表于 2025-11-29 20:00:16 | 显示全部楼层 |阅读模式
建议:勋章、道具、排行榜三个频道增加 DIY 功能。


其他的界面我看了。都已经有了,现在就差这三个了,还有设置界面可有可无。


大佬们加在gitee里吧,感谢 !
回复

使用道具 举报

327

主题

1063

回帖

1392

积分

金牌会员

积分
1392
楼主 发表于 2025-11-29 20:00:50 | 显示全部楼层
            
            还是这样就行了。。
        
   

.ce-block {    margin-bottom: 20px;}.ce-block__content,.ce-toolbar__content {        /* max-width:calc(100% - 50px) */        margin-left: auto;    margin-right: auto;}.image-tool {  --bg-color: #cdd1e0;  --front-color: #388ae5;  --border-color: #e8e8eb;}  .image-tool__image {    border-radius: 3px;    overflow: hidden;    margin-bottom: 10px;  }  .image-tool__image-picture {      max-width: 100%;      vertical-align: bottom;      display: block;      margin-left: auto;      margin-right: auto;    }  .image-tool__image-preloader {      width: 50px;      height: 50px;      border-radius: 50%;      background-size: cover;      margin: auto;      position: relative;      background-color: #cdd1e0;      background-position: center center;    }  .image-tool__image-preloader::after {        content: "";        position: absolute;        z-index: 3;        width: 60px;        height: 60px;        border-radius: 50%;        border: 2px solid #cdd1e0;        border-top-color: #388ae5;        left: 50%;        top: 50%;        margin-top: -30px;        margin-left: -30px;        animation: image-preloader-spin 2s infinite linear;        box-sizing: border-box;      }  .image-tool__caption[contentEditable="true"][data-placeholder]::before {      position: absolute !important;      content: attr(data-placeholder);      color: #707684;      font-weight: normal;      display: none;    }  .image-tool__caption[contentEditable="true"][data-placeholder]:empty::before {        display: block;      }  .image-tool__caption[contentEditable="true"][data-placeholder]:empty:focus::before {        display: none;      }  .image-tool--empty .image-tool__image {      display: none;    }  .image-tool--empty .image-tool__caption, .image-tool--loading .image-tool__caption {      display: none;    }  .image-tool .cdx-button {    display: flex;    align-items: center;    justify-content: center;  }  .image-tool .cdx-button svg {      height: auto;      margin: 0 6px 0 0;    }  .image-tool--filled .cdx-button {      display: none;    }  .image-tool--filled .image-tool__image-preloader {        display: none;      }  .image-tool--loading .image-tool__image {      min-height: 200px;      display: flex;      border: 1px solid #e8e8eb;      background-color: #fff;    }  .image-tool--loading .image-tool__image-picture {        display: none;      }  .image-tool--loading .cdx-button {      display: none;    }  /**   * Tunes   * ----------------   */  .image-tool--withBorder .image-tool__image {      border: 1px solid #e8e8eb;    }  .image-tool--withBackground .image-tool__image {      padding: 15px;      background: #cdd1e0;    }  .image-tool--withBackground .image-tool__image-picture {        max-width: 60%;        margin: 0 auto;      }  .image-tool--stretched .image-tool__image-picture {        width: 100%;      }  .image-tool__caption {                text-align: center;                font-size: 14px;                color: #a3a3a3;        }@keyframes image-preloader-spin {  0% {    transform: rotate(0deg);  }  100% {    transform: rotate(360deg);  }}.inline-code {  background: rgba(250, 239, 240, 0.78);  color: #b44437;  padding: 3px 4px;  border-radius: 5px;  margin: 0 1px;  font-family: inherit;  font-size: 0.86em;  font-weight: 500;  letter-spacing: 0.3px;}

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

327

主题

1063

回帖

1392

积分

金牌会员

积分
1392
楼主 发表于 2025-11-29 20:01:00 | 显示全部楼层
我现在都在拆DIY了,后台建立模块,然后模板调用,减少一些代码的使用。
回复

使用道具 举报

343

主题

1099

回帖

1444

积分

金牌会员

积分
1444
发表于 2025-11-29 20:01:06 | 显示全部楼层
你自己修改模板怎么样都行的,我要说的是官方默认模板下的增减,以后程序更新也不会受到影响的。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表