第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時(shí)綁定郵箱和手機(jī)立即綁定

【金秋打卡】第15天 破解JavaScript高級玩法 第一講

標(biāo)簽:
Vue.js

课程章节: 课程导学

主讲老师: Cloud

课程内容:

今天学习的内容包括:

课程的基本介绍

课程收获:

15.1 心得:

var app = getApp();
Page({
  data: {
    scenicSpot: [],
    num: 1,
    toView: '',
    height: "",
    realHeight: 1,
    imgUrls: [],
    scenicSpotId: ""
  },

  jumpTo: function(e) {
    let target = e.currentTarget.dataset.opt;
    this.setData({
      // num: e.currentTarget.dataset.num,
      toView: target
    });
  },

  getBusinessDetailInfo: function() {
    var that = this;
    wx.showLoading({
      title: "数据加载中..."
    });

    wx.request({
      url: app.getUrl(app.globalData.businessDetailInfo),
      data: {
        scenicSpotId: that.data.scenicSpotId,
      },
      success: function(res) {
        var result = res.data;
        if (result.result) {
          that.setData({
            scenicSpot: result.data
          });

          if (result.data != null) {
            that.setData({
              imgUrls: result.data.Pictures
            });
          }

        }
        wx.hideLoading();
      },
      fail: function(err) {
        wx.hideLoading();
      }, //请求失败
      complete: function() {} //请求完成后执行的函数
    });
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function(options) {
    var that = this;
    // 获取系统信息
    wx.getSystemInfo({
      success: function(res) {
        // 计算主体部分高度,单位为px
        that.setData({
          height: res.windowHeight
        })
      }
    })

    that.data.scenicSpotId = options.scenicSpotId;
    that.getBusinessDetailInfo();
  },




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

  },

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

  },

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

  },

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

  },

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

  },

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

  },

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

  }
})
/* pages/scenicIntroduce/scenicIntroduce.wxss */

page {
  background: #fff;
}

.choose_list {
  position: fixed;
  z-index: 9;
  display: flex;
  justify-content: space-between;
  line-height: 1;
  width: 100%;
  top: 0;
  padding: 26rpx 0;
  background-color: #fff;
  border-bottom: 1rpx solid #f5f5f5;
}

.scenic_introduce {
  display: flex;
  flex-direction: column;
  margin: 0 30rpx 80rpx 30rpx;
}

.choose_left{
  margin-left: 30rpx;
}

.choose_right{
  margin-right: 30rpx;
}

.title {
  display: flex;
  font-size: 36rpx;
  font-weight: bold;
  padding-bottom: 30rpx;
  padding-top: 80rpx;
}

.scenic_inro_title{
  display: flex;
  font-size: 36rpx;
  font-weight: bold;
  padding-bottom: 30rpx;
  padding-top: 120rpx;
}

.text {
  font-size: 26rpx;
}

.image_list {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30rpx;
}

.scenic_inro_image {
  width: 340rpx;
  height: 190rpx;
}

图片描述

點(diǎn)擊查看更多內(nèi)容
TA 點(diǎn)贊

若覺得本文不錯(cuò),就分享一下吧!

評論

作者其他優(yōu)質(zhì)文章

正在加載中
  • 推薦
  • 評論
  • 收藏
  • 共同學(xué)習(xí),寫下你的評論
感謝您的支持,我會繼續(xù)努力的~
掃碼打賞,你說多少就多少
贊賞金額會直接到老師賬戶
支付方式
打開微信掃一掃,即可進(jìn)行掃碼打賞哦
今天注冊有機(jī)會得

100積分直接送

付費(fèi)專欄免費(fèi)學(xué)

大額優(yōu)惠券免費(fèi)領(lǐng)

立即參與 放棄機(jī)會
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號

舉報(bào)

0/150
提交
取消