app.scss 57 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068
  1. @charset "utf-8";
  2. @mixin transition($transition) {
  3. -webkit-transition: $transition;
  4. -moz-transition: $transition;
  5. -o-transition: $transition;
  6. transition: $transition;
  7. }
  8. ::-moz-selection {
  9. background: #009688;
  10. color: #FFF;
  11. }
  12. ::selection {
  13. background: #159b76;
  14. color: #FFF;
  15. }
  16. ::-webkit-scrollbar {
  17. width: 6px;
  18. height: 6px;
  19. }
  20. ::-webkit-scrollbar-thumb {
  21. border-radius: 10px;
  22. background-color: #bdbdbd;
  23. -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
  24. }
  25. html,
  26. body,
  27. .tpl-g {
  28. height: 100%;
  29. }
  30. body {
  31. background-color: #f2f2f2;
  32. font-family: "Monospaced Number", "Chinese Quote", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  33. }
  34. ul,
  35. li {
  36. list-style: none;
  37. padding: 0;
  38. margin: 0;
  39. }
  40. a {
  41. &:focus {
  42. outline: none;
  43. }
  44. }
  45. .icon {
  46. width: 1em;
  47. height: 1em;
  48. vertical-align: -0.15em;
  49. fill: currentColor;
  50. overflow: hidden;
  51. }
  52. ul {
  53. &.tpl-dropdown-content {
  54. padding: 10px;
  55. margin-top: 0;
  56. width: 300px;
  57. border-radius: 0;
  58. background: #fff;
  59. border: 1px solid #ddd;
  60. li {
  61. float: none;
  62. }
  63. .tpl-dropdown-menu-notifications-title {
  64. font-size: 12px;
  65. float: left;
  66. color: rgba(255, 255, 255, 0.7);
  67. color: #616161;
  68. }
  69. .tpl-dropdown-menu-notifications-time {
  70. float: right;
  71. text-align: right;
  72. color: rgba(255, 255, 255, 0.7);
  73. font-size: 11px;
  74. width: 50px;
  75. margin-left: 10px;
  76. }
  77. .tpl-dropdown-menu-notifications {
  78. &:last-child {
  79. .tpl-dropdown-menu-notifications-item {
  80. text-align: center;
  81. border: none;
  82. font-size: 12px;
  83. i {
  84. margin-left: -6px;
  85. }
  86. }
  87. }
  88. }
  89. .tpl-dropdown-menu-messages {
  90. &:last-child {
  91. .tpl-dropdown-menu-messages-item {
  92. text-align: center;
  93. border: none;
  94. font-size: 12px;
  95. i {
  96. margin-left: -6px;
  97. }
  98. }
  99. }
  100. }
  101. .tpl-dropdown-menu-messages-item {
  102. .menu-messages-content {
  103. .menu-messages-content-time {
  104. color: #96a5aa;
  105. }
  106. }
  107. &:hover {
  108. background-color: #f5f5f5;
  109. }
  110. }
  111. }
  112. }
  113. ul.tpl-dropdown-content:before,
  114. ul.tpl-dropdown-content:after {
  115. display: none;
  116. }
  117. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item,
  118. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item {
  119. padding: 12px;
  120. line-height: 20px;
  121. border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  122. border-bottom: 1px solid #eee;
  123. color: #999;
  124. }
  125. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item:hover,
  126. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item:hover,
  127. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item:focus,
  128. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item:focus {
  129. background-color: #465154;
  130. color: #fff;
  131. }
  132. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item .menu-messages-ico,
  133. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item .menu-messages-ico {
  134. line-height: initial;
  135. float: left;
  136. width: 35px;
  137. height: 35px;
  138. border-radius: 50%;
  139. margin-right: 10px;
  140. margin-top: 6px;
  141. overflow: hidden;
  142. }
  143. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item .menu-messages-ico img,
  144. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item .menu-messages-ico img {
  145. width: 100%;
  146. height: auto;
  147. vertical-align: middle;
  148. }
  149. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item .menu-messages-time,
  150. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item .menu-messages-time {
  151. float: right;
  152. text-align: right;
  153. color: rgba(255, 255, 255, 0.7);
  154. font-size: 11px;
  155. width: 40px;
  156. margin-left: 10px;
  157. }
  158. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item .menu-messages-content,
  159. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item .menu-messages-content {
  160. display: block;
  161. font-size: 13px;
  162. margin-left: 45px;
  163. margin-right: 50px;
  164. }
  165. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item .menu-messages-content .menu-messages-content-time,
  166. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item .menu-messages-content .menu-messages-content-time {
  167. margin-top: 3px;
  168. color: rgba(255, 255, 255, 0.7);
  169. font-size: 11px;
  170. }
  171. .am-dimmer {
  172. z-index: 1200;
  173. }
  174. .am-modal {
  175. z-index: 1300;
  176. }
  177. .am-datepicker-dropdown {
  178. z-index: 1400;
  179. }
  180. // 容器
  181. .tpl-layout {
  182. position: relative;
  183. }
  184. // 顶部状态栏
  185. .tpl-header {
  186. z-index: 1000;
  187. box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
  188. position: fixed;
  189. top: 0;
  190. width: 100%;
  191. transition: all 0.4s ease-in-out;
  192. padding-left: 160px;
  193. -webkit-touch-callout: none;
  194. -webkit-user-select: none;
  195. -moz-user-select: none;
  196. -ms-user-select: none;
  197. user-select: none;
  198. &.active {
  199. padding-left: 0;
  200. }
  201. .tpl-header-fluid {
  202. height: 50px;
  203. padding-left: 20px;
  204. padding-right: 20px;
  205. background: #fff;
  206. .tpl-header-navbar {
  207. color: #fff;
  208. li {
  209. float: left;
  210. }
  211. a {
  212. line-height: 50px;
  213. display: block;
  214. padding: 0 16px;
  215. position: relative;
  216. color: #333;
  217. -webkit-transition: all .3s;
  218. transition: all .3s;
  219. &:hover {
  220. background: rgba(0, 0, 0, .025);
  221. }
  222. .item-feed-badge {
  223. position: absolute;
  224. top: 8px;
  225. left: 25px;
  226. padding: .25em .42em;
  227. }
  228. }
  229. }
  230. .tpl-header-button {
  231. float: left;
  232. color: #333;
  233. margin: 0 0 0 -20px;
  234. border: 0;
  235. border-radius: 0;
  236. padding: 0 22px;
  237. line-height: 50px;
  238. background: #fff;
  239. cursor: pointer;
  240. &:hover {
  241. background: #fff;
  242. color: #999;
  243. outline: none;
  244. }
  245. }
  246. }
  247. }
  248. // 左侧菜单栏
  249. .left-sidebar {
  250. position: fixed;
  251. top: 0;
  252. bottom: 0;
  253. left: 0;
  254. z-index: 10;
  255. height: 100%;
  256. transition: all 0.4s ease-in-out;
  257. background-color: #20222a;
  258. .sidebar-scroll {
  259. overflow-x: hidden;
  260. }
  261. // 一级菜单
  262. .sidebar-nav {
  263. width: 160px;
  264. -webkit-box-shadow: 2px 0 6px rgba(0, 21, 41, .35);
  265. box-shadow: 2px 0 6px rgba(0, 21, 41, .35);
  266. .sidebar-nav-heading {
  267. padding: 15px 17px;
  268. font-size: 15px;
  269. font-weight: 500;
  270. color: #fff;
  271. }
  272. .sidebar-nav-heading-info {
  273. font-size: 12px;
  274. color: #868e8e;
  275. padding-left: 10px;
  276. }
  277. .sidebar-nav-link-logo {
  278. margin-right: 10px;
  279. width: 20px;
  280. font-size: 16px;
  281. display: inline-block;
  282. }
  283. .sidebar-nav-link {
  284. padding: 6px 0;
  285. a {
  286. display: block;
  287. color: rgba(255, 255, 255, .7);
  288. padding: 0 15px;
  289. border-left: 3px solid transparent;
  290. font-size: 14px;
  291. cursor: pointer;
  292. height: 42px;
  293. line-height: 42px;
  294. -webkit-transition: .1s cubic-bezier(.145, .045, .355, 1);
  295. transition: .1s cubic-bezier(.145, .045, .355, 1);
  296. &.active {
  297. cursor: pointer;
  298. color: #fff;
  299. background: #1686ef;
  300. .sidebar-nav-link-logo {
  301. color: #fff !important;
  302. }
  303. }
  304. &:hover {
  305. color: #fff;
  306. border-left: #1686ef 3px solid;
  307. }
  308. }
  309. }
  310. }
  311. // 二级菜单
  312. .sidebar-second-scroll {
  313. overflow-x: hidden;
  314. background: #fff;
  315. }
  316. .left-sidebar-second {
  317. width: 120px;
  318. min-height: 100%;
  319. background: #fff;
  320. padding-top: 50px;
  321. a {
  322. display: block;
  323. color: #333;
  324. font-size: 1.3rem;
  325. &:hover {
  326. background: #f5f5f5;
  327. }
  328. }
  329. ul {
  330. margin: 0;
  331. }
  332. .sidebar-second-title {
  333. height: 60px;
  334. line-height: 60px;
  335. padding-left: 2.2rem;
  336. font-size: 1.4rem;
  337. }
  338. .sidebar-second-item {
  339. a {
  340. min-height: 40px;
  341. line-height: 40px;
  342. padding-left: 2.3rem;
  343. &.active {
  344. background: #f5f5f5;
  345. }
  346. }
  347. // 三级菜单
  348. .sidebar-third-item {
  349. & > a {
  350. &.active {
  351. background: none;
  352. .icon-caret {
  353. transform: rotate(90deg);
  354. }
  355. & + .sidebar-third-nav-sub {
  356. display: block;
  357. }
  358. }
  359. }
  360. a {
  361. position: relative;
  362. .iconfont.icon-caret {
  363. position: absolute;
  364. left: .8rem;
  365. display: inline-block;
  366. transition: all 0.3s ease-in-out;
  367. font-size: 1.2rem;
  368. }
  369. }
  370. .sidebar-third-nav-sub {
  371. a {
  372. padding-left: 2.5rem;
  373. }
  374. display: none;
  375. }
  376. }
  377. }
  378. }
  379. &.xs-active {
  380. left: 0;
  381. }
  382. }
  383. .tpl-content-wrapper {
  384. transition: all 0.4s ease-in-out;
  385. position: relative;
  386. margin-left: 280px;
  387. margin-top: 50px;
  388. padding-bottom: 20px;
  389. &.no-sidebar-second {
  390. margin-left: 160px;
  391. }
  392. &.xs-active {
  393. margin-left: 240px;
  394. }
  395. &.active {
  396. margin-left: 0;
  397. }
  398. }
  399. .page-header {
  400. background: #424b4f;
  401. margin-top: 0;
  402. margin-bottom: 0;
  403. padding: 40px 0;
  404. border-bottom: 0;
  405. }
  406. .container-fluid {
  407. margin-top: 0;
  408. margin-bottom: 0;
  409. border-bottom: 0;
  410. padding-left: 20px;
  411. padding-right: 20px;
  412. }
  413. .row {
  414. margin-right: -10px;
  415. margin-left: -10px;
  416. }
  417. .page-header-description {
  418. margin-top: 4px;
  419. margin-bottom: 0;
  420. font-size: 14px;
  421. color: #666;
  422. }
  423. .page-header-heading {
  424. font-size: 20px;
  425. font-weight: 400;
  426. color: #666;
  427. .page-header-heading-ico {
  428. font-size: 28px;
  429. position: relative;
  430. top: 3px;
  431. }
  432. small {
  433. font-weight: normal;
  434. line-height: 1;
  435. color: #b3b3b3;
  436. }
  437. }
  438. .widget {
  439. width: 100%;
  440. min-height: 148px;
  441. border-radius: 0;
  442. position: relative;
  443. padding: 10px 20px 13px;
  444. background-color: #fff;
  445. color: #333;
  446. box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
  447. }
  448. .widget-body {
  449. padding: 0 15px;
  450. width: 100%;
  451. }
  452. .widget-head {
  453. width: 100%;
  454. padding: 12px 20px;
  455. border-bottom: 1px solid #eef1f5;
  456. margin-top: 10px;
  457. margin-bottom: 20px;
  458. &:not(:first-child) {
  459. margin-top: 40px;
  460. }
  461. .widget-title {
  462. position: relative;
  463. font-size: 1.5rem;
  464. &::before {
  465. content: '';
  466. position: absolute;
  467. width: 4px;
  468. height: 14px;
  469. background: #00aeff;
  470. top: 6px;
  471. left: -12px;
  472. }
  473. }
  474. }
  475. .widget-fluctuation-period-text {
  476. display: inline-block;
  477. font-size: 16px;
  478. line-height: 20px;
  479. margin-bottom: 9px;
  480. color: #838fa1;
  481. }
  482. .row-content {
  483. padding: 15px;
  484. }
  485. .widget-fluctuation-description-text {
  486. margin-top: 4px;
  487. display: block;
  488. font-size: 12px;
  489. line-height: 13px;
  490. color: #c5cacd;
  491. }
  492. .widget-fluctuation-description-amount {
  493. display: block;
  494. font-size: 20px;
  495. line-height: 22px;
  496. }
  497. .widget-card-header {
  498. position: relative;
  499. z-index: 35;
  500. display: block;
  501. font-size: 14px;
  502. text-transform: uppercase;
  503. margin-bottom: 8px;
  504. padding-top: 18px;
  505. color: #fff;
  506. }
  507. .widget-body-md {
  508. height: 200px;
  509. }
  510. .widget-body-lg {
  511. min-height: 330px;
  512. }
  513. .widget-margin-bottom-lg {
  514. margin-bottom: 20px;
  515. }
  516. .tpl-table-black-operation {
  517. > a {
  518. display: inline-block;
  519. padding: 5px 6px;
  520. font-size: 12px;
  521. line-height: 12px;
  522. border: 1px solid #36c6d3;
  523. color: #36c6d3;
  524. vertical-align: middle;
  525. &:hover {
  526. background: #36c6d3;
  527. color: #fff;
  528. }
  529. &.tpl-table-black-operation-del {
  530. border: 1px solid #e7505a;
  531. color: #e7505a;
  532. &:hover {
  533. background: #e7505a;
  534. color: #fff;
  535. }
  536. }
  537. &.tpl-table-black-operation-green {
  538. border: 1px solid #5eb95e;
  539. color: #5eb95e;
  540. &:hover {
  541. background: #5eb95e;
  542. color: #fff;
  543. }
  544. }
  545. &.tpl-table-black-operation-default {
  546. color: #7f838a;
  547. background: #fff;
  548. //padding: 6px 8px;
  549. border: solid 1px #c7c7c7;
  550. border-radius: 2px;
  551. line-height: 13px;
  552. box-shadow: 0 0 0 rgba(0, 0, 0, 0.1);
  553. i.iconfont {
  554. font-size: 12px;
  555. }
  556. }
  557. &.tpl-table-black-operation-default:hover {
  558. color: #fff;
  559. background-color: #1BBC9D;
  560. border-color: #16A086;
  561. }
  562. }
  563. }
  564. .tpl-switch {
  565. input[type="checkbox"] {
  566. position: absolute;
  567. opacity: 0;
  568. width: 50px;
  569. height: 20px;
  570. }
  571. input[type="checkbox"].ios-switch {
  572. & + div {
  573. vertical-align: middle;
  574. width: 40px;
  575. height: 20px;
  576. border-radius: 999px;
  577. background-color: rgba(0, 0, 0, 0.1);
  578. -webkit-transition-duration: .4s;
  579. -webkit-transition-property: background-color, box-shadow;
  580. margin-top: 6px;
  581. & > div {
  582. float: left;
  583. width: 18px;
  584. height: 18px;
  585. border-radius: inherit;
  586. background: #ffffff;
  587. -webkit-transition-timing-function: cubic-bezier(0.54, 1.85, 0.5, 1);
  588. -webkit-transition-duration: 0.4s;
  589. -webkit-transition-property: transform, background-color, box-shadow;
  590. -moz-transition-timing-function: cubic-bezier(0.54, 1.85, 0.5, 1);
  591. -moz-transition-duration: 0.4s;
  592. -moz-transition-property: transform, background-color;
  593. pointer-events: none;
  594. margin-top: 1px;
  595. margin-left: 1px;
  596. }
  597. }
  598. &:checked {
  599. & + div {
  600. width: 40px;
  601. background-position: 0 0;
  602. background-color: #36c6d3;
  603. & > div {
  604. -webkit-transform: translate3d(20px, 0, 0);
  605. -moz-transform: translate3d(20px, 0, 0);
  606. background-color: #ffffff;
  607. }
  608. }
  609. }
  610. }
  611. input[type="checkbox"].tinyswitch {
  612. &.ios-switch {
  613. & + div {
  614. width: 34px;
  615. height: 18px;
  616. & > div {
  617. width: 16px;
  618. height: 16px;
  619. margin-top: 1px;
  620. }
  621. }
  622. &:checked {
  623. & + div {
  624. & > div {
  625. -webkit-transform: translate3d(16px, 0, 0);
  626. -moz-transform: translate3d(16px, 0, 0);
  627. box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3), 0 0 0 1px #0850ac;
  628. }
  629. }
  630. }
  631. }
  632. }
  633. input[type="checkbox"].bigswitch {
  634. &.ios-switch {
  635. & + div {
  636. width: 50px;
  637. height: 25px;
  638. & > div {
  639. width: 23px;
  640. height: 23px;
  641. margin-top: 1px;
  642. }
  643. }
  644. &:checked {
  645. & + div {
  646. & > div {
  647. -webkit-transform: translate3d(25px, 0, 0);
  648. -moz-transform: translate3d(16px, 0, 0);
  649. }
  650. }
  651. }
  652. }
  653. }
  654. input[type="checkbox"].green {
  655. &.ios-switch {
  656. &:checked {
  657. & + div {
  658. background-color: #00e359;
  659. border: 1px solid #00a23f;
  660. box-shadow: inset 0 0 0 10px #00e359;
  661. & > div {
  662. box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3), 0 0 0 1px #00a23f;
  663. }
  664. }
  665. }
  666. }
  667. }
  668. }
  669. .tpl-page-state {
  670. width: 100%;
  671. }
  672. .tpl-page-state-title {
  673. font-size: 40px;
  674. font-weight: bold;
  675. color: #838fa1;
  676. }
  677. .tpl-page-state-content {
  678. padding: 10px 0;
  679. }
  680. .tpl-login {
  681. width: 100%;
  682. }
  683. .tpl-login-logo {
  684. max-width: 159px;
  685. height: 205px;
  686. margin: 0 auto 20px auto;
  687. }
  688. .tpl-login-title {
  689. width: 100%;
  690. font-size: 24px;
  691. color: #697882;
  692. strong {
  693. color: #39bae4;
  694. }
  695. }
  696. .tpl-login-content {
  697. margin: 12% auto 0;
  698. width: 500px;
  699. padding: 40px 40px 25px;
  700. background-color: #fff;
  701. border-radius: 4px;
  702. }
  703. .tpl-login-remember-me {
  704. color: #b3b3b3;
  705. font-size: 14px;
  706. label {
  707. position: relative;
  708. top: -2px;
  709. }
  710. }
  711. .tpl-login-content-info {
  712. color: #b3b3b3;
  713. font-size: 14px;
  714. }
  715. .cl-p {
  716. padding: 0 !important;
  717. }
  718. .tpl-table-line-img {
  719. max-width: 100px;
  720. padding: 2px;
  721. border: 1px solid #ddd;
  722. }
  723. .tpl-table-list-select {
  724. text-align: right;
  725. }
  726. .fc-button-group,
  727. .fc button {
  728. display: block;
  729. }
  730. .tpl-error-title-info {
  731. line-height: 30px;
  732. font-size: 21px;
  733. margin-top: 20px;
  734. text-align: center;
  735. color: #dce2ec;
  736. }
  737. .tpl-error-btn {
  738. background: #03a9f3;
  739. border: 1px solid #03a9f3;
  740. border-radius: 30px;
  741. padding: 6px 20px 8px;
  742. }
  743. .tpl-error-content {
  744. margin-top: 20px;
  745. margin-bottom: 20px;
  746. font-size: 16px;
  747. text-align: center;
  748. color: #96a2b4;
  749. }
  750. .tpl-calendar-box {
  751. background: #fff;
  752. border-radius: 4px;
  753. padding: 20px;
  754. .fc-event {
  755. border-radius: 0;
  756. background: #03a9f3;
  757. border: 1px solid #14b0f6;
  758. }
  759. .fc-axis {
  760. color: #868e8e;
  761. }
  762. .fc-unthemed {
  763. .fc-today {
  764. background: #eee;
  765. }
  766. }
  767. .fc-more {
  768. color: #868e8e;
  769. }
  770. .fc {
  771. th {
  772. color: #868e8e;
  773. font-weight: normal;
  774. font-size: 14px;
  775. padding: 6px 0;
  776. &.fc-widget-header {
  777. background: #32c5d2 !important;
  778. color: #ffffff;
  779. font-size: 14px;
  780. line-height: 20px;
  781. padding: 7px 0;
  782. text-transform: uppercase;
  783. border: none !important;
  784. a {
  785. color: #fff;
  786. }
  787. }
  788. }
  789. }
  790. .fc-center {
  791. h2 {
  792. color: #868e8e;
  793. }
  794. }
  795. .fc-state-default {
  796. background: #fff;
  797. font-size: 14px;
  798. color: #868e8e;
  799. }
  800. .fc-day-number {
  801. color: #868e8e;
  802. padding-right: 6px;
  803. }
  804. }
  805. .tpl-calendar-box .fc th,
  806. .tpl-calendar-box .fc td,
  807. .tpl-calendar-box .fc hr,
  808. .tpl-calendar-box .fc thead,
  809. .tpl-calendar-box .fc tbody,
  810. .tpl-calendar-box .fc-row {
  811. border-color: #eee !important;
  812. }
  813. .tpl-pagination .am-disabled a,
  814. .tpl-pagination li a {
  815. color: #23abf0;
  816. border-radius: 3px;
  817. padding: 6px 12px;
  818. }
  819. .tpl-pagination {
  820. .am-active {
  821. a {
  822. background: #23abf0;
  823. color: #fff;
  824. border: 1px solid #23abf0;
  825. padding: 6px 12px;
  826. }
  827. }
  828. }
  829. .tpl-login-btn {
  830. background-color: #32c5d2;
  831. border: none;
  832. padding: 10px 16px;
  833. font-size: 14px;
  834. line-height: 14px;
  835. outline: none;
  836. }
  837. .tpl-login-btn:hover,
  838. .tpl-login-btn:active {
  839. background: #22b2e1;
  840. color: #fff;
  841. }
  842. .tpl-form-line-form,
  843. .tpl-form-border-form {
  844. }
  845. .tpl-form-border-form input[type=number]:focus,
  846. .tpl-form-border-form input[type=search]:focus,
  847. .tpl-form-border-form input[type=text]:focus,
  848. .tpl-form-border-form input[type=password]:focus,
  849. .tpl-form-border-form input[type=datetime]:focus,
  850. .tpl-form-border-form input[type=datetime-local]:focus,
  851. .tpl-form-border-form input[type=date]:focus,
  852. .tpl-form-border-form input[type=month]:focus,
  853. .tpl-form-border-form input[type=time]:focus,
  854. .tpl-form-border-form input[type=week]:focus,
  855. .tpl-form-border-form input[type=email]:focus,
  856. .tpl-form-border-form input[type=url]:focus,
  857. .tpl-form-border-form input[type=tel]:focus,
  858. .tpl-form-border-form input[type=color]:focus,
  859. .tpl-form-border-form select:focus,
  860. .tpl-form-border-form textarea:focus,
  861. .am-form-field:focus {
  862. -webkit-box-shadow: none;
  863. box-shadow: none;
  864. }
  865. .tpl-form-border-form input[type=number],
  866. .tpl-form-border-form input[type=search],
  867. .tpl-form-border-form input[type=text],
  868. .tpl-form-border-form input[type=password],
  869. .tpl-form-border-form input[type=datetime],
  870. .tpl-form-border-form input[type=datetime-local],
  871. .tpl-form-border-form input[type=date],
  872. .tpl-form-border-form input[type=month],
  873. .tpl-form-border-form input[type=time],
  874. .tpl-form-border-form input[type=week],
  875. .tpl-form-border-form input[type=email],
  876. .tpl-form-border-form input[type=url],
  877. .tpl-form-border-form input[type=tel],
  878. .tpl-form-border-form input[type=color],
  879. .tpl-form-border-form select,
  880. .tpl-form-border-form textarea,
  881. .am-form-field {
  882. display: block;
  883. width: 100%;
  884. line-height: 1.42857;
  885. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  886. -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  887. -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  888. transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  889. background: 0 0;
  890. border: 1px solid #c2cad8;
  891. text-indent: .5em;
  892. border-radius: 0;
  893. color: #555;
  894. box-shadow: none;
  895. padding-left: 0;
  896. padding-right: 0;
  897. font-size: 14px;
  898. }
  899. .tpl-form-border-form .am-checkbox,
  900. .tpl-form-border-form .am-checkbox-inline,
  901. .tpl-form-border-form .am-form-label,
  902. .tpl-form-border-form .am-radio,
  903. .tpl-form-border-form .am-radio-inline {
  904. margin-top: 0;
  905. margin-bottom: 0;
  906. }
  907. .tpl-form-border-form {
  908. .am-form-group {
  909. &:after {
  910. clear: both;
  911. }
  912. }
  913. .am-form-label {
  914. padding-top: 5px;
  915. font-size: 16px;
  916. color: #888;
  917. font-weight: inherit;
  918. text-align: right;
  919. .tpl-form-line-small-title {
  920. color: #999;
  921. font-size: 12px;
  922. }
  923. }
  924. }
  925. .tpl-form-border-form .am-form-group:after,
  926. .tpl-form-border-form .am-form-group:before {
  927. content: " ";
  928. display: table;
  929. }
  930. .tpl-form-line-form input[type=number]:focus,
  931. .tpl-form-line-form input[type=search]:focus,
  932. .tpl-form-line-form input[type=text]:focus,
  933. .tpl-form-line-form input[type=password]:focus,
  934. .tpl-form-line-form input[type=datetime]:focus,
  935. .tpl-form-line-form input[type=datetime-local]:focus,
  936. .tpl-form-line-form input[type=date]:focus,
  937. .tpl-form-line-form input[type=month]:focus,
  938. .tpl-form-line-form input[type=time]:focus,
  939. .tpl-form-line-form input[type=week]:focus,
  940. .tpl-form-line-form input[type=email]:focus,
  941. .tpl-form-line-form input[type=url]:focus,
  942. .tpl-form-line-form input[type=tel]:focus,
  943. .tpl-form-line-form input[type=color]:focus,
  944. .tpl-form-line-form select:focus,
  945. .tpl-form-line-form textarea:focus,
  946. .am-form-field:focus {
  947. -webkit-box-shadow: none;
  948. box-shadow: none;
  949. }
  950. .tpl-form-line-form input[type=number],
  951. .tpl-form-line-form input[type=search],
  952. .tpl-form-line-form input[type=text],
  953. .tpl-form-line-form input[type=password],
  954. .tpl-form-line-form input[type=datetime],
  955. .tpl-form-line-form input[type=datetime-local],
  956. .tpl-form-line-form input[type=date],
  957. .tpl-form-line-form input[type=month],
  958. .tpl-form-line-form input[type=time],
  959. .tpl-form-line-form input[type=week],
  960. .tpl-form-line-form input[type=email],
  961. .tpl-form-line-form input[type=url],
  962. .tpl-form-line-form input[type=tel],
  963. .tpl-form-line-form input[type=color],
  964. .tpl-form-line-form select,
  965. .tpl-form-line-form textarea,
  966. .am-form-field {
  967. display: block;
  968. width: 100%;
  969. padding: 6px 5px;
  970. line-height: 1.42857;
  971. -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  972. -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  973. transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  974. border: 0;
  975. border-bottom: 1px solid #c2cad8;
  976. color: #555;
  977. box-shadow: none;
  978. font-size: 14px;
  979. }
  980. .am-form {
  981. input[type=text][readonly] {
  982. background: #f7f7f7 !important;
  983. cursor: text;
  984. }
  985. }
  986. .am-checkbox, .am-checkbox-inline, .am-radio, .am-radio-inline {
  987. user-select: none;
  988. }
  989. .am-ucheck-checkbox:checked + .am-ucheck-icons,
  990. .am-ucheck-radio:checked + .am-ucheck-icons {
  991. color: #5bb9ff;
  992. }
  993. .tpl-form-line-form {
  994. .am-checkbox,
  995. .am-checkbox-inline,
  996. .am-radio,
  997. .am-radio-inline {
  998. margin-right: 10px;
  999. padding-top: .8rem;
  1000. }
  1001. .am-checkbox-inline + .am-checkbox-inline,
  1002. .am-radio-inline + .am-radio-inline {
  1003. margin-left: 0;
  1004. }
  1005. .am-checkbox .am-ucheck-icons,
  1006. .am-checkbox-inline .am-ucheck-icons,
  1007. .am-form-label .am-ucheck-icons,
  1008. .am-radio .am-ucheck-icons,
  1009. .am-radio-inline .am-ucheck-icons {
  1010. line-height: 40px;
  1011. }
  1012. .am-form-group {
  1013. &:after {
  1014. clear: both;
  1015. }
  1016. .am-form--static {
  1017. padding-top: .8rem;
  1018. font-size: 1.35rem;
  1019. color: #656565;
  1020. }
  1021. }
  1022. .am-form-label {
  1023. margin: 0;
  1024. padding-top: .8rem;
  1025. font-size: 1.34rem;
  1026. color: #656565;
  1027. font-weight: inherit;
  1028. text-align: right;
  1029. .tpl-form-line-small-title {
  1030. color: #8c8c8c;
  1031. font-size: 12px;
  1032. }
  1033. }
  1034. .am-form-error {
  1035. .am-form-label {
  1036. color: #dd514c;
  1037. }
  1038. }
  1039. }
  1040. .tpl-form-line-form .am-form-group:after,
  1041. .tpl-form-line-form .am-form-group:before {
  1042. content: " ";
  1043. display: table;
  1044. }
  1045. .tpl-amendment-echarts {
  1046. left: -17px;
  1047. }
  1048. .tpl-user-card {
  1049. border: 1px solid #3598dc;
  1050. border-top: 2px solid #3598dc;
  1051. background: #3598dc;
  1052. color: #ffffff;
  1053. border-radius: 4px;
  1054. }
  1055. .tpl-user-card-title {
  1056. font-size: 26px;
  1057. font-weight: 300;
  1058. margin-top: 25px;
  1059. margin-bottom: 10px;
  1060. }
  1061. .achievement-subheading {
  1062. font-size: 12px;
  1063. margin-top: 0;
  1064. margin-bottom: 15px;
  1065. }
  1066. .achievement-image {
  1067. border-radius: 50%;
  1068. margin-bottom: 22px;
  1069. }
  1070. .achievement-description {
  1071. margin: 0;
  1072. font-size: 12px;
  1073. }
  1074. .tpl-table-black {
  1075. color: #6d7279;
  1076. thead {
  1077. & > tr {
  1078. & > th {
  1079. font-size: 1.3rem;
  1080. padding: 6px;
  1081. }
  1082. }
  1083. }
  1084. tbody {
  1085. & > tr {
  1086. & > td {
  1087. font-size: 1.3rem;
  1088. padding: 7px 6px;
  1089. }
  1090. }
  1091. }
  1092. tfoot {
  1093. & > tr {
  1094. & > th {
  1095. font-size: 14px;
  1096. padding: 6px 0;
  1097. }
  1098. }
  1099. }
  1100. }
  1101. .am-progress {
  1102. height: 12px;
  1103. }
  1104. .am-progress-title {
  1105. font-size: 14px;
  1106. margin-bottom: 8px;
  1107. }
  1108. .widget-fluctuation-tpl-btn {
  1109. margin-top: 6px;
  1110. display: block;
  1111. color: #fff;
  1112. font-size: 12px;
  1113. padding: 8px 14px;
  1114. outline: none;
  1115. background-color: #e7505a;
  1116. border: 1px solid #e7505a;
  1117. &:hover {
  1118. background: transparent;
  1119. color: #e7505a;
  1120. }
  1121. }
  1122. .text-success {
  1123. color: #5eb95e;
  1124. }
  1125. .widget-function {
  1126. a {
  1127. color: #838fa1;
  1128. &:hover {
  1129. color: #a7bdcd;
  1130. }
  1131. }
  1132. }
  1133. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item:hover,
  1134. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item:hover {
  1135. background-color: #f5f5f5;
  1136. }
  1137. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item .tpl-dropdown-menu-notifications-time,
  1138. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item .tpl-dropdown-menu-notifications-time {
  1139. color: #999;
  1140. }
  1141. .widget-color-green {
  1142. border: 1px solid #32c5d2;
  1143. border-top: 2px solid #32c5d2;
  1144. background: #32c5d2;
  1145. color: #ffffff;
  1146. .widget-fluctuation-period-text {
  1147. color: #fff;
  1148. }
  1149. .widget-head {
  1150. border-bottom: 1px solid #2bb8c4;
  1151. }
  1152. .widget-fluctuation-description-text {
  1153. color: #bbe7f6;
  1154. }
  1155. .widget-function {
  1156. a {
  1157. color: #42bde5;
  1158. &:hover {
  1159. color: #fff;
  1160. }
  1161. }
  1162. }
  1163. }
  1164. @media screen and (max-width: 1024px) {
  1165. .left-sidebar {
  1166. left: -320px;
  1167. top: 50px;
  1168. }
  1169. .tpl-content-wrapper {
  1170. margin-left: 0 !important;
  1171. }
  1172. .tpl-sidebar-user-panel {
  1173. border-top: 1px solid #eee;
  1174. }
  1175. .tpl-header {
  1176. padding-left: 0;
  1177. }
  1178. }
  1179. @media screen and (min-width: 641px) {
  1180. [class*=am-u-] {
  1181. padding-left: 10px;
  1182. padding-right: 10px;
  1183. }
  1184. }
  1185. @media screen and (max-width: 641px) {
  1186. .tpl-error-title,
  1187. .tpl-login-title {
  1188. font-size: 20px;
  1189. }
  1190. .tpl-login-content {
  1191. width: 86%;
  1192. padding: 22px 30px 25px;
  1193. }
  1194. ul.tpl-dropdown-content {
  1195. position: fixed;
  1196. width: 100%;
  1197. left: 0;
  1198. top: 112px;
  1199. right: 0;
  1200. }
  1201. }
  1202. /* table */
  1203. .am-table {
  1204. border-collapse: collapse;
  1205. font-size: 1.4rem;
  1206. & > thead {
  1207. & > tr {
  1208. & > th {
  1209. vertical-align: middle;
  1210. }
  1211. }
  1212. }
  1213. .item-title {
  1214. max-width: 300px;
  1215. overflow: hidden;
  1216. text-overflow: ellipsis;
  1217. display: -webkit-box;
  1218. -webkit-box-orient: vertical;
  1219. -webkit-line-clamp: 2;
  1220. text-align: left !important;
  1221. margin: 0;
  1222. white-space: normal;
  1223. }
  1224. p {
  1225. margin: 0;
  1226. }
  1227. }
  1228. .am-btn-toolbar {
  1229. .am-btn-group {
  1230. & > .am-btn {
  1231. border-radius: 2px !important;
  1232. margin-right: 1rem;
  1233. margin-bottom: .5rem;
  1234. }
  1235. }
  1236. }
  1237. /* 工具栏 */
  1238. .page_toolbar {
  1239. .am-form-group {
  1240. max-width: 300px;
  1241. margin-left: .5rem;
  1242. margin-bottom: 1.1rem;
  1243. .am-form-field, .am-btn {
  1244. border-radius: 2px;
  1245. outline: 0;
  1246. }
  1247. span, .am-selected-list {
  1248. font-size: 1.4rem;
  1249. }
  1250. }
  1251. .am-input-group {
  1252. .am-form-field {
  1253. border-bottom-right-radius: 0;
  1254. border-top-right-radius: 0;
  1255. }
  1256. .am-input-group-btn .am-btn {
  1257. background: #fff;
  1258. border-bottom-left-radius: 0;
  1259. border-top-left-radius: 0;
  1260. &:hover {
  1261. color: #2589ff;
  1262. }
  1263. }
  1264. }
  1265. }
  1266. /* 后台首页 */
  1267. .page-home {
  1268. .widget {
  1269. padding: 10px 20px 25px;
  1270. .widget-head {
  1271. margin-top: 0;
  1272. margin-bottom: 10px;
  1273. border-bottom: none;
  1274. }
  1275. .widget-body {
  1276. padding: 0;
  1277. }
  1278. }
  1279. // 实时概况
  1280. .widget-outline {
  1281. flex-basis: 50%;
  1282. height: 117px;
  1283. padding: 20px;
  1284. margin-bottom: 20px;
  1285. box-sizing: border-box;
  1286. .outline-left {
  1287. margin-right: 30px;
  1288. img {
  1289. width: 58px;
  1290. height: 58px;
  1291. }
  1292. }
  1293. .outline-right {
  1294. flex-basis: 50%;
  1295. }
  1296. }
  1297. // 近七日交易走势
  1298. .widget-echarts {
  1299. height: 400px;
  1300. width: 100%;
  1301. }
  1302. // 商城统计
  1303. .widget-card {
  1304. min-height: 174px;
  1305. color: #ffffff;
  1306. padding: 12px 17px 12px 22px;
  1307. margin-bottom: 20px;
  1308. &.card__blue {
  1309. background: linear-gradient(-125deg, #57bdbf, #2f9de2);
  1310. }
  1311. &.card__red {
  1312. background: linear-gradient(-125deg, #ff7d7d, #fb2c95);
  1313. }
  1314. &.card__violet {
  1315. background: linear-gradient(-113deg, #c543d8, #925cc3);
  1316. }
  1317. &.card__primary {
  1318. background: linear-gradient(-141deg, #ecca1b, #f39526);
  1319. }
  1320. .card-header {
  1321. position: relative;
  1322. display: block;
  1323. padding-top: 18px;
  1324. color: #fff;
  1325. font-size: 1.4rem;
  1326. text-transform: uppercase;
  1327. margin-bottom: 8px;
  1328. }
  1329. .card-icon {
  1330. position: absolute;
  1331. right: 30px;
  1332. top: 24px;
  1333. font-size: 70px;
  1334. color: rgba(255, 255, 255, 0.12);
  1335. }
  1336. .card-description {
  1337. position: relative;
  1338. display: block;
  1339. font-size: 1.2rem;
  1340. line-height: 1.2rem;
  1341. padding-top: 8px;
  1342. color: rgba(255, 255, 255, 0.88);
  1343. }
  1344. .card-value {
  1345. position: relative;
  1346. font-weight: 300;
  1347. display: block;
  1348. color: #fff;
  1349. font-size: 46px;
  1350. line-height: 46px;
  1351. margin-bottom: 8px;
  1352. }
  1353. }
  1354. }
  1355. /* 帮助页面 */
  1356. .page-help {
  1357. font-size: 1.3rem;
  1358. .help-item {
  1359. padding: .8rem 2rem;
  1360. p {
  1361. margin: 0;
  1362. img {
  1363. max-width: 100%;
  1364. }
  1365. }
  1366. }
  1367. }
  1368. /* 全局样式 */
  1369. p {
  1370. margin: 0;
  1371. }
  1372. .hide {
  1373. display: none;
  1374. }
  1375. .tpl-content-wrapper {
  1376. .iconfont {
  1377. font-size: unset;
  1378. }
  1379. }
  1380. .am-link-muted {
  1381. color: #7b7b7b;
  1382. }
  1383. .f-12 {
  1384. font-size: 12px;
  1385. }
  1386. .am-scrollable-horizontal {
  1387. overflow-y: scroll;
  1388. }
  1389. .operation-select {
  1390. .am-dropdown-toggle.am-btn-sm {
  1391. font-size: 1.2rem;
  1392. padding: 5px 1em;
  1393. line-height: 12px;
  1394. color: #7f838a;
  1395. background: #fff;
  1396. border: solid 1px #c7c7c7;
  1397. border-radius: 2px;
  1398. box-shadow: 0 0 0 rgba(0, 0, 0, 0.1);
  1399. }
  1400. &.am-active {
  1401. .am-dropdown-toggle.am-btn-sm {
  1402. color: #fff;
  1403. background-color: #1BBC9D;
  1404. border-color: #16A086;
  1405. }
  1406. }
  1407. }
  1408. // am-selected组件 必选提示
  1409. .am-selected-hint {
  1410. line-height: 1;
  1411. font-size: 1.2rem;
  1412. }
  1413. // 手型鼠标
  1414. .x-cur-p {
  1415. cursor: pointer;
  1416. user-select: none;
  1417. }
  1418. .x-text-delete {
  1419. text-decoration: line-through;
  1420. }
  1421. // 函数
  1422. /* 文字颜色 */
  1423. .x-color-red {
  1424. color: #f00 !important;
  1425. }
  1426. .x-color-green {
  1427. color: #4db14d !important;
  1428. }
  1429. .x-color-yellow {
  1430. color: #fcb500 !important;
  1431. }
  1432. .x-color-blue {
  1433. color: #259fdc !important;
  1434. }
  1435. .x-color-c-gray-5f {
  1436. color: #828282;
  1437. }
  1438. .x-color-999 {
  1439. color: #999 !important;
  1440. }
  1441. .x-color-555 {
  1442. color: #555555 !important;
  1443. }
  1444. .x-mt-10 {
  1445. margin-top: 10px !important;
  1446. }
  1447. .x-mb-10 {
  1448. margin-bottom: 10px !important;
  1449. }
  1450. .x-mb-20 {
  1451. margin-bottom: 20px !important;
  1452. }
  1453. .x-pl-0 {
  1454. padding-left: 0 !important;
  1455. }
  1456. .x-f-13 {
  1457. font-size: 1.3rem !important;;
  1458. }
  1459. .x-f-14 {
  1460. font-size: 1.4rem !important;;
  1461. }
  1462. .x-w-80 {
  1463. width: 80px !important;
  1464. }
  1465. // 文字超出2行隐藏显示省略号
  1466. .twolist-hidden {
  1467. display: -webkit-box;
  1468. word-break: break-all;
  1469. text-overflow: ellipsis;
  1470. overflow: hidden;
  1471. -webkit-box-orient: vertical;
  1472. -webkit-line-clamp: 2;
  1473. }
  1474. /* flex布局 */
  1475. .dis-flex {
  1476. display: -webkit-box;
  1477. display: -webkit-flex;
  1478. display: -ms-flexbox;
  1479. display: flex;
  1480. }
  1481. .flex-box {
  1482. flex: 1;
  1483. }
  1484. .flex-dir-row {
  1485. flex-direction: row;
  1486. }
  1487. .flex-dir-column {
  1488. -webkit-box-orient: vertical;
  1489. -webkit-flex-direction: column;
  1490. -ms-flex-direction: column;
  1491. flex-direction: column;
  1492. }
  1493. .flex-x-center {
  1494. -webkit-box-pack: center;
  1495. -webkit-justify-content: center;
  1496. -ms-flex-pack: center;
  1497. justify-content: center;
  1498. }
  1499. .flex-x-between {
  1500. -webkit-box-pack: justify;
  1501. -webkit-justify-content: space-between;
  1502. -ms-flex-pack: justify;
  1503. justify-content: space-between;
  1504. }
  1505. .flex-x-around {
  1506. justify-content: space-around;
  1507. }
  1508. .flex-x-end {
  1509. -webkit-box-pack: end;
  1510. -ms-flex-pack: end;
  1511. -webkit-justify-content: flex-end;
  1512. justify-content: flex-end;
  1513. }
  1514. .flex-y-center {
  1515. -webkit-box-align: center;
  1516. -webkit-align-items: center;
  1517. -ms-flex-align: center;
  1518. align-items: center;
  1519. }
  1520. // 提示信息
  1521. .tips {
  1522. .pre {
  1523. padding: 1rem;
  1524. background-color: #fbfdff;
  1525. border: 1px solid #dfeffd;
  1526. white-space: normal;
  1527. font-size: 1.22rem;
  1528. line-height: 1.6;
  1529. color: #259fdc;
  1530. p {
  1531. margin: .5rem 0;
  1532. }
  1533. a {
  1534. color: #00669a;
  1535. &:hover {
  1536. color: #000000;
  1537. }
  1538. }
  1539. }
  1540. }
  1541. /* input滑块 */
  1542. input[type=range] {
  1543. outline: none;
  1544. -webkit-appearance: none;
  1545. background: -webkit-linear-gradient(#61bd12, #61bd12) no-repeat, #ddd;
  1546. height: 3px;
  1547. border-radius: 5px;
  1548. }
  1549. input[type=range]::-webkit-slider-thumb {
  1550. -webkit-appearance: none;
  1551. position: relative;
  1552. height: 15px;
  1553. width: 15px;
  1554. border: 1px solid #d3d3d3;
  1555. border-radius: 50%;
  1556. background: #fff;
  1557. cursor: pointer;
  1558. }
  1559. /* input滑块显示值 */
  1560. .display-value {
  1561. display: inline-block;
  1562. margin-left: .8rem;
  1563. }
  1564. /*分页*/
  1565. .pagination {
  1566. display: inline-block;
  1567. padding-left: 0;
  1568. margin: 20px 0;
  1569. border-radius: 4px;
  1570. & > li {
  1571. display: inline;
  1572. }
  1573. }
  1574. .pagination > li > a,
  1575. .pagination > li > span {
  1576. position: relative;
  1577. float: left;
  1578. padding: 4px 12px;
  1579. line-height: 1.42857143;
  1580. color: #23abf0;
  1581. text-decoration: none;
  1582. background-color: #fff;
  1583. border: 1px solid #ddd;
  1584. border-radius: 3px;
  1585. margin: 0 2px;
  1586. }
  1587. .theme-black .pagination > li > a,
  1588. .theme-black .pagination > li > span {
  1589. color: #fff;
  1590. padding: 6px 12px;
  1591. background: #3f4649;
  1592. border: none;
  1593. }
  1594. .pagination > li:first-child > a,
  1595. .pagination > li:first-child > span {
  1596. margin-left: 0;
  1597. border-top-left-radius: 4px;
  1598. border-bottom-left-radius: 4px;
  1599. }
  1600. .pagination > li:last-child > a,
  1601. .pagination > li:last-child > span {
  1602. border-top-right-radius: 4px;
  1603. border-bottom-right-radius: 4px;
  1604. }
  1605. .pagination > li > a:hover,
  1606. .pagination > li > span:hover,
  1607. .pagination > li > a:focus,
  1608. .pagination > li > span:focus {
  1609. z-index: 2;
  1610. color: #23527c;
  1611. background-color: #eee;
  1612. border-color: #ddd;
  1613. }
  1614. .pagination > .active > a,
  1615. .pagination > .active > span,
  1616. .pagination > .active > a:hover,
  1617. .pagination > .active > span:hover,
  1618. .pagination > .active > a:focus,
  1619. .pagination > .active > span:focus {
  1620. z-index: 3;
  1621. color: #fff;
  1622. cursor: default;
  1623. background-color: #23abf0;
  1624. border-color: #23abf0;
  1625. }
  1626. .theme-black .pagination > .active > a,
  1627. .theme-black .pagination > .active > span,
  1628. .theme-black .pagination > .active > a:hover,
  1629. .theme-black .pagination > .active > span:hover,
  1630. .theme-black .pagination > .active > a:focus,
  1631. .theme-black .pagination > .active > span:focus {
  1632. z-index: 3;
  1633. color: #fff;
  1634. cursor: default;
  1635. background-color: #23abf0;
  1636. border-color: #23abf0;
  1637. }
  1638. .pagination > .disabled > span,
  1639. .pagination > .disabled > span:hover,
  1640. .pagination > .disabled > span:focus,
  1641. .pagination > .disabled > a,
  1642. .pagination > .disabled > a:hover,
  1643. .pagination > .disabled > a:focus {
  1644. color: #777;
  1645. cursor: not-allowed;
  1646. background-color: #fff;
  1647. border-color: #ddd;
  1648. }
  1649. .pagination-lg > li > a,
  1650. .pagination-lg > li > span {
  1651. padding: 10px 16px;
  1652. font-size: 18px;
  1653. line-height: 1.3333333;
  1654. }
  1655. .pagination-lg > li:first-child > a,
  1656. .pagination-lg > li:first-child > span {
  1657. border-top-left-radius: 6px;
  1658. border-bottom-left-radius: 6px;
  1659. }
  1660. .pagination-lg > li:last-child > a,
  1661. .pagination-lg > li:last-child > span {
  1662. border-top-right-radius: 6px;
  1663. border-bottom-right-radius: 6px;
  1664. }
  1665. .pagination-sm > li > a,
  1666. .pagination-sm > li > span {
  1667. padding: 5px 10px;
  1668. font-size: 12px;
  1669. line-height: 1.5;
  1670. }
  1671. .pagination-sm > li:first-child > a,
  1672. .pagination-sm > li:first-child > span {
  1673. border-top-left-radius: 3px;
  1674. border-bottom-left-radius: 3px;
  1675. }
  1676. .pagination-sm > li:last-child > a,
  1677. .pagination-sm > li:last-child > span {
  1678. border-top-right-radius: 3px;
  1679. border-bottom-right-radius: 3px;
  1680. }
  1681. .pagination-total {
  1682. height: 32px;
  1683. margin-top: 20px;
  1684. margin-bottom: 20px;
  1685. .am-vertical-align-middle {
  1686. font-size: 1.4rem;
  1687. }
  1688. }
  1689. /* 搜索表单*/
  1690. .toolbar-form {
  1691. // 日期选择
  1692. input[data-am-datepicker] {
  1693. width: 200px;
  1694. }
  1695. .am-selected {
  1696. .am-btn-default {
  1697. color: #444;
  1698. background: none;
  1699. border-color: #c2cad8;
  1700. }
  1701. }
  1702. }
  1703. /* 表单页面*/
  1704. .am-form {
  1705. .form-require {
  1706. &::after {
  1707. content: "*";
  1708. color: #f00;
  1709. line-height: 18px;
  1710. }
  1711. }
  1712. .form-tab-group {
  1713. display: none;
  1714. &.active {
  1715. display: block;
  1716. }
  1717. }
  1718. .am-form-file {
  1719. padding-top: .3rem;
  1720. .upload-file {
  1721. font-size: 1.22rem;
  1722. padding: .5rem .9rem;
  1723. }
  1724. }
  1725. input[type=color] {
  1726. -webkit-appearance: square-button;
  1727. width: 5rem;
  1728. height: 2.2rem;
  1729. background-color: buttonface;
  1730. cursor: pointer;
  1731. border: 1px solid rgb(220, 220, 220);
  1732. border-image: initial;
  1733. padding: 0 2px;
  1734. }
  1735. input[type=text][disabled] {
  1736. background-color: initial;
  1737. }
  1738. .am-form-success {
  1739. .am-form-file {
  1740. [class*=icon-] {
  1741. color: #fff;
  1742. }
  1743. }
  1744. }
  1745. // 表单组
  1746. .am-input-group {
  1747. .tpl-form-line-form input[type=number],
  1748. .tpl-form-line-form input[type=search],
  1749. .tpl-form-line-form input[type=text],
  1750. .tpl-form-line-form input[type=password],
  1751. .tpl-form-line-form input[type=datetime],
  1752. .tpl-form-line-form input[type=datetime-local],
  1753. .tpl-form-line-form input[type=date],
  1754. .tpl-form-line-form input[type=month],
  1755. .tpl-form-line-form input[type=time],
  1756. .tpl-form-line-form input[type=week],
  1757. .tpl-form-line-form input[type=email],
  1758. .tpl-form-line-form input[type=url],
  1759. .tpl-form-line-form input[type=tel],
  1760. .tpl-form-line-form input[type=color],
  1761. .tpl-form-line-form select,
  1762. .tpl-form-line-form textarea,
  1763. .am-form-field {
  1764. border: 1px solid #ccc;
  1765. height: 35px;
  1766. }
  1767. &.am-form-group {
  1768. margin-bottom: 0;
  1769. }
  1770. .am-input-group-label {
  1771. height: 35px;
  1772. line-height: 1;
  1773. background-color: #f5f7fa;
  1774. border: 1px solid #dcdfe6;
  1775. color: #909399;
  1776. font-size: 13px;
  1777. border-radius: 4px;
  1778. &.am-input-group-label__left {
  1779. border-top-right-radius: 0;
  1780. border-bottom-right-radius: 0;
  1781. border-right: none;
  1782. }
  1783. &.am-input-group-label__right {
  1784. border-top-left-radius: 0;
  1785. border-bottom-left-radius: 0;
  1786. border-left: none;
  1787. }
  1788. &.am-input-group-label__center {
  1789. border-radius: 0;
  1790. border-left: none;
  1791. border-right: none;
  1792. }
  1793. &.am-input-group-label__none {
  1794. background: none;
  1795. border: none;
  1796. border-radius: 0;
  1797. }
  1798. .am-checkbox-inline {
  1799. padding-top: 0;
  1800. font-size: 13px;
  1801. .am-ucheck-icons {
  1802. line-height: 1.2;
  1803. }
  1804. }
  1805. }
  1806. }
  1807. // 文件上传域
  1808. .am-form-file input[type=file] {
  1809. width: auto;
  1810. font-size: unset;
  1811. background: #000;
  1812. line-height: 110px;
  1813. }
  1814. }
  1815. .am-field-valid:focus,
  1816. .am-form-success .am-form-field:focus {
  1817. box-shadow: none !important;
  1818. -webkit-box-shadow: none !important;
  1819. }
  1820. .am-form-success {
  1821. label {
  1822. color: #656565 !important;
  1823. }
  1824. [class*=icon-] {
  1825. }
  1826. }
  1827. .am-field-valid {
  1828. & + .am-ucheck-icons {
  1829. color: #999;
  1830. }
  1831. }
  1832. .am-form small,
  1833. .help-block small {
  1834. color: #838fa1;
  1835. font-size: 1.2rem;
  1836. }
  1837. /* 图片上传*/
  1838. .uploader-list {
  1839. user-select: none;
  1840. .file-item {
  1841. float: left;
  1842. min-width: 110px;
  1843. position: relative;
  1844. margin: 20px 25px 0 0;
  1845. padding: 4px;
  1846. border: 1px solid #ddd;
  1847. background: #fff;
  1848. img {
  1849. height: 100px;
  1850. }
  1851. .error {
  1852. position: absolute;
  1853. top: 4px;
  1854. left: 4px;
  1855. right: 4px;
  1856. background: red;
  1857. color: white;
  1858. text-align: center;
  1859. height: 20px;
  1860. font-size: 1.3rem;
  1861. line-height: 23px;
  1862. }
  1863. &:hover {
  1864. .file-item-delete {
  1865. display: block;
  1866. }
  1867. }
  1868. .file-item-delete {
  1869. position: absolute;
  1870. top: -10px;
  1871. right: -10px;
  1872. cursor: pointer;
  1873. height: 22px;
  1874. width: 22px;
  1875. line-height: 22px;
  1876. background: rgba(153, 153, 153, 0.7);
  1877. border-radius: 50%;
  1878. text-align: center;
  1879. color: #fff !important;
  1880. display: none;
  1881. &:hover {
  1882. background: #000;
  1883. }
  1884. }
  1885. }
  1886. }
  1887. /* dad.css */
  1888. .dad-noSelect,
  1889. .dad-noSelect * {
  1890. -webkit-touch-callout: none;
  1891. -webkit-user-select: none;
  1892. -moz-user-select: none;
  1893. -ms-user-select: none;
  1894. user-select: none;
  1895. cursor: -webkit-grabbing !important;
  1896. cursor: -moz-grabbing !important;
  1897. }
  1898. .dad-container {
  1899. position: relative;
  1900. -webkit-touch-callout: none;
  1901. -webkit-user-select: none;
  1902. -moz-user-select: none;
  1903. -ms-user-select: none;
  1904. user-select: none;
  1905. &::after {
  1906. content: '';
  1907. clear: both !important;
  1908. display: block;
  1909. }
  1910. }
  1911. .dad-active {
  1912. .dad-draggable-area {
  1913. cursor: -webkit-grab;
  1914. cursor: -moz-grab;
  1915. }
  1916. }
  1917. .dad-draggable-area > *,
  1918. .dad-draggable-area img {
  1919. pointer-events: none;
  1920. }
  1921. .dads-children {
  1922. &.active {
  1923. pointer-events: none;
  1924. }
  1925. }
  1926. .dads-children-clone {
  1927. opacity: 1;
  1928. z-index: 9999;
  1929. pointer-events: none;
  1930. }
  1931. .dads-children-placeholder {
  1932. pointer-events: none;
  1933. overflow: hidden;
  1934. position: absolute !important;
  1935. box-sizing: border-box;
  1936. border: 4px dashed #639bf6;
  1937. margin: 5px;
  1938. text-align: center;
  1939. color: #639bf6;
  1940. font-weight: bold;
  1941. }
  1942. /* 运费规则页面*/
  1943. .add-region {
  1944. .iconfont {
  1945. vertical-align: middle;
  1946. }
  1947. }
  1948. .regional-table {
  1949. p {
  1950. margin: 0;
  1951. }
  1952. .operation {
  1953. text-align: right;
  1954. a {
  1955. margin: 0 3px;
  1956. }
  1957. }
  1958. td {
  1959. vertical-align: middle !important;
  1960. }
  1961. }
  1962. /* 运费规则--区域弹窗*/
  1963. /* 地域选择样式*/
  1964. .regional-choice {
  1965. display: none;
  1966. user-select: none;
  1967. }
  1968. .layui-layer {
  1969. z-index: 2000;
  1970. }
  1971. .layui-layer-content {
  1972. .regional-choice {
  1973. display: block !important;
  1974. }
  1975. }
  1976. .checkbtn {
  1977. a {
  1978. font-size: 1.4rem;
  1979. color: #333;
  1980. text-decoration: none;
  1981. cursor: pointer;
  1982. }
  1983. }
  1984. .fr {
  1985. float: right;
  1986. }
  1987. .clearfloat {
  1988. zoom: 1;
  1989. &:after {
  1990. display: block;
  1991. clear: both;
  1992. content: "";
  1993. visibility: hidden;
  1994. height: 0;
  1995. }
  1996. }
  1997. .place-div {
  1998. label {
  1999. font-weight: 400;
  2000. font-size: 1.4rem;
  2001. }
  2002. input[type=checkbox] {
  2003. margin-right: .3rem;
  2004. }
  2005. & > div {
  2006. width: 100%;
  2007. padding: 10px 30px;
  2008. }
  2009. .checkbtn {
  2010. background-color: #fbfbfb;
  2011. text-align: right;
  2012. img {
  2013. height: 10px;
  2014. margin-left: 3px;
  2015. }
  2016. .ri {
  2017. border-right: none;
  2018. }
  2019. a {
  2020. height: 30px;
  2021. line-height: 30px;
  2022. display: inline-block;
  2023. width: 60px;
  2024. text-align: center;
  2025. }
  2026. }
  2027. .smallplace {
  2028. .ratio {
  2029. color: red;
  2030. }
  2031. label {
  2032. padding-right: 10px;
  2033. text-align: left;
  2034. width: auto;
  2035. float: left;
  2036. cursor: pointer;
  2037. }
  2038. .citys {
  2039. width: auto;
  2040. background-color: #fff;
  2041. position: absolute;
  2042. top: 35px;
  2043. border: 1px solid #ccc;
  2044. z-index: 100;
  2045. visibility: hidden;
  2046. & > i {
  2047. &.jt {
  2048. width: 0;
  2049. height: 0;
  2050. border-left: 8px solid transparent;
  2051. border-right: 8px solid transparent;
  2052. border-bottom: 10px solid #ccc;
  2053. position: absolute;
  2054. top: -10px;
  2055. left: 20px;
  2056. i {
  2057. width: 0;
  2058. height: 0;
  2059. border-left: 8px solid transparent;
  2060. border-right: 8px solid transparent;
  2061. border-bottom: 10px solid #fff;
  2062. position: absolute;
  2063. top: 2px;
  2064. left: -8px;
  2065. }
  2066. }
  2067. }
  2068. .row-div {
  2069. min-width: 250px;
  2070. padding: 10px;
  2071. box-sizing: border-box;
  2072. label {
  2073. span {
  2074. max-width: 175px;
  2075. white-space: nowrap;
  2076. vertical-align: middle;
  2077. font-size: 1.4rem;
  2078. }
  2079. }
  2080. p {
  2081. }
  2082. }
  2083. }
  2084. .place-tooltips {
  2085. &:hover {
  2086. .citys {
  2087. visibility: visible;
  2088. }
  2089. }
  2090. }
  2091. p {
  2092. float: left;
  2093. width: auto;
  2094. margin: 2px 0;
  2095. }
  2096. & > div {
  2097. float: left;
  2098. width: 170px;
  2099. margin: 0;
  2100. padding-bottom: 10px;
  2101. padding-top: 5px;
  2102. position: relative;
  2103. }
  2104. }
  2105. }
  2106. .show-place-div {
  2107. margin-left: 85px;
  2108. font-size: 15px;
  2109. .smallplace {
  2110. label {
  2111. min-width: 105px;
  2112. width: auto;
  2113. }
  2114. input {
  2115. margin-left: 0;
  2116. }
  2117. .citys {
  2118. .row-div {
  2119. p {
  2120. margin: 5px 0 10px 0;
  2121. }
  2122. }
  2123. }
  2124. }
  2125. }
  2126. /* 添加商品页 */
  2127. /* 订单列表 */
  2128. .order-list {
  2129. .am-table {
  2130. tr {
  2131. border: 1px solid #ddd;
  2132. td {
  2133. font-size: 1.3rem;
  2134. border-right: 1px solid #ddd;
  2135. }
  2136. }
  2137. p {
  2138. margin: 0;
  2139. padding: 0.1rem 0;
  2140. }
  2141. .tpl-table-black-operation {
  2142. a {
  2143. display: block;
  2144. padding: 5px 6px;
  2145. margin: 10px 6px;
  2146. }
  2147. }
  2148. /* 分销商 */
  2149. .dealer {
  2150. font-size: 1.2rem;
  2151. .dealer-item span {
  2152. display: inline-block;
  2153. min-width: 6rem;
  2154. }
  2155. }
  2156. }
  2157. }
  2158. .order-list .am-table tr.order-empty,
  2159. .order-list .am-table tr.order-empty td {
  2160. border: none;
  2161. }
  2162. /* 商品详情 */
  2163. .goods-detail {
  2164. min-width: 320px;
  2165. & > div {
  2166. float: left;
  2167. }
  2168. .goods-image {
  2169. margin-right: 0.6rem;
  2170. img {
  2171. width: 72px;
  2172. height: 72px;
  2173. }
  2174. }
  2175. .goods-info {
  2176. width: 220px;
  2177. height: 72px;
  2178. p {
  2179. display: block;
  2180. white-space: normal;
  2181. margin: 0 0 0.3rem 0;
  2182. padding: 0 0.5rem;
  2183. font-size: 1.3rem;
  2184. text-align: left;
  2185. &.goods-title {
  2186. max-height: 40px;
  2187. overflow: hidden;
  2188. text-overflow: ellipsis;
  2189. display: -webkit-box;
  2190. -webkit-box-orient: vertical;
  2191. -webkit-line-clamp: 2;
  2192. text-align: left !important;
  2193. white-space: normal;
  2194. }
  2195. }
  2196. .goods-spec {
  2197. border: none;
  2198. font-size: 1.2rem;
  2199. }
  2200. }
  2201. }
  2202. /* 用户详情 */
  2203. .user-detail {
  2204. min-width: 180px;
  2205. .user-avatar {
  2206. float: left;
  2207. margin-right: 14px;
  2208. img {
  2209. width: 72px;
  2210. height: 72px;
  2211. }
  2212. }
  2213. .detail-info {
  2214. height: 72px;
  2215. float: left;
  2216. text-align: left;
  2217. max-width: 250px;
  2218. }
  2219. }
  2220. /* 订单详情 */
  2221. .widget__order-detail {
  2222. .order-detail-progress {
  2223. height: 26px;
  2224. line-height: 26px;
  2225. background: #f8f8f8;
  2226. border-radius: 13px;
  2227. font-size: 14px;
  2228. text-align: center;
  2229. position: relative;
  2230. margin-bottom: 70px;
  2231. &:before, &:after {
  2232. content: "";
  2233. position: absolute;
  2234. z-index: 2;
  2235. left: 0;
  2236. top: 0;
  2237. bottom: 0;
  2238. border-radius: 13px;
  2239. background: #54aff5;
  2240. }
  2241. &:after {
  2242. background: #8ccdff;
  2243. z-index: 1;
  2244. }
  2245. &.progress-1 {
  2246. &:before {
  2247. width: 0;
  2248. }
  2249. &:after {
  2250. width: 20%;
  2251. }
  2252. }
  2253. &.progress-2 {
  2254. &:before {
  2255. width: 20%;
  2256. }
  2257. &:after {
  2258. width: 40%;
  2259. }
  2260. }
  2261. &.progress-3 {
  2262. &:before {
  2263. width: 40%;
  2264. }
  2265. &:after {
  2266. width: 60%;
  2267. }
  2268. }
  2269. &.progress-4 {
  2270. &:before {
  2271. width: 60%;
  2272. }
  2273. &:after {
  2274. width: 80%;
  2275. }
  2276. }
  2277. &.progress-5 {
  2278. &:before {
  2279. width: 100%;
  2280. }
  2281. &:after {
  2282. width: 100%;
  2283. }
  2284. li {
  2285. &:nth-child(5) {
  2286. color: #fff;
  2287. }
  2288. }
  2289. }
  2290. li {
  2291. width: 20%;
  2292. float: left;
  2293. border-radius: 13px;
  2294. position: relative;
  2295. z-index: 3;
  2296. }
  2297. .tip {
  2298. font-size: 12px;
  2299. padding-top: 10px;
  2300. color: #8c8c8c;
  2301. }
  2302. &.progress-1 li:nth-child(1),
  2303. &.progress-2 li:nth-child(1),
  2304. &.progress-3 li:nth-child(1),
  2305. &.progress-4 li:nth-child(1),
  2306. &.progress-5 li:nth-child(1) {
  2307. color: #fff;
  2308. }
  2309. &.progress-2 li:nth-child(2),
  2310. &.progress-3 li:nth-child(2),
  2311. &.progress-4 li:nth-child(2),
  2312. &.progress-5 li:nth-child(2) {
  2313. color: #fff;
  2314. }
  2315. &.progress-3 li:nth-child(3),
  2316. &.progress-4 li:nth-child(3),
  2317. &.progress-5 li:nth-child(3) {
  2318. color: #fff;
  2319. }
  2320. &.progress-4 li:nth-child(4),
  2321. &.progress-5 li:nth-child(4) {
  2322. color: #fff;
  2323. }
  2324. }
  2325. .td__order-price {
  2326. width: 200px;
  2327. display: inline-block;
  2328. }
  2329. }
  2330. /* 文件库 */
  2331. .file-library {
  2332. .layui-layer-title {
  2333. background-color: #fff;
  2334. border-bottom: none;
  2335. font-size: 1.6rem;
  2336. font-weight: 500;
  2337. }
  2338. .layui-layer-content {
  2339. padding: 0 1rem;
  2340. user-select: none;
  2341. .file-group {
  2342. float: left;
  2343. width: 150px;
  2344. padding-top: 20px;
  2345. .nav-new {
  2346. overflow-y: auto;
  2347. max-height: 340px;
  2348. li {
  2349. position: relative;
  2350. margin: .3rem 0;
  2351. padding: .8rem 2.3rem;
  2352. a {
  2353. i.iconfont {
  2354. font-size: 1.4rem;
  2355. }
  2356. &.group-name {
  2357. color: #595961;
  2358. font-size: 1.3rem;
  2359. }
  2360. &.group-edit {
  2361. display: none;
  2362. position: absolute;
  2363. left: .6rem;
  2364. }
  2365. &.group-delete {
  2366. display: none;
  2367. position: absolute;
  2368. right: .6rem;
  2369. }
  2370. }
  2371. &:hover, &.active {
  2372. background: rgba(48, 145, 242, .1);
  2373. border-radius: 6px;
  2374. .group-name {
  2375. color: #0e90d2;
  2376. }
  2377. }
  2378. &:hover {
  2379. .group-edit, .group-delete {
  2380. display: inline;
  2381. }
  2382. }
  2383. }
  2384. }
  2385. a.group-add {
  2386. display: block;
  2387. margin-top: 1.8rem;
  2388. font-size: 1.2rem;
  2389. padding: 0 2.3rem;
  2390. }
  2391. }
  2392. .file-list {
  2393. float: left;
  2394. .v-box-header {
  2395. padding: 0 2rem 0 1rem;
  2396. margin-bottom: 10px;
  2397. .h-left {
  2398. .tpl-table-black-operation {
  2399. margin: 0 1rem;
  2400. a {
  2401. padding: 6px 10px;
  2402. }
  2403. }
  2404. .am-dropdown-toggle {
  2405. font-size: 1.2rem;
  2406. }
  2407. .am-dropdown-content a {
  2408. font-size: 1.3rem;
  2409. }
  2410. }
  2411. .h-rigth {
  2412. .upload-image .iconfont {
  2413. font-size: 1.2rem;
  2414. }
  2415. }
  2416. }
  2417. }
  2418. .v-box-body {
  2419. width: 660px;
  2420. ul.file-list-item {
  2421. overflow-y: auto;
  2422. height: 380px;
  2423. li {
  2424. position: relative;
  2425. cursor: pointer;
  2426. border-radius: 6px;
  2427. padding: 10px;
  2428. border: 1px solid rgba(0, 0, 0, .05);
  2429. float: left;
  2430. margin: 10px;
  2431. @include transition(All 0.2s ease-in-out);
  2432. &:hover {
  2433. border: 1px solid #16bce2;
  2434. }
  2435. .img-cover {
  2436. width: 120px;
  2437. height: 120px;
  2438. background: no-repeat center center / 100%;
  2439. }
  2440. p {
  2441. &.file-name {
  2442. margin: 5px 0 0 0;
  2443. width: 120px;
  2444. font-size: 1.3rem;
  2445. }
  2446. }
  2447. &.active .select-mask {
  2448. display: block;
  2449. }
  2450. .select-mask {
  2451. display: none;
  2452. position: absolute;
  2453. top: 0;
  2454. bottom: 0;
  2455. left: 0;
  2456. right: 0;
  2457. background: rgba(0, 0, 0, .5);
  2458. text-align: center;
  2459. border-radius: 6px;
  2460. img {
  2461. position: absolute;
  2462. top: 50px;
  2463. left: 45px;
  2464. }
  2465. }
  2466. }
  2467. }
  2468. ul.pagination {
  2469. margin: 0;
  2470. & > li > {
  2471. a, span {
  2472. padding: .3rem .9rem;
  2473. font-size: 1.3rem;
  2474. }
  2475. }
  2476. }
  2477. }
  2478. .v-box-footer {
  2479. }
  2480. }
  2481. }
  2482. /* 文件上传按钮 */
  2483. .webuploader-container {
  2484. position: relative;
  2485. }
  2486. .webuploader-element-invisible {
  2487. position: absolute !important;
  2488. clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  2489. clip: rect(1px, 1px, 1px, 1px);
  2490. }
  2491. .webuploader-pick {
  2492. color: #2589ff;
  2493. background-color: #fff;
  2494. border-color: #2589ff;
  2495. font-size: 12px;
  2496. border-radius: 4px;
  2497. outline: 0;
  2498. font-weight: 400;
  2499. padding: .6em 1em;
  2500. outline: none !important;
  2501. }
  2502. .webuploader-pick-hover {
  2503. background: #2589ff;
  2504. color: #fff;
  2505. }
  2506. .webuploader-pick-disable {
  2507. opacity: 0.6;
  2508. pointer-events: none;
  2509. }
  2510. // select-data
  2511. body.select-data {
  2512. background: unset;
  2513. padding: 1rem;
  2514. }
  2515. // 小程序页面链接
  2516. .link-list {
  2517. padding-bottom: 1rem;
  2518. p {
  2519. margin: 0;
  2520. }
  2521. .link-item {
  2522. padding: .8rem 2rem;
  2523. border-bottom: 1px dashed #eee;
  2524. .row {
  2525. margin: .4rem 0;
  2526. font-size: 1.22rem;
  2527. &.page-name {
  2528. font-size: 1.4rem;
  2529. color: #259fdc;
  2530. }
  2531. }
  2532. }
  2533. }
  2534. /* tap切换 */
  2535. .am-tabs {
  2536. .am-tabs-nav {
  2537. border-bottom-color: #efefef;
  2538. li {
  2539. a {
  2540. background: none;
  2541. border: none;
  2542. margin: 0 10px;
  2543. padding: .7em 1em;
  2544. font-size: 1.4rem;
  2545. color: #555;
  2546. border-bottom: 2px solid transparent;
  2547. &:hover, &:focus {
  2548. color: #52abff;
  2549. }
  2550. }
  2551. &.am-active > a, a:hover, a:focus {
  2552. background: none;
  2553. border: none;
  2554. }
  2555. &.am-active > a {
  2556. border-bottom: 2px solid #52abff;
  2557. }
  2558. }
  2559. }
  2560. .am-tabs-bd {
  2561. border: none;
  2562. }
  2563. }
  2564. /* 分销海报设置 */
  2565. [v-cloak] {
  2566. display: none !important;
  2567. }
  2568. .poster-pannel {
  2569. .poster-preview {
  2570. width: 377px;
  2571. height: auto;
  2572. min-height: 500px;
  2573. margin: 0 auto;
  2574. border: 1px solid #ccc;
  2575. position: relative;
  2576. img {
  2577. display: block;
  2578. width: 100%;
  2579. height: auto;
  2580. }
  2581. .drag {
  2582. position: absolute;
  2583. cursor: pointer;
  2584. user-select: none;
  2585. white-space: nowrap;
  2586. top: 0;
  2587. &.pre-avatar {
  2588. width: 70px;
  2589. height: 70px;
  2590. &.circle img {
  2591. border-radius: 100%;
  2592. }
  2593. }
  2594. &.pre-nickName {
  2595. font-size: 14px;
  2596. line-height: 1;
  2597. span {
  2598. display: block;
  2599. }
  2600. }
  2601. &.pre-qrcode {
  2602. width: 100px;
  2603. height: 100px;
  2604. &.circle img {
  2605. border-radius: 100%;
  2606. }
  2607. }
  2608. }
  2609. }
  2610. .pannel__right {
  2611. min-width: 500px;
  2612. max-width: 800px;
  2613. input[type=color] {
  2614. display: inline-block;
  2615. -webkit-appearance: square-button;
  2616. width: 65px;
  2617. height: 30px;
  2618. background-color: #ffffff;
  2619. border: 1px solid #efefef;
  2620. padding: 0 4px;
  2621. margin: 1px 0;
  2622. cursor: pointer;
  2623. }
  2624. }
  2625. }
  2626. /* jstree 插件 */
  2627. .jstree {
  2628. font-size: 1.2rem;
  2629. &.jstree-default .jstree-clicked {
  2630. background: transparent;
  2631. box-shadow: none;
  2632. }
  2633. }
  2634. /* 多规格商品sku信息表格 */
  2635. .spec-sku-tabel {
  2636. input {
  2637. display: inline-block !important;
  2638. }
  2639. }
  2640. /**
  2641. * 文本格式化,超出范围,显示省略号
  2642. */
  2643. @mixin line-clamp($lines, $line-height: 1.3rem) {
  2644. text-overflow: ellipsis;
  2645. display: -webkit-box;
  2646. -webkit-box-orient: vertical;
  2647. -webkit-line-clamp: $lines; // number of lines to show
  2648. overflow: hidden;
  2649. line-height: $line-height;
  2650. max-height: $line-height * $lines;
  2651. }
  2652. /**
  2653. * 省市区三级联动菜单
  2654. */
  2655. .x-region-select {
  2656. margin-bottom: -1rem;
  2657. select {
  2658. display: inline-block;
  2659. width: auto;
  2660. padding-right: 2rem;
  2661. min-width: 10rem;
  2662. margin-right: 1rem;
  2663. margin-bottom: 1rem;
  2664. }
  2665. }
  2666. /* 数据统计 */
  2667. .page-statistics-data {
  2668. .widget {
  2669. padding: 10px 20px 25px;
  2670. .widget-head {
  2671. margin-top: 0;
  2672. margin-bottom: 10px;
  2673. border-bottom: none;
  2674. }
  2675. .widget-body {
  2676. padding: 0;
  2677. }
  2678. }
  2679. .widget-body-center {
  2680. width: auto;
  2681. max-width: 1700px;
  2682. margin: 0 auto;
  2683. }
  2684. // 数据概况
  2685. .widget-survey {
  2686. .widget-head {
  2687. padding: 15px 20px;
  2688. margin-bottom: 20px;
  2689. .widget-title {
  2690. position: absolute;
  2691. font-size: 1.5rem;
  2692. }
  2693. }
  2694. // 筛选条件
  2695. .widget-screen {
  2696. width: 530px;
  2697. margin: 0 auto;
  2698. padding-top: 10px;
  2699. .widget-screen_shortcut {
  2700. height: 34px;
  2701. line-height: 34px;
  2702. margin-left: 20px;
  2703. .shortcut-days {
  2704. font-size: 14px;
  2705. .shortcut-days_item {
  2706. padding: 0 5px;
  2707. a {
  2708. color: #303133;
  2709. &:hover {
  2710. color: #409EFF;
  2711. }
  2712. }
  2713. .shortcut-days_item.item-clear a {
  2714. color: #9c9c9c;
  2715. }
  2716. }
  2717. }
  2718. }
  2719. }
  2720. }
  2721. // 实时概况
  2722. .widget-outline {
  2723. width: 400px;
  2724. height: 117px;
  2725. padding: 20px;
  2726. margin: 0 auto 0 auto;
  2727. flex-basis: 50%;
  2728. .outline-left {
  2729. margin-right: 30px;
  2730. img {
  2731. width: 58px;
  2732. height: 58px;
  2733. }
  2734. }
  2735. .outline-right {
  2736. flex-basis: 50%;
  2737. }
  2738. .item-name {
  2739. color: rgb(102, 102, 102);
  2740. font-size: 1.3rem;
  2741. }
  2742. .item-value {
  2743. color: rgb(51, 51, 51);
  2744. font-size: 2.4rem;
  2745. }
  2746. }
  2747. // 七天交易走势
  2748. .widget-echarts {
  2749. height: 400px;
  2750. width: 100%;
  2751. }
  2752. // 排行榜
  2753. .widget-ranking {
  2754. table tr {
  2755. height: 47px;
  2756. }
  2757. .ranking-img img {
  2758. width: 32px;
  2759. height: 32px;
  2760. }
  2761. .ranking-item-title {
  2762. max-width: 350px;
  2763. }
  2764. }
  2765. }
  2766. .yxs-date-editor {
  2767. .el-range-separator {
  2768. box-sizing: unset;
  2769. }
  2770. }
  2771. // 日期选择
  2772. .yxs-date-editor2 {
  2773. width: 400px;
  2774. color: #606266;
  2775. border-radius: 4px;
  2776. border: 1px solid #DCDFE6;
  2777. padding: 3px 10px;
  2778. .yxs-date__icon {
  2779. font-size: 14px;
  2780. line-height: 24px;
  2781. color: #C0C4CC;
  2782. height: 100%;
  2783. width: 25px;
  2784. text-align: center;
  2785. }
  2786. .yxs-date__input {
  2787. font-size: 13px;
  2788. line-height: 1;
  2789. -webkit-appearance: none;
  2790. -moz-appearance: none;
  2791. border: none;
  2792. outline: 0;
  2793. padding: 0;
  2794. width: 39%;
  2795. color: #606266;
  2796. height: 100%;
  2797. margin: 0;
  2798. text-align: center;
  2799. display: inline-block;
  2800. vertical-align: unset !important;
  2801. }
  2802. .yxs-date__separator {
  2803. line-height: 24px;
  2804. font-size: 13px;
  2805. width: 5%;
  2806. color: #303133;
  2807. height: 100%;
  2808. margin: 0;
  2809. text-align: center;
  2810. display: inline-block;
  2811. }
  2812. }