diff --git a/api/oli-site.js b/api/oli-site.js
index 442498a..5750ba9 100644
--- a/api/oli-site.js
+++ b/api/oli-site.js
@@ -145,5 +145,19 @@ export default{
data:data
})
},
-
+ //根据id回显促销编辑
+ getPrice (id) {
+ return request({
+ url: `/${service_name}/oilSiteInfo/get/${id} `,
+ method: 'get'
+ })
+ },
+ //促销编辑
+ update(data) {
+ return request({
+ url: `/${service_name}/oilSiteInfo/update`,
+ method: 'POST',
+ data:data
+ })
+ },
}
\ No newline at end of file
diff --git a/pages/home/home.vue b/pages/home/home.vue
index a1dda4f..9170aa2 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -80,9 +80,18 @@
{{ item.badge > 99 ? '99+' : item.badge }}
-
+
{{ item.name }}
+
+
+
+
+ {{ cuIconList[1].badge > 99 ? '99+' : cuIconList[1].badge }}
+
+
+ {{ cuIconList[1].name }}
+