You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

26 lines
1.3 KiB

<!--pages/ask/index.wxml-->
<title title="问大家">
<navigator url="my/index" class="ask-top-right" style="right:{{menuWidth}}px">
<image src="https://fastadmin.oss-cn-shenzhen.aliyuncs.com/xcxImages/ask/my.png" mode="widthFix"></image>
<view>我的问答</view>
</navigator>
</title>
<navigator url="info/index?id={{item.id}}" class="item" wx:for="{{list}}">
<view class="item-ques">
<image class="item-icon" src="https://fastadmin.oss-cn-shenzhen.aliyuncs.com/xcxImages/ask/ask.png" mode="widthFix"></image>
<view class="ques">{{item.question_name}}</view>
</view>
<view class="item-ques">
<image class="item-icon" src="https://fastadmin.oss-cn-shenzhen.aliyuncs.com/xcxImages/ask/ans.png" mode="widthFix"></image>
<view class="ans">{{item.answer && item.answer.lastest_answer?item.answer.lastest_answer.answer:"暂无回答"}}</view>
</view>
<view class="ques-tip">
<view class="ques-time">{{item.created_time}}提问</view>
<view class="ans-number">全部{{item.answer && item.answer.total ? item.answer.total : 0}}个回答 <text class="iconfont icon-you"></text> </view>
</view>
</navigator>
<view class="fixed-bottom-blank"></view>
<view class="fixed-bottom">
<input type="text" bindinput="inputQues" placeholder="请输入5-50字的问题"></input>
<view class="btn" bindtap="question">提问</view>
</view>