提交 ccf0ae77 编写于 作者: G gongfuxiang

问答优化

上级 2857eea0
......@@ -95,7 +95,9 @@
},
// 下拉刷新
onPullDownRefresh() {},
onPullDownRefresh() {
this.init();
},
methods: {
init() {
......
......@@ -6,7 +6,7 @@
<view :data-value="'/pages/plugins/ask/user-detail/user-detail?id=' + item.id" @tap="url_event" class="padding-main border-radius-main bg-white oh cp spacing-mb">
<view class="margin-bottom-xs flex-row jc-sb align-c">
<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' ? $t('index.index.1c17n3') : $t('index.index.75l3l2') }}</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 ? $t('index.index.1c17n3') : $t('index.index.75l3l2') }}</text>
</view>
<view class="spacing-mt">
<view class="text-size single-text">
......@@ -74,6 +74,14 @@
// 分享菜单处理
app.globalData.page_share_handle();
},
// 下拉刷新
onPullDownRefresh() {
this.setData({
data_page: 1,
});
this.get_data_list(1);
},
methods: {
init() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册