li.shaoyi hai 2 semanas
pai
achega
83fe4b9378

+ 13 - 0
oem/digital/img/icons/contract-active.svg

@@ -0,0 +1,13 @@
+<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g id="Vector">
+<path id="Vector_2" d="M9 18C4.03988 17.9899 0.019125 13.976 0 9.01588H3.20625C3.43463 9.02769 3.65737 8.94668 3.825 8.79142L7.425 5.6467L10.6313 9.01588C10.7107 9.11049 10.8085 9.18804 10.9187 9.24387C11.0289 9.29971 11.1492 9.33266 11.2725 9.34076C11.3957 9.34886 11.5194 9.33193 11.6359 9.291C11.7525 9.25006 11.8595 9.18597 11.9507 9.10257C12.0418 9.01917 12.1151 8.91819 12.1662 8.8057C12.2173 8.69322 12.2452 8.57156 12.248 8.44805C12.2509 8.32454 12.2287 8.20172 12.1829 8.087C12.137 7.97228 12.0684 7.86802 11.9812 7.78049L8.15625 3.7368C7.99833 3.5676 7.78044 3.46697 7.54925 3.45645C7.31806 3.44594 7.09194 3.52638 6.91931 3.68054L2.92556 7.16167H0.16875C1.19362 2.28933 5.97431 -0.830081 10.8467 0.194907C12.8142 0.608773 14.587 1.66857 15.8831 3.20581C17.1793 4.74305 17.9244 6.6695 18 8.6789H14.625C14.5121 8.67328 14.3992 8.69029 14.2929 8.72893C14.1866 8.76757 14.0892 8.82707 14.0063 8.90393L10.4062 12.0487L7.2 8.6789C7.03453 8.50654 6.80823 8.40573 6.56943 8.398C6.33064 8.39027 6.09829 8.47624 5.92203 8.63754C5.74576 8.79884 5.63955 9.02268 5.62609 9.26125C5.61264 9.49981 5.69299 9.73419 5.85 9.91429L9.675 13.9569C10.0041 14.309 10.5536 14.3338 10.9131 14.0131L14.9062 10.532H17.8312C17.4816 12.621 16.4021 14.5181 14.7849 15.8856C13.1677 17.2532 11.1178 18.0024 9 18Z" fill="url(#paint0_linear_2003_1407)"/>
+</g>
+<defs>
+<linearGradient id="paint0_linear_2003_1407" x1="18" y1="18" x2="18" y2="0" gradientUnits="userSpaceOnUse">
+<stop stop-color="#F7941D"/>
+<stop offset="0.236" stop-color="#F7941D"/>
+<stop offset="0.764" stop-color="#F8BB49"/>
+<stop offset="1" stop-color="#F8BB49"/>
+</linearGradient>
+</defs>
+</svg>

+ 5 - 0
oem/digital/img/icons/contract.svg

@@ -0,0 +1,5 @@
+<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g id="Vector">
+<path id="Vector_2" d="M0.80957 6.66211C2.02915 2.40906 6.34637 -0.240576 10.7441 0.68457C12.6024 1.07554 14.2768 2.07644 15.501 3.52832C16.613 4.84732 17.2937 6.46984 17.4629 8.17871H14.625V8.17969C14.4539 8.17432 14.2831 8.20023 14.1221 8.25879C13.9532 8.32021 13.7978 8.41495 13.666 8.53711L10.4375 11.3564L7.5625 8.33398L7.56055 8.33301L7.46094 8.23828C7.21751 8.02957 6.90912 7.90897 6.58594 7.89844C6.21681 7.88649 5.85749 8.01932 5.58496 8.26855C5.3124 8.51798 5.14776 8.86453 5.12695 9.2334C5.10623 9.60214 5.22997 9.96475 5.47266 10.2432L5.47949 10.251L5.48633 10.2578L9.31152 14.2998C9.82633 14.8489 10.6846 14.8866 11.2461 14.3857L11.2451 14.3848L15.0928 11.0322H17.2178C16.7986 12.7728 15.8367 14.3413 14.4619 15.5039C12.9353 16.7948 11.0002 17.5022 9.00098 17.5L8.56445 17.4883C4.24857 17.2615 0.784469 13.8225 0.517578 9.51562H3.31641C3.62657 9.50033 3.92184 9.37688 4.15332 9.16699L4.1543 9.16797L7.39258 6.33789L10.248 9.33691V9.33789C10.3707 9.48397 10.5222 9.60317 10.6924 9.68945C10.8626 9.7757 11.0488 9.82727 11.2393 9.83984C11.4298 9.85236 11.6216 9.82598 11.8018 9.7627C11.9818 9.69944 12.1473 9.60049 12.2881 9.47168C12.4289 9.34282 12.5421 9.18646 12.6211 9.0127C12.7 8.83892 12.7436 8.65078 12.748 8.45996C12.7525 8.26903 12.7183 8.07871 12.6475 7.90137C12.5781 7.72778 12.4745 7.57003 12.3438 7.43652H12.3447L8.51953 3.39355C8.27267 3.13023 7.93291 2.97351 7.57227 2.95703C7.21249 2.94067 6.86035 3.06509 6.59082 3.30371L2.73828 6.66211H0.80957Z" stroke="#AAAAAA"/>
+</g>
+</svg>

