ask
parent
ce3d25aa7d
commit
d2f09a2752
|
|
@ -10,7 +10,7 @@
|
|||
<view class="fw-b padding-horizontal-xs">·</view>
|
||||
{{ data.access_count || '0' }}浏览
|
||||
</view>
|
||||
<view class="text-size-md">{{ data.content }}</view>
|
||||
<view v-if="data.title != data.content" class="text-size-md">{{ data.content }}</view>
|
||||
<block v-if="(data.goods_data || null) !== null">
|
||||
<navigator :url="data.goods_data.goods_url" hover-class="none">
|
||||
<view class="goods-link spacing-mt bg-grey-f9 padding-main border-radius-sm">
|
||||
|
|
@ -131,7 +131,9 @@
|
|||
onShow() {},
|
||||
|
||||
// 下拉刷新
|
||||
onPullDownRefresh() {},
|
||||
onPullDownRefresh() {
|
||||
this.get_data();
|
||||
},
|
||||
|
||||
methods: {
|
||||
get_data(is_mandatory) {
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
</view>
|
||||
<view class="flex-1 flex-width">
|
||||
<view class="title text-size fw-b">{{ item.title }}</view>
|
||||
<view class="content cr-base margin-top-sm padding-top-xs multi-text">{{ item.content }}</view>
|
||||
<view v-if="item.title != item.content" class="content cr-base margin-top-sm padding-top-xs multi-text">{{ item.content }}</view>
|
||||
<view class="status flex-row align-c spacing-mt text-size-xs">
|
||||
<view v-if="nav_index !== 1" class="ask-status cr-white border-radius-sm text-size-xss" :class="item.is_reply === '1' ? 'ask-bg-green' : 'ask-bg-yellow'">{{ item.is_reply === '1' ? '已回' : '未回' }}</view>
|
||||
<view class="num cr-grey-9 flex-row self-c">
|
||||
|
|
|
|||
|
|
@ -2,24 +2,17 @@
|
|||
<view class="page-bottom-fixed">
|
||||
<view v-if="data_list.length > 0" class="padding-main">
|
||||
<view v-for="(item, index) in data_list" :key="index">
|
||||
<navigator :url="'/pages/plugins/ask/detail/detail?id=' + item.id" hover-class="none" class="padding-main border-radius-main bg-white oh spacing-mb">
|
||||
<navigator :url="'/pages/plugins/ask/user-detail/user-detail?id=' + item.id" hover-class="none" class="padding-main border-radius-main bg-white oh spacing-mb">
|
||||
<view class="margin-bottom-xs flex-row jc-sb align-c">
|
||||
<text class="fw-b text-size">{{ item.name }}</text>
|
||||
<text class="cr-base text-size">{{ item.add_time_time }}</text>
|
||||
<text class="ask-status cr-white border-radius-sm text-size-xss" :class="item.is_reply === '1' ? 'ask-bg-green' : 'ask-bg-yellow'">{{ item.is_reply === '1' ? '已回' : '未回' }}</text>
|
||||
</view>
|
||||
<view class="cr-grey-9">{{ item.add_time_time }}</view>
|
||||
<view class="spacing-mt">
|
||||
<view class="margin-bottom-sm flex-row jc-sb align-c">
|
||||
<view class="padding-right-sm">标题:</view>
|
||||
<view class="cr-grey flex-1 flex-width single-text">
|
||||
{{ item.title }}
|
||||
</view>
|
||||
<view class="text-size single-text">
|
||||
{{ item.title }}
|
||||
</view>
|
||||
<view class="margin-bottom-sm flex-row jc-sb align-c">
|
||||
<view class="padding-right-sm">内容:</view>
|
||||
<view class="cr-grey flex-1 flex-width single-text">
|
||||
{{ item.content }}
|
||||
</view>
|
||||
<view v-if="item.title != item.content" class="margin-top-sm cr-grey multi-text">
|
||||
{{ item.content }}
|
||||
</view>
|
||||
</view>
|
||||
</navigator>
|
||||
|
|
|
|||
Loading…
Reference in New Issue