| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255 |
- .selected-image {
- max-width: 100%;
- height: auto;
- }
- /* 主题颜色 */
- :root {
- --primary-color: #28a745; /* 清新绿色 */
- }
-
- /* 全局样式 */
- body {
- font-family: Arial, sans-serif;
- background-color: #ffffff; /* 背景色 */
- margin: 0;
- padding: 0;
- }
-
- .container {
- max-width: 800px;
- height: 900px;
- // margin: 20px auto;
- padding: 20px;
- background-color: #fbfdf8;
- border: 1px solid #ddd;
- border-radius: 5px;
- box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
- }
-
- .form-section {
- display: none;
- padding: 20px;
- border: 1px solid #ccc;
- border-radius: 5px;
- background-color: #f9f9f9;
- margin-bottom: 20px;
- min-height: 500px; /* 统一表单的最小高度 */
- }
- p {
- color: var(--primary-color);
- // margin-bottom: 10px;
- // background-color: rgb(250, 252, 238);
- margin: 0;
- padding:0;
- height: 40px;
- padding-top: 10px;
- padding-left: 20px;
- font-size:18px;
- font-weight: bold;
- }
-
- .input-group {
- display: flex;
- align-items: center;
- width: 100%;
- }
- .price-label {
- margin-right: 5px;
- }
- .price-input {
- flex: 1;
- }
- .price-number {
- color: red;
- font-weight: bold;
- }
-
- form {
- display: grid;
- gap: 15px;
- }
-
- .card {
- // padding-top:-100px;
- border: 1px solid #ddd;
- border-radius: 5px;
- // padding: 15px;
- border-radius: 15px;
- background-color: #fff;
- height: 520px;
- // width: 60px;
- }
- .card {
- border: 1px solid #ccc;
- border-radius: 5px;
- margin: 10px;
- padding: 10px;
- }
- .card img {
- max-width: 100%;
- height: auto;
- }
- .price-label {
- color: red;
- }
- #imgcard{
- width: 150px;
- }
- .custom-file-upload {
- display: block;
- margin-top: 10px;
- font-size: 16px;
- color: #333;
- width: 100px; /* 设置宽度为90px */
- height: 100px; /* 设置高度为90px */
- text-align: center;
- }
-
- .file-upload-wrapper {
- position: relative;
- overflow: hidden;
- display: inline-block;
- width: 100%;
- height: 100%;
- border: 2px dashed #ccc; /* 灰色边框 */
- border-radius: 4px;
- background-color: #f2f2f2; /* 灰色背景 */
- }
-
- .upload-text {
- display: inline-block;
- padding: 10px 0;
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- cursor: pointer;
- }
- #publishCard{
- height: 400px;
- }
- #activityCard{
- height: 190px;
- }
- /* 隐藏原生的文件选择按钮 */
- #file-upload {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- opacity: 0;
- cursor: pointer;
- }
- #last{
- height: 100px;
- }
- #prise{
- padding-top: 2px;
- }
- .card-header {
- background-color: var(--primary-color);
- color: #fff;
- padding: 10px 15px;
- border-top-left-radius: 5px;
- border-top-right-radius: 5px;
- }
-
- .card-content {
- padding: 15px;
- // height: 400px;
- }
-
- label {
- font-weight: bold;
- }
-
- input[type="text"],
- input[type="number"],
- select,
- textarea {
- width: 100%;
- padding: 8px;
- margin-top: 5px;
- margin-bottom: 15px;
- border: 1px solid #ddd;
- border-radius: 3px;
- box-sizing: border-box;
- }
-
- textarea {
- resize: vertical; /* 垂直方向可拉伸 */
- }
-
- button[type="submit"] {
- background-color: var(--primary-color);
- color: #fff;
- border: none;
- padding: 10px 20px;
- border-radius: 3px;
- cursor: pointer;
- }
-
- button[type="submit"]:hover {
- background-color: #218838; /* 深一点的绿色 */
- }
-
- .input-group {
- display: flex;
- align-items: center;
- }
-
- .input-group-addon {
- background-color: #ddd;
- padding: 8px 12px;
- border: 1px solid #ccc;
- border-right: none;
- border-top-left-radius: 3px;
- border-bottom-left-radius: 3px;
- }
-
- .input-group-addon:last-child {
- border-right: 1px solid #ccc;
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- }
-
- .preview {
- margin-top: 10px;
- }
-
- .preview img {
- max-width: 100%;
- height: auto;
- border-radius: 5px;
- }
-
- .tags {
- margin-top: 10px;
- }
-
- .tag {
- display: inline-block;
- background-color: #17a2b8; /* 蓝色 */
- color: #fff;
- padding: 5px 10px;
- border-radius: 3px;
- margin-right: 5px;
- }
-
- .tag.secondary {
- background-color: #ffc107; /* 橙色 */
- }
-
-
|