微信小程序之开发会议OA项目

这篇具有很好参考价值的文章主要介绍了微信小程序之开发会议OA项目。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

目录

前言

本篇目标 

首页

会议

投票 

个人中心 

会议OA项目-首页

配置

tabbar

mock工具

page

swiper

会议信息

会议OA项目-会议 

自定义tabs组件

会议管理

会议OA项目-投票

会议OA项目-个人中心


前言

文章含源码资源,投票及个人中心详细自行查看源码即可

  1. 小程序没有DOM对象,一切基于组件化
  2. 储备知识

    1. 理解事件机制

    2. 理解组件化

    3. 理解数据绑定

    4. Flex布局

    5. 移动端适配方案

  3. 建议:学习vue后开发小程序更简单

本篇目标 

首页

微信小程序之开发会议OA项目,微信小程序,微信小程序,小程序,会议OA

会议

微信小程序之开发会议OA项目,微信小程序,微信小程序,小程序,会议OA 

投票 

微信小程序之开发会议OA项目,微信小程序,微信小程序,小程序,会议OA

个人中心 

微信小程序之开发会议OA项目,微信小程序,微信小程序,小程序,会议OA

 

会议OA项目-首页

配置

  • config/api.js
    // 以下是业务服务器API地址
     // 本机开发API地址
    var WxApiRoot = 'http://localhost:8080/demo/wx/';
    // 测试环境部署api地址
    // var WxApiRoot = 'http://192.168.0.101:8070/demo/wx/';
    // 线上平台api地址
    //var WxApiRoot = 'https://www.oa-mini.com/demo/wx/';
    
    module.exports = {
      IndexUrl: WxApiRoot + 'home/index', //首页数据接口
      SwiperImgs: WxApiRoot+'swiperImgs', //轮播图
      MettingInfos: WxApiRoot+'meeting/list', //会议信息
    };

tabbar

  • app.json
    "list": [{
          "pagePath": "pages/index/index",
          "text": "首页",
          "iconPath": "/static/tabBar/coding.png",
          "selectedIconPath": "/static/tabBar/coding-active.png"
        },
          {
            "pagePath": "pages/meeting/list/list",
            "iconPath": "/static/tabBar/sdk.png",
            "selectedIconPath": "/static/tabBar/sdk-active.png",
            "text": "会议"
          },
          {
            "pagePath": "pages/vote/list/list",
            "iconPath": "/static/tabBar/template.png",
            "selectedIconPath": "/static/tabBar/template-active.png",
            "text": "投票"
          },
          {
            "pagePath": "pages/ucenter/index/index",
            "iconPath": "/static/tabBar/component.png",
            "selectedIconPath": "/static/tabBar/component-active.png",
            "text": "个人中心"
          }]

mock工具

  • imageSrcs
    {
      "data": {
        "images":[
            {
              "img": "https://tse2-mm.cn.bing.net/th/id/OIP-C.ja-L_FC01Xbzhqo4Rm3B8gHaEo?rs=1&pid=ImgDetMain",
              "text": "1"
            },
            {
              "img": "https://tse2-mm.cn.bing.net/th/id/OIP-C.A3UXYP_OyP3S5UfO6HXuAgHaEK?rs=1&pid=ImgDetMain",
              "text": "2"
            },
            {
              "img": "https://pic3.zhimg.com/v2-9873f715d01819718cdc59dc004052b5_1440w.jpg?source=172ae18b",
              "text": "3"
            },
            {
              "img": "https://ts1.cn.mm.bing.net/th/id/R-C.8bb9ed00b8b77b8de03ca88c2c5b9c70?rik=KsLZ%2fjYfY5ELCg&riu=http%3a%2f%2fwww.kutoo8.com%2fupload%2fimage%2f10539408%2f14.jpg&ehk=HMGT1e0hcjxVw1XAbC7yJpq3qSDWlnwsj%2fRN%2f0Etimk%3d&risl=&pid=ImgRaw&r=0",
              "text": "4"
            },
            {
              "img": "https://img1.pconline.com.cn/piclib/200906/09/batch/1/34797/1244512002916phjm5dpgjl.jpg",
              "text": "5"
            },
            {
              "img": "https://ts1.cn.mm.bing.net/th/id/R-C.d951726778523659c8f2d7fd6ad838fd?rik=kR8VYs9ELLWFKQ&riu=http%3a%2f%2fwww.kutoo8.com%2fupload%2fimage%2f85280274%2f2017032108.jpg&ehk=%2fJInO%2fEPMaYF1q%2fu6vzk2j6hPSkAEyCyc3%2fH1Ib1tM0%3d&risl=&pid=ImgRaw&r=0",
              "text": "6"
            }
        ]
      },
      "statusCode": "200",
      "header": {
        "content-type":"applicaiton/json;charset=utf-8"
      }
    }

page

  • index.css
    page{
    	height: 100%;
    	background-color: #efeff4;
    }

swiper

  • index.wxml
    <swiper indicator-dots="true" autoplay="true" circular="true" indicator-color="#fff" indicator-active-color="blue">
       <block wx:for="{{images}}" wx:key="text">
           <swiper-item>
               <view class="swiper-item">
                  <image src="{{item.img}}" mode="scaleToFill"></image>
               </view>
           </swiper-item>
       </block>
    </swiper>
  • index.css
    swiper {
      width: 100%;
      height: calc(100vw*9/16);
    }
    .swiper-item>image {
       width:100%;
    }
  • index.js
    loadSwiperImgs(){
         //请注意this的指向问题
         let that=this;
         wx.request({
           url: api.SwiperImgs,
           success(rs){
             console.log(rs);
             that.setData({
                images:rs.data.images
             });
           }
        })
    }

会议信息

  • mock数据
    {
      "data": {
        "lists": [
            {
               "id": "1",
              "image": "/static/persons/Snipaste_2024-02-18_20-39-17.png",
              "title": "微信小程序会议OA_空空",
              "num":"1314",
              "state":"进行中",
              "starttime": "2024-02-18 21:00:00",
              "location": "湖南省——长沙市"
            },
            {
              "id": "1",
              "image": "/static/persons/Snipaste_2024-02-18_20-40-00.png",
              "title": "微信小程序会议OA_空空",
              "num":"520",
              "state":"已结束",
              "starttime": "2024-02-18 12:00:00",
              "location": "湖南省——长沙市"
            },
            {
              "id": "1",
              "image": "/static/persons/Snipaste_2024-02-18_20-40-45.png",
              "title": "微信小程序会议OA_空空",
              "num":"888",
              "state":"进行中",
              "starttime": "2024-02-18 08:00:00",
              "location": "湖南省——长沙市"
            },
            {
              "id": "1",
              "image": "/static/persons/Snipaste_2024-02-18_20-40-45.png",
              "title": "微信小程序会议OA_空空",
              "num":"666",
              "state":"已结束",
              "starttime": "2024-02-18 08:00:00",
              "location": "湖南省——长沙市"
            },
            {
              "id": "1",
              "image": "/static/persons/Snipaste_2024-02-18_20-40-00.png",
              "title": "微信小程序会议OA_空空",
              "num":"999",
              "state":"进行中",
              "starttime": "2024-02-18 08:00:00",
              "location": "湖南省——长沙市"
            }
          ]
      },
      "statusCode": "200",
      "header": {
        "content-type":"applicaiton/json;charset=utf-8"
      }
    }
  • index.wxml
    <view class="mobi-title">
        <text class="mobi-icon"></text>
        <text>会议信息</text>
    </view>
    <block wx:for-items="{{lists}}" wx:for-item="item" wx:key="item.id">
        <view class="list" data-id="{{item.id}}">
            <view class="list-img">
                <image class="video-img" mode="scaleToFill" src="{{item.image}}"></image>
            </view>
            <view class="list-detail">
                <view class="list-title"><text>{{item.title}}</text></view>
                <view class="list-tag">
                    <view class="state">{{item.state}}</view>
                    <view class="join"><text class="list-num">{{item.num}}</text>人报名</view>
                </view>
                <view class="list-info"><text>{{item.address}}</text>|<text>{{item.time}}</text></view>
            </view>
        </view>
    </block>
    <view class="section bottom-line">
    		<text>到底啦</text>
    </view>
  • index.js
    loadMeetingInfos(){
        let that=this;
        wx.request({
            url: api.MettingInfos,
            dataType: 'json',
            success(res) {
              console.log(res)
              that.setData({
                  lists:res.data.lists
              })
            }
          })
      }
  • index.wxss
    .mobi-title {
        font-size: 12pt;
        color: #777;
        line-height: 110%;
        font-weight: bold;
        width: 100%;
        padding: 15rpx;
        background-color: #f3f3f3;
    }
    
    .mobi-icon {
        padding: 0rpx 3rpx;
        border-radius: 3rpx;
        background-color: #ff7777;
        position: relative;
        margin-right: 10rpx;
    }
    
    /*list*/
    .list {
        display: flex;
        flex-direction: row;
        width: 100%;
        padding: 0 20rpx 0 0;
        border-top: 1px solid #eeeeee;
        background-color: #fff;
        margin-bottom: 5rpx;
        /* border-radius: 20rpx;
        box-shadow: 0px 0px 10px 6px rgba(0,0,0,0.1); */
    }
    
    .list-img {
        display: flex;
        margin: 10rpx 10rpx;
        width: 150rpx;
        height: 220rpx;
        justify-content: center;
        align-items: center;
    }
    
    .list-img .video-img {
        width: 120rpx;
        height: 120rpx;
        
    }
    
    .list-detail {
        margin: 10rpx 10rpx;
        display: flex;
        flex-direction: column;
        width: 600rpx;
        height: 220rpx;
    }
    
    .list-title text {
        font-size: 11pt;
        color: #333;
        font-weight: bold;
    }
    
    .list-detail .list-tag {
        display: flex;
        height: 70rpx;
    }
    
    .list-tag .state {
        font-size: 9pt;
        color: #81aaf7;
        width: 120rpx;
        border: 1px solid #93b9ff;
        border-radius: 2px;
        margin: 10rpx 0rpx;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .list-tag .join {
        font-size: 11pt;
        color: #bbb;
        margin-left: 20rpx;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .list-tag .list-num {
        font-size: 11pt;
        color: #ff6666;
    }
    
    .list-info {
        font-size: 9pt;
        color: #bbb;
        margin-top: 20rpx;
    }
    .bottom-line{
        display: flex;
        height: 60rpx;
        justify-content: center;
        align-items: center;
        background-color: #f3f3f3;
    }
    .bottom-line text{
        font-size: 9pt;
        color: #666;
    }

会议OA项目-会议 

自定义tabs组件

 文档参考地址:自定义组件 | 微信开放文档

tabs.json

{
  "component": true,
  "usingComponents": {}
}

 tabs.wxml

<view class="tabs">
    <view class="tabs_title">
        <view wx:for="{{tabList}}" wx:key="id" class="title_item  {{index==tabIndex?'item_active':''}}" bindtap="handleItemTap" data-index="{{index}}">
            <view style="margin-bottom:5rpx">{{item}}</view>
            <view style="width:30px" class="{{index==tabIndex?'item_active1':''}}"></view>
        </view>
    </view>
    <view class="tabs_content">
        <slot></slot>
    </view>
</view>

 tabs.wxss

.tabs {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fff;
    z-index: 99;
    border-bottom: 1px solid #efefef;
    padding-bottom: 20rpx;
}

.tabs_title {
    /* width: 400rpx; */
    width: 90%;
    display: flex;
    font-size: 9pt;
    padding: 0 20rpx;
}

.title_item {
    color: #999;
    padding: 15rpx 0;
    display: flex;
    flex: 1;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}

.item_active {
    /* color:#ED8137; */
    color: #000000;
    font-size: 11pt;
    font-weight: 800;
}

.item_active1 {
    /* color:#ED8137; */
    color: #000000;
    font-size: 11pt;
    font-weight: 800;
    border-bottom: 6rpx solid #333;
    border-radius: 2px;
}

 tabs.js

var App = getApp();
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    tabList:Object
  },

  /**
   * 组件的初始数据
   */
  data: {
    tabIndex:0
  },

  /**
   * 组件的方法列表
   */
  methods: {
    handleItemTap(e){
      // 获取索引
      const {index} = e.currentTarget.dataset;
      // 触发 父组件的事件
      this.triggerEvent("tabsItemChange",{index})
      this.setData({
          tabIndex:index
      })
    }
  }
})

会议管理

list.json

{
    "usingComponents": {
      "tabs":"/components/tabs/tabs"
    }
}

list.wxml

<tabs tabList="{{tabs}}"  bindtabsItemChange="tabsItemChange">
</tabs>
<view style="height: 100rpx;"></view>
<block wx:for-items="{{lists}}" wx:for-item="item" wx:key="item.id">
    <view class="list" data-id="{{item.id}}">
        <view class="list-img al-center">
            <image class="video-img" mode="scaleToFill" src="{{item.image}}"></image>
        </view>
        <view class="list-detail">
            <view class="list-title"><text>{{item.title}}</text></view>
            <view class="list-tag">
                <view class="state al-center">{{item.state}}</view>
                <view class="join al-center"><text class="list-num">{{item.num}}</text>人报名</view>
            </view>
            <view class="list-info"><text>{{item.address}}</text>|<text>{{item.time}}</text></view>
        </view>
    </view>
</block> 

list.wxss

.mobi-title {
    font-size: 12pt;
    color: #777;
    line-height: 110%;
    font-weight: bold;
    width: 100%;
    padding: 15rpx;
    background-color: #f3f3f3;
}

.mobi-icon {
    padding: 0rpx 3rpx;
    border-radius: 3rpx;
    background-color: #ff7777;
    position: relative;
    margin-right: 10rpx;
}

/*list*/
.list {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 0 20rpx 0 0;
    border-top: 1px solid #eeeeee;
    background-color: #fff;
    margin-bottom: 5rpx;
    /* border-radius: 20rpx;
    box-shadow: 0px 0px 10px 6px rgba(0,0,0,0.1); */
}

.list-img {
    display: flex;
    margin: 10rpx 10rpx;
    width: 150rpx;
    height: 220rpx;
    justify-content: center;
    align-items: center;
}

.list-img .video-img {
    width: 120rpx;
    height: 120rpx;
    
}

.list-detail {
    margin: 10rpx 10rpx;
    display: flex;
    flex-direction: column;
    width: 600rpx;
    height: 220rpx;
}

.list-title text {
    font-size: 11pt;
    color: #333;
    font-weight: bold;
}

.list-detail .list-tag {
    display: flex;
    height: 70rpx;
}

.list-tag .state {
    font-size: 9pt;
    color: #81aaf7;
    width: 120rpx;
    border: 1px solid #93b9ff;
    border-radius: 2px;
    margin: 10rpx 0rpx;
    display: flex;
    justify-content: center;
    align-items: center;
}

.list-tag .join {
    font-size: 11pt;
    color: #bbb;
    margin-left: 20rpx;
    display: flex;
    justify-content: center;
    align-items: center;
}

.list-tag .list-num {
    font-size: 11pt;
    color: #ff6666;
}

.list-info {
    font-size: 9pt;
    color: #bbb;
    margin-top: 20rpx;
}
.bottom-line{
    display: flex;
    height: 60rpx;
    justify-content: center;
    align-items: center;
    background-color: #f3f3f3;
}
.bottom-line text{
    font-size: 9pt;
    color: #666;
}

list.js

// pages/meeting/list/list.js
Page({

    /**
     * 页面的初始数据
     */
    data: {
      tabs:['会议中','已完成','已取消','全部会议'],
      lists: [
        {
          'id': '1',
          'image': '/static/persons/Snipaste_2024-02-18_20-39-17.png',
          'title': '微信小程序会议OA_空空',
          'num':'1314',
          'state':'进行中',
          'time': '02月18日 21:00',
          'address': '湖南省——长沙市'
        },
        {
          'id': '1',
          'image': '/static/persons/Snipaste_2024-02-18_20-40-00.png',
          'title': '微信小程序会议OA_空空',
          'num':'520',
          'state':'已结束',
          'time': '02月18日 21:00',
          'address': '湖南省——长沙市'
        },
        {
          'id': '1',
          'image': '/static/persons/Snipaste_2024-02-18_20-40-45.png',
          'title': '微信小程序会议OA_空空',
          'num':'666',
          'state':'进行中',
          'time': '02月18日 21:00',
          'address': '湖南省——长沙市'
        },
        {
          'id': '1',
          'image': '/static/persons/Snipaste_2024-02-18_20-40-45.png',
          'title': '微信小程序会议OA_空空',
          'num':'888',
          'state':'已结束',
          'time': '02月18日 21:00',
          'address': '湖南省——长沙市'
        },
        {
          'id': '1',
          'image': '/static/persons/Snipaste_2024-02-18_20-39-17.png',
          'title': '微信小程序会议OA_空空',
          'num':'217',
          'state':'进行中',
          'time': '10月09日 16:59',
          'address': '北京市·朝阳区'
        }
      ],
      lists1: [
        {
          'id': '1',
          'image': '/static/persons/Snipaste_2024-02-18_20-39-17.png',
          'title': '微信小程序会议OA_空空',
          'num':'304',
          'state':'进行中',
          'time': '10月09日 17:59',
          'address': '深圳市·南山区'
        },
        {
          'id': '1',
          'image': '/static/persons/Snipaste_2024-02-18_20-39-17.png',
          'title': '微信小程序会议OA_空空',
          'num':'380',
          'state':'已结束',
          'time': '10月09日 17:39',
          'address': '北京市·朝阳区'
        },
        {
          'id': '1',
          'image': '/static/persons/Snipaste_2024-02-18_20-39-17.png',
          'title': '微信小程序会议OA_空空',
          'num':'500',
          'state':'进行中',
          'time': '10月09日 17:31',
          'address': '大连市'
        }
      ],
      lists2: [
        {
          'id': '1',
          'image': '/static/persons/Snipaste_2024-02-18_20-39-17.png',
          'title': '微信小程序会议OA_空空',
          'num':'304',
          'state':'进行中',
          'time': '10月09日 17:59',
          'address': '深圳市·南山区'
        },
        {
          'id': '1',
          'image': '/static/persons/Snipaste_2024-02-18_20-39-17.png',
          'title': '微信小程序会议OA_空空',
          'num':'380',
          'state':'已结束',
          'time': '10月09日 17:39',
          'address': '北京市·朝阳区'
        }
      ],
      lists3: [
        {
          'id': '1',
          'image': '/static/persons/Snipaste_2024-02-18_20-39-17.png',
          'title': '微信小程序会议OA_空空',
          'num':'304',
          'state':'进行中',
          'time': '10月09日 17:59',
          'address': '深圳市·南山区'
        },
        {
          'id': '1',
          'image': '/static/persons/Snipaste_2024-02-18_20-39-17.png',
          'title': '微信小程序会议OA_空空',
          'num':'380',
          'state':'已结束',
          'time': '10月09日 17:39',
          'address': '北京市·朝阳区'
        },
        {
          'id': '1',
          'image': '/static/persons/Snipaste_2024-02-18_20-39-17.png',
          'title': '微信小程序会议OA_空空',
          'num':'500',
          'state':'进行中',
          'time': '10月09日 17:31',
          'address': '大连市'
        },
        {
          'id': '1',
          'image': '/static/persons/Snipaste_2024-02-18_20-39-17.png',
          'title': '微信小程序会议OA_空空',
          'num':'150',
          'state':'已结束',
          'time': '10月09日 17:21',
          'address': '北京市·朝阳区'
        },
        {
          'id': '1',
          'image': '/static/persons/Snipaste_2024-02-18_20-39-17.png',
          'title': '微信小程序会议OA_空空',
          'num':'217',
          'state':'进行中',
          'time': '10月09日 16:59',
          'address': '北京市·朝阳区'
        }
      ]
    },
    /**
     * 生命周期函数--监听页面加载
     */
    onLoad(options) {

    },


    /**
     * 生命周期函数--监听页面显示
     */
    onShow() {

    },

    tabsItemChange(e){
        let tolists;
        if(e.detail.index==1){
            tolists = this.data.lists1;
        }else if(e.detail.index==2){
            tolists = this.data.lists2;
        }else{
            tolists = this.data.lists3;
        }
        this.setData({
            lists: tolists
        })
    }
})

会议OA项目-投票

list.js

// pages/vote/list/list.js
var app = getApp();
Page({

    /**
     * 页面的初始数据
     */
    data: {
        tabs:['全部','发起的','参与的'],
        voteList:[
            {
                id:1,
                title:'微信小程序会议OA_空空',
                votes:[
                    {
                        id:1,
                        img:'/static/persons/Snipaste_2024-02-18_20-40-00.png',
                        title:'A',
                        mem:'A'
                    },
                    {
                        id:2,
                        img:'/static/persons/Snipaste_2024-02-18_20-40-45.png',
                        title:'B',
                        mem:'B'
                    }
                ]
            },
            {
                id:1,
                title:'微信小程序会议OA_空空',
                votes:[
                    {
                        id:1,
                        img:'/static/persons/Snipaste_2024-02-18_20-40-00.png',
                        title:'B',
                        mem:'B'
                    },
                    {
                        id:2,
                        img:'/static/persons/Snipaste_2024-02-18_20-40-45.png',
                        title:'C',
                        mem:'C'
                    },
                    {
                        id:3,
                        img:'/static/persons/Snipaste_2024-02-18_20-40-45.png',
                        title:'D',
                        mem:'X'
                    },
                    {
                        id:4,
                        img:'/static/persons/Snipaste_2024-02-18_20-39-17.png',
                        title:'F',
                        mem:'T'
                    }
                ]
            }
        ]
    },

    /**
     * 生命周期函数--监听页面加载
     */
    onLoad(options) {

    },

    /**
     * 生命周期函数--监听页面初次渲染完成
     */
    onReady() {

    },

    /**
     * 生命周期函数--监听页面显示
     */
    onShow() {

    },

    /**
     * 生命周期函数--监听页面隐藏
     */
    onHide() {

    },

    /**
     * 生命周期函数--监听页面卸载
     */
    onUnload() {

    },

    /**
     * 页面相关事件处理函数--监听用户下拉动作
     */
    onPullDownRefresh() {

    },

    /**
     * 页面上拉触底事件的处理函数
     */
    onReachBottom() {

    },

    /**
     * 用户点击右上角分享
     */
    onShareAppMessage() {

    },
    tabsItemChange(e){
        let index = e.detail.index;
        console.log('vote.index='+index)
        if(index==1 || index==2){
            if (app.globalData.hasLogin) {
                
            }else{
                wx.navigateTo({
                  url: '/pages/auth/login/login',
                })
            }
        }
    }
})

会议OA项目-个人中心

index.wxml

<view class="page-container">
    <view class="user-info-container">
        <view class="user-info"  bindtap="goLogin">
            <image class="user-img" mode="scaleToFill" src="{{userInfo.avatarUrl}}" />
            <text class="user-info-name">{{userInfo.nickName}}</text>
        </view>
        <image class="user-update" src="/static/tabBar/component.png" bindtap='goPages' data-url='/pages/ucenter/user/user'/>
    </view>

    <view class="boundary" />
    <view class="cells-container">
        <view class="cell-wrap">
            <image class="cell-icon" src="/static/tabBar/sdk.png" />
            <text class="cell-text">我主持的会议</text>
            <view class="cell-right">
                <view class="cell-list-num">{{metting_pubs}}</view>
                <view class="cell-arrow"></view>
            </view>
        </view>
        <view class="cell-wrap">
            <image class="cell-icon" src="/static/tabBar/sdk.png" />
            <text class="cell-text">我参与的会议</text>
            <view class="cell-right">
                <view class="cell-list-num">{{metting_joins}}</view>
                <view class="cell-arrow"></view>
            </view>
        </view>
    </view>
    <view class="boundary" />
    <view class="cells-container">
        <view class="cell-wrap">
            <image class="cell-icon" src="/static/tabBar/sdk.png" />
            <text class="cell-text">我发布的投票</text>
            <view class="cell-right">
                <view class="cell-list-num">1</view>
                <view class="cell-arrow"></view>
            </view>
        </view>
        <view class="cell-wrap">
            <image class="cell-icon" src="/static/tabBar/sdk.png" />
            <text class="cell-text">我参与的投票</text>
            <view class="cell-right">
                <view class="cell-list-num">10</view>
                <view class="cell-arrow"></view>
            </view>
        </view>
    </view>
    <view class="boundary" />
    <view class="cells-container">
        <view class="cell-wrap">
            <image class="cell-icon" src="/static/tabBar/template.png" />
            <text class="cell-text">消息</text>
            <view class="cell-right">
                <view class="cell-list-num"></view>
                <view class="cell-arrow"></view>
            </view>
        </view>
        <view class="cell-wrap">
            <image class="cell-icon" src="/static/tabBar/component.png" />
            <text class="cell-text">设置</text>
            <view class="cell-right">
                <view class="cell-list-num"></view>
                <view class="cell-arrow"></view>
            </view>
        </view>
    </view>
</view>

箭头样式:文章来源地址https://www.toymoban.com/news/detail-826892.html

.cell-arrow {
  width: 7px;
  height: 7px;
  border-width: 1px;
  border-color: rgb(136, 136, 136);
  border-style: none solid solid none;
  transform: rotate(315deg);
}

到了这里,关于微信小程序之开发会议OA项目的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • 微信小程序OA会议系统数据交互

    前言 经过我们所写的上一文章:微信小程序会议OA系统其他页面-CSDN博客 在我们的是基础面板上面,可以看到出来我们的数据是死数据,今天我们就完善我们的是数据 后台 在我们去完成项目之前我们要把我们的项目后台准备好资源我放在我资源中,大家可以用于参考,也可

    2024年02月08日
    浏览(31)
  • 微信小程序之会议OA首页后台交互

    springboot+mybatis appliation.yml 生成mapper接口,model实体类,mapper映射文件 application.yml 在启动类 Promise 是异步编程的一种解决方案,比传统的解决方案——回调函数和事件——更合理和更强大。它由社区最早提出和实现,ES6 将其写进了语言标准,统一了用法,原生提供了Promise对象

    2024年02月20日
    浏览(30)
  • 微信小程序之会议OA个人中心后台交互

    目录 获取用户昵称头像和昵称 小程序登录 登录-小程序 wx.checkSession wx.login wx.request 后台 准备数据表 反向生成工具生成 准备封装前端传过来的数据 小程序服器配置 导入微信小程序SDK application.yml WxProperties WxConfig WxAuthController 登录-小程序 login.js user.js util.js emoji wx.getUserProfi

    2024年02月22日
    浏览(40)
  • 微信小程序--数字化会议OA系统之首页搭建

    布局的传统解决方案,基于盒状模型,依赖 display属性 + position属性 + float属性。它对于那些特殊布局非常不方便,比如,垂直居中就不容易实现。 2009年,W3C提出了一种新的方案—-Flex布局,可以简便、完整、响应式地实现各种页面布局。目前,它已经得到了所有浏览器的支持

    2024年02月08日
    浏览(37)
  • 【微信小程序】自定义组件布局会议OA其他页面(附源码)

    🎉🎉欢迎来到我的CSDN主页!🎉🎉 🏅我是Java方文山,一个在CSDN分享笔记的博主。📚📚 🌟推荐给大家我的专栏《微信小程序开发实战》。🎯🎯 👉点击这里,就可以查看我的主页啦!👇👇 Java方文山的个人主页 🎁如果感觉还不错的话请给我点赞吧!🎁🎁 💖期待你的

    2024年02月08日
    浏览(33)
  • 微信小程序之会议OA首页数据交互,会议状态,会议人数转换,会议室交互,WXS的使用

    前言: 本篇博客使用结合了SpringMVC,mybatis,maven,小程序,如果不熟悉使用可以翻看我之前的博客,以便大家可以更好的学习!!! 这是我们今天完成后的效果: 1.1启动开发工具,导入后台 导入框架: 配置maven 注意数据库的名称: 启动 1.2导入数据表 1.3前台页面的编码(

    2024年02月08日
    浏览(44)
  • 【微信小程序】数字化会议OA系统之首页搭建(附源码)

    🎉🎉欢迎来到我的CSDN主页!🎉🎉 🏅我是Java方文山,一个在CSDN分享笔记的博主。📚📚 🌟推荐给大家我的专栏《微信小程序开发实战》。🎯🎯 👉点击这里,就可以查看我的主页啦!👇👇 Java方文山的个人主页 🎁如果感觉还不错的话请给我点赞吧!🎁🎁 💖期待你的

    2024年02月08日
    浏览(26)
  • 微信小程序之会议OA系统首页布局搭建与Mock数据交互

    目录 前言 一、Flex 布局( 分类 编程技术) 1、Flex布局是什么? 2、基本概念 3、容器的属性 3.1 flex-direction属性 3.2 flex-wrap属性 3.3 flex-flow 3.4 justify-content属性 3.5 align-items属性 3.6 align-content属性 4、项目的属性 4.1 order属性 4.2 flex-grow属性 4.3 flex-shrink属性 4.4 flex-basis属性 4.5 fl

    2024年02月08日
    浏览(36)
  • 会议OA小程序项目 与后台数据的交互【首页】

    目录 一. 与后台数据进行交互 pom.xml 配置数据源 MinoaApplication WxHomeController 后台数据展示  二. request的封装 三. 会议展示 application.yml 在utils/util.js中 api.js index/index.js utils/comm.wxs index/index.wxml  效果展示

    2024年02月07日
    浏览(38)
  • 基于微信小程序云开发的通用会议室预约小程序源码,通用会议室预约微信小程序源码

    会议室是一个单位或部门的共用资源,但在使用的时候往往会遇到时间冲突、预约困难、不方便协调等问题。目前大部分公司是统一在公司群聊中预约,每次预约时,都需要翻一下聊天记录,了解是否有人预定以及预定时间等。如果冲突则需要找到相关联系人进行沟通。查找历

    2024年02月11日
    浏览(50)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包