修改公告显示问题
parent
123c01e78e
commit
1cb5cea349
8
App.vue
8
App.vue
|
|
@ -7,12 +7,12 @@
|
||||||
data: {
|
data: {
|
||||||
// 基础配置
|
// 基础配置
|
||||||
// 数据接口请求地址
|
// 数据接口请求地址
|
||||||
//request_url: 'http://shopxo.com/',
|
request_url: 'http://shopxo.com/',
|
||||||
request_url:'https://new.shopxo.vip/',
|
// request_url:'https://new.shopxo.vip/',
|
||||||
|
|
||||||
// 静态资源地址(如系统根目录不在public目录下面请在静态地址后面加public目录、如:https://d1.shopxo.vip/public/)
|
// 静态资源地址(如系统根目录不在public目录下面请在静态地址后面加public目录、如:https://d1.shopxo.vip/public/)
|
||||||
//static_url: 'http://shopxo.com/',
|
static_url: 'http://shopxo.com/',
|
||||||
static_url:'https://new.shopxo.vip/',
|
// static_url:'https://new.shopxo.vip/',
|
||||||
|
|
||||||
// 系统类型(默认default、如额外独立小程序、可与程序分身插件实现不同主体小程序及支付独立)
|
// 系统类型(默认default、如额外独立小程序、可与程序分身插件实现不同主体小程序及支付独立)
|
||||||
system_type: 'default',
|
system_type: 'default',
|
||||||
|
|
|
||||||
|
|
@ -18,11 +18,16 @@
|
||||||
</template>
|
</template>
|
||||||
<swiper class="swiper flex-1" circular :indicator-dots="false" :autoplay="true" :interval="interval_time" :vertical="direction_type == 'vertical'" :style="container_height">
|
<swiper class="swiper flex-1" circular :indicator-dots="false" :autoplay="true" :interval="interval_time" :vertical="direction_type == 'vertical'" :style="container_height">
|
||||||
<swiper-item v-for="(item, index) in notice_list" :key="index">
|
<swiper-item v-for="(item, index) in notice_list" :key="index">
|
||||||
<view class="swiper-item flex-row align-c ht-auto" :style="content_title_style + 'color:' + form_style.news_color" :data-value="item.notice_link.page" @tap="url_event">{{ item.notice_title }}</view>
|
<view class="swiper-item flex-row align-c ht-auto" :style="content_title_style + 'color:' + form_style.news_color" :data-value="item.notice_link.page" @tap="url_event">
|
||||||
|
<view class="text-line-1">{{ item.notice_title }}</view>
|
||||||
|
</view>
|
||||||
</swiper-item>
|
</swiper-item>
|
||||||
</swiper>
|
</swiper>
|
||||||
<view v-if="form_content.is_right_button == '1'" class="text-size-xs" :data-value="form_content.more_link.page" @tap="url_event">
|
<view v-if="form_content.is_right_button == '1'" class="flex-row" :style="'color: ' + form_style.right_button_color + ';font-size:' + form_style.right_button_size * 2 + 'rpx;'" :data-value="form_content.more_link.page" @tap="url_event">
|
||||||
<iconfont name="icon-arrow-right" :color="form_style.button_color || '#999'" propContainerDisplay="flex"></iconfont>
|
{{ form_content.right_title }}
|
||||||
|
<view class="pr top-xs">
|
||||||
|
<iconfont name="icon-arrow-right" :color="form_style.right_button_color || '#999'" propContainerDisplay="flex"></iconfont>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -40,12 +45,12 @@
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<view :style="title_style" class="padding-horizontal-sm border-radius-sm">{{ form_content.title || '公告' }}</view>
|
<view :style="title_style" class="padding-horizontal-sm border-radius-sm">{{ form_content.title }}</view>
|
||||||
</template>
|
</template>
|
||||||
<view v-if="form_content.is_right_button == '1'" class="text-size-xs flex-row" :style="'color: ' + form_style.button_color" :data-value="form_content.more_link.page" @tap="url_event">
|
<view v-if="form_content.is_right_button == '1'" class="flex-row" :style="'color: ' + form_style.right_button_color + ';font-size:' + form_style.right_button_size * 2 + 'rpx;'" :data-value="form_content.more_link.page" @tap="url_event">
|
||||||
更多
|
{{ form_content.right_title }}
|
||||||
<view class="pr top-xs">
|
<view class="pr top-xs">
|
||||||
<iconfont name="icon-arrow-right" :color="form_style.button_color || '#999'" propContainerDisplay="flex"></iconfont>
|
<iconfont name="icon-arrow-right" :color="form_style.right_button_color || '#999'" propContainerDisplay="flex"></iconfont>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue