From 7867dfdfff304e907ecdbd278fc2a16d1aced8f2 Mon Sep 17 00:00:00 2001 From: Jason <1432334894@qq.com> Date: Tue, 2 Aug 2022 17:14:57 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B5=E5=95=86=E5=90=8E=E5=8F=B0=E9=9D=99?= =?UTF-8?q?=E6=80=81=E9=A1=B5=E9=9D=A2=E5=8F=8A=E4=BA=A4=E4=BA=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- control/tpl.php | 36 ++++ view/css/admin_style.css | 71 +++++++ view/css/common.css | 22 ++- view/font/icomoon.eot | Bin 9856 -> 10448 bytes view/font/icomoon.svg | 4 +- view/font/icomoon.ttf | Bin 9692 -> 10284 bytes view/font/icomoon.woff | Bin 9768 -> 10360 bytes view/js/clipboard.min.js | 7 + view/js/demo3.json | 68 +++++++ view/templates/include/admin_leftmenu.html | 8 +- view/templates/tpl/deliver_remind.html | 306 +++++++++++++++++++++++++++++ view/templates/tpl/home.html | 78 -------- 12 files changed, 510 insertions(+), 90 deletions(-) create mode 100644 view/js/clipboard.min.js create mode 100644 view/js/demo3.json create mode 100644 view/templates/tpl/deliver_remind.html diff --git a/control/tpl.php b/control/tpl.php index e6d7ee9..a89a5e7 100644 --- a/control/tpl.php +++ b/control/tpl.php @@ -12,5 +12,41 @@ class tpl extends publicBase { * @return void */ public function home() { + $this->view['menu_page'] = 'home'; + } + + /** + * 发货提醒 + */ + public function deliver_remind() { + $this->view['menu_page'] = 'deliver_remind'; + } + + public function ajax_get_order_list() { + $data = array(); + $page = $this->get('page')+0; + $limit = $this->get('limit')+0; + for($i=0;$i < 10;$i++){ + $vals = array( + "goods_name" => "万方查重毕业论文检测大学生文章专科本科系万方查重毕业论文检测大学生文章专科本科系万方查重毕业论文检测大学生文章专科本科系", + "tid" => "43565765786867898".$i, + "count_down" => "倒计时:10:09:23", + 'sale_date' => date('Y-m-d H:i:s', time()+($i*8)), + 'remained_time' => date('Y-m-d H:i:s', time()+($i*88)), + "income" => "999.09", + "status" => "1" + ); + if($i % 2 == 0) { + $vals['count_down'] = date('Y-m-d H:i:s', time()+$i); + $vals['status'] = 0; + } + + $data[] = $vals; + } + + $reture_data['data'] = $data; + $reture_data['total'] = 300; + + $this->ajax_json(true, '', $reture_data); } } diff --git a/view/css/admin_style.css b/view/css/admin_style.css index 8033e7e..f83ede9 100644 --- a/view/css/admin_style.css +++ b/view/css/admin_style.css @@ -392,4 +392,75 @@ body{ padding-right: 0px !important; min-width: 207px !important; } + } + .admin-index-top-item-header{ + width: 100%; + height: 46px; + line-height: 46px; + padding-left: 12px; + padding-right: 12px; + color: rgba(0, 0, 0, 0.65); + font-size: 16px; + font-family: PingFangSC-Regular; + text-align: left; + white-space: nowrap; + box-sizing: border-box; + } + .admin-index-top-item-header-line{ + width: 100%; + height: 1px; + background-color: rgba(232, 232, 232, 1); + } + .admin-index-top-item-header-left{ + display: block; + float: left; + height: 100%; + width: auto; + } + .admin-index-top-item-header-left li{ + display: inline-block; + float: left; + font-size: 16px; + font-family: PingFangSC-Regular; + color: rgba(0,0,0,0.65); + margin-right: 64px; + cursor: pointer; + } + .admin-index-top-item-header-left li.active{ + font-family: PingFangSC-Medium !important; + color: #1890FF !important; + position: relative; + } + .admin-index-top-item-header-left li.active::after{ + content: ''; + width: 100%; + height: 2px; + border-radius: 1px; + background: #1890FF; + display: block; + } + .admin-index-top-item-header-right{ + display: block; + float: right; + height: 100%; + width: auto; + } + .admin-index-top-item-header-right li{ + display: inline-block; + float: left; + margin-left: 24px; + line-height: 55px; + font-size: 14px; + font-family: PingFangSC-Regular; + color: #595959; + cursor: pointer; + } + .admin-index-top-item-header-right li.active{ + color: #1890FF !important; + } + #admin-map-container{ + width: 100%; + box-sizing: border-box; + height: 325px; + overflow: hidden; } \ No newline at end of file diff --git a/view/css/common.css b/view/css/common.css index 62d9ac9..511546a 100644 --- a/view/css/common.css +++ b/view/css/common.css @@ -1,10 +1,10 @@ @font-face { font-family: 'icomoon'; - src: url('/font/icomoon.eot?myxkk3'); - src: url('/font/icomoon.eot?myxkk3#iefix') format('embedded-opentype'), - url('/font/icomoon.ttf?myxkk3') format('truetype'), - url('/font/icomoon.woff?myxkk3') format('woff'), - url('/font/icomoon.svg?myxkk3#icomoon') format('svg'); + src: url('/font/icomoon.eot?j9lv8n'); + src: url('/font/icomoon.eot?j9lv8n#iefix') format('embedded-opentype'), + url('/font/icomoon.ttf?j9lv8n') format('truetype'), + url('/font/icomoon.woff?j9lv8n') format('woff'), + url('/font/icomoon.svg?j9lv8n#icomoon') format('svg'); font-weight: normal; font-style: normal; font-display: block; @@ -34,7 +34,7 @@ color: #1890ff; } .icon--8:before { - content: "\e90e"; + content: "\e912"; color: #fff; } .icon-1-2:before { @@ -69,6 +69,14 @@ content: "\e911"; color: #fff; } +.icon-uniE90E:before { + content: "\e90e"; + color: #1890ff; +} +.icon--3:before { + content: "\e913"; + color: #f21019; +} .icon-uniE9001:before { content: "\e907"; color: #c4c7cc; @@ -96,4 +104,4 @@ .icon-uniE900:before { content: "\e901"; color: #c4c7cc; -} \ No newline at end of file +} diff --git a/view/font/icomoon.eot b/view/font/icomoon.eot index 282cb778cc2b62cf73e7e9cbbb1741065a745fdb..60b6d6416a4da23e82eacecf55cc0ff01c6a416d 100644 GIT binary patch delta 618 zcmW+y&1(}u6n~Q)H`DI6ncYoxlc;ERlQg9w+a_5*>K9%t6~Xin5Gfj(#vF_d7-&!= zp@;}x46BFc;K_?1cnE?PQSj7L3H}3m5fnWrC=^;#-(+Ck`+dDPFzrkIg51vl9LaQK zj~3cnYn^ke+D`y@hxhtYtyH&)pSqpR1Ffg24bftOO21vWeXKJNp9nt|0c^UcPTcz6a`uxZa^85J4 zgZj$t21w{YMio9tl)UoGrE3K$_4*0Ffi-^;)LYf!~*fKOEV^(kf|5f(+y`} zV60$ZP~4G`nwVm!;qT4BplkqCXO;mJ5Z^3(49L#_@>Mc&ODf``nazOw9w0v=CqFsS zeV@G%kpBe8*UL?;C}2=w0?Mn10Qm}eiMgpWy*PgZ`6fU++6wZEOBk4eG7PF9cPKD0 zvoIcZ){<1kz+JZxw5u}uXVUzWu>Ue&euMFHQVE%nx zR*-WTK=foAHFHL>$t7wY0?aS||7WpaU}Q06U=;qyz%coWnmYdh-V{D2fjdCeAj8Bq J^Qj+V1OO2RM=k&W diff --git a/view/font/icomoon.svg b/view/font/icomoon.svg index d00d82a..7d863b8 100644 --- a/view/font/icomoon.svg +++ b/view/font/icomoon.svg @@ -21,8 +21,10 @@ - + + + \ No newline at end of file diff --git a/view/font/icomoon.ttf b/view/font/icomoon.ttf index 7fa868102ede363a6d510df5d509b199683df814..9a8b334af8b96a037440d6ff5f6f35f566af2546 100644 GIT binary patch delta 617 zcmW-e&ubG=5Xa|bpPLtV+x?a7u0hf4HmRkc+x$|gKhTTP3br)_M2lJ4COI@V(0~z< zRuM0HP*)Gl!M~v3AqZLo#giu~o&`N9D2gDcm)4E*GO#oA`F>~iJ$N4`*QZv10DuIm zAb@x7{K2fEi$73#iC<-|;Ww@F`wjrvja;hv%T25*GOw(*c&++4{YpV@1GwAu1%G~Q zH1`D{-9o=uN5SeEZ;{uLhw6=1yLwUhhP;VfSzMYs>0fA1IRF_Cg>1ubHz5-#BF`i5 zyW%$%)+S{{9%Z-mOkw zR*wDwiT3&9;MHfm;Wa3^hlm~AbI;gl&eFp`XaR`v3qbhV>!DT-KD)!llYvtMpVSR4 PuZ6hDe{6S?LvP4`RIh$P delta 310 zcmZ1zaL2ozfsuiMft#U$ftkU;KUm+0Ux@7wP-G7fCnV=47Kn#kn!&)pC*Z~fqWC7 zC2a-y#U((80)Z;XfeH-FEC(kZuxAvU#OTc^xY>tsr^Mv9N?$f_m9pSa26+q!Hd!yK zj_0@e%D~M6=HKUK1v!QRL{FZfYR)J&`GTs40P~Cg|5+>;7+Fji7==GFFibX3Q|CXx Uo5IH=a0jRwWSH3IEVV<70Kr*CzyJUM diff --git a/view/font/icomoon.woff b/view/font/icomoon.woff index 0d6317d9a9fcc0656b9cc3d08061a81c2abbe427..c256706e570a0e6a0dd38e077bebbb0e756ecb70 100644 GIT binary patch delta 698 zcmX|9OK1~O6uocenY=iYW`3DTqD3>)Of3;fn~$IRfi9}lqD_&YNYPN6WYO3{3ynV_ z3U1seqhPa;ZUlD2*4c>q#F`4op$df%#+7r6EkYxWmPb@oyPwKo9HCdd8M zt4M98d;uW!8a)M$!F2X>4Mo(}vF_ur+WOmCeX#-HZpZpON9C;eb#`tVeJ9+jC=79& zX-wGlasv-`pJKh!hbt5=mg_U9t>NLfIF`pk8}oAui}*ID|NBH_B7Ne?lMwiv;piqx3u=iwqfQK6F-9@l)7u;ZEuC$YhI%QqY+t-$x1>|;+)7b zqgyD66GjDrZl%G^4Hlx5GSly>%wMW3#}y-~Fs3Mys~i1FL?Ki{McE-s8e>7UX%fz3 zmekoFq_l^z2&I95PZ$jzK!eu~U3UEI190Qr_2Rk6!CxRz{Nex~dzPO4%ifB!m&Cje z&aoIar|3Q)G!I1ofxqTUw~JcI%k=g4J`9h9KPjtfPVL}UJ~$@iAk4>rfcH{w-|Txt F{s6t_h8zF@ delta 367 zcmewnu);^A+~3WOfsp|S)HE2lLA2_f$%z``6SYO^|0L%o7BDa{W&lM)Kv+EN(v0-P zVvyJ#AfE$@1=4dW(|}?}7#I|HfUvlpZg@s&VhRI;at%<883-F{_tO00w8wk(z;{08ZUt9w84aji{V9X38nOP1_=3%sF6rAkC=*=j&c?RQ7iOH7A zUp6yJTW}~d0#yLPChJAj@%%Pl8Ms-%{QJDDAg?ok=*dr1%^Afe%cyw>Fu(Z!pT&ZK vk;RmOQTQVR!{iz@b;$#~DSS)首页
-
- +
+ 首页 @@ -25,8 +25,8 @@ 常用功能
-
- +
+ 发货提醒 diff --git a/view/templates/tpl/deliver_remind.html b/view/templates/tpl/deliver_remind.html new file mode 100644 index 0000000..0f59b39 --- /dev/null +++ b/view/templates/tpl/deliver_remind.html @@ -0,0 +1,306 @@ + + + + + + + + + 首页 + + + + + + {literal} + + {/literal} + + +
+ {include file="include/admin_header.html"} + {include file="include/admin_leftmenu.html"} +
+
+
+
+
发货提醒/
+
发货列表
+
导出列表
+
+
+
+
+ +
+
+ + +{literal} + +{/literal} + + diff --git a/view/templates/tpl/home.html b/view/templates/tpl/home.html index df6222f..45988ff 100644 --- a/view/templates/tpl/home.html +++ b/view/templates/tpl/home.html @@ -16,77 +16,6 @@ {literal} {/literal} @@ -253,13 +182,6 @@ layui.use(['element', 'layer', 'util'], function(){ }); }); -// width: 70px; -// height: 22px; -// font-size: 14px; -// font-family: PingFangSC-Medium, PingFang SC; -// font-weight: 500; -// line-height: 22px; - var myChart = echarts.init(document.getElementById('admin-map-container')); var monthList = ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月']; var option = {