Browse Source

增加排版模板页面、自建模板页面

master
zq 2 weeks ago
parent
commit
c5fb526bc9
  1. 43
      assets_v2/css/clientSet/common.css
  2. 441
      assets_v2/css/clientSet/guip.css
  3. 1
      assets_v2/images/clientSet/back_icon.svg
  4. 1
      assets_v2/images/clientSet/checkedBox.svg
  5. BIN
      assets_v2/images/clientSet/lunwen_upload.png
  6. 1
      assets_v2/images/clientSet/no_checkedbox.svg
  7. 1
      assets_v2/images/clientSet/radio_active.svg
  8. 1
      assets_v2/images/clientSet/radio_normal.svg
  9. 1
      assets_v2/images/clientSet/require.svg
  10. 1
      assets_v2/images/clientSet/selectIcon.svg
  11. BIN
      assets_v2/images/clientSet/self_bulid.png
  12. BIN
      assets_v2/images/clientSet/templete2.png
  13. 21
      assets_v2/js/clientSet/chooseTemplete.js
  14. 264
      chooseTemplete.html
  15. 2
      home.html
  16. 280
      temUpload.html

43
assets_v2/css/clientSet/common.css

@ -194,4 +194,47 @@ body {
flex-direction: column;
justify-content: center;
align-items: center;
}
/* 表单部分*/
.formItem {
display: flex;
justify-content: space-between;
margin-bottom: 24px;
color: #1F2225;
align-items: center;
font-family: MicrosoftYaHeiUI;
}
.formItem .form_label {
width: 80px;
text-align: left;
font-size: var(--font-normal-size);
font-weight: 500;
color: #333333;
}
.formItem .requiredIcon {
width: 8px;
height: 8px;
margin-top: 13px;
margin-left: 4px;
}
.formItem .form_content {
flex: 1;
margin-left: 12px;
flex-wrap: wrap;
}
.form_content input[type='radio'],
.form_content input[type='checkbox'] {
height: 20px;
}
.radio_box,
.check_Box {
display: flex;
margin-right: 40px;
}

441
assets_v2/css/clientSet/guip.css

