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.
48 lines
844 B
48 lines
844 B
4 years ago
|
// pages/topics/rentHouse/index.js
|
||
|
import { config } from '../../../config.js'
|
||
|
const app = getApp()
|
||
|
Component({
|
||
|
/**
|
||
|
* 组件的属性列表
|
||
|
*/
|
||
|
properties: {
|
||
|
detail:{
|
||
|
type:Object,
|
||
|
value:{}
|
||
|
}
|
||
|
},
|
||
|
|
||
|
/**
|
||
|
* 组件的初始数据
|
||
|
*/
|
||
|
data: {
|
||
|
imgUrl:config.api_url+'/image/rent.jpg',
|
||
|
height:''
|
||
|
},
|
||
|
|
||
|
/**
|
||
|
* 组件的方法列表
|
||
|
*/
|
||
|
methods: {
|
||
|
check:function(){
|
||
|
wx.navigateToMiniProgram({
|
||
|
appId: 'wxef0e53a893100eb1',
|
||
|
path: '',
|
||
|
envVersion: 'release', // 打开正式版
|
||
|
success(res) {
|
||
|
// 打开成功
|
||
|
console.log('打开成功')
|
||
|
},
|
||
|
fail: function (err) {
|
||
|
console.log(err);
|
||
|
}
|
||
|
})
|
||
|
}
|
||
|
},
|
||
|
attached: function() {
|
||
|
this.setData({
|
||
|
height:app.globalData.windowHeight - 44
|
||
|
})
|
||
|
},
|
||
|
})
|