Commit 117df167 by 胡悦

添加渠道模板

1 parent 9ca3e5e9
<!--pages/tab/index/index.wxml--> <!--pages/tab/index/index.wxml-->
<user-info></user-info> <user-info></user-info>
<import src="../../template/channel/channel.wxml" />
<template is="channel"></template>
<view class="tab-list"> <view class="tab-list">
<view class="tab-item" data-name="公司介绍" bindtap="introduce"> <view class="tab-item" data-name="公司介绍" bindtap="introduce">
公司介绍 公司介绍
......
/* pages/tab/index/index.wxss */ /* pages/tab/index/index.wxss */
@import '../../template/demo/demo.wxss'; @import '../../template/demo/demo.wxss';
@import '../../template/channel/channel.wxss';
.tab-list { .tab-list {
display: flex; display: flex;
justify-content: space-evenly justify-content: space-evenly
......
<template name="channel">
<view class="channel-bg">面向渠道</view>
</template>
\ No newline at end of file \ No newline at end of file
.channel-bg {
background-color: aqua;
}
\ 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!