@ -0,0 +1,441 @@
body{
background: #eee;
font-size: var(--font-normal-size);
}
.flex{
display: flex;
display: -ms-flexbox;
align-items: center;
}
.templete_item{
margin: 20px 20px;
}
input,textarea{
width: 200px;
/* height: 40px; */
transition: all .3s ease;
}
.common_templets{
display: flex;
display: -ms-flexbox;
flex-direction: column;
}
.button_list{
display: flex;
display: -ms-flexbox;
width: 100%;
}
.button_list button{
margin-right: 20px;
}
.hide{
display: none !important;
}
/* 全屏蒙层 */
.pageMask{
width: 100%;
height: 100%;
background: rgba(0,0,0,0.33);
position: fixed;
z-index: 100;
left: 0;
top: 0;
}
/* 弹框 宽高另设*/
.page_modal {
background: #fff;
width: calc(644px - 28px*2);
padding: 28px;
position: fixed;
top: 50%;
left: 50%;
z-index: 100;
transform: translate(-50%, -50%);
border-radius: 12px;
}
/* 关闭图标位置 */
.close_icon{
cursor: pointer;
position: absolute;
right: 28px;
top: 28px;
}
/* -----------------分割线------------------ */
button{
transition: all .3s ease;
display: flex;
display: -ms-flexbox;
align-items: center;
box-sizing: border-box;
justify-content: center;
/* 圆角 */
padding: 12px 24px;
min-width: 80px;
height: 40px;
border-radius: var(--button-border-radius);
}
button .btn_icon{
width: 18px;
height: 18px;
margin-right: 6px;
}
button:hover{
transition: all 1s;
cursor: pointer;
opacity: var(--button-hover-opacity);
}
/* 卡片滑过 */
.card_bg{
border-radius: 12px;
opacity: 1;
background: rgba(255, 255, 255, 0.68);
box-sizing: border-box;
border: 1.5px solid #FFFFFF;
box-shadow: var(--box-shadow);
width: 268px;
padding: 16px;
transition: all 1s;
}
.card_bg:hover{
color: var(--white-text-color);
transition: all 1s;
background: linear-gradient(90deg, #3867F9 0%, #62A4F8 100%);
box-shadow: 0px 2px 16px 0px rgba(44, 57, 75, 0.08);
}
/* 输入框 */
input::placeholder{
color: rgba(92, 110, 134, 0.6) !important;
font-size: var(--font-normal-size);
}
.inputWrap{
position: relative;
border-radius: 6px;
width: 400px;
display: flex;
display: -ms-flexbox;
/* justify-content: space-between; */
align-items: center;
transition: all .3s ease;
}
.inputWrap .btn1{
width: 114px;
height: 36px;
padding: 0;
position: absolute;
right: 6px;
bottom: 6px;
background: var(--mes-active-bg);
}
.inputWrap input{
border-radius: 6px;
border: 1.5px solid #E8E8E8;
background: var( --main-bg-color);
box-shadow: 0px 2px 16px 0px rgba(44, 57, 75, 0.08);
flex: 1;
padding-left: 16px;
padding-right: 126px;
height: 44px;
outline: none;
}
.inputWrap input:hover{
transition: all 1s;
border: 1.5px solid var(--hoverActive-border-color);
box-shadow: 0px 2px 16px 0px rgba(44, 57, 75, 0.08);
}
.inputWrap input:focus,.inputWrap input:focus-visible,.inputWrap input:active{
border: 1.5px solid var(--hoverActive-border-color);
transition: all 1s;
box-shadow: 0px 2px 16px 0px rgba(44, 57, 75, 0.08);
}
/* label 名称在输入框内显示 */
.left-more input{
width: 100%;
height: 48px;
padding: 0 0 0 59px;
border-radius: 6px;
background: #FFFFFF;
border: 1px solid #E8E8E8;
}
.left-more span{
position: absolute;
left: 16px;
letter-spacing: 0.8px;
color: #000000;
}
/* 文本输入框 */
.self_input{
padding: 12px 16px;
}
.self_input,.self_textArea{
border-radius: 6px;
opacity: 1;
background: var(--main-bg-color);
box-shadow: var(--box-shadow);
border: 1.5px solid #E8E8E8;
outline: none;
}
.self_input::placeholder,.self_textArea::placeholder{
color:var(--main-placeholder-color);
transition: all 1s;
}
.self_input:hover,.self_textArea:hover{
/* box-sizing: border-box; */
border: 1.5px solid var(--input-hover-border);
transition: all 1s;
/* box-shadow: var(--box-shadow) */
}
.self_input:active,.self_textArea:active,.self_input:focus-visible,.self_textArea:focus-visible{
/* box-sizing: border-box; */
border: 1.5px solid var(--border-color);
transition: all .3s;
/* box-shadow: var(--box-shadow) */
}
.self_textArea{
padding: 12px 16px;
}
/* button 集合 */
/* 非 diabled属性禁用的按钮 添加禁止点击状态 */
.userNone{
user-select: none;
cursor: not-allowed !important;
opacity: var(--button-hover-opacity);
}
.primary_btn{
border: none;
font-weight: var(--font-weight);
background:var(--button-primary-bg);
color:var(--button-primary-color);
}
.primary_btn:active,.primary_btn:focus-visible{
background: var(--button-active-bg);
}
.normal_btn{
font-weight: var(--font-weight);
background:var(--button-normal-bg);
color:var(--button-normal-text);
background: var(--button-normal-bg);
border: 1.5px solid var(--button-normal-text);
}
.normal_btn:active{
/* background: var(--button-normal-bg); */
}
.common_btn{
font-weight: var(--font-weight);
background:var(--button-common-bg);
color:var(--button-common-text);
border: 1.5px solid var( --border-color);
}
button:disabled{
background:var(--button-disabled-bg);
color:var(--button-disabled-text);
user-select: none;
cursor: not-allowed !important;
}
.operal_btn{
border: none;
font-size: var(--font-small-size);
font-weight: var(--font-weight);
background:var(--button-operal-bg);
color:var(--button-operal-text);
/* border: 1.5px solid var( --border-color); */
}
.ignore_btn{
font-weight: 500;
color:var(--button-common-text);
border-radius: 8px;
background: rgba(255, 255, 255, 0.5);
box-sizing: border-box;
border: 1.5px solid rgba(255, 255, 255, 0.98);
box-shadow: 0px 2px 16px 0px rgba(44, 57, 75, 0.1);
}
.cancleTwo_btn{
background: #DCE8F8;
color: #5C6E86;
font-weight: 500;
font-size: var(--font-small-size);
border: none;
}
/* 单选框、 复选框 */
.radio_box,.check_Box{
display: flex;
display: -ms-flexbox;
align-items: center;
margin-right: 24px;
position: relative;
cursor: pointer;
font-weight: 500;
color: #2C394B;
transition: all .3s ease;
}
.radio_box:hover ,.check_Box:hover{
opacity: 0.8;
color: var(--button-normal-text);
transition: all .3s ease;
}
.check_Box input,.radio_box input{
opacity: 0;
position: absolute;
left: 0;
width: 100%;
cursor: pointer;
}
.radio_box div{
width: 18px;
height: 18px;
margin-right: 8px;
cursor: pointer;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
.radio_box div{
width: 20px;
height: 20px;
}
}
.check_Box div{
width: 18px;
height: 18px;
margin-right: 8px;
cursor: pointer;
}
.radio_box_active,.check_Box_active{
font-size: var(--font-normal-size);
font-weight: var(--font-weight);
color: var(--button-normal-text);
}
.radio_box div{
background: url(../../images/clientSet/radio_normal.svg);
background-size: contain;
}
.radio_box_active div{
width: 18px;
height: 18px;
animation: radio_scale .3s;
background: url(../../images/clientSet/radio_active.svg);
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
.radio_box_active div{
width: 19px;
height: 19px;
border-radius: 100%;
}
}
.check_Box div{
background: url(../../images/clientSet/no_checkedbox.svg);
}
.check_Box_active div{
animation: radio_scale .3s;
background: url(../../images/clientSet/checkedBox.svg);
}
.change_ani{
-webkit-animation-duration: .3s;
-webkit-animation-fill-mode: both;
animation-duration: .3s;
animation-fill-mode: both;
}
/* 下拉选择框 */
@keyframes radio_scale{
0%{
transform: scale(0.3);
}
30%{
transform: scale(0.5);
}
50%{
transform: scale(0.7);
}
70%{
transform: scale(0.8);
}
100%{
transform: scale(1);
}
}
.custom-dropdown {
position: relative;
display: inline-block;
margin-right: 22px;
}
.dropdown-input {
font-size: var(--font-normal-size);
height: 44px;
font-family: MiSans;;
width: 176px;
border-radius: 6px;
height: 44px;
color: #3D3D3D;
cursor: pointer;
padding: 0 0 0 16px;
background: #FFFFFF;
border: 1px solid #E8E8E8;
transition: all .3s;
}
.dropdown-input:hover{
transition: all .3s;
border: 1px solid #5B6FF6 !important;
}
.dropdown-input:focus-visible{
transition: all .3s;
border: 1px solid #5B6FF6 !important;
outline: none;
}
.dropdown-input:focus-visible .dropdown-input+.custom-icon{
transform: rotate(180deg);
}
.dropdown-input::placeholder{
color: rgba(92, 110, 134, 0.6) !important;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #fff;
border-radius: 8px;
box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.08);
/* min-width: 160px; */
z-index: 1;
width: calc(100% - 16px);
max-height: 205px;
overflow-y: auto;
padding: 10px 8px;
}
.dropdown-content p{
color: black;
display: block;
padding: 8px 10px;
cursor: pointer;
line-height: 20px;
}
.dropdown-content p:hover{
background: #F1F4FF;
}
.dropdown-content .selected_back{
background: #F1F4FF;
}
/* 自定义图标 */
.custom-icon {
position: absolute;
top: 50%;
right: 10px;
transform: translateY(-50%);
background-image: url(../../images/clientSet/selectIcon.svg); /* 图标路径 */
background-size: contain;
width: 20px; /* 图标宽度 */
height: 20px; /* 图标高度 */
pointer-events: none; /* 让图标不受鼠标事件影响 */
}
/* 伪元素覆盖原生箭头 */
select::-ms-expand {
display: none; /* 移除IE的下拉箭头 */
}
select:focus {
border-color: #4A90E2; /* 聚焦时边框颜色 */
}

