4 files added
1 files modified
| | |
| | | { |
| | | "pages": [ |
| | | "pages/test/test", |
| | | "pages/index/index", |
| | | "pages/lawInfo/lawInfo", |
| | | "pages/zhwj/zhwj", |
New file |
| | |
| | | // pages/test/test.js |
| | | const app = getApp() |
| | | Page({ |
| | | |
| | | /** |
| | | * 页面的初始数据 |
| | | */ |
| | | data: { |
| | | llz: app.globalData.imgUrl + '/image/icon_lianluo.svg', |
| | | }, |
| | | |
| | | /** |
| | | * 生命周期函数--监听页面加载 |
| | | */ |
| | | onLoad: function (options) { |
| | | |
| | | }, |
| | | |
| | | /** |
| | | * 生命周期函数--监听页面初次渲染完成 |
| | | */ |
| | | onReady: function () { |
| | | |
| | | }, |
| | | |
| | | /** |
| | | * 生命周期函数--监听页面显示 |
| | | */ |
| | | onShow: function () { |
| | | |
| | | }, |
| | | |
| | | /** |
| | | * 生命周期函数--监听页面隐藏 |
| | | */ |
| | | onHide: function () { |
| | | |
| | | }, |
| | | |
| | | /** |
| | | * 生命周期函数--监听页面卸载 |
| | | */ |
| | | onUnload: function () { |
| | | |
| | | }, |
| | | |
| | | /** |
| | | * 页面相关事件处理函数--监听用户下拉动作 |
| | | */ |
| | | onPullDownRefresh: function () { |
| | | |
| | | }, |
| | | |
| | | /** |
| | | * 页面上拉触底事件的处理函数 |
| | | */ |
| | | onReachBottom: function () { |
| | | |
| | | }, |
| | | |
| | | /** |
| | | * 用户点击右上角分享 |
| | | */ |
| | | onShareAppMessage: function () { |
| | | |
| | | } |
| | | }) |
New file |
| | |
| | | { |
| | | "usingComponents": {} |
| | | } |
New file |
| | |
| | | <!--pages/test/test.wxml--> |
| | | <View class='card-div'> |
| | | <View class="card-div-img"> |
| | | <image class="index-mycontent-icon " src="{{llz}} " /> |
| | | </View> |
| | | <View class="font_s_lager">在线心理服务</View> |
| | | <View class="font_s_small">心理健康评估、咨询</View> |
| | | </View> |
New file |
| | |
| | | /* pages/test/test.wxss */ |
| | | .card-div{ |
| | | display: flex; |
| | | text-align: center; |
| | | line-height: 48px; |
| | | box-shadow: 0px 6px 6px 0 rgba(80, 119, 170, 0.06); |
| | | } |
| | | |
| | | .card-div-img { |
| | | |
| | | } |
| | | |
| | | .index-mycontent-icon { |
| | | |
| | | } |
| | | |
| | | .font_s_lager { |
| | | |
| | | } |
| | | |
| | | .font_s_small { |
| | | |
| | | } |