Browse Source

图片修改

Shan9312 7 months ago
parent
commit
d89a72921c

+ 9 - 9
src/pages/index/index.vue

@@ -73,27 +73,27 @@ const { safeAreaInsets } = uni.getSystemInfoSync()
 const workList = reactive([
   {
     id: 1,
-    img: '../../static/images/work/称重.png',
+    img: '../../static/images/work/weight.png',
     title: '称重登记',
   },
   {
     id: 2,
-    img: '../../static/images/work/治疗.png',
+    img: '../../static/images/work/zhiliao.png',
     title: '登记治疗',
   },
   {
     id: 3,
-    img: '../../static/images/work/发病.png',
+    img: '../../static/images/work/fabing.png',
     title: '诊断',
   },
   {
     id: 4,
-    img: '../../static/images/work/流产.png',
+    img: '../../static/images/work/liuchan.png',
     title: '流产登记',
   },
   {
     id: 5,
-    img: '../../static/images/work/脖环绑定.png',
+    img: '../../static/images/work/bohuan1.png',
     title: '脖环制定',
   },
   {
@@ -103,22 +103,22 @@ const workList = reactive([
   },
   {
     id: 7,
-    img: '../../static/images/work/发情.png',
+    img: '../../static/images/work/faqing.png',
     title: '发情',
   },
   {
     id: 8,
-    img: '../../static/images/work/配种.png',
+    img: '../../static/images/work/peizhong.png',
     title: '配种',
   },
   {
     id: 9,
-    img: '../../static/images/work/孕检.png',
+    img: '../../static/images/work/yunjian.png',
     title: '孕检登记',
   },
   {
     id: 10,
-    img: '../../static/images/work/进围产.png',
+    img: '../../static/images/work/jinweichan.png',
     title: '进围产',
   },
 ])

+ 1 - 4
src/pages/serch/serch.vue

@@ -46,15 +46,12 @@ let serchObj = reactive({
 function doSearch(searchStr) {
   const val = searchStr.value.trim()
   if (val) {
-    let history = JSON.parse(uni.getStorageSync('history')) || []
-    console.log(history, 'historyList---11')
-    history = history.filter((item) => item !== val)
+    const history = serchObj.historyList.filter((item) => item !== val)
     history.unshift(val)
     if (history.length > 6) {
       history.pop()
     }
     serchObj.historyList = history
-    console.log(serchObj.historyList, 'historyList---999')
     uni.setStorageSync('history', JSON.stringify(serchObj.historyList))
     uni.navigateTo({ url: `/pages/searchDetail/searchDetail?serch=${searchStr.value}` })
   }

+ 0 - 0
src/static/images/work/脖环绑定.png → src/static/images/work/bohuan1.png


+ 0 - 0
src/static/images/work/发病.png → src/static/images/work/fabing.png


+ 0 - 0
src/static/images/work/发情.png → src/static/images/work/faqing.png


+ 0 - 0
src/static/images/work/进围产.png → src/static/images/work/jinweichan.png


+ 0 - 0
src/static/images/work/流产.png → src/static/images/work/liuchan.png


+ 0 - 0
src/static/images/work/配种.png → src/static/images/work/peizhong.png


+ 0 - 0
src/static/images/work/称重.png → src/static/images/work/weight.png


+ 0 - 0
src/static/images/work/孕检.png → src/static/images/work/yunjian.png


+ 0 - 0
src/static/images/work/治疗.png → src/static/images/work/zhiliao.png