Commit 02d40176 by 胡悦

提交

1 parent d6992ee6
{ {
"pages": [ "pages": [
"pages/tab/index/index", "pages/tab/index/index",
"pages/application/application" "pages/application/application",
"pages/experience/experience"
], ],
"window": { "window": {
"backgroundTextStyle": "light", "backgroundTextStyle": "light",
......
// pages/experience/experience.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})
\ No newline at end of file \ No newline at end of file
{
"usingComponents": {}
}
\ No newline at end of file \ No newline at end of file
<!--pages/experience/experience.wxml-->
<text>pages/experience/experience.wxml</text>
/* pages/experience/experience.wxss */
\ No newline at end of file \ No newline at end of file
...@@ -10,12 +10,19 @@ Page({ ...@@ -10,12 +10,19 @@ Page({
introduce(e) { introduce(e) {
console.log(e.target.dataset.name) console.log(e.target.dataset.name)
const name = e.target.dataset.name const name = e.target.dataset.name
this.setData({ switch (name){
introduceName: name case '城市合伙人':
}) wx.$router.go('application')
break;
default:
this.setData({
introduceName: name
})
}
}, },
jump() { jump() {
wx.$router.go('application') wx.$router.go('experience')
}, },
/** /**
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
......
...@@ -33,4 +33,5 @@ ...@@ -33,4 +33,5 @@
</view> </view>
</view> </view>
<import src="../../template/demo/demo.wxml" /> <import src="../../template/demo/demo.wxml" />
<template is="demo"></template>
\ No newline at end of file \ No newline at end of file
<template is="demo"></template>
<button bindtap="jump">免费申请体验账号</button>
\ No newline at end of file \ No newline at end of file
...@@ -47,11 +47,7 @@ ...@@ -47,11 +47,7 @@
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.15.0", "libVersion": "2.15.0",
<<<<<<< HEAD
"appid": "wx5d1208f9c8712943", "appid": "wx5d1208f9c8712943",
=======
"appid": "wxfe82b8d65d07808f",
>>>>>>> 38d0be18c81def5589783c5af405a4c88df69a50
"projectname": "%E5%B9%BF%E8%81%94%E5%B0%8F%E7%A8%8B%E5%BA%8F%E6%A8%A1%E7%89%88", "projectname": "%E5%B9%BF%E8%81%94%E5%B0%8F%E7%A8%8B%E5%BA%8F%E6%A8%A1%E7%89%88",
"simulatorType": "wechat", "simulatorType": "wechat",
"simulatorPluginLibVersion": {}, "simulatorPluginLibVersion": {},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!