forked from nsjcy/frontEnd/nsjcy

liuwh
2020-06-09 5a887acf1924950715086633d329db045223b5c4
test
4 files added
1 files modified
102 ■■■■■ changed files
SunshineLnsMinApp/app.json 1 ●●●● patch | view | raw | blame | history
SunshineLnsMinApp/pages/test/test.js 67 ●●●●● patch | view | raw | blame | history
SunshineLnsMinApp/pages/test/test.json 3 ●●●●● patch | view | raw | blame | history
SunshineLnsMinApp/pages/test/test.wxml 8 ●●●●● patch | view | raw | blame | history
SunshineLnsMinApp/pages/test/test.wxss 23 ●●●●● patch | view | raw | blame | history
SunshineLnsMinApp/app.json
@@ -1,5 +1,6 @@
{
  "pages": [
    "pages/test/test",
    "pages/index/index",
    "pages/lawInfo/lawInfo",
    "pages/zhwj/zhwj",
SunshineLnsMinApp/pages/test/test.js
New file
@@ -0,0 +1,67 @@
// 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 () {
  }
})
SunshineLnsMinApp/pages/test/test.json
New file
@@ -0,0 +1,3 @@
{
  "usingComponents": {}
}
SunshineLnsMinApp/pages/test/test.wxml
New file
@@ -0,0 +1,8 @@
<!--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>
SunshineLnsMinApp/pages/test/test.wxss
New file
@@ -0,0 +1,23 @@
/* 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 {
}