|
|
@@ -1,6 +1,10 @@
|
|
|
<template>
|
|
|
<view>
|
|
|
- <tabs ref="tabs" @getList="getList" />
|
|
|
+ <tabs ref="tabs" @getList="getList">
|
|
|
+ <view class="tab-item">
|
|
|
+ 全国精选
|
|
|
+ </view>
|
|
|
+ </tabs>
|
|
|
<My_listbox ref="List" @getlist="getList" :bottomHeight="70">
|
|
|
<navigator class="list-item" :url="'/packageA/webView/webView?url=' + item.panoramaurl" v-for="item in list"
|
|
|
hover-class="navigator-hover" :key="item.sat_sharematerialid">
|
|
|
@@ -8,6 +12,7 @@
|
|
|
<view class="tips">
|
|
|
<view class="label u-line-1">{{ item.title }}</view>
|
|
|
</view>
|
|
|
+ <view class="iconfont icon-a-720quanjing-bai" />
|
|
|
</navigator>
|
|
|
</My_listbox>
|
|
|
</view>
|
|
|
@@ -17,7 +22,7 @@
|
|
|
import tabs from "./tabs.vue"
|
|
|
export default {
|
|
|
components: { tabs },
|
|
|
- name: "imgsindex",
|
|
|
+ name: "fullView",
|
|
|
data() {
|
|
|
return {
|
|
|
"content": {
|
|
|
@@ -54,7 +59,7 @@ export default {
|
|
|
if (this.cutoff(res.msg)) return;
|
|
|
this.isInitialize = true;
|
|
|
res.data = res.data.map(v => {
|
|
|
- v.cover = v.attinfos.length ? this.getSpecifiedImage(v.attinfos.find(s => s.usetype == "sat_sharematerial") || v.attinfos[0]) : ''
|
|
|
+ v.cover = v.attinfos.length ? this.getSpecifiedImage(v.attinfos.find(s => s.usetype == "sat_sharematerial") || v.attinfos[0]) : uni.getStorageSync("site").logo || ''
|
|
|
return v
|
|
|
})
|
|
|
this.list = res.pageNumber == 1 ? res.data : this.list.concat(res.data);
|
|
|
@@ -75,6 +80,7 @@ body {
|
|
|
|
|
|
|
|
|
.list-item {
|
|
|
+ position: relative;
|
|
|
width: 355px;
|
|
|
margin: 0 auto 20px;
|
|
|
border-radius: 5px;
|
|
|
@@ -91,7 +97,7 @@ body {
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
height: 20px;
|
|
|
- line-height: 20pxF;
|
|
|
+ line-height: 20px;
|
|
|
|
|
|
.title {
|
|
|
flex: 1;
|
|
|
@@ -102,5 +108,26 @@ body {
|
|
|
margin-bottom: 20px;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ .icon-a-720quanjing-bai {
|
|
|
+ position: absolute;
|
|
|
+ top: 5px;
|
|
|
+ right: 5px;
|
|
|
+ font-size: 24px;
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+.tab-item {
|
|
|
+ flex-shrink: 0;
|
|
|
+ height: 24px;
|
|
|
+ line-height: 24px;
|
|
|
+ padding: 0 5px;
|
|
|
+ border-radius: 12px;
|
|
|
+ margin-right: 5px;
|
|
|
+ font-size: 12px;
|
|
|
+ background: #C30D23;
|
|
|
+ color: #FFFFFF;
|
|
|
}
|
|
|
</style>
|