+ 13 - 0
oem/digital/img/icons/home-active.svg

@@ -0,0 +1,13 @@
+<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g id="Exclude">
+<path id="Exclude_2" d="M7.26172 0.554688C8.30232 -0.18489 9.69768 -0.18489 10.7383 0.554688L16.7383 4.81934C17.5298 5.38207 18 6.29342 18 7.26465V14.9961C18 16.6529 16.6569 17.9961 15 17.9961H3C1.34315 17.9961 0 16.6529 0 14.9961V7.26465C0 6.29342 0.47015 5.38207 1.26172 4.81934L7.26172 0.554688ZM5 12V14H13V12H5Z" fill="url(#paint0_linear_2001_1151)"/>
+</g>
+<defs>
+<linearGradient id="paint0_linear_2001_1151" x1="18" y1="17.9961" x2="18" y2="0" gradientUnits="userSpaceOnUse">
+<stop stop-color="#F7941D"/>
+<stop offset="0.236" stop-color="#F7941D"/>
+<stop offset="0.764" stop-color="#F8BB49"/>
+<stop offset="1" stop-color="#F8BB49"/>
+</linearGradient>
+</defs>
+</svg>

+ 11 - 0
oem/digital/img/icons/home.svg

@@ -0,0 +1,11 @@
+<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g id="Group 4166">
+<g id="Exclude">
+<mask id="path-1-inside-1_2003_1410" fill="white">
+<path d="M7.26172 0.554683C8.30232 -0.184894 9.69768 -0.184894 10.7383 0.554683L16.7383 4.81933C17.5298 5.38207 18 6.29342 18 7.26464V14.9961C18 16.6529 16.6569 17.9961 15 17.9961H3C1.34315 17.9961 0 16.6529 0 14.9961V7.26464C0 6.29342 0.47015 5.38207 1.26172 4.81933L7.26172 0.554683Z"/>
+</mask>
+<path d="M7.26172 0.554683L6.68241 -0.260423L6.68238 -0.260402L7.26172 0.554683ZM10.7383 0.554683L11.3176 -0.260402L11.3176 -0.260423L10.7383 0.554683ZM16.7383 4.81933L17.3177 4.0043L17.3176 4.00425L16.7383 4.81933ZM15 17.9961V18.9961V17.9961ZM3 17.9961V18.9961V17.9961ZM1.26172 4.81933L0.682377 4.00425L0.682302 4.0043L1.26172 4.81933ZM7.26172 0.554683L7.84103 1.36979C8.53477 0.876737 9.46523 0.876737 10.159 1.36979L10.7383 0.554683L11.3176 -0.260423C9.93012 -1.24653 8.06988 -1.24653 6.68241 -0.260423L7.26172 0.554683ZM10.7383 0.554683L10.1589 1.36977L16.1589 5.63442L16.7383 4.81933L17.3176 4.00425L11.3176 -0.260402L10.7383 0.554683ZM16.7383 4.81933L16.1589 5.63436C16.6865 6.00946 17 6.61706 17 7.26464H18H19C19 5.96977 18.3732 4.75467 17.3177 4.0043L16.7383 4.81933ZM18 7.26464H17V14.9961H18H19V7.26464H18ZM18 14.9961H17C17 16.1007 16.1046 16.9961 15 16.9961V17.9961V18.9961C17.2091 18.9961 19 17.2052 19 14.9961H18ZM15 17.9961V16.9961H3V17.9961V18.9961H15V17.9961ZM3 17.9961V16.9961C1.89543 16.9961 1 16.1007 1 14.9961H0H-1C-1 17.2052 0.790861 18.9961 3 18.9961V17.9961ZM0 14.9961H1V7.26464H0H-1V14.9961H0ZM0 7.26464H1C1 6.61706 1.31351 6.00946 1.84114 5.63436L1.26172 4.81933L0.682302 4.0043C-0.373205 4.75467 -1 5.96977 -1 7.26464H0ZM1.26172 4.81933L1.84106 5.63442L7.84106 1.36977L7.26172 0.554683L6.68238 -0.260402L0.682377 4.00425L1.26172 4.81933Z" fill="#AAAAAA" mask="url(#path-1-inside-1_2003_1410)"/>
+</g>
+<rect id="Rectangle 34625216" x="5" y="12" width="8" height="2" fill="#AAAAAA"/>
+</g>
+</svg>

