init: import production code mss.nahaichuan.com (exclude Runtime/Uploads/backups/logs)
这个提交包含在:
@@ -0,0 +1,63 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<!--[1.1.76]-->
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport"
|
||||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>促销活动</title>
|
||||
<link rel="stylesheet" href="__PUBLIC__/vue/element-ui.css">
|
||||
</head>
|
||||
<style>
|
||||
[v-cloak] {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div id="app" v-cloak style="width: 100%">
|
||||
<el-table :data="record">
|
||||
<el-table-column type="index" label="序号" width="80"></el-table-column>
|
||||
<el-table-column property="type_name" label="类型"></el-table-column>
|
||||
<el-table-column property="money" label="支付金额"></el-table-column>
|
||||
<el-table-column property="pay_type_name" label="支付方式"></el-table-column>
|
||||
<el-table-column property="addtime" label="支付时间"></el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
</body>
|
||||
<script src="__PUBLIC__/jquery/js/jquery-3.2.1.min.js"></script>
|
||||
<script src="__PUBLIC__/vue/js/vue2.5.16.js"></script>
|
||||
<script src="__PUBLIC__/vue/element-ui.js"></script>
|
||||
<script>
|
||||
var app = new Vue({
|
||||
el: '#app',
|
||||
data: function () {
|
||||
return {
|
||||
record:[], // 记录列表
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
/* 获取记录 */
|
||||
getRecord(){
|
||||
var vip_id = "{$vip_id}";
|
||||
var that = this;
|
||||
$.ajax({
|
||||
url:"{:U('getRecord')}",
|
||||
type:"post",
|
||||
data:{vip_id:vip_id},
|
||||
success:function (res) {
|
||||
if(res.status == 1){
|
||||
that.record = res.record;
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
},
|
||||
|
||||
created: function () {
|
||||
this.getRecord();
|
||||
},
|
||||
})
|
||||
</script>
|
||||
</html>
|
||||
在新工单中引用
屏蔽一个用户