|
@@ -5,68 +5,21 @@
|
|
|
前言
|
|
|
</h3>
|
|
|
<p class="foreword">
|
|
|
- 这是前言这是前言这是前言这是前言这是前言这是前言这是前言这是前言这是前言这是前言这是前言这是前言这是前言这是前言
|
|
|
+ {{ data?.preface }}
|
|
|
</p>
|
|
|
<ul>
|
|
|
<li
|
|
|
+ v-for="(item, idx) in data?.list"
|
|
|
+ :key="item.id"
|
|
|
@click="$router.push({
|
|
|
name: 'RelicList',
|
|
|
query: {
|
|
|
- idx: '0',
|
|
|
+ unitIdx: idx,
|
|
|
},
|
|
|
})"
|
|
|
>
|
|
|
- <h3>章节标题</h3>
|
|
|
- <p>章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容</p>
|
|
|
- <button class="detail-entry">
|
|
|
- 藏品鉴赏
|
|
|
- <img
|
|
|
- class="arrow"
|
|
|
- src="@/assets/images/red-arrow-right.png"
|
|
|
- alt=""
|
|
|
- draggable="false"
|
|
|
- >
|
|
|
- </button>
|
|
|
- </li>
|
|
|
- <li>
|
|
|
- <h3>章节标题</h3>
|
|
|
- <p>章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容</p>
|
|
|
- <button class="detail-entry">
|
|
|
- 藏品鉴赏
|
|
|
- <img
|
|
|
- class="arrow"
|
|
|
- src="@/assets/images/red-arrow-right.png"
|
|
|
- alt=""
|
|
|
- draggable="false"
|
|
|
- >
|
|
|
- </button>
|
|
|
- </li><li>
|
|
|
- <h3>章节标题</h3>
|
|
|
- <p>章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容</p>
|
|
|
- <button class="detail-entry">
|
|
|
- 藏品鉴赏
|
|
|
- <img
|
|
|
- class="arrow"
|
|
|
- src="@/assets/images/red-arrow-right.png"
|
|
|
- alt=""
|
|
|
- draggable="false"
|
|
|
- >
|
|
|
- </button>
|
|
|
- </li><li>
|
|
|
- <h3>章节标题</h3>
|
|
|
- <p>章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容</p>
|
|
|
- <button class="detail-entry">
|
|
|
- 藏品鉴赏
|
|
|
- <img
|
|
|
- class="arrow"
|
|
|
- src="@/assets/images/red-arrow-right.png"
|
|
|
- alt=""
|
|
|
- draggable="false"
|
|
|
- >
|
|
|
- </button>
|
|
|
- </li><li>
|
|
|
- <h3>章节标题</h3>
|
|
|
- <p>章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容章节内容</p>
|
|
|
+ <h3>{{ item.label }}</h3>
|
|
|
+ <p>{{ item.info }}</p>
|
|
|
<button class="detail-entry">
|
|
|
藏品鉴赏
|
|
|
<img
|
|
@@ -83,17 +36,23 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+import { mapState } from "vuex"
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
isExpand: false,
|
|
|
}
|
|
|
},
|
|
|
+ computed: {
|
|
|
+ ...mapState([
|
|
|
+ 'data'
|
|
|
+ ])
|
|
|
+ },
|
|
|
+ mounted() {
|
|
|
+ console.log(this.data, 'dskfjslkfj')
|
|
|
+ },
|
|
|
methods: {
|
|
|
- onClickExpandShrink() {
|
|
|
- this.isExpand = !this.isExpand
|
|
|
- }
|
|
|
- }
|
|
|
+ },
|
|
|
}
|
|
|
</script>
|
|
|
|
|
@@ -141,6 +100,7 @@ export default {
|
|
|
align-items: center;
|
|
|
width: 76.4vw;
|
|
|
cursor: pointer;
|
|
|
+ margin-bottom: 10px;
|
|
|
&:hover{
|
|
|
box-shadow: 3px 6px 19px 0px rgba(61, 34, 3, 0.2);
|
|
|
>h3{
|