+ 13 - 0
oem/digital/img/icons/language.svg

@@ -0,0 +1,13 @@
+<svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g id="Vector">
+<path id="Vector_2" d="M4 12.8714C4 10.5186 4.94821 8.2621 6.63604 6.59838C8.32387 4.93467 10.6131 4 13 4C15.3869 4 17.6761 4.93467 19.364 6.59838C21.0518 8.2621 22 10.5186 22 12.8714V13.1286C22 15.4814 21.0518 17.7379 19.364 19.4016C17.6761 21.0653 15.3869 22 13 22C10.6131 22 8.32387 21.0653 6.63604 19.4016C4.94821 17.7379 4 15.4814 4 13.1286V12.8714ZM20.6787 13.6429H16.7657C16.6397 16.1674 15.7512 18.5972 14.2143 20.6204C15.9335 20.3493 17.5087 19.5118 18.6828 18.2445C19.8569 16.9772 20.5604 15.3551 20.6787 13.6429ZM16.7657 12.3571H20.6787C20.5601 10.6448 19.8563 9.02265 18.682 7.75539C17.5077 6.48814 15.9324 5.65064 14.213 5.37957C15.7504 7.40267 16.6393 9.8325 16.7657 12.3571ZM15.46 12.3571C15.3295 10.0172 14.4706 7.77379 13 5.93243C11.5294 7.77379 10.6705 10.0172 10.54 12.3571H15.46ZM9.23435 13.6429H5.3213C5.43956 15.3551 6.14315 16.9772 7.31721 18.2445C8.49127 19.5118 10.0665 20.3493 11.7857 20.6204C10.2488 18.5971 9.3604 16.1674 9.23435 13.6429ZM9.23435 12.3571C9.36078 9.83251 10.2497 7.40271 11.787 5.37957C10.0675 5.65042 8.49203 6.48786 7.31772 7.75515C6.1434 9.02245 5.43963 10.6447 5.3213 12.3571H9.23435ZM15.46 13.6429H10.54C10.6705 15.9828 11.5294 18.2262 13 20.0676C14.4706 18.2262 15.3295 15.9828 15.46 13.6429Z" fill="url(#paint0_linear_2001_1132)"/>
+</g>
+<defs>
+<linearGradient id="paint0_linear_2001_1132" x1="22" y1="22" x2="22" y2="4" gradientUnits="userSpaceOnUse">
+<stop stop-color="#F7941D"/>
+<stop offset="0.236" stop-color="#F7941D"/>
+<stop offset="0.764" stop-color="#F8BB49"/>
+<stop offset="1" stop-color="#F8BB49"/>
+</linearGradient>
+</defs>
+</svg>

+ 13 - 0
oem/digital/img/icons/notice.svg

@@ -0,0 +1,13 @@
+<svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g id="icon">
+<path id="icon_2" fill-rule="evenodd" clip-rule="evenodd" d="M17.9148 14.6327V10.5375C17.866 7.82207 15.6799 5.64662 12.9997 5.64662C10.3197 5.64662 8.13345 7.82205 8.08471 10.5375V14.6327C8.08543 15.2086 7.93417 15.7742 7.64664 16.2708L18.3537 16.2708C18.0659 15.7742 17.9143 15.2087 17.9148 14.6327V14.6327ZM21.1917 17.909H4.80826C4.51949 17.909 4.25268 17.7528 4.10828 17.4994C3.96391 17.246 3.96391 16.9338 4.10828 16.6804C4.25268 16.427 4.51949 16.2708 4.80826 16.2708C5.70698 16.2767 6.44038 15.5435 6.44659 14.6327L6.44662 10.5375C6.50278 6.91044 9.42032 3.99999 13 4C16.5797 4 19.4972 6.91045 19.5534 10.5375V14.6327C19.5596 15.5434 20.293 16.2767 21.1917 16.2708C21.4805 16.2708 21.7473 16.427 21.8917 16.6804C22.0361 16.9338 22.0361 17.246 21.8917 17.4994C21.7473 17.7528 21.4805 17.909 21.1917 17.909H21.1917ZM15.1261 20.7756C14.68 21.5348 13.8724 22 13.0004 22C12.1284 22 11.3208 21.5348 10.8746 20.7756C10.7294 20.5208 10.7303 20.2067 10.8768 19.9527C11.0234 19.6986 11.2931 19.5438 11.5835 19.5471H14.4181C14.7083 19.5441 14.9778 19.6991 15.1241 19.953C15.2705 20.207 15.2713 20.521 15.1261 20.7756H15.1261Z" fill="url(#paint0_linear_2001_1130)"/>
+</g>
+<defs>
+<linearGradient id="paint0_linear_2001_1130" x1="22" y1="22" x2="22" y2="4" gradientUnits="userSpaceOnUse">
+<stop stop-color="#F7941D"/>
+<stop offset="0.236" stop-color="#F7941D"/>
+<stop offset="0.764" stop-color="#F8BB49"/>
+<stop offset="1" stop-color="#F8BB49"/>
+</linearGradient>
+</defs>
+</svg>

+ 13 - 0
oem/digital/img/icons/search.svg

@@ -0,0 +1,13 @@
+<svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g id="Vector">
+<path id="Vector_2" d="M15.8181 14.9521L13.0136 12.15C14.1074 10.8624 14.7678 9.1985 14.7678 7.37771C14.7678 3.30314 11.4619 0 7.38392 0C3.30592 0 0 3.30314 0 7.37771C0 11.4523 3.30592 14.7554 7.38392 14.7554C9.19868 14.7554 10.8564 14.1012 12.1432 13.0159L14.9495 15.8199C15.1898 16.06 15.5797 16.06 15.82 15.8199C16.0603 15.5817 16.0603 15.1941 15.8181 14.9521ZM7.38582 13.5264C3.98717 13.5264 1.23192 10.7735 1.23192 7.37771C1.23192 3.98192 3.98717 1.23088 7.38582 1.23088C10.7845 1.23088 13.5397 3.98381 13.5397 7.3796C13.5378 10.7735 10.7845 13.5264 7.38582 13.5264Z" fill="url(#paint0_linear_2001_1134)"/>
+</g>
+<defs>
+<linearGradient id="paint0_linear_2001_1134" x1="16" y1="16" x2="16" y2="0" gradientUnits="userSpaceOnUse">
+<stop stop-color="#F7941D"/>
+<stop offset="0.236" stop-color="#F7941D"/>
+<stop offset="0.764" stop-color="#F8BB49"/>
+<stop offset="1" stop-color="#F8BB49"/>
+</linearGradient>
+</defs>
+</svg>

+ 13 - 0
oem/digital/img/icons/spot-active.svg

