Ver Fonte

增加去顶部 ,优化样式

zhengjinyi há 5 anos atrás
pai
commit
fac9cebdee

+ 5 - 0
src/views/club/list.vue

@@ -112,6 +112,11 @@
         <el-button type="primary" @click="handlePreservOperator()">保存生成邀请码</el-button>
       </div>
     </el-dialog>
+    <template>
+      <el-backtop style="right: 40px; bottom: 40px;">
+        <i class="el-icon-upload2" />
+      </el-backtop>
+    </template>
   </div>
 </template>
 

+ 5 - 0
src/views/club/operateList.vue

@@ -129,6 +129,11 @@
         <el-button type="primary" :loading="loadingbut" @click="handleConfirm()">{{ loadingbuttext }}</el-button>
       </span>
     </el-dialog>
+    <template>
+      <el-backtop style="right: 40px; bottom: 40px;">
+        <i class="el-icon-caret-top" />
+      </el-backtop>
+    </template>
   </div>
 </template>
 

+ 5 - 1
src/views/goods/list-commonly.vue

@@ -87,7 +87,11 @@
     </el-table>
 
     <pagination v-show="total>0" :total="total" :page.sync="listQuery.index" :limit.sync="listQuery.pageSize" @pagination="fetchData" />
-
+    <template>
+      <el-backtop style="right: 40px; bottom: 40px;">
+        <i class="el-icon-upload2" />
+      </el-backtop>
+    </template>
   </div>
 </template>
 

+ 5 - 1
src/views/goods/list-preferential.vue

@@ -87,7 +87,11 @@
     </el-table>
 
     <pagination v-show="total>0" :total="total" :page.sync="listQuery.index" :limit.sync="listQuery.pageSize" @pagination="fetchData" />
-
+    <template>
+      <el-backtop style="right: 40px; bottom: 40px;">
+        <i class="el-icon-upload2" />
+      </el-backtop>
+    </template>
   </div>
 </template>
 

+ 5 - 1
src/views/goods/list-preferred.vue

@@ -87,7 +87,11 @@
     </el-table>
 
     <pagination v-show="total>0" :total="total" :page.sync="listQuery.index" :limit.sync="listQuery.pageSize" @pagination="fetchData" />
-
+    <template>
+      <el-backtop style="right: 40px; bottom: 40px;">
+        <i class="el-icon-upload2" />
+      </el-backtop>
+    </template>
   </div>
 </template>
 

+ 5 - 1
src/views/goods/list-select.vue

@@ -67,7 +67,11 @@
     </el-table>
 
     <pagination v-show="total>0" :total="total" :page.sync="listQuery.index" :limit.sync="listQuery.pageSize" @pagination="fetchData" />
-
+    <template>
+      <el-backtop style="right: 40px; bottom: 40px;">
+        <i class="el-icon-upload2" />
+      </el-backtop>
+    </template>
   </div>
 </template>
 

+ 5 - 1
src/views/goods/list.vue

@@ -160,7 +160,11 @@
         </el-button>
       </div>
     </el-dialog>
-
+    <template>
+      <el-backtop style="right: 40px; bottom: 40px;">
+        <i class="el-icon-upload2" />
+      </el-backtop>
+    </template>
   </div>
 </template>
 

+ 5 - 1
src/views/order/detail.vue

@@ -123,7 +123,11 @@
     </el-card>
 
     <Remarks dialog-title="订单备注信息" :is-visible.sync="dialogRemarksVisible" :order-id="dialogRemarksOrderId" :remark-list="dialogRemarkList" />
-
+    <template>
+      <el-backtop style="right: 40px; bottom: 40px;">
+        <i class="el-icon-upload2" />
+      </el-backtop>
+    </template>
   </div>
 </template>
 

+ 6 - 2
src/views/order/list.vue

@@ -140,7 +140,7 @@
         <template slot-scope="{row}">
           <router-link :to="'/order/detail/' + row.orderID "><el-button type="primary" size="small">查看详情</el-button></router-link>
           <el-dropdown>
-            <el-button type="success" size="small" style="margin-top:5px;">
+            <el-button type="success" size="small" style="width: 80px; margin-top:5px;">
               功能<i class="el-icon-arrow-down el-icon--right" />
             </el-button>
             <el-dropdown-menu slot="dropdown">
@@ -157,7 +157,11 @@
     <pagination v-show="total>0" :total="total" :page.sync="listQuery.index" :limit.sync="listQuery.pageSize" @pagination="fetchData" />
 
     <Remarks dialog-title="订单备注信息" :is-visible.sync="dialogRemarksVisible" :order-id="dialogRemarksOrderId" :remark-list="dialogRemarkList" />
-
+    <template>
+      <el-backtop style="right: 40px; bottom: 40px;">
+        <i class="el-icon-upload2" />
+      </el-backtop>
+    </template>
   </div>
 </template>
 

+ 5 - 0
src/views/order/logistics.vue

@@ -36,6 +36,11 @@
         </div>
       </div>
     </el-card>
+    <template>
+      <el-backtop style="right: 40px; bottom: 40px;">
+        <i class="el-icon-upload2" />
+      </el-backtop>
+    </template>
   </div>
 </template>
 

+ 5 - 0
src/views/order/refund-detail.vue

@@ -199,6 +199,11 @@
         </el-row>
       </el-card>
     </template>
+    <template>
+      <el-backtop style="right: 40px; bottom: 40px;">
+        <i class="el-icon-upload2" />
+      </el-backtop>
+    </template>
   </div>
 </template>
 

+ 5 - 1
src/views/order/refund-record.vue

@@ -120,7 +120,11 @@
         </template>
       </el-table-column>
     </el-table>
-
+    <template>
+      <el-backtop style="right: 40px; bottom: 40px;">
+        <i class="el-icon-upload2" />
+      </el-backtop>
+    </template>
   </div>
 </template>
 

+ 5 - 0
src/views/order/refund-return.vue

@@ -167,6 +167,11 @@
         </div>
       </el-card>
     </template>
+    <template>
+      <el-backtop style="right: 40px; bottom: 40px;">
+        <i class="el-icon-upload2" />
+      </el-backtop>
+    </template>
   </div>
 </template>
 

+ 5 - 1
src/views/order/refund.vue

@@ -98,7 +98,11 @@
     </el-table>
 
     <pagination v-show="total>0" :total="total" :page.sync="listQuery.index" :limit.sync="listQuery.pageSize" @pagination="fetchData" />
-
+    <template>
+      <el-backtop style="right: 40px; bottom: 40px;">
+        <i class="el-icon-upload2" />
+      </el-backtop>
+    </template>
   </div>
 </template>