Commit adb38fb8 by 胡悦

提交

1 parent 86c18288
......@@ -13,8 +13,12 @@ module.exports = Behavior({
const curIntroduceIndex = e.currentTarget.dataset.index;
switch(curIntroduceIndex) {
case 3:
wx.$router.go('addTransform', {notIntercept: true});
wx.$Track.sendTrack(trackData.DIJIA)
// wx.$router.go('addTransform', {notIntercept: true});
wx.showToast({
title: '敬请期待',
icon: 'none'
})
// wx.$Track.sendTrack(trackData.DIJIA)
break
default:
this.setData({
......
......@@ -81,13 +81,13 @@ Page({
// 跳转咨询页面
goConsult() {
console.log("跳转到咨询页面");
// wx.openCustomerServiceChat({
// extInfo: {url: 'https://work.weixin.qq.com/kfid/kfcdc6d35b59631ce3c'},
// corpId: 'ww2318dc9e5d23230b',
// complete: r => {
// console.log(r)
// }
// })
wx.openCustomerServiceChat({
extInfo: {url: 'https://work.weixin.qq.com/kfid/kfcdc6d35b59631ce3c'},
corpId: 'ww2318dc9e5d23230b',
complete: r => {
console.log(r)
}
})
},
// 设置手机号
......
......@@ -23,11 +23,11 @@
</view>
<!-- 公司介绍 -->
<block wx:if="{{curTabIndex === 0 }}">
<template is="company"></template>
<template is="company" data="{{IMGURL}}"></template>
</block>
<!-- 方案介绍 -->
<block wx:if="{{curTabIndex === 1 }}">
<template is="menu" data="{{menuList, curIntroduceIndex, templateMethods, customerType, hasPhoneNumber}}"></template>
<template is="menu" data="{{menuList, curIntroduceIndex, templateMethods, customerType, hasPhoneNumber, IMGURL}}"></template>
<!-- <block wx:if="{{curIntroduceIndex === 0}}">
<template is="cube" data="{{IMGURL}}"></template>
</block>
......
......@@ -12,10 +12,17 @@ page {
}
.box-wrapper {
text-align: center;
padding: 48rpx 24rpx;
/* padding: 48rpx 24rpx; */
}
.m-t-md {
margin-top: 20rpx;
.relative {
position: relative;
}
.absolute {
position: absolute;
width: 100%;
}
.img {
width: 100%;
}
.tab-list {
display: flex;
......
<template name="clue">
<view class="box-wrapper">
<view>智能线索</view>
<image class="m-t-md" src="https://b.zol-img.com.cn/sjbizhi/images/11/320x510/1592967802496.jpg"></image>
<image mode="widthFix" class="img" lazy-load src="{{IMGURL}}home/clue-img1.png"></image>
</view>
<phone-number bind:getPhoneNumber="getPhoneNumber" wx:if="{{!hasPhoneNumber}}"></phone-number>
<view wx:if="{{hasPhoneNumber}}">
第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分
<view class="relative">
<image mode="widthFix" class="img" src="{{IMGURL}}home/clue-img2.png"></image>
<view class="absolute custom">
<image mode="widthFix" class="img" lazy-load src="{{IMGURL}}home/clue-img3.png"></image>
</view>
</view>
</view>
</template>
\ No newline at end of file
<!-- 公司介绍 -->
<template name="company">
<view class="box-wrapper">
<view>广联数科</view>
<image class="m-t-md" src="https://img.zcool.cn/community/01a8ea580b48c1a84a0e282b41f540.jpg@1280w_1l_2o_100sh.jpg"></image>
<image mode="widthFix" class="img" src="{{IMGURL}}home/company-img1.png?v={{img_version}}"></image>
<view class="relative">
<image mode="widthFix" class="img" src="{{IMGURL}}home/bg1.png"></image>
<view class="absolute custom">
<swiper class="swiper" autoplay duration="3000" bindchange="changePage" interval="3000" circular>
<swiper-item class="swiper-item">
<image mode="heightFix" style="height: 336rpx;" src="{{IMGURL}}home/company-img2.png"></image>
</swiper-item>
<swiper-item class="swiper-item">
<image mode="heightFix" style="height: 336rpx;" src="{{IMGURL}}home/company-img2.png"></image>
</swiper-item>
</swiper>
</view>
</view>
<view class="relative">
<image mode="widthFix" class="img" src="{{IMGURL}}home/bg2.png"></image>
<view class="absolute custom">
<swiper class="swiper" bindchange="changePage" indicator-dots indicator-color="#E6E7EB" indicator-active-color="#5850FF" interval="5000" circular>
<swiper-item class="swiper-item">
<image mode="heightFix" style="height: 432rpx;" src="{{IMGURL}}home/company-img3.png"></image>
</swiper-item>
<swiper-item class="swiper-item">
<image mode="heightFix" style="height: 432rpx;" src="{{IMGURL}}home/company-img4.png"></image>
</swiper-item>
</swiper>
</view>
</view>
<image mode="widthFix" class="img" src="{{IMGURL}}home/company-img4.png"></image>
<image mode="widthFix" class="img" src="{{IMGURL}}home/company-img5.png"></image>
</view>
</template>
\ No newline at end of file
.company-wrapper {
text-align: center;
padding: 48rpx 24rpx;
/* padding: 48rpx 24rpx; */
}
.m-t-md {
margin-top: 20rpx;
}
.custom {
top: 240rpx;
left: 0;
}
.move {
animation: mymove 5s infinite;
}
@keyframes mymove {
0% {transform: translateX(0);}
/* 50% {transform: translateX(0);} */
100% {transform: translateX(-100%)}
}
.swiper {
height: 432rpx;
}
\ No newline at end of file
<template name="cube">
<view class="box-wrapper">
<view>企微魔方</view>
<image class="m-t-md" src="https://b.zol-img.com.cn/sjbizhi/images/11/320x510/1592967802496.jpg"></image>
<image mode="widthFix" class="img" lazy-load src="{{IMGURL}}home/cube-img1.png"></image>
</view>
<phone-number bind:getPhoneNumber="getPhoneNumber" wx:if="{{!hasPhoneNumber}}"></phone-number>
<view wx:if="{{hasPhoneNumber}}">
第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分
<image mode="widthFix" lazy-load class="img" src="{{IMGURL}}home/cube-img2.png"></image>
<image mode="widthFix" lazy-load class="img" src="{{IMGURL}}home/cube-img3.png"></image>
</view>
</template>
\ No newline at end of file
<template name="equity">
<view class="box-wrapper">
<view>数字化权益</view>
<image class="m-t-md" src="https://hzyly.com/upload/201908/26/201908261930139956.jpg"></image>
<image mode="widthFix" class="img" lazy-load src="{{IMGURL}}home/equity-img1.png"></image>
</view>
<phone-number bind:getPhoneNumber="getPhoneNumber" wx:if="{{!hasPhoneNumber}}"></phone-number>
<view wx:if="{{hasPhoneNumber}}">
第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分第二部分
<image mode="widthFix" class="img" lazy-load src="{{IMGURL}}home/equity-img2.png"></image>
<image mode="widthFix" class="img" lazy-load src="{{IMGURL}}home/equity-img3.png"></image>
</view>
</template>
\ No newline at end of file
......@@ -14,9 +14,9 @@
<template is="cube" data="{{IMGURL, hasPhoneNumber}}"></template>
</block>
<block wx:if="{{curIntroduceIndex === 1}}">
<template is="equity" data="{{hasPhoneNumber}}"></template>
<template is="equity" data="{{hasPhoneNumber, IMGURL}}"></template>
</block>
<block wx:elif="{{curIntroduceIndex == 2}}">
<template is="clue" data="{{hasPhoneNumber}}"></template>
<template is="clue" data="{{hasPhoneNumber, IMGURL}}"></template>
</block></view>
</template>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!