@@ -0,0 +1,13 @@
+<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g id="Vector">
+<path id="Vector_2" d="M9 0C13.9705 0 18 4.0295 18 9C18 13.9705 13.9705 18 9 18C4.0295 18 0 13.9705 0 9C0 4.0295 4.0295 0 9 0ZM8.0075 5.438L5.691 8.144C5.49707 8.37049 5.39049 8.65883 5.39049 8.957C5.39049 9.25517 5.49707 9.54351 5.691 9.77L8.0075 12.476C8.12485 12.6131 8.27048 12.7231 8.43438 12.7985C8.59828 12.874 8.77657 12.913 8.957 12.913C9.13743 12.913 9.31572 12.874 9.47962 12.7985C9.64352 12.7231 9.78915 12.6131 9.9065 12.476L12.2235 9.77C12.4174 9.54351 12.524 9.25517 12.524 8.957C12.524 8.65883 12.4174 8.37049 12.2235 8.144L9.9065 5.438C9.78915 5.30095 9.64352 5.19092 9.47962 5.11548C9.31572 5.04005 9.13743 5.00099 8.957 5.00099C8.77657 5.00099 8.59828 5.04005 8.43438 5.11548C8.27048 5.19092 8.12485 5.30095 8.0075 5.438ZM8.9575 6.635L10.9445 8.9565L8.957 11.2785L6.97 8.9565L8.957 6.635H8.9575Z" fill="url(#paint0_linear_2001_1160)"/>
+</g>
+<defs>
+<linearGradient id="paint0_linear_2001_1160" x1="18" y1="18" x2="18" y2="0" gradientUnits="userSpaceOnUse">
+<stop stop-color="#F7941D"/>
+<stop offset="0.236" stop-color="#F7941D"/>
+<stop offset="0.764" stop-color="#F8BB49"/>
+<stop offset="1" stop-color="#F8BB49"/>
+</linearGradient>
+</defs>
+</svg>

+ 5 - 0
oem/digital/img/icons/spot.svg

@@ -0,0 +1,5 @@
+<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g id="Vector">
+<path id="Vector_2" d="M9 0.5C13.6944 0.5 17.5 4.30564 17.5 9C17.5 13.6944 13.6944 17.5 9 17.5C4.30564 17.5 0.5 13.6944 0.5 9C0.5 4.30564 4.30564 0.5 9 0.5ZM8.95703 4.50098C8.70453 4.50098 8.45498 4.5556 8.22559 4.66113C8.05334 4.74041 7.8953 4.84719 7.75781 4.97656L7.62793 5.11328L5.31152 7.81836C5.04002 8.13544 4.89062 8.5396 4.89062 8.95703C4.89063 9.3744 5.04009 9.77767 5.31152 10.0947L7.62793 12.8008C7.79222 12.9927 7.99612 13.1473 8.22559 13.2529C8.45497 13.3585 8.70454 13.4131 8.95703 13.4131C9.20953 13.4131 9.45909 13.3585 9.68848 13.2529C9.91794 13.1473 10.1218 12.9927 10.2861 12.8008L12.6035 10.0947C12.8748 9.77771 13.0244 9.37429 13.0244 8.95703C13.0244 8.5396 12.875 8.13544 12.6035 7.81836L10.2861 5.11328C10.1218 4.92141 9.91794 4.76674 9.68848 4.66113C9.45908 4.55559 9.20954 4.50098 8.95703 4.50098ZM10.2861 8.95605L8.95703 10.5088L7.62695 8.95605L8.95703 7.40234L10.2861 8.95605Z" stroke="#AAAAAA"/>
+</g>
+</svg>

+ 20 - 0
oem/digital/img/icons/wallet-active.svg

@@ -0,0 +1,20 @@
+<svg width="19" height="18" viewBox="0 0 19 18" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g id="Group 26">
+<path id="Vector" d="M10.1508 7.12724C9.7485 7.52065 9.52734 8.03828 9.52734 8.58813V9.41175C9.52734 9.9616 9.7485 10.4792 10.1508 10.8726C10.5531 11.266 11.0825 11.4823 11.6448 11.4823H18.9995V6.51758H11.6448C11.0825 6.51758 10.5508 6.73384 10.1508 7.12724ZM12.5106 7.99994C13.0306 7.99994 13.4995 8.4915 13.4995 8.99994C13.4995 9.50838 13.0306 9.99994 12.5106 9.99994C11.9907 9.99994 11.4995 9.50838 11.4995 8.99994C11.4995 8.4915 11.9907 7.99994 12.5106 7.99994Z" fill="url(#paint0_linear_27_1934)"/>
+<path id="Vector_2" d="M16.1344 0H2.868C1.28695 0 0 1.25613 0 2.80445V15.1956C0 16.7416 1.2846 18 2.868 18H16.132C17.713 18 19 16.7439 19 15.1956V13H11.7606C9.94898 13 8.18129 11.2715 8.18129 9.5V8.5C8.18129 6.72853 9.94898 5 11.7606 5H19V2.80445C19 1.25844 17.713 0 16.1344 0Z" fill="url(#paint1_linear_27_1934)"/>
+</g>
+<defs>
+<linearGradient id="paint0_linear_27_1934" x1="18.9995" y1="11.4823" x2="18.9995" y2="6.51758" gradientUnits="userSpaceOnUse">
+<stop stop-color="#F7941D"/>
+<stop offset="0.236" stop-color="#F7941D"/>
+<stop offset="0.764" stop-color="#F8BB49"/>
+<stop offset="1" stop-color="#F8BB49"/>
+</linearGradient>
+<linearGradient id="paint1_linear_27_1934" x1="19" y1="18" x2="19" y2="0" gradientUnits="userSpaceOnUse">
+<stop stop-color="#F7941D"/>
+<stop offset="0.236" stop-color="#F7941D"/>
+<stop offset="0.764" stop-color="#F8BB49"/>
+<stop offset="1" stop-color="#F8BB49"/>
+</linearGradient>
+</defs>
+</svg>

