| | |
| | | |
| | | <div class="wrapper caseDetail" v-for="(item, index) in details" :key="index"> |
| | | <div v-if="item.TypeCharOne === 'WLongText'"> |
| | | <div class="content_title"><span v-text="item.Title1"></span></div> |
| | | <div class="content_title_p" style="margin: .4rem auto .1rem;" v-for="(text, i) in item.texts" :key="i" v-text="text"> |
| | | <div class="content_title"><span v-if="item.Title1" v-text="item.Title1"></span></div> |
| | | <div v-for="(cell, i) in item.subs" :key="i"> |
| | | <div class="content_title_p" v-if="cell.type === 'text'" style="margin: .4rem auto .1rem;" v-text="cell.value"></div> |
| | | <div class="content-img" v-else-if="cell.type === 'img'"><img :src="cell.value" alt=""></div> |
| | | </div> |
| | | <div class="content-img"><img :src="item.url" alt=""></div> |
| | | </div> |
| | | <div class="p_backg" v-if="item.TypeCharOne === 'Wico'"> |
| | | <div class="wrapper"> |
| | |
| | | </div> |
| | | <div class="wrapper" v-if="item.TypeCharOne === 'Wcontent'"> |
| | | <div class="content-box"> |
| | | <h3><span v-text="item.Title1"></span></h3> |
| | | <h3><span v-if="item.Title1" v-text="item.Title1"></span></h3> |
| | | <ul class="scene"> |
| | | <li style="margin-bottom: 0.2rem;" v-for="(cell, i) in item.DOne" :key="i"> |
| | | <img :src="cell.Images" alt=""> |
| | |
| | | </div> |
| | | <div class="wrapper" style="margin-bottom: 0.3rem;" v-if="item.TypeCharOne === 'Wimages'"> |
| | | <div class="content-bottom"> |
| | | <h3 class="h3"><span v-text="item.Title1"></span></h3> |
| | | <h3 class="h3"><span v-if="item.Title1" v-text="item.Title1"></span></h3> |
| | | </div> |
| | | <div class="partner"> |
| | | <div v-for="(cell, i) in item.DOne" :key="i"> |
| | |
| | | this.url = res.Image1 |
| | | this.details = res.Detail.map(item => { |
| | | if (item.TypeCharOne === 'WLongText') { |
| | | item.texts = [] |
| | | item.subs = [] |
| | | item.DOne.forEach(cell => { |
| | | if (cell.LongText) { |
| | | item.texts.push(cell.LongText) |
| | | item.subs.push({ |
| | | type: 'text', |
| | | value: cell.LongText |
| | | }) |
| | | } else if (cell.Images) { |
| | | item.url = cell.Images |
| | | item.subs.push({ |
| | | type: 'img', |
| | | value: cell.Images |
| | | }) |
| | | } |
| | | }) |
| | | } |
| | |
| | | .content-img { |
| | | width: 12.32rem; |
| | | height: auto; |
| | | margin-top: 0.8rem; |
| | | margin-top: 0.4rem; |
| | | } |
| | | .program { |
| | | width: 100%; |