Commit ed7a8f3c by 冷斌

fix bug

parent b484f5c0
...@@ -47,6 +47,8 @@ class SingleAction extends CommonAction ...@@ -47,6 +47,8 @@ class SingleAction extends CommonAction
$res = M('single')->where($map)->find(); $res = M('single')->where($map)->find();
} }
} }
var_dump($res);
di;
$this->assign('data', $res); $this->assign('data', $res);
$this->display(); $this->display();
......
...@@ -8,6 +8,9 @@ ...@@ -8,6 +8,9 @@
<div id="app"> <div id="app">
<div class="layout_v"> <div class="layout_v">
{$data.text}
<van-cell @click="onChangePwd" title="修改密码" is-link ></van-cell> <van-cell @click="onChangePwd" title="修改密码" is-link ></van-cell>
<!-- <van-cell @click="onFeedback" 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="onAboutUs" title="关于我们" is-link ></van-cell>-->
...@@ -25,7 +28,7 @@ ...@@ -25,7 +28,7 @@
} }
}, },
mounted:function(){ mounted:function(){
document.title = "设置" document.title = "{$data.title}"
}, },
methods: { methods: {
onChangePwd: function() { onChangePwd: function() {
......
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