+ 7 - 0
oem/digital/img/icons/wallet.svg

@@ -0,0 +1,7 @@
+<svg width="19" height="18" viewBox="0 0 19 18" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g id="Group 26">
+<path id="Vector" d="M11.6455 7.01758H18.5V10.9824H11.6455C11.2143 10.9823 10.81 10.8178 10.501 10.5156C10.1923 10.2137 10.0284 9.82355 10.0283 9.41211V8.58789C10.0284 8.17642 10.1922 7.78628 10.501 7.48438L10.502 7.4834C10.7695 7.22023 11.114 7.06112 11.4854 7.02539L11.6455 7.01758Z" stroke="#AAAAAA"/>
+<circle id="Ellipse 1" cx="12" cy="9" r="1" fill="#AAAAAA"/>
+<path id="Vector_2" d="M2.86816 0.5H16.1348C17.4475 0.500218 18.5 1.54519 18.5 2.80469V4.5H11.7607C10.699 4.5 9.68441 5.00295 8.94238 5.72852C8.20095 6.45352 7.68164 7.45046 7.68164 8.5V9.5C7.68164 10.5495 8.20095 11.5465 8.94238 12.2715C9.68441 12.9971 10.699 13.5 11.7607 13.5H18.5V15.1953C18.5 16.4567 17.4476 17.5 16.1318 17.5H2.86816C1.55056 17.5 0.5 16.4549 0.5 15.1953V2.80469L0.511719 2.57031C0.632295 1.41651 1.63473 0.5 2.86816 0.5Z" stroke="#AAAAAA"/>
+</g>
+</svg>

+ 3 - 3
src/packages/digital/views/contract/components/position/detail/tpsl/index.vue

@@ -44,7 +44,7 @@
                     <Field name="TPPrice" :rules="formRules.TPPrice">
                         <template #input>
                             <app-stepper v-model="formData.TPPrice"
-                                :min="selectedRow.buyorsell === BuyOrSell.Sell && quote?.decimalvalue"
+                                :min="selectedRow.buyorsell === BuyOrSell.Sell ? quote?.decimalvalue : 0"
                                 :decimal-length="quote?.decimalplace" :step="quote?.decimalvalue"
                                 :disabled="!formData.TPFlag" />
                         </template>
@@ -60,7 +60,7 @@
                     <Field name="SLPrice" :rules="formRules.SLPrice">
                         <template #input>
                             <app-stepper v-model="formData.SLPrice"
-                                :min="selectedRow.buyorsell === BuyOrSell.Buy && quote?.decimalvalue"
+                                :min="selectedRow.buyorsell === BuyOrSell.Buy ? quote?.decimalvalue : 0"
                                 :decimal-length="quote?.decimalplace" :step="quote?.decimalvalue"
                                 :disabled="!formData.SLFlag" />
                         </template>
@@ -145,7 +145,7 @@ const pricePoints = computed(() => {
         }
         if (sellslpoint) {
             const lossPoint = sellslpoint / multiplier
-            price.stopLoss = lastPrice - lossPoint // 卖止损
+            price.stopLoss = lastPrice + lossPoint // 卖止损
         }
     }