1
assets_v2/images/clientSet/back_icon.svg

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="22" height="22" viewBox="0 0 22 22"><defs><clipPath id="master_svg0_26_16633"><rect x="0" y="0" width="22" height="22" rx="0"/></clipPath></defs><g clip-path="url(#master_svg0_26_16633)"><g><path d="M14.8548813125,6.14687312Q14.983552012499999,6.0182020099999995,15.0531883125,5.8500852Q15.1228247125,5.68196835,15.1228247125,5.5Q15.1228247125,5.409898393,15.105246512499999,5.32152808Q15.087668412500001,5.23315775,15.0531878125,5.14991471Q15.0187073125,5.06667167,14.9686499125,4.99175489Q14.9185915125,4.91683817,14.8548803125,4.8531267Q14.7911692125,4.78941524,14.7162523125,4.73935753Q14.6413355125,4.68929976,14.558092612500001,4.65481937Q14.4748497125,4.62033898,14.3864794125,4.60276097Q14.2981090125,4.58518302,14.2080078125,4.58518296Q14.026039112500001,4.58518296,13.8579225125,4.65481931Q13.689805512500001,4.72445571,13.5611343125,4.85312688L13.5598264125,4.8518188L8.0598266125,10.3518186Q7.9959863425,10.4156585,7.9458273625,10.490726500000001Q7.8956683825,10.5657949,7.8611183125,10.6492062Q7.8265681825,10.732617399999999,7.8089546525,10.8211665Q7.7913411825,10.9097157,7.7913411825,10.999999500000001Q7.7913411825,11.0902834,7.8089547125,11.1788325Q7.8265681825,11.2673817,7.8611183125,11.3507929Q7.8956683825,11.434204099999999,7.9458273625,11.5092731Q7.9959863425,11.584341,8.0598266125,11.6481814L13.5598264125,17.148181L13.5611343125,17.146873Q13.689805012499999,17.275543,13.857922112499999,17.345181Q14.026039112500001,17.414816000000002,14.2080078125,17.414817Q14.2981090125,17.414816000000002,14.3864794125,17.397238Q14.4748492125,17.37966,14.558092112499999,17.34518Q14.6413355125,17.310699,14.7162523125,17.260641Q14.7911692125,17.210583,14.8548808125,17.146872000000002Q14.9185924125,17.08316,14.9686503125,17.008243999999998Q15.0187077125,16.933327,15.0531883125,16.850084000000003Q15.087668412500001,16.766842,15.105246512499999,16.678471000000002Q15.1228247125,16.590101,15.1228247125,16.5Q15.1228247125,16.318030999999998,15.0531883125,16.149915Q14.983552012499999,15.981798,14.8548813125,15.853127L14.8561892125,15.851819L10.0043704125,11L14.8561892125,6.1481812L14.8548813125,6.14687312Z" fill-rule="evenodd" fill="#9F9FBB" fill-opacity="1" style="mix-blend-mode:passthrough"/></g></g></svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

