tanghaolin
2022-09-05 65d6a17e890a0380afc9c6b9c1098a535899c759
修改品牌筛选的bug
已修改4个文件
93 ■■■■■ 文件已修改
src/views/Detail/byParas/Index.vue 62 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/EBook/SeriesDetailPump.vue 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/EBook/SeriesListLX.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/Home.vue 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/Detail/byParas/Index.vue
@@ -248,19 +248,28 @@
            />
      </van-dialog>
    </div>
    <div
      class="compare_icon"
      v-if="!isAddCompare"
      @click.stop="addCompareLocalStorage"
    >
      <van-icon style="font-size: 28px" name="add-o" />
    <div class="icon-tool">
        <!-- 添加比较 -->
        <div
          class="compare_icon"
          v-if="!isAddCompare"
          @click.stop="addCompareLocalStorage"
        >
          <van-icon style="font-size: 28px" name="add-o" />
        </div>
        <!-- 删除比较 -->
        <div class="compare_icon" v-else @click.stop="deleteCompareLocalStorage">
          <van-icon style="font-size: 28px" name="delete-o" />
        </div>
        <!-- 跳转到比较列表 -->
        <div v-if="compareList.length>1" class="compare_icon" @click.stop="toCompareList">
          <i class="iconfont iconplus-listview" />
        </div>
        <div class="compare_icon">
          <van-icon name="chat-o" size="28" />
        </div>
    </div>
    <div class="compare_icon" v-else @click.stop="deleteCompareLocalStorage">
      <van-icon style="font-size: 28px" name="delete-o" />
    </div>
    <div v-if="compareList.length>1" class="compare_icon" style="bottom: 168px" @click.stop="toCompareList">
      <i class="iconfont iconplus-listview" />
    </div>
    <!-- 回到顶部 -->
    <div class="backTop" v-show="backtopshow" @click="backTop">
      <div class="iconfont iconfanhuidingbu3"></div>
      <div>{{ $t("indexPage.top.TR") }}</div>
@@ -413,7 +422,7 @@
    //   }
    // }
    console.log(this.$route)
    // console.log(this.$route)
    let navType =this.$route.query.navType
    if(navType == "share"){
      this.isVisibleBackBtn = false
@@ -750,7 +759,7 @@
        _this.isShowLoadingFrm = false;
        let resdata = res.data;
        // console.log(res.data, 462);
         console.log(res.data, 462);
        if (resdata.Code != 0) {
          _this.$toast.fail(resdata.Message);
          return;
@@ -1468,10 +1477,7 @@
    opacity: 0.6;
  }
  .compare_icon {
    position: fixed;
    right: 15px;
    font-size: 22px;
    bottom: 215px;
    width: 40px;
    height: 40px;
    color: #ffffff;
@@ -1481,6 +1487,28 @@
    justify-content: center;
    align-items: center;
    opacity: 0.6;
    margin-bottom: 5px;
  }
  .compare_icon:last-child{
    margin-bottom: 0px;
  }
  .icon-tool{
    position: fixed;
    right: 15px;
    font-size: 22px;
    bottom: 215px;
    color: #ffffff;
    line-height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    box-shadow: 0 0 6px rgb(0 0 0 / 12%);
    width: 40px;
    padding: 5px 2px;
    border-radius: 30px;
  }
}
.DetailByParamsBox .DetailByParamsMain .van-tab__pane {
src/views/EBook/SeriesDetailPump.vue
@@ -241,7 +241,7 @@
    initDetailFullInfo(){
        // console.log(JSON.parse(localStorage.getItem(this.$route.query.ID)),234)
        let lacalData = JSON.parse(localStorage.getItem(this.m_PumpSeriesID))
        console.log(lacalData,244)
        // console.log(lacalData,244)
        if(lacalData == null){
            this.getDetailFullInfo();
            return;
@@ -254,7 +254,7 @@
          return
        }
          let result = lacalData.resultData
          console.log(result,256)
          // console.log(result,256)
          this.m_PageTitle =result.SeriesInfo.Name;
          document.title = this.m_PageTitle
@@ -346,7 +346,7 @@
      })
        .then(function(res) {
          let result = res.data;
          console.log(result,349)
          // console.log(result,349)
          if (result.Code != 0) {
            _this.$toast.clear();
            return;
@@ -470,7 +470,6 @@
    //监听搜索框关键字的内容
    inputKeyWords(val) {
      this.filterSearchWords(val);
    },
    //清除搜索关键字
    clearKeyWords() {
@@ -537,8 +536,6 @@
            element.MotorPower = "电机功率:" + element.MotorPower + "kW"
          }
        }
        element.RatedQ = UnitHelper.valueFormat(
          UnitHelper.getDispValueQ(
            UnitHelper.ConvertQ_fromM3H(
@@ -580,10 +577,6 @@
        pur: ConstParas.DetailPagePurpose.EBook //EBook = 0
      };
      this.gotoPage("/byParas/Index",query,null)
      // this.$router.push({
      //   path: `/${this.$getCurrentLanguageUrl()}/byParas/Index`,
      //   query: query
      // });
    },
    //回到顶部点击事件
    backTop() {
src/views/EBook/SeriesListLX.vue
@@ -167,9 +167,7 @@
      _this
        .$axios({
          method: "get",
          url:
            _this.$globalConfig.WebApiUrl.MainUrl +
            "v1/Mobile/PumpSeries/GetListByCategoryID",
          url: _this.$globalConfig.WebApiUrl.MainUrl + "v1/Mobile/PumpSeries/GetListByCategoryID",
          params: {
            Lang: _this.getCurrentLanguageType(),
            CategoryID: _this.CatalogID,
src/views/Home.vue
@@ -173,6 +173,9 @@
        style="position: fixed; width: 100%; bottom: 0"
      >{{m_bottomTextContent}}</nav>
    </div>
    <div style="position: fixed;right: 5px;bottom: 120px;box-shadow: 0 0 6px rgb(0 0 0 / 12%);border-radius: 28px;" @click="contactMe">
        <van-icon name="chat-o" size="42" />
    </div>
  </div>
</template>
@@ -473,7 +476,16 @@
    //重置密码
    resetPwd() {
      this.gotoPage("/resetPwd", "", null);
    }
    },
    //联系我
    contactMe(){
      let qqNumberUrl = "1723298894"
      let appQQUrl = "mqqwpa://im/chat?chat_type=wpa&uin="+qqNumber+"&version=1&src_type=web&web_src=oicqzone.com"
      let weChatQQUrl = "http://wpa.qq.com/msgrd?v=3&uin="+qqNumberUrl +"&site=qq&menu=yes"
      window.location.href=appQQUrl
    },
  }
};
</script>