| | |
| | | </view> |
| | | </block> --> |
| | | <!----之前的金刚区的图标的显示--> |
| | | |
| | | <!---===新增AI功能--> |
| | | <view class="content_bar"> |
| | | <view class="AIbar"> |
| | |
| | | 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: { |
| | |
| | | }); |
| | | }, |
| | | //跳转详情的页面 |
| | | // 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, |
| | |
| | | let that = this; |
| | | //this.isNodes++; |
| | | getIndexData().then((res) => { |
| | | console.log(res, "====res=====新首页的数据==="); |
| | | }); |
| | | }, |
| | | |
| | |
| | | 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( |
| | |
| | | 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){ |
| | |
| | | }else if(item.id===744){ |
| | | this.getTem('744') |
| | | } |
| | | |
| | | } |
| | | }, |
| | | // 首发新品详情 |
| | |
| | | type: data |
| | | }).then(res => { |
| | | if (res.data) { |
| | | console.log(res.data,'==res.data-----kkkkkkkk99999916=') |
| | | // let arr = res.data.map((item) => { |
| | | // return item.tempId |
| | | // }) |
| | |
| | | </block> --> |
| | | <!----之前的金刚区的图标的显示--> |
| | | |
| | | |
| | | <!---===新增AI功能--> |
| | | <view class="content_bar"> |
| | | <view class="AIbar"> |
| | |
| | | :src="appImage.baseImagepicPage + 'BusinessSchool.png'" |
| | | /> |
| | | </view> |
| | | |
| | | |
| | | </view> |
| | | </view> |
| | | <!-- 优惠券 --> |
| | |
| | | <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 }} |
| | | |
| | |
| | | type: "4", |
| | | |
| | | }], |
| | | |
| | | // explosiveMoney: [{ |
| | | // title: '' |
| | | // }, { |
| | | // title: '' |
| | | // }, { |
| | | // title: '' |
| | | // }, { |
| | | // title: '' |
| | | // }], //首页超值爆款 |
| | | searchH: 0, |
| | | goodType: 0, //精品推荐Type |
| | | goodScroll: true, //精品推荐开关 |
| | |
| | | }).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 |
| | |
| | | let that = this; |
| | | //this.isNodes++; |
| | | getIndexData().then(res => { |
| | | console.log(res,'====res=====新首页的数据===') |
| | | }) |
| | | |
| | | }, |
| | |
| | | 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 |
| | |
| | | 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(); |
| | |
| | | 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 |