lining 3 years ago
parent
commit
3cbaa0a6d6
3 changed files with 934 additions and 3 deletions
  1. 0 1
      src/App.vue
  2. 2 2
      src/views/HealthControl/HealthTab1.vue
  3. 932 0
      src/views/Home/components/map/SX.vue

+ 0 - 1
src/App.vue

@@ -420,7 +420,6 @@ export default {
 
       this.hideHeard = res.query.hideheard || "0";
       this.hideMenus = res.query.hidemenus || "0";
-      console.log(11111,res.query.theme);
       if (res.query.theme) {
         const theme = res.query.theme === "dark" ? "dark" : "light";
         this.$store.dispatch("changeTheme", theme);

+ 2 - 2
src/views/HealthControl/HealthTab1.vue

@@ -243,7 +243,7 @@ export default {
       let data ={
         rid: rid
       }
-      api.requestRecommen(url,data).then(res =>{
+      api.recommen(url,data).then(res =>{
          if (res.code == 200) this.onClickRecommon(that.recommenIndex);
       })
       // let that = this;
@@ -259,7 +259,7 @@ export default {
     // 操作推荐内容全部(提交/取消)
     requestOptionAll(url) {
       let data = { typeid: this.recommenIndex }
-      api.requestRecommen(url,data).then(res =>{
+      api.recommen(url,data).then(res =>{
          if (res.code == 200) this.onClickRecommon(that.recommenIndex);
       })
       // let that = this;

File diff suppressed because it is too large
+ 932 - 0
src/views/Home/components/map/SX.vue