|
@@ -1,5 +1,10 @@
|
|
<template>
|
|
<template>
|
|
- <img v-if="!options.desc" class="image mb-6 last:mb-0 mx-auto" :style="options.style" :src="options.image" @click="click" />
|
|
|
|
|
|
+ <div v-if="!options.desc" @click="click" class="image mb-6 last:mb-0 mx-auto">
|
|
|
|
+ <img :style="options.style" :src="options.image" />
|
|
|
|
+ <div class="image-marks" v-if="options.marks">
|
|
|
|
+ <span style="margin: 0 auto" v-html="options.marks"></span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
<div v-else class="image mb-6 last:mb-0 mx-auto">
|
|
<div v-else class="image mb-6 last:mb-0 mx-auto">
|
|
<img class="mb-1" :style="options.style" :src="options.image" @click="handleClick" />
|
|
<img class="mb-1" :style="options.style" :src="options.image" @click="handleClick" />
|
|
<v-text :options="descOptions"></v-text>
|
|
<v-text :options="descOptions"></v-text>
|
|
@@ -34,4 +39,19 @@ export default {
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
<style lang="less">
|
|
<style lang="less">
|
|
|
|
+.image-marks {
|
|
|
|
+ opacity: 1;
|
|
|
|
+ filter: alpha(opacity=100);
|
|
|
|
+ width: 60%;
|
|
|
|
+ text-align: center;
|
|
|
|
+ height: 100%;
|
|
|
|
+ color: #fff;
|
|
|
|
+ font-family: 'Times New Roman', Times, serif;
|
|
|
|
+ font-size: 20px;
|
|
|
|
+ font-weight: 600;
|
|
|
|
+ letter-spacing: 2px;
|
|
|
|
+ position: absolute;
|
|
|
|
+ top: 35px;
|
|
|
|
+ left: 20%;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|