67 行
1.7 KiB
HTML
可执行文件
67 行
1.7 KiB
HTML
可执行文件
<!doctype html>
|
|
<html lang="zh">
|
|
<!--[1.0.92]-->
|
|
<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__/css/css-comment.css">
|
|
<style>
|
|
#app {
|
|
box-sizing: border-box;
|
|
padding: 30px;
|
|
}
|
|
.chooseWrap {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
font-size: 15px;
|
|
}
|
|
.chooseList {
|
|
background: #f1f1f1;
|
|
width: 200px;
|
|
height: 80px;
|
|
line-height: 80px;
|
|
text-align: center;
|
|
margin-right: 15px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="app">
|
|
<ul class="chooseWrap">
|
|
<li class="chooseList" v-for="(item,index) in choose">
|
|
<a :href="'mark_detail.html?model='+item.model">
|
|
<div class="">{{item.type}}</div>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
<script src="__PUBLIC__/vue/js/vue2.5.16.js"></script>
|
|
<script>
|
|
new Vue({
|
|
el: "#app",
|
|
data: {
|
|
choose: [
|
|
{
|
|
type: "会员卡激活",
|
|
model:1,
|
|
},
|
|
{
|
|
type: "会员卡充值",
|
|
model:2,
|
|
},
|
|
{
|
|
type: "会员消费",
|
|
model:3,
|
|
},
|
|
{
|
|
type: "优惠劵发放",
|
|
model:4,
|
|
}]
|
|
}
|
|
})
|
|
</script>
|
|
</html> |