Commit a6fd9e11 authored by wangxuelai's avatar wangxuelai

'小程序一键反馈功能添加'

parent 82ddcbba
......@@ -12,6 +12,6 @@
</view>
</view>
<view class="footer-box">
<view class="btn btn-contact" bindtap=""><image class="icon" src="{{imageRoot}}2b/helpcenter/wechaticon.png?{{imageVersion}}"/>在线咨询</view>
<view class="btn btn-contact" bindtap=""><image class="icon" src="{{imageRoot}}2b/helpcenter/wechaticon.png?{{imageVersion}}"/><button open-type="contact" class="contactbtn"></button>在线咨询</view>
</view>
</view>
\ No newline at end of file
......@@ -43,6 +43,15 @@
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.contactbtn {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
opacity: 0;
}
.footer-box .btn.btn-feedback {
background: #fff;
......
......@@ -35,6 +35,6 @@
</view>
<view class="footer-box">
<view class="btn btn-feedback" bindtap="toPostFeedback"><image class="icon" src="{{imageRoot}}2b/helpcenter/adviceicon.png?{{imageVersion}}"/>建议反馈</view>
<view class="btn btn-contact" bindtap=""><image class="icon" src="{{imageRoot}}2b/helpcenter/wechaticon.png?{{imageVersion}}"/>在线咨询</view>
<view class="btn btn-contact" bindtap=""><image class="icon" src="{{imageRoot}}2b/helpcenter/wechaticon.png?{{imageVersion}}"/><button open-type="contact" class="contactbtn"></button>在线咨询</view>
</view>
</view>
\ No newline at end of file
......@@ -109,6 +109,15 @@ page {
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.contactbtn {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
opacity: 0;
}
.footer-box .btn.btn-feedback {
background: #fff;
......
<wxs src="../../../filter/index.wxs" module="filter" />
<view class="page_topline"></view>
<view class="container">
<view class="list" wx:if="{{list.length>0}}">
<view class="list" wx:if="{{!emptyPage}}">
<block wx:for="{{list}}" wx:for-item="bigitem" wx:key="bigindex" wx:for-index="bigindex">
<view class="list-item" wx:for="{{bigitem}}" wx:for-item="item" wx:key="index">
<view class="qa-box q-box">
<view class="nickname-box">{{item.teacher.nickname}}</view>
<view class="time">{{filter.formatDateWithChinese(item.created_at)}}</view>
<view class="content-box">
<view class="text">{{item.content}} {{item.img.length}}</view>
<view class="text">{{item.content}}</view>
<view class="imgbox" wx:if="{{item.imgs.length>0}}">
<view class="imgitem" wx:for="{{item.imgs}}" wx:key="imgidx" wx:for-index="imgidx" wx:for-item="imgitem" bindtap="prevImg" data-src="{{imgitem}}" data-imglist="{{item.imgs}}">
<image class="img" src="{{filter.imagify(imgitem)}}" mode="aspectFill" ></image>
......
......@@ -4,6 +4,7 @@ page {
}
.container {
padding-bottom: 100rpx;
min-height: 100vh;
}
.list {
}
......@@ -40,6 +41,8 @@ page {
color: #222;
line-height: 36rpx;
padding-bottom: 14rpx;
/* word-break: break-all; */
word-wrap: break-word;
}
.imgbox {
display: flex;
......
......@@ -40,13 +40,13 @@
</view>
<image class="right-icon" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}"></image>
</view>
<navigator class="line" target="miniProgram" open-type="navigate" app-id="{{feedbackAppId}}"
<!-- <navigator class="line" target="miniProgram" open-type="navigate" app-id="{{feedbackAppId}}"
extra-data="{{ extraData }}" version="release">
<view class="left">
<image class="icon" src="{{imageRoot}}2b/organizationalmgt/answer-icon.png?{{imageVersion}}"/>问题反馈
</view>
<image class="right-icon" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}"></image>
</navigator>
</navigator> -->
<view class="line" bindtap="goSetting">
<view class="left">
<image class="icon" src="{{imageRoot}}2b/organizationalmgt/set-icon.png?{{imageVersion}}" />设置
......
export default {
imageRoot: 'https://cdn.img.shangjiadao.cn/qingxiao/daka/images/',
// host: 'https://qxapi.qingxiao.online/daka',
// host2: 'https://wx.m.shangjiadao.cn',
host: 'https://qxapi.qingxiao.online/daka',
host2: 'https://wx.m.shangjiadao.cn',
storageVersion: '5.0',
imageVersion: '20200117',
host: 'https://clock.wp53.cn',
host2: 'https://test.wp53.cn',
// host: 'https://clock.wp53.cn',
// host2: 'https://test.wp53.cn',
appId: 'wxc1246ea029394785',
miniProgram: {
clock: 'wxdeee20e52a1fd7ee'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment