内容展示
This commit is contained in:
@@ -50,16 +50,27 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- 文件 -->
|
<!-- 文件 -->
|
||||||
<div class="file" v-show="fileList.length">
|
<div class="file" v-show="fileList.length">
|
||||||
<AiUploader v-for="(item, index) in fileList" :key="index" :src="item.imgPicUrl"/>
|
<div class="file_item" v-for="(item,index) in fileList" :key="index" @click="prevFile(item.sysFile)">
|
||||||
|
<img src="./images/files.png" alt="">
|
||||||
|
<div>{{ item.sysFile.name }}</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 网页 -->
|
<!-- 网页 -->
|
||||||
<div class="webpage" v-show="webpage.length">
|
<div class="webpage" v-show="webpage.length">
|
||||||
<video v-for="(item, index) in picList" :key="index" :src="item.imgPicUrl"/>
|
<p>链接地址</p>
|
||||||
|
<a v-for="(item, index) in webpage" :key="index" :href="item.linkUrl">
|
||||||
|
<div v-if="item.linkTitle">{{item.linkTitle}}</div>
|
||||||
|
<div v-else>{{ item.linkUrl }}</div>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<!-- 小程序 -->
|
<!-- 小程序 -->
|
||||||
<div class="miniapp" v-show="miniapp.length">
|
<div class="miniapp" v-show="miniapp.length">
|
||||||
<!-- <video v-for="(item, index) in picList" :key="index" :src="item.imgPicUrl"/> -->
|
<p>小程序地址</p>
|
||||||
|
<navigator target="miniProgram" open-type="navigate"
|
||||||
|
v-for="(item, index) in webpage" :key="index"
|
||||||
|
:app-id="item.mpAppid" path="item.mpPage" version="release"></navigator>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -71,6 +82,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { mapActions } from "vuex";
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -82,7 +94,8 @@ export default {
|
|||||||
fileList: [],
|
fileList: [],
|
||||||
webpage: [],
|
webpage: [],
|
||||||
miniapp: [],
|
miniapp: [],
|
||||||
}
|
pictres: [],
|
||||||
|
}
|
||||||
},
|
},
|
||||||
onLoad(o) {
|
onLoad(o) {
|
||||||
this.id = o.id
|
this.id = o.id
|
||||||
@@ -107,6 +120,10 @@ export default {
|
|||||||
current: img
|
current: img
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
...mapActions(['previewFile']),
|
||||||
|
prevFile(file) {
|
||||||
|
this.previewFile(file)
|
||||||
|
},
|
||||||
// 拒绝
|
// 拒绝
|
||||||
refuseBtn() {
|
refuseBtn() {
|
||||||
this.pass = 0
|
this.pass = 0
|
||||||
@@ -206,7 +223,6 @@ export default {
|
|||||||
.content {
|
.content {
|
||||||
p {
|
p {
|
||||||
color: #999;
|
color: #999;
|
||||||
margin-bottom: 26px;
|
|
||||||
}
|
}
|
||||||
.textarea,
|
.textarea,
|
||||||
.pictures,
|
.pictures,
|
||||||
@@ -218,6 +234,7 @@ export default {
|
|||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
margin-top: 26px;
|
||||||
}
|
}
|
||||||
.pictures {
|
.pictures {
|
||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
@@ -231,6 +248,21 @@ export default {
|
|||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.video {
|
||||||
|
video {
|
||||||
|
height: 300px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.file {
|
||||||
|
.file_item {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
img {
|
||||||
|
width: 96px;
|
||||||
|
height: 96px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
BIN
src/project/saas/AppCooperationPropaganda/images/files.png
Normal file
BIN
src/project/saas/AppCooperationPropaganda/images/files.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 955 B |
Reference in New Issue
Block a user