Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
ai-card
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit adb38fb8
authored
Sep 16, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
86c18288
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
87 additions
and
28 deletions
mixins/menuMixin.js
pages/tab/index/index.js
pages/tab/index/index.wxml
pages/tab/index/index.wxss
pages/template/clue/clue.wxml
pages/template/company/company.wxml
pages/template/company/company.wxss
pages/template/cube/cube.wxml
pages/template/equity/equity.wxml
pages/template/menu/menu.wxml
mixins/menuMixin.js
View file @
adb38fb
...
@@ -13,8 +13,12 @@ module.exports = Behavior({
...
@@ -13,8 +13,12 @@ module.exports = Behavior({
const
curIntroduceIndex
=
e
.
currentTarget
.
dataset
.
index
;
const
curIntroduceIndex
=
e
.
currentTarget
.
dataset
.
index
;
switch
(
curIntroduceIndex
)
{
switch
(
curIntroduceIndex
)
{
case
3
:
case
3
:
wx
.
$router
.
go
(
'addTransform'
,
{
notIntercept
:
true
});
// wx.$router.go('addTransform', {notIntercept: true});
wx
.
$Track
.
sendTrack
(
trackData
.
DIJIA
)
wx
.
showToast
({
title
:
'敬请期待'
,
icon
:
'none'
})
// wx.$Track.sendTrack(trackData.DIJIA)
break
break
default
:
default
:
this
.
setData
({
this
.
setData
({
...
...
pages/tab/index/index.js
View file @
adb38fb
...
@@ -81,13 +81,13 @@ Page({
...
@@ -81,13 +81,13 @@ Page({
// 跳转咨询页面
// 跳转咨询页面
goConsult
()
{
goConsult
()
{
console
.
log
(
"跳转到咨询页面"
);
console
.
log
(
"跳转到咨询页面"
);
//
wx.openCustomerServiceChat({
wx
.
openCustomerServiceChat
({
//
extInfo: {url: 'https://work.weixin.qq.com/kfid/kfcdc6d35b59631ce3c'},
extInfo
:
{
url
:
'https://work.weixin.qq.com/kfid/kfcdc6d35b59631ce3c'
},
//
corpId: 'ww2318dc9e5d23230b',
corpId
:
'ww2318dc9e5d23230b'
,
//
complete: r => {
complete
:
r
=>
{
//
console.log(r)
console
.
log
(
r
)
//
}
}
//
})
})
},
},
// 设置手机号
// 设置手机号
...
...
pages/tab/index/index.wxml
View file @
adb38fb
...
@@ -23,11 +23,11 @@
...
@@ -23,11 +23,11 @@
</view>
</view>
<!-- 公司介绍 -->
<!-- 公司介绍 -->
<block wx:if="{{curTabIndex === 0 }}">
<block wx:if="{{curTabIndex === 0 }}">
<template is="company"></template>
<template is="company"
data="{{IMGURL}}"
></template>
</block>
</block>
<!-- 方案介绍 -->
<!-- 方案介绍 -->
<block wx:if="{{curTabIndex === 1 }}">
<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}}">
<!-- <block wx:if="{{curIntroduceIndex === 0}}">
<template is="cube" data="{{IMGURL}}"></template>
<template is="cube" data="{{IMGURL}}"></template>
</block>
</block>
...
...
pages/tab/index/index.wxss
View file @
adb38fb
...
@@ -12,10 +12,17 @@ page {
...
@@ -12,10 +12,17 @@ page {
}
}
.box-wrapper {
.box-wrapper {
text-align: center;
text-align: center;
padding: 48rpx 24rpx;
/* padding: 48rpx 24rpx; */
}
}
.m-t-md {
.relative {
margin-top: 20rpx;
position: relative;
}
.absolute {
position: absolute;
width: 100%;
}
.img {
width: 100%;
}
}
.tab-list {
.tab-list {
display: flex;
display: flex;
...
...
pages/template/clue/clue.wxml
View file @
adb38fb
<template name="clue">
<template name="clue">
<view class="box-wrapper">
<view class="box-wrapper">
<view>智能线索</view>
<image mode="widthFix" class="img" lazy-load src="{{IMGURL}}home/clue-img1.png"></image>
<image class="m-t-md" src="https://b.zol-img.com.cn/sjbizhi/images/11/320x510/1592967802496.jpg"></image>
</view>
</view>
<phone-number bind:getPhoneNumber="getPhoneNumber" wx:if="{{!hasPhoneNumber}}"></phone-number>
<phone-number bind:getPhoneNumber="getPhoneNumber" wx:if="{{!hasPhoneNumber}}"></phone-number>
<view wx:if="{{hasPhoneNumber}}">
<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>
</view>
</template>
</template>
\ No newline at end of file
\ No newline at end of file
pages/template/company/company.wxml
View file @
adb38fb
<!-- 公司介绍 -->
<template name="company">
<template name="company">
<view class="box-wrapper">
<view class="box-wrapper">
<view>广联数科</view>
<image mode="widthFix" class="img" src="{{IMGURL}}home/company-img1.png?v={{img_version}}"></image>
<image class="m-t-md" src="https://img.zcool.cn/community/01a8ea580b48c1a84a0e282b41f540.jpg@1280w_1l_2o_100sh.jpg"></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>
</view>
</template>
</template>
\ No newline at end of file
\ No newline at end of file
pages/template/company/company.wxss
View file @
adb38fb
.company-wrapper {
.company-wrapper {
text-align: center;
text-align: center;
padding: 48rpx 24rpx;
/* padding: 48rpx 24rpx; */
}
}
.m-t-md {
.m-t-md {
margin-top: 20rpx;
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
\ No newline at end of file
pages/template/cube/cube.wxml
View file @
adb38fb
<template name="cube">
<template name="cube">
<view class="box-wrapper">
<view class="box-wrapper">
<view>企微魔方</view>
<image mode="widthFix" class="img" lazy-load src="{{IMGURL}}home/cube-img1.png"></image>
<image class="m-t-md" src="https://b.zol-img.com.cn/sjbizhi/images/11/320x510/1592967802496.jpg"></image>
</view>
</view>
<phone-number bind:getPhoneNumber="getPhoneNumber" wx:if="{{!hasPhoneNumber}}"></phone-number>
<phone-number bind:getPhoneNumber="getPhoneNumber" wx:if="{{!hasPhoneNumber}}"></phone-number>
<view wx:if="{{hasPhoneNumber}}">
<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>
</view>
</template>
</template>
\ No newline at end of file
\ No newline at end of file
pages/template/equity/equity.wxml
View file @
adb38fb
<template name="equity">
<template name="equity">
<view class="box-wrapper">
<view class="box-wrapper">
<view>数字化权益</view>
<image mode="widthFix" class="img" lazy-load src="{{IMGURL}}home/equity-img1.png"></image>
<image class="m-t-md" src="https://hzyly.com/upload/201908/26/201908261930139956.jpg"></image>
</view>
</view>
<phone-number bind:getPhoneNumber="getPhoneNumber" wx:if="{{!hasPhoneNumber}}"></phone-number>
<phone-number bind:getPhoneNumber="getPhoneNumber" wx:if="{{!hasPhoneNumber}}"></phone-number>
<view wx:if="{{hasPhoneNumber}}">
<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>
</view>
</template>
</template>
\ No newline at end of file
\ No newline at end of file
pages/template/menu/menu.wxml
View file @
adb38fb
...
@@ -14,9 +14,9 @@
...
@@ -14,9 +14,9 @@
<template is="cube" data="{{IMGURL, hasPhoneNumber}}"></template>
<template is="cube" data="{{IMGURL, hasPhoneNumber}}"></template>
</block>
</block>
<block wx:if="{{curIntroduceIndex === 1}}">
<block wx:if="{{curIntroduceIndex === 1}}">
<template is="equity" data="{{hasPhoneNumber}}"></template>
<template is="equity" data="{{hasPhoneNumber
, IMGURL
}}"></template>
</block>
</block>
<block wx:elif="{{curIntroduceIndex == 2}}">
<block wx:elif="{{curIntroduceIndex == 2}}">
<template is="clue" data="{{hasPhoneNumber}}"></template>
<template is="clue" data="{{hasPhoneNumber
, IMGURL
}}"></template>
</block></view>
</block></view>
</template>
</template>
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment