Explorar el Código

fix:“修复订单明细刚进入时无法滚动加载的问题”

soobin hace 1 año
padre
commit
a57c79939f

+ 3 - 2
src/views/device/index.vue

@@ -253,7 +253,7 @@ import { onMounted, reactive, toRefs, ref } from "vue";
 import { Toast, Dialog } from "vant";
 import navBar from "../../components/NavBar";
 import sHeader from "../../components/SimpleHeader";
-import { getLoginUser, Format_calcuDecial, styleUrl } from "../../common/js/utils";
+import { getLoginUser, Format_calcuDecial } from "../../common/js/utils";
 import {
   getDeviceList,
   eliminate,
@@ -293,7 +293,7 @@ export default {
     onMounted(() => {
       init();
       //加载样式
-      styleUrl('device');
+      // styleUrl('device');
     });
     // 初始化
     const init = () => {
@@ -512,4 +512,5 @@ export default {
 
 <style lang="less" scoped>
 @import "../../common/style/common";
+@import "../../styles/device/index";
 </style>

+ 4 - 0
src/views/device/showGoods/index.vue

@@ -9,6 +9,10 @@
       </div>
     </div>
   </div>
+  <div class="l-flex-between o-m-10">
+    <div>{{ $t('device.modifyPricePage.total') }}{{ tableData.length }}{{ $t('device.modifyPricePage.goods') }}
+    </div>
+  </div>
   <van-row class="goods o-mlr-8" wrap="true">
     <van-col v-for="(item, index) in tableData" :key="index" class="goodsCon o-mr-14" span="11">
       <div class="l-flex-RC">

+ 2 - 1
src/views/orderCenter/index.vue

@@ -744,7 +744,7 @@ export default {
         adminId: user.id,
         chartType: chartType,
         endDate: searchParams.endDate,
-        ifForeign: searchParams.ifForeign == ''? user.ifForeign : searchParams.ifForeign,
+        ifForeign: searchParams.ifForeign == '' ? user.ifForeign : searchParams.ifForeign,
         startDate: searchParams.startDate,
         userName: searchParams.userName,
         clientId:
@@ -826,4 +826,5 @@ export default {
 </script>
 <style lang="less" scoped>
 @import "../../common/style/common.less";
+@import "../../styles/orderCenter/index.less";
 </style>