ZaiZai 2 years ago
parent
commit
c7cdbc120a
3 changed files with 35 additions and 9 deletions
  1. 26 1
      README.md
  2. 7 0
      pages/image/info.vue
  3. 2 8
      pages/image/view.vue

+ 26 - 1
README.md

@@ -1,3 +1,28 @@
 # test-app
 
-测试的
+测试的
+
+---
+
+### 推荐使用  `yarn` 管理依赖
+
+如果电脑上还没有安装 `yarn` ,执行以下命令安装 `yarn`
+
+``` shell
+npm install -g yarn
+
+//或者
+
+cnpm install -g yarn
+```
+
+然后在 此项目下 执行
+
+```shell
+yarn
+
+// 或者
+
+yarn install
+```
+

+ 7 - 0
pages/image/info.vue

@@ -0,0 +1,7 @@
+<template>
+
+</template>
+
+<script setup>
+
+</script>

+ 2 - 8
pages/image/view.vue

@@ -1,5 +1,5 @@
 <template>
-    <z-paging class="hc-image-view-page" ref="pageRef" v-model="dataList" @query="getDataList">
+    <z-paging ref="pageRef" v-model="dataList" @query="getDataList">
         <template #top>
             <view class="hc-paging-top-bar mb-1">
                 <hc-nav-back-bar title="声像文件">
@@ -57,7 +57,7 @@
 
 <script setup>
 import {ref} from "vue";
-import {onLoad, onShow} from '@dcloudio/uni-app'
+import {onLoad} from '@dcloudio/uni-app'
 import {useAppStore} from "@/store";
 import mainApi from '~api/image/index';
 import {arrIndex, deepClone, getArrValue} from "js-fast-way";
@@ -187,9 +187,3 @@ const delCheckList = async () => {
     }
 }
 </script>
-
-<style scoped lang="scss">
-.hc-image-view-page {
-
-}
-</style>