欢迎来到懒人模板!我们专注移动互联网,所有模板永久免费下载!
  • 首 页
  • 当前位置:主页 > 小程序教程 >

    微信小程序分类导航栏四个八个图标制作教程

    2018-05-16 09:31 来源/作者:懒人模板 分类:小程序教程  « »
    今天给大家带来微信小程序分类导航栏四个八个图标制作教程,制作好以后效果图如下:


    一、wxml页面代码如下:
    
    <view class="plate">
      <navigator url="/pages/action/action" open-type="switchTab" hover-class="other-navigator-hover" class="plate-item">
         <view class="plate-img">
           <image src="{{a1src}}"></image>
           </view>
           <text class="plate-info">
            活动资讯
           </text>
      </navigator>
      <navigator url="/pages/signup/signup" open-type="switchTab" hover-class="other-navigator-hover" class="plate-item">
         <view class="plate-img">
           <image src="{{a2src}}"></image>
           </view>
           <text class="plate-info">
            预约课程
           </text>
      </navigator>
      <navigator url="/pages/teacher/teacher" hover-class="navigator-hover" class="plate-item">
         <view class="plate-img">
           <image src="{{a4src}}"></image>
           </view>
           <text class="plate-info">
            名师简介
           </text>
      </navigator>
      <navigator url="/pages/about/about" hover-class="navigator-hover" class="plate-item">
         <view class="plate-img">
           <image src="{{a3src}}"></image>
           </view>
           <text class="plate-info">
            联系我们
           </text>
      </navigator>
    </view>
    
    
    <view class="plate">
      <navigator url="/pages/action/action" open-type="switchTab" hover-class="other-navigator-hover" class="plate-item">
         <view class="plate-img">
           <image src="{{a1src}}"></image>
           </view>
           <text class="plate-info">
            活动资讯
           </text>
      </navigator>
      <navigator url="/pages/signup/signup" open-type="switchTab" hover-class="other-navigator-hover" class="plate-item">
         <view class="plate-img">
           <image src="{{a2src}}"></image>
           </view>
           <text class="plate-info">
            预约课程
           </text>
      </navigator>
      <navigator url="/pages/teacher/teacher" hover-class="navigator-hover" class="plate-item">
         <view class="plate-img">
           <image src="{{a4src}}"></image>
           </view>
           <text class="plate-info">
            名师简介
           </text>
      </navigator>
      <navigator url="/pages/about/about" hover-class="navigator-hover" class="plate-item">
         <view class="plate-img">
           <image src="{{a3src}}"></image>
           </view>
           <text class="plate-info">
            联系我们
           </text>
      </navigator>
    </view>

    点击扫描效果预览 免费下载
    标签:
    * 懒人模板承诺:本站所有资源免费下载,无病毒,无弹窗,无干扰链接! 提点建议