Commit 447f2b5a by 冷斌

fix bug

parent 5a25afa2
<!--<include file="__THEME__/public_header_w3g" />-->
<!--<style>-->
<!-- body {-->
<!-- padding: 0 !important;-->
<!-- }-->
<!--</style>-->
<!--<div id="app">-->
<!-- <div class="layout_v">-->
<!-- {$data.text}-->
<!-- </div>-->
<!--</div>-->
<!--<script type="text/javascript">-->
<!-- new Vue({-->
<!-- el: "#app",-->
<!-- data: function() {-->
<!-- return {-->
<!-- }-->
<!-- },-->
<!-- mounted:function(){-->
<!-- document.title = "{$data.title}"-->
<!-- },-->
<!-- methods: {-->
<!-- }-->
<!-- })-->
<!--</script>-->
<!--<include file="__THEME__/public_footer_w3g"/>-->
<include file="__THEME__/public_header_w3g" />
<style>
......@@ -8,7 +42,10 @@
<div id="app">
<div class="layout_v">
{$data.text}
<van-cell @click="onChangePwd" title="修改密码" is-link ></van-cell>
<!-- <van-cell @click="onFeedback" title="意见反馈" is-link ></van-cell>-->
<!-- <van-cell @click="onAboutUs" title="关于我们" is-link ></van-cell>-->
<van-cell @click="onQuit" title="退出账号" is-link ></van-cell>
</div>
</div>
......@@ -22,10 +59,21 @@
}
},
mounted:function(){
document.title = "{$data.title}"
document.title = "设置"
},
methods: {
onChangePwd: function() {
window.location.href = "{:U('home/User/changepsw')}"
},
onFeedback: function() {
},
onAboutUs: function() {
},
onQuit: function() {
logout()
}
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment