Commit 115d88c7 authored by 黄奎's avatar 黄奎

页面修改

parent e3ec34d1
...@@ -48,9 +48,9 @@ ...@@ -48,9 +48,9 @@
class="text-small q-mr-md" v-for="(x,i) in colorArr" :key="i">{{x.ColorName}}</el-check-tag> class="text-small q-mr-md" v-for="(x,i) in colorArr" :key="i">{{x.ColorName}}</el-check-tag>
</div> </div>
</div> </div>
<div class="q-mt-lg bg-white q-pa-lg rounded"> <div class="q-mt-lg bg-white q-pa-lg rounded" style="height:200px;">
<template v-for="(item,index) in dataList"> <template v-for="(item,index) in dataList">
<div style="width:200px;height:200px;"> <div style="width:200px;height:200px;" @click="goToTemplate(item)">
<img :src="item.CoverImg" style="width:100px;height:80px" /> <img :src="item.CoverImg" style="width:100px;height:80px" />
<br /> <br />
<span>{{item.Title}}</span> <span>{{item.Title}}</span>
...@@ -95,6 +95,13 @@ ...@@ -95,6 +95,13 @@
pageCount: 0, //总页数 pageCount: 0, //总页数
}) })
/**
* 页面跳转
*/
const goToTemplate = (item: any) => {
console.log("item", item);
}
/*** /***
* 获取模板市场分页列表 * 获取模板市场分页列表
*/ */
......
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