李程龙 3 лет назад
Родитель
Сommit
69dc3035aa
5 измененных файлов с 5 добавлено и 5 удалено
  1. 2 2
      config/config.js
  2. 1 1
      pages/weather/history.vue
  3. 2 2
      pages/worm/index.vue
  4. 0 0
      static/icon/147.png
  5. 0 0
      static/icon/154.png

+ 2 - 2
config/config.js

@@ -2,9 +2,9 @@ import cache from '@/utils/cache'
 
 let params = {
 	// 请求根目录地址
-	baseUrl: 'http://106.119.196.18:10005/',
+	baseUrl: 'http://106.119.196.18:10006/',
 	// 文件地址
-	fileUrl: 'http://106.119.196.18:10005',
+	fileUrl: 'http://106.119.196.18:10006',
 }
 // 配置信息
 export default {

+ 1 - 1
pages/weather/history.vue

@@ -30,7 +30,7 @@
 				</uni-tr>
 			</uni-table>
 			<!-- 页码 -->
-			<uni-pagination :total="total" title="标题文字" @change="changePagination" />
+			<uni-pagination v-if="!pageLoading" :total="total" title="标题文字" @change="changePagination" />
 			<!-- 页码end -->
 		</view>
 		<!-- 历史数据列表end -->

+ 2 - 2
pages/worm/index.vue

@@ -89,12 +89,12 @@
 			 * @param {Number} uptime 上报时间
 			 */
 			openLampDetails({
-				id,
+				d_id,
 				imei,
 				uptime
 			}) {
 				uni.navigateTo({
-					url: `details?id=${id}&imei=${imei}&uptime=${uptime}`
+					url: `details?id=${d_id}&imei=${imei}&uptime=${uptime}`
 				})
 			}
 		},

static/icon/土壤@2x.png → static/icon/147.png


static/icon/土壤盐分@2x.png → static/icon/154.png