Commit 2be79e27 by 胡悦

xiugai

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