市北人才赋能平台 --小程序端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
910 B

// pages/topics/loan/index.js
import { config } from '../../../config.js'
const app = getApp()
Component({
/**
* 组件的属性列表
*/
properties: {
detail:{
type:Object,
value:{}
}
},
/**
* 组件的初始数据
*/
data: {
5 years ago
// url:'https://m.qdjqt.com/#/enterpriseLoan?xihaian=&VNK=e92927fe'
url:'https://m.qdjqt.com/#/enterpriseLoan?location=ShiBei&regsource=ShiBeiOrg',
imgUrl:config.api_url+'/image/loan.jpg',
height:''
},
/**
* 组件的方法列表
*/
methods: {
check:function(){
var url = this.data.url;
wx.navigateTo({
url: '/pages/resource/navigate/index?url=' + encodeURIComponent(url)
})
}
},
attached: function() {
console.log(app.globalData.windowHeight)
console.log(app.globalData.screenHeight)
this.setData({
height:app.globalData.windowHeight - 44
})
},
})