DU2906526895
2024-06-13 589593d2c8a0e43c493db5b80bab30ba7355641b
去掉打印的数据
3 files modified
55 ■■■■■ changed files
pages/index/index.vue 31 ●●●●● patch | view | raw | blame | history
pages/index/indexNew.vue 1 ●●●● patch | view | raw | blame | history
pages/index/indexone.vue 23 ●●●●● patch | view | raw | blame | history
pages/index/index.vue
@@ -128,7 +128,6 @@
                            </view>
                        </block> -->
            <!----之前的金刚区的图标的显示-->
            <!---===新增AI功能-->
            <view class="content_bar">
              <view class="AIbar">
@@ -331,7 +330,6 @@
import Loading from "@/components/Loading/index.vue";
// const arrTemp = ["beforePay", "afterPay", "createBargain", "pink"];
const arrTemp = ["741", "742", "743", "744"];
export default {
  computed: mapGetters(["isLogin", "uid"]),
  components: {
@@ -616,15 +614,7 @@
      });
    },
    //跳转详情的页面
    // onNewdetail(value){
    // this.detailId=value
    //   //   path: '/pages/news_details/index?id=' + this.id
    //   console.log(value,'=====value====hhhhh=')
    //   uni.navigateTo({
    //     // path: '/pages/news_details/index?id=' + id
    //     url: "/pages/news_details/index?id=' + this.detailId",
    //   });
    // },
    onNewdetail(id){
                uni.navigateTo({
                    animationType: animationType.type,
@@ -759,7 +749,6 @@
      let that = this;
      //this.isNodes++;
      getIndexData().then((res) => {
        console.log(res, "====res=====新首页的数据===");
      });
    },
@@ -768,15 +757,11 @@
      let that = this;
      //this.isNodes++;
      getIndexData().then((res) => {
        console.log(res, "===res---首页的数据=");
        console.log(res.data.menus, "===res.data.menus---首页的数据menus=");
        that.$set(that, "logoUrl", res.data.logoUrl);
        let imgHost = res.data.logoUrl.split("crmebimage")[0];
        that.imgHost = imgHost;
        that.$Cache.set("imgHost", imgHost);
        that.$set(that, "imgUrls", res.data.banner);
        console.log(res.data.banner, "===res.data.banner==kkkkk=");
        that.$set(that, "menus", res.data.menus);
        that.$set(that, "roll", res.data.roll ? res.data.roll : []);
        that.$set(
@@ -902,19 +887,6 @@
        this.listActive = index;
        this.ProductNavindex = index;
        this.params.page = 1;
      // if (this.listActive !== index) {
      //   this.listActive = item.id;
      //   this.goodType = item.type;
      //   this.listActive = item.id;
      //   this.ProductNavindex = index;
      //   this.params.page = 1;
        // this.goodScroll = true;
        // let onloadH = true;
      //   this.getGroomList(onloadH);
        //   this.getTem()//新手课程
        const arrTemp = ["741", "742", "743", "744"];
        if(item.id===741){
            this.getTem('741')
        }else if(item.id===742){
@@ -924,7 +896,6 @@
        }else if(item.id===744){
            this.getTem('744')
        }
      }
    },
    // 首发新品详情
pages/index/indexNew.vue
@@ -618,7 +618,6 @@
                    type: data
                }).then(res => {
                    if (res.data) {
                    console.log(res.data,'==res.data-----kkkkkkkk99999916=')
                        // let arr = res.data.map((item) => {
                        //     return item.tempId
                        // })
pages/index/indexone.vue
@@ -81,7 +81,6 @@
                        </block> -->
                        <!----之前的金刚区的图标的显示-->
                        <!---===新增AI功能-->
                         <view class="content_bar">
          <view class="AIbar">
@@ -114,8 +113,6 @@
            :src="appImage.baseImagepicPage + 'BusinessSchool.png'"
          />
        </view>
                    </view>
                </view>
                <!-- 优惠券 -->
@@ -149,7 +146,6 @@
                <view class="index-product-wrapper" :class="iSshowH?'on':''" v-if="cardShow == 1">
                    <!-- <view class="list-box animated" :class='tempArr.length > 0?"fadeIn on":""'>
                        <view class="item" v-for="(item,index) in tempArr" :key="index" @click="goDetail(item)">
                            <view class="pictrue">
                                {{ item.title }}
@@ -404,16 +400,6 @@
                type: "4",
                }],
                // explosiveMoney: [{
                //     title: ''
                // }, {
                //     title: ''
                // }, {
                //     title: ''
                // }, {
                //     title: ''
                // }], //首页超值爆款
                searchH: 0,
                goodType: 0, //精品推荐Type
                goodScroll: true, //精品推荐开关
@@ -630,7 +616,6 @@
                }).then(res => {
                    if (res.data) {
                    this.tempArr=res.data.list
                    console.log(res.data,'-==res.data=====667777779999=')
                        let arr = res.data.map((item) => {
                            return item.tempId
@@ -666,7 +651,6 @@
                let that = this;
                //this.isNodes++;
                getIndexData().then(res => {
                console.log(res,'====res=====新首页的数据===')
                })
            },
@@ -677,15 +661,12 @@
                let that = this;
                //this.isNodes++;
                getIndexData().then(res => {
                  console.log(res,'===res---首页的数据=')
                  console.log(res.data.menus,'===res.data.menus---首页的数据menus=')
                    that.$set(that, "logoUrl", res.data.logoUrl);
                    let imgHost = res.data.logoUrl.split('crmebimage')[0];
                    that.imgHost = imgHost;
                    that.$Cache.set('imgHost', imgHost);
                    that.$set(that, "imgUrls", res.data.banner);
                    console.log(res.data.banner,'===res.data.banner==kkkkk=')
                    that.$set(that, "menus", res.data.menus);
                    that.$set(that, "roll", res.data.roll ? res.data.roll : []);
                    that.$set(that, 'cardShow', res.data.homePageSaleListStyle == '' ? 1 : Number(res.data
@@ -709,10 +690,7 @@
                            telephone_service_switch: res.data.telephoneServiceSwitch
                        }
                    });
                console.log(res.data.explosiveMoney,'==res.data.explosiveMoney====kkkkkkkffff=')
                    // that.$set(that, "explosiveMoney", res.data.explosiveMoney);
            
                    // that.goodType = res.data.explosiveMoney[0].type
                    this.getGroomList();
                    this.shareApi();
                    this.reloadData();
@@ -839,7 +817,6 @@
                getGroomList(type, this.params).then(({
                    data
                }) => {
                    console.log(data.list,'=====data.list------666666')
                    this.iSshowH = false
                    this.loading = false
                    this.goodScroll = data.list.length >= this.params.limit