chengwl 5 gadi atpakaļ
vecāks
revīzija
ac544e99f8
2 mainītis faili ar 15 papildinājumiem un 2 dzēšanām
  1. 3 2
      views/site/index.php
  2. 12 0
      web/css/site.css

+ 3 - 2
views/site/index.php

@@ -26,8 +26,8 @@ $this->params['breadcrumbs'][] = $this->title;
 <div class="orderreturn-index">
   
     <h1><?php echo $shop==1?"美国仓":"亚马逊"; ?></h1>
-    <p>
-        <?= Html::a('创建', ['create'], ['class' => 'btn btn-success']) ?>
+    <p class="order—create">
+        <?= Html::a('创建', ['create'], ['class' => 'btn btn-success ']) ?>
     </p>
     <p>
     <?php
@@ -37,6 +37,7 @@ $this->params['breadcrumbs'][] = $this->title;
             'action'=>'/site/export?shop='.$shop,
             'method'=>'post',
             'options'=>[
+                "class"=>"upload-excel",
             'enctype'=>'multipart/form-data',
             ]
         ]);

+ 12 - 0
web/css/site.css

@@ -117,3 +117,15 @@ a.desc:after {
     margin-bottom: 15px;
     display: inline-block;
 }
+.order—create{
+    position: absolute;
+    right: 0px;
+    top: 69px;
+}
+
+.upload-excel{
+    display: flex;
+}
+.orderreturn-index{
+    position: relative;
+}