1
assets_v2/images/clientSet/checkedBox.svg

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="18" height="18" viewBox="0 0 18 18"><defs><clipPath id="master_svg0_126_46114"><rect x="0" y="0" width="18" height="18" rx="0"/></clipPath></defs><g clip-path="url(#master_svg0_126_46114)"><g><path d="M18,0L0,0L0,18L18,18L18,0Z" fill="#FFFFFF" fill-opacity="0.009999999776482582" style="mix-blend-mode:passthrough"/></g><g><path d="M14.85078125,1.75L3.15078125,1.75C2.40519925,1.75,1.80078125,2.354418,1.80078125,3.1L1.80078125,14.8C1.80078125,15.5456,2.40519925,16.15,3.15078125,16.15L14.85078125,16.15C15.59638125,16.15,16.20078125,15.5456,16.20078125,14.8L16.20078125,3.1C16.20078125,2.354418,15.59638125,1.75,14.85078125,1.75Z" fill="#1675FF" fill-opacity="1"/><path d="M16.80078125,14.8L16.80078125,3.1Q16.80078125,2.292284,16.22968125,1.7211452Q15.65848125,1.15,14.85078125,1.15L3.15078125,1.15Q2.34306625,1.15,1.77192385,1.7211426Q1.20078125,2.292285,1.20078125,3.1L1.20078125,14.8Q1.20078125,15.6077,1.77192605,16.1789Q2.34306625,16.75,3.15078125,16.75L14.85078125,16.75Q15.65848125,16.75,16.22968125,16.1789Q16.80078125,15.6077,16.80078125,14.8ZM14.85078125,2.35Q15.60078125,2.35,15.60078125,3.1L15.60078125,14.8Q15.60078125,15.55,14.85078125,15.55L3.15078125,15.55Q2.40078125,15.55,2.40078125,14.8L2.40078125,3.1Q2.40078125,2.35,3.15078125,2.35L14.85078125,2.35Z" fill-rule="evenodd" fill="#3473F4" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M13.2130075,6.762157Q13.3028675,6.654327,13.3506575,6.522346Q13.3984375,6.390365,13.3984375,6.25Q13.3984375,6.1712069,13.3830675,6.093928Q13.3676975,6.016649,13.3375375,5.943853Q13.3073875,5.871058,13.263617499999999,5.805544Q13.2198375,5.74003,13.1641275,5.684315Q13.1084075,5.628599,13.042897499999999,5.584824Q12.9773775,5.541049,12.9045875,5.510896Q12.8317875,5.480744,12.754507499999999,5.465372Q12.6772275,5.45,12.5984375,5.45Q12.5104775,5.45,12.4246275,5.46911Q12.3387675,5.488219,12.2591175,5.525526Q12.179467500000001,5.562832,12.1098175,5.616553Q12.0401775,5.670274,11.983867499999999,5.737843L8.0649775,10.440380000000001L5.9838715,8.20579Q5.8703735,8.083919999999999,5.7176725,8.01746Q5.5649725,7.95101,5.3984375,7.95101Q5.3196444,7.95101,5.2423655,7.96638Q5.1650865,7.98175,5.0922905,8.01191Q5.0194955,8.04206,4.9539815,8.08583Q4.8884675,8.12961,4.8327525,8.18532Q4.7770365,8.24104,4.7332615,8.30655Q4.6894865,8.37207,4.6593335,8.44486Q4.6291815,8.51766,4.6138095,8.59494Q4.5984375,8.67222,4.5984375,8.75101Q4.5984375,8.90276,4.6540095,9.04397Q4.7095804999999995,9.185179999999999,4.8130035,9.29623L4.8131065,9.29634L7.5128675000000005,12.195219999999999Q7.5473175,12.23221,7.5861475,12.264569999999999Q7.708387500000001,12.36644,7.8603175,12.41378Q8.0122475,12.461120000000001,8.1707175,12.44672Q8.3291975,12.432310000000001,8.4700975,12.358360000000001Q8.6109975,12.2844,8.7128675,12.16216L13.2123375,6.76296L13.2130075,6.762157L13.2130075,6.762157Z" fill-rule="evenodd" fill="#FFFFFF" fill-opacity="1" style="mix-blend-mode:passthrough"/></g></g></svg>

After

Width:  |  Height:  |  Size: 3.0 KiB

BIN
assets_v2/images/clientSet/lunwen_upload.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

1
assets_v2/images/clientSet/no_checkedbox.svg

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="18" height="18" viewBox="0 0 18 18"><defs><clipPath id="master_svg0_126_46123"><rect x="0" y="0" width="18" height="18" rx="0"/></clipPath></defs><g clip-path="url(#master_svg0_126_46123)"><g><path d="M18,0L0,0L0,18L18,18L18,0Z" fill="#FFFFFF" fill-opacity="0.009999999776482582" style="mix-blend-mode:passthrough"/></g><g><path d="M14.85078125,1.75L3.15078125,1.75C2.40519925,1.75,1.80078125,2.354418,1.80078125,3.1L1.80078125,14.8C1.80078125,15.5456,2.40519925,16.15,3.15078125,16.15L14.85078125,16.15C15.59638125,16.15,16.20078125,15.5456,16.20078125,14.8L16.20078125,3.1C16.20078125,2.354418,15.59638125,1.75,14.85078125,1.75Z" fill="#FFFFFF" fill-opacity="1"/><path d="M16.90078125,14.8L16.90078125,3.1Q16.90078125,2.250864,16.30038125,1.6504349Q15.69998125,1.05,14.85078125,1.05L3.15078125,1.05Q2.30164525,1.05,1.70121315,1.6504319Q1.10078125,2.250864,1.10078125,3.1L1.10078125,14.8Q1.10078125,15.6492,1.70121565,16.2496Q2.30164425,16.85,3.15078125,16.85L14.85078125,16.85Q15.69998125,16.85,16.30038125,16.2496Q16.90078125,15.6492,16.90078125,14.8ZM15.31038125,2.640378Q15.50078125,2.8307599999999997,15.50078125,3.1L15.50078125,14.8Q15.50078125,15.45,14.85078125,15.45L3.15078125,15.45Q2.50078125,15.45,2.50078125,14.8L2.50078125,3.1Q2.50078125,2.45,3.15078125,2.45L14.85078125,2.45Q15.12008125,2.45,15.31038125,2.640378Z" fill-rule="evenodd" fill="#94A3B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M13.2130075,6.762157Q13.3028675,6.654327,13.3506575,6.522346Q13.3984375,6.390365,13.3984375,6.25Q13.3984375,6.1712069,13.3830675,6.093928Q13.3676975,6.016649,13.3375375,5.943853Q13.3073875,5.871058,13.263617499999999,5.805544Q13.2198375,5.74003,13.1641275,5.684315Q13.1084075,5.628599,13.042897499999999,5.584824Q12.9773775,5.541049,12.9045875,5.510896Q12.8317875,5.480744,12.754507499999999,5.465372Q12.6772275,5.45,12.5984375,5.45Q12.5104775,5.45,12.4246275,5.46911Q12.3387675,5.488219,12.2591175,5.525526Q12.179467500000001,5.562832,12.1098175,5.616553Q12.0401775,5.670274,11.983867499999999,5.737843L8.0649775,10.440380000000001L5.9838715,8.20579Q5.8703735,8.083919999999999,5.7176725,8.01746Q5.5649725,7.95101,5.3984375,7.95101Q5.3196444,7.95101,5.2423655,7.96638Q5.1650865,7.98175,5.0922905,8.01191Q5.0194955,8.04206,4.9539815,8.08583Q4.8884675,8.12961,4.8327525,8.18532Q4.7770365,8.24104,4.7332615,8.30655Q4.6894865,8.37207,4.6593335,8.44486Q4.6291815,8.51766,4.6138095,8.59494Q4.5984375,8.67222,4.5984375,8.75101Q4.5984375,8.90276,4.6540095,9.04397Q4.7095804999999995,9.185179999999999,4.8130035,9.29623L4.8131065,9.29634L7.5128675000000005,12.195219999999999Q7.5473175,12.23221,7.5861475,12.264569999999999Q7.708387500000001,12.36644,7.8603175,12.41378Q8.0122475,12.461120000000001,8.1707175,12.44672Q8.3291975,12.432310000000001,8.4700975,12.358360000000001Q8.6109975,12.2844,8.7128675,12.16216L13.2123375,6.76296L13.2130075,6.762157L13.2130075,6.762157Z" fill-rule="evenodd" fill="#94A3B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g></g></svg>

