Commit 2be79e27 by 胡悦

xiugai

1 parent 34092d64
<!-- pages/tab/index/index.wxml -->
<import src="../../template/channel/channel.wxml" />
<import src="../../template/company/company.wxml" />
<import src="../../template/menu/menu.wxml" />
<import src="../../template/cube/cube" />
<import src="../../template/equity/equity" />
<import src="../../template/clue/clue" />
<view class="main-box">
<user-info></user-info>
<view class="main-bottom">
<!-- 面向渠道 -->
<import src="../../template/channel/channel.wxml" />
<template is="channel"></template>
<!-- tab介绍 -->
<view class="tab-list">
......@@ -17,23 +22,27 @@
</view>
</block>
</view>
<import src="../../template/company/company.wxml" />
<!-- 公司介绍 -->
<block wx:if="{{curTabIndex === 0 }}">
<template is="company"></template>
</block>
<!-- 方案介绍 -->
<import src="../../template/menu/menu.wxml" />
<block wx:if="{{curTabIndex === 1 }}">
<template is="menu" data="{{menuList, curIntroduceIndex, templateMethods, customerType}}"></template>
<block wx:if="{{curIntroduceIndex === 0}}">企微魔方</block>
<block wx:elif="{{curIntroduceIndex === 1}}">数字化权益</block>
<block wx:elif="{{curIntroduceIndex == 2}}">智能线索</block>
<block wx:if="{{curIntroduceIndex === 0}}">
<template is="cube"></template>
</block>
<block wx:elif="{{curIntroduceIndex === 1}}">
<template is="equity"></template>
</block>
<block wx:elif="{{curIntroduceIndex == 2}}">
<template is="clue"></template>
</block>
</block>
</view>
<button wx:if="{{!hasUserInfo}}" class="user-profile" bindtap="getUserProfile"></button>
<!-- <view wx:if="{{!hasUserInfo}}" class="user-profile" bindtap="getUserProfile"></view> -->
<!-- 服务咨询 -->
<view bindtap="goConsult">
<image mode="widthFix" class="icon-consult" webp src="{{IMGURL}}home/custom.png"></image>
......
......@@ -2,11 +2,20 @@
@import '../../template/channel/channel.wxss';
@import '../../template/menu/menu.wxss';
@import '../../template/company/company.wxss';
@import '../../template/cube/cube.wxss';
@import '../../template/equity/equity.wxss';
@import '../../template/clue/clue.wxss';
page {
background-color: #F5F5F7;
}
.box-wrapper {
text-align: center;
padding: 48rpx 24rpx;
}
.m-t-md {
margin-top: 20rpx;
}
.tab-list {
display: flex;
justify-content: space-evenly;
......
<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>
</view>
</template>
\ No newline at end of file
<template name="company">
<view class="company-wrapper">
<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>
</view>
......
<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>
</view>
</template>
\ No newline at end of file
<template name="equity">
这里是数字化权益
<view class="box-wrapper">
<view>广联数科</view>
<image src="https://hzyly.com/upload/201908/26/201908261930139956.jpg"></image>
</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!