婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av

主頁 > 知識庫 > H5仿微信界面教程(一)

H5仿微信界面教程(一)

熱門標簽:鄭州電銷外呼系統(tǒng)違法嗎 威海營銷外呼系統(tǒng)招商 跟電銷機器人做同事 濟南辦理400電話 中紳電銷智能機器人 ai電銷機器人連接網(wǎng)關(guān) 鶴壁手機自動外呼系統(tǒng)怎么安裝 農(nóng)村住宅地圖標注 漳州人工外呼系統(tǒng)排名

前言

先來張圖,仿微信界面,界面如下,并不完全一模一樣,只能說有些類似,希望大家見諒。

1 用到的知識點

jQuery WeUI 是WeUI的一個jQuery實現(xiàn)版本,除了實現(xiàn)了官方插件之外,它還提供了如下拉刷新、日歷、地址選擇器等豐富的拓展組件。jQuery WeUI 中的JS組件均是以JQuery 插件的形式提供,使用非常方便,并且可以和React、Angular、VUE之類的主流JS框架一起使用。

WeUI 是微信官方團隊針對微信提供的一個H5 UI庫,它只提供了一組CSS組件。jQuery WeUI 中使用的是官方WeUI的CSS代碼,并提供了jQuery/Zepto版本的API實現(xiàn)。因為直接使用了官方的CSS,所以你不用擔(dān)心跟官方版本的沖突。實際上 jQuery WeUI == WeUI + jQuery插件。

Font Awesome 是一套完美的圖標字體,主要目的是和 Bootstrap 搭配使用。

2 引入樣式文件

<link href="static/lib/weui.css" rel="stylesheet" type="text/css" /> 
<link href="static/css/jquery-weui.css" rel="stylesheet" type="text/css" /> 
<link href="static/font-awesome/css/font-awesome.css" rel="stylesheet" type="text/css" />

3 先說底部菜單

<div class="weui-tabbar"> 
<a href="wx-wx.html" class="weui-tabbar__item "> <span class="weui-badge" style="position: absolute;top: -.4em;right: 1em;">8</span> 
<div class="weui-tabbar__icon"> 
<i class="fa fa-comment-o fa-fw" style=" "></i> 
</div> <p class="weui-tabbar__label">微信</p> </a> 
<a href="wx-tongxulv.html" class="weui-tabbar__item"> 
<div class="weui-tabbar__icon"> 
<i class="fa fa-vcard-o" style=" "></i> 
</div> <p class="weui-tabbar__label">通訊錄</p> </a> 
<a href="#tab3" class="weui-tabbar__item"> 
<div class="weui-tabbar__icon"> 
<i class="fa fa-compass " style=""></i> 
</div> <p class="weui-tabbar__label">發(fā)現(xiàn)</p> </a> 
<a href="wx-user.html" class="weui-tabbar__item weui-bar__item--on"> 
<div class="weui-tabbar__icon"> 
<i class="fa fa-user" style=" color:#0dba08;"></i> 
</div> <p class="weui-tabbar__label" style=" color:#0dba08;">我</p> </a> 
</div>

4 頭部代碼

<nav class="blue nav" style=" "> 
<a id="topPopovershow" href="#" class="button button-link right "> <i class="fa fa-plus fa-fw" style=" font-size:20px;" ></i> </a> 
<h1 class="title">微信</h1> 
</nav>

5 主體部分

<div class="page-content"> 
<div class="weui-cells" style="margin-top: 0px;">
<a class="weui-cell weui-cell_access open-popup weui-popup-modal " data-target="#full" href="javascript:;">
<div class="weui-cell__hd">
<img width="48px;" class="weui-media-box__thumb" src="images/timg5.jpg" alt="" class="self-header">
</div>
<div class="weui-cell__bd">
<div style=" margin-left:10px;">

<h4 class="weui-media-box__title">小樓聽春雨菩提本無樹</h4>
<p class="weui-media-box__desc" >菩提本無樹,明鏡</p>

</div> 
</div>
<div class="weui-cell__ft">22:55</div>
</a>

<a class="weui-cell weui-cell_access" href="javascript:;">
<div class="weui-cell__hd">
<img width="48px;" class="weui-media-box__thumb" src="images/timg2.jpg" alt="" class="self-header">
</div>
<div class="weui-cell__bd">
<div style=" margin-left:10px;">

<h4 class="weui-media-box__title">聽春雨</h4>
<p class="weui-media-box__desc" >大家聊聊天今天下雨了</p>

</div> 
</div>
<div class="weui-cell__ft">22:55</div>
</a>
</div>

6 頭部css

.nav {
position: fixed;
right: 0;
left: 0;
z-index: 10;
height: 2.2rem;
padding-right: .5rem;
padding-left: .5rem;
background-color: #0993c7;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
color: #FFF;
background-color: #20a0ff;
}

以上就是本文的全部內(nèi)容,希望對大家的學(xué)習(xí)有所幫助,也希望大家多多支持腳本之家。

標簽:萍鄉(xiāng) 甘南 紅河 營口 文山 惠州 咸陽 蘇州

巨人網(wǎng)絡(luò)通訊聲明:本文標題《H5仿微信界面教程(一)》,本文關(guān)鍵詞  仿微,信,界面,教程,一,仿微,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《H5仿微信界面教程(一)》相關(guān)的同類信息!
  • 本頁收集關(guān)于H5仿微信界面教程(一)的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    主站蜘蛛池模板: 美姑县| 莱西市| 开封市| 浮山县| 犍为县| 永登县| 芮城县| 宣汉县| 镇原县| 吉木乃县| 潍坊市| 苗栗市| 翁牛特旗| 四平市| 乡宁县| 黔江区| 昆山市| 汶川县| 宜黄县| 平乡县| 布拖县| 晴隆县| 黄骅市| 社会| 虞城县| 乃东县| 铜山县| 平泉县| 疏附县| 新营市| 岚皋县| 定日县| 高淳县| 阳原县| 揭西县| 沁水县| 清河县| 盐城市| 黔江区| 将乐县| 会东县|