After

Width:  |  Height:  |  Size: 3.0 KiB

1
assets_v2/images/clientSet/radio_active.svg

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 8.2 KiB

1
assets_v2/images/clientSet/radio_normal.svg

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 8.1 KiB

1
assets_v2/images/clientSet/require.svg

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="8" height="8" viewBox="0 0 8 8"><g><g><path d="M4.5361919,3.4959803C4.9375606,3.3024213,5.3349543,3.1007257,5.728126,2.8910174C6.1041055,2.6890299,6.4080882,2.5380392,6.6320758,2.445045C6.8560634,2.3530507,7.0320539,2.3030539,7.1680465,2.3030539C7.3920341,2.3030539,7.5840235,2.3780491,7.7520142,2.5380392C7.9120049,2.6980293,8,2.8910174,8,3.1260028C8,3.2609947,7.9600029,3.4029858,7.8800068,3.5459771C7.8000116,3.6889682,7.7120161,3.7819624,7.6240211,3.8239601C6.8000669,4.1679387,5.8801179,4.4199233,4.8881731,4.5709138C5.0721626,4.738904,5.2881503,4.9748893,5.5521364,5.2688708C5.8161216,5.5628529,5.9521136,5.7138433,5.9681125,5.7388415C6.0641074,5.8818331,6.2001004,6.0588222,6.37609,6.2688093C6.5520806,6.4787965,6.6720738,6.6387868,6.7360702,6.7557788C6.8000669,6.8737721,6.8400645,7.0157633,6.8400645,7.1847525C6.8410702,7.3958683,6.7575278,7.5986023,6.6080775,7.7477179C6.4519334,7.9107366,6.2337117,7.9994793,6.008111,7.991703C5.7681241,7.991703,5.4881392,7.7897158,5.1841564,7.3947396C4.8801727,7.0077639,4.4801955,6.2948079,4.0002222,5.2608714C3.5122492,6.184814,3.1842673,6.806776,3.024276,7.1007581C2.8562853,7.3947396,2.6962941,7.6207256,2.5443027,7.7727165C2.4070287,7.9177828,2.216053,7.9998875,2.0163319,7.9997029C1.7900348,8.0060501,1.5728041,7.9106455,1.4243647,7.7397184C1.2803626,7.5902452,1.1975927,7.392241,1.1923776,7.1847525C1.1923776,6.9997644,1.2243757,6.8647728,1.2883723,6.7727785C1.8803394,5.9328299,2.4963052,5.1928759,3.1362698,4.5799131C2.6524403,4.5018587,2.1720543,4.4037809,1.6963496,4.2859316C1.2336258,4.162261,0.78154105,4.0017586,0.34442458,3.8059609C0.264429,3.7649636,0.19243298,3.6719694,0.12043695,3.5289783C0.042090554,3.412163,0.00031659007,3.2746577,0.00044360186,3.1340024C-0.0071686879,2.9111223,0.0835016,2.6961472,0.24842986,2.5460389C0.39740336,2.3929691,0.6028235,2.3079808,0.81639838,2.3110533C0.96838999,2.3110533,1.1603793,2.3610501,1.3923665,2.4540443C1.6243536,2.5540383,1.9123377,2.6890299,2.2723176,2.8820181C2.632298,3.0670066,3.0322757,3.2769938,3.4882503,3.5039797C3.4082549,3.0760062,3.3362589,2.5880363,3.2802618,2.0420699C3.2242651,1.4961035,3.2002664,1.1181267,3.2002664,0.91613925C3.2002664,0.66415477,3.2722623,0.45416769,3.4242539,0.27717859C3.5640988,0.097628526,3.7806978,-0.0051070401,4.0082216,0.00019566328C4.2402086,0.00019566328,4.432198,0.09218999,4.5841894,0.26917911C4.7361813,0.45416769,4.808177,0.68915325,4.808177,0.98313504C4.808177,1.06713,4.7921782,1.22712,4.7761788,1.4631056C4.76018,1.7060905,4.7201824,1.9920728,4.6801844,2.328052C4.6321869,2.6720309,4.5841894,3.0580072,4.5361919,3.4959803Z" fill="#FF4D4F" fill-opacity="1"/></g></g></svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

1
assets_v2/images/clientSet/selectIcon.svg

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="18" height="18" viewBox="0 0 18 18"><defs><clipPath id="master_svg0_4_07687"><rect x="0" y="0" width="18" height="18" rx="0"/></clipPath></defs><g clip-path="url(#master_svg0_4_07687)"><g transform="matrix(1,0,0,-1,0,26)"><path d="M10.280000000000001,14.706669999999999L13.08,18.44C13.698,19.26396,14.0151,19.69169,14.001,20.03632C13.9892,20.32358,13.8524,20.59721,13.6297,20.779C13.3624,20.99708,12.82995,21,11.8,21L6.2,21C5.17005,21,4.63758,20.99708,4.37035,20.779C4.14761,20.59721,4.0108,20.32358,3.999013,20.03632C3.984878,19.69169,4.30203,19.26396,4.92,18.44L7.72,14.706669999999999C8.15424,14.12768,8.37904,13.831084,8.6464,13.730667C8.8736,13.645333,9.1264,13.645333,9.3536,13.730667C9.62096,13.831084,9.84576,14.12768,10.280000000000001,14.706669999999999" fill-rule="evenodd" fill="#A5ABAF" fill-opacity="1"/></g></g></svg>

After

Width:  |  Height:  |  Size: 948 B

BIN
assets_v2/images/clientSet/self_bulid.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

BIN
assets_v2/images/clientSet/templete2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

21
assets_v2/js/clientSet/chooseTemplete.js

@ -0,0 +1,21 @@
$(document).ready(function () {
// 模板列表
function getTempList(){
$.ajax({
url: '',
type: 'get',
success: function (res) {
if(res.code == 0){
// 渲染地区列表
}
}
})
}
// 使用格式
$('.item_templete').on('click','.useTemBtn',function () {
})
// 上传格式
$('.item_templete').on('click','.upload_tem_btn',function () {
})
})

264
chooseTemplete.html

@ -0,0 +1,264 @@
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{if $sitename}{$sitename}{else}一键生成万字{if !$is_filter_lunwen}论文{/if}范文{/if}</title>
<meta name="keywords" content="{$sitekeywords}">
<meta name="description" content="{$sitedesc}">
{if $site_ico}
<link rel="shortcut icon" href="{$site_ico}" type="image/x-icon" />{/if}
<link rel="stylesheet" type="text/css" href="{$smarty.const.CSS_URL}/assets_v2/css/clientSet/normalize.css?v={$smarty.const.CSS_JS_VERSION}"/>
<link rel="stylesheet" type="text/css" href="{$smarty.const.CSS_URL}/assets_v2/css/clientSet/common.css?v={$smarty.const.CSS_JS_VERSION}3"/>
<link rel="stylesheet" type="text/css" href="{$smarty.const.CSS_URL}/assets_v2/css/clientSet/index.css?v={$smarty.const.CSS_JS_VERSION}3"/>
<script type="text/javascript" src="{$smarty.const.CSS_URL}/assets_v2/js/clientSet/jquery-3.6.0.min.js?v={$smarty.const.CSS_JS_VERSION}"></script>
<script src="{$smarty.const.CSS_URL}/assets_v2/js/clientSet/css-vars-ponyfill.min.js"></script>
<script type="text/javascript" src="./assets_v2/js/clientSet/jquery-3.6.0.min.js"></script>
<script type="text/javascript" src="./assets_v2/js/clientSet/home.js"></script>
<!--[if lt IE 9]>
<script src="{$smarty.const.CSS_URL}/assets_v2/js/newai/html5shiv.js"></script>
<script src="{$smarty.const.CSS_URL}/assets_v2/js/newai/respond.min.js"></script>
<![endif]-->
{literal}
<style>
body{
background: #F3F5FE;
}
.flex{
display: flex;
}
.homePage-wrap{
display: flex;
justify-content: center;
margin:81px 0 54px 0;
}
.homePage-wrap img{
width: 512px;
height: 97px;
}
#container{
min-width: 1180px;
overflow-x: auto;
height: auto;
overflow: hidden;
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
/* 需要迁移 */
.bg{
position: fixed;
left: 0;
top: 0;
width: 100vw;
height: 100vh;
overflow: hidden;
display: flex;
display: -ms-flexbox;
background: #F3F5FE;
z-index: -1;
}
.column{
display: flex;
flex-direction: column;
}
/* 页面元素 start*/
.chooseTem_title{
position: relative;
text-align: center;
width: 1180px;
margin-bottom: 32px;
}
.chooseTem_title h3{
font-size: 24px;
font-weight: bold;
color: #121519;
margin: 0;
}
.chooseTem_title .goback{
position: absolute;
left: 0;
display: flex;
align-items: center;
bottom: 50%;
transform: translateY(50%);
gap: 6px;
color: #666666;
font-weight: 500;
cursor: pointer;
}
.tem_list{
gap: 12px;
}
.item_templete{
padding: 16px;
box-sizing: border-box;
border-radius: 9px;
background: #FFFFFF;
height: 216px;
width: 286px;
display: flex;
justify-content: space-between;
}
.item_templete .item_right{
display: flex;
flex-direction: column;
justify-content: inherit;
}
.item_templete .item_right .column{
gap: 14px;
}
.tag,.unique{
height: 23px;
display: inline-block;
margin: 14px 0;
padding: 4px 8px;
font-size: 12px;
font-weight: normal;
line-height: normal;
letter-spacing: normal;
border-radius: 4px;
box-sizing: border-box;
background: #EFF6FF;
color: #006AFF;
}
.unique{
color: #00C261;
background: #F1FFEF;
}
.item_templete h5{
font-family: Microsoft YaHei UI;
font-size: 16px;
font-weight: bold;
line-height: 24px;
letter-spacing: normal;
color: #333333;
margin: 0;
}
.item_templete .time{
font-size: 12px;
font-weight: normal;
line-height: normal;
letter-spacing: normal;
color: #999999;
margin:0;
}
.item_templete .time{
margin-top: 14px;
color: #666666;
}
.item_templete .time span{
color: #E52B2B
}
.tem_list .useTemBtn,.upload_tem_btn{
width: 90px;
height: 30px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border-radius: 4px;
background: #EFF2FF;
box-sizing: border-box;
font-size: 14px;
color: #3F62F6;
border: none;
}
.self_bulid_tem h5{
font-size: 16px;
font-weight: bold;
line-height: 24px;
letter-spacing: normal;
color: #3F62F6;
}
/* 页面元素 end*/
</style>
{/literal}
</head>
<body>
<!--header公共组件-->
<!-- {include file="include/newai/header.html" hideaimenu="1"} -->
<!--header公共组件-->
<div id="container">
<div class="bg"></div>
<div class="chooseTem_title center">
<h3>清华大学</h3>
<div class="goback">
<img src="./assets_v2/images/clientSet/back_icon.svg" alt="">返回
</div>
</div>
<div class="tem_list flex">
<div class="item_templete">
<img src="./assets_v2/images/clientSet/templete2.png" alt="">
<div class="item_right">
<div class="">
<h5>清华大学</h5>
<!-- unique 独特的-->
<span class="tag">通用</span>
<p class="time">时间:2024.12.05</p>
</div>
<button class="useTemBtn">使用格式</button>
</div>
</div>
<div class="item_templete">
<img src="./assets_v2/images/clientSet/templete2.png" alt="">
<div class="item_right">
<div class="">
<h5>清华大学</h5>
<span class="tag unique">马克思主义理论</span>
<p class="time">时间:2024.12.05</p>
</div>
<button class="useTemBtn">使用格式</button>
</div>
</div>
<div class="item_templete">
<img src="./assets_v2/images/clientSet/templete2.png" alt="">
<div class="item_right">
<div class="">
<h5>清华大学</h5>
<span class="tag">通用</span>
<p class="time">时间:2024.12.05</p>
</div>
<button class="useTemBtn">使用格式</button>
</div>
</div>
<div class="item_templete self_bulid_tem">
<img src="./assets_v2/images/clientSet/self_bulid.png" alt="">
<div class="item_right">
<div class="">
<h5>无适用模板?</h5>
<p class="time">可上传模板要求<br/>本次排版服务 <span>免费!</span></p>
</div>
<button class="upload_tem_btn">立即上传</button>
</div>
</div>
</div>
<!--footer公共组件-->
<!-- {include file="include/newai/footer.html"} -->
</div>
<div id="tab_hide" class="hide">1</div>
<!-- {include file="include/newai/kefu.html"}
{$access_stats_code} -->
</body>
<script type="text/javascript" src="{$smarty.const.CSS_URL}/assets_v2/js/clientSet/rem.js"></script>
<script type="text/javascript" src="{$smarty.const.CSS_URL}/assets_v2/js/clientSet/common.js"></script>
<script type="text/javascript" src="{$smarty.const.CSS_URL}/assets_v2/js/clientSet/chooseTemplete.js?v=10"></script>
{literal}
<script>
</script>
{/literal}
</html>

2
home.html

@ -118,7 +118,7 @@
background: #FFFFFF;
background: rgba(255, 255, 255, 0.4);
border: 1px solid #DFE2E6;
padding: 10px 12px;
padding: 8px 12px;
display: flex;
align-items: center;
transition: all .3s ease;

280
temUpload.html

@ -0,0 +1,280 @@
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{if $sitename}{$sitename}{else}一键生成万字{if !$is_filter_lunwen}论文{/if}范文{/if}</title>
<meta name="keywords" content="{$sitekeywords}">
<meta name="description" content="{$sitedesc}">
<!-- guip.css 文件后期引入需要更改为newai下的 -->
{if $site_ico}
<link rel="shortcut icon" href="{$site_ico}" type="image/x-icon" />{/if}
<link rel="stylesheet" type="text/css" href="{$smarty.const.CSS_URL}/assets_v2/css/clientSet/normalize.css?v={$smarty.const.CSS_JS_VERSION}"/>
<link rel="stylesheet" type="text/css" href="./assets_v2/css/clientSet/common.css?v={$smarty.const.CSS_JS_VERSION}3"/>
<link rel="stylesheet" type="text/css" href="./assets_v2/css/clientSet/guip.css"/>
<script type="text/javascript" src="{$smarty.const.CSS_URL}/assets_v2/js/clientSet/jquery-3.6.0.min.js?v={$smarty.const.CSS_JS_VERSION}"></script>
<script src="{$smarty.const.CSS_URL}/assets_v2/js/clientSet/css-vars-ponyfill.min.js"></script>
<script type="text/javascript" src="./assets_v2/js/clientSet/jquery-3.6.0.min.js"></script>
<script type="text/javascript" src="./assets_v2/js/clientSet/home.js"></script>
<!--[if lt IE 9]>
<script src="{$smarty.const.CSS_URL}/assets_v2/js/newai/html5shiv.js"></script>
<script src="{$smarty.const.CSS_URL}/assets_v2/js/newai/respond.min.js"></script>
<![endif]-->
{literal}
<style>
body{
background: #F3F5FE;
}
.flex{
display: flex;
}
.homePage-wrap{
display: flex;
justify-content: center;
margin:81px 0 54px 0;
}
.homePage-wrap img{
width: 512px;
height: 97px;
}
#container{
min-width: 1180px;
overflow-x: auto;
height: auto;
overflow: hidden;
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
/* 需要迁移 */
.bg{
position: fixed;
left: 0;
top: 0;
width: 100vw;
height: 100vh;
overflow: hidden;
display: flex;
display: -ms-flexbox;
background: #F3F5FE;
z-index: -1;
}
.column{
display: flex;
flex-direction: column;
}
/* 页面元素 start*/
.common_back{
width: 1000px;
/* height: 296px; */
height: auto;
display: flex;
flex-direction: column;
align-items: center;
padding: 24px 32px;
gap: 24px;
margin-bottom: 12px;
border-radius: 9px;
background: rgba(255, 255, 255, 0.8);
box-sizing: border-box;
border: 2px solid #FFFFFF;
backdrop-filter: blur(10px);
}
.common_back p{
margin: 0;
}
.sub_title{
font-family: Microsoft YaHei;
font-size: 12px;
font-weight: normal;
line-height: normal;
letter-spacing: 0.08em;
color: #999999;
}
.selfBuid_title{
font-size: 24px;
font-weight: bold;
line-height: normal;
letter-spacing: normal;
color: #121519;
}
.selfBuid_title h3{
margin-bottom: 12px;
}
.info_content{
display: flex;
flex-direction: column;
gap: 16px;
}
.info_content .formItem{
margin-bottom: 0;
height: 38px;
}
.custom-dropdown{
width: 100%;
margin-right: 0;
}
.dropdown-input{
width: 100%;
box-sizing: border-box;
}
.edu_content{
color: #626573 !important;
}
.selfBuid_title p{
font-size: 16px;
font-weight: normal;
line-height: normal;
letter-spacing: normal;
color: #666666;
margin: 12px 0 26px 0;
text-align: center;
}
.info_title{
display: flex;
justify-content: space-between;
align-items: center;
width: auto;
height: 24px;
font-size: 14px;
font-weight: bold;
line-height: normal;
letter-spacing: normal;
color: #333333;
gap: 8px;
}
.sp_before{
width: 6px;
height: 16px;
border-radius: 12px;
background: #3F62F6;
}
.border_com{
width: 458px;
height: 38px;
padding: 10px 12px;
flex-grow: 1;
display: flex;
box-sizing: border-box;
justify-content: space-between;
align-items: center;
font-size: 13px;
font-weight: normal;
line-height: normal;
letter-spacing: 0.08em;
color: #8A9099;
border-radius: 2px;
border: 1px solid #DFE2E6;
}
.school_content{
background: #F6F6F6;
}
.school_name{
font-size: 16px;
letter-spacing: normal;
color: #121519;
}
.border_com::placeholder{
color: #BABDC2;
}
.uploadWrap{
width: 540px;
height: 160px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 13px;
text-align: center;
}
.uploadWrap img{
width: 50px;
height: 50px;
}
.uploadWrap p{
font-size: 13px;
letter-spacing: normal;
color: #2C394B;
line-height: 20px;
}
.uploadWrap p:last-child{
font-family: MiSans;
font-size: 12px;
font-weight: normal;
line-height: 20px;
letter-spacing: normal;
color: rgba(92, 110, 134, 0.6);
}
#selfBulid_btn{
width: 144px;
height: 46px;
display: flex;
justify-content: center;
align-items: center;
padding: 14px 2px;
border-radius: 4px;
background: #3F62F6;
box-sizing: border-box;
font-size: 14px;
text-align: center;
letter-spacing: 0.08em;
color: #FFFFFF;
border: none;
margin-top: 30px;
}
/* 页面元素 end*/
</style>
{/literal}
</head>
<body>
<!--header公共组件-->
<!-- {include file="include/newai/header.html" hideaimenu="1"} -->
<!--header公共组件-->
<div id="container">
<div class="bg"></div>
<div class="selfBuid_title center">
<h3>上传论文,进行排版</h3>
</div>
<div class="common_back">
</div>
<button id="selfBulid_btn">排版</button>
<!--footer公共组件-->
<!-- {include file="include/newai/footer.html"} -->
</div>
<div id="tab_hide" class="hide">1</div>
<!-- {include file="include/newai/kefu.html"}
{$access_stats_code} -->
</body>
<script type="text/javascript" src="{$smarty.const.CSS_URL}/assets_v2/js/clientSet/rem.js"></script>
<script type="text/javascript" src="{$smarty.const.CSS_URL}/assets_v2/js/clientSet/common.js"></script>
<script type="text/javascript" src="{$smarty.const.CSS_URL}/assets_v2/js/clientSet/chooseTemplete.js?v=10"></script>
{literal}
<script>
$('.edu_content').on('click', '.radio_box input', function () {
let value = $(this).attr('value');
$('.edu_content .radio_box').removeClass('radio_box_active');
$(this).parent().addClass('radio_box_active');
})
</script>
{/literal}
</html>
Loading…
Cancel
Save