1.测试优化
parent
059b987109
commit
dca3432a3d
|
|
@ -30,4 +30,9 @@
|
|||
|
||||
.guess-like::after {
|
||||
right: calc(100% + 20rpx);
|
||||
}
|
||||
|
||||
.answers-btn-content {
|
||||
padding-top: 54rpx;
|
||||
padding-bottom: 54rpx;
|
||||
}
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
<view v-if="Object.keys(detail_data).length !== 0" class="page-bottom-fixed">
|
||||
<!-- true为空对象 false为非空对象 Object.keys(detail_data).length == 0 -->
|
||||
<view class="answers-container bg-white spacing-mb">
|
||||
<view class="padding-main br-b-dashed">
|
||||
<view class="padding-main">
|
||||
<view class="fw-b text-size-xl spacing-mb">{{ detail_data.title }}</view>
|
||||
<view class="cr-grey-9 text-size-xs margin-bottom-sm flex-row">
|
||||
留言时间: {{ detail_data.add_time_date }}
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
</view>
|
||||
<view class="text-size-md">{{ detail_data.content }}</view>
|
||||
</view>
|
||||
<view v-if="detail_data.is_reply && detail_data.is_reply === '1'" class="padding-main">
|
||||
<view v-if="detail_data.is_reply && detail_data.is_reply === '1'" class="padding-main br-t-dashed">
|
||||
<view class="flex-row jc-sb align-c">
|
||||
<view class="flex-row align-c">
|
||||
<image :src="answers_static_url + 'admin.png'" mode="widthFix" class="admin-img margin-right-sm"></image>
|
||||
|
|
@ -25,31 +25,23 @@
|
|||
</view>
|
||||
<!-- 猜你喜欢 -->
|
||||
<view v-if="goods_list.length > 0" class="padding-horizontal-main padding-top-sm">
|
||||
<view class="tc">
|
||||
<view class="tc spacing-mb">
|
||||
<view class="guess-like fw-b text-size-md">猜你喜欢</view>
|
||||
</view>
|
||||
<component-goods-list
|
||||
class="padding-top-main"
|
||||
:propData="{ style_type: 1, goods_list: goods_list, random: random_value }"
|
||||
:propLabel="plugins_label_data"
|
||||
:propCurrencySymbol="currency_symbol"
|
||||
:propIsCartParaCurve="true"
|
||||
propSource="detail"
|
||||
@CartSuccessEvent="cart_success_event"
|
||||
></component-goods-list>
|
||||
<component-goods-list :propData="{ style_type: 1, goods_list: goods_list, random: random_value }" :propLabel="plugins_label_data" :propCurrencySymbol="currency_symbol" :propIsCartParaCurve="true" propSource="detail" @CartSuccessEvent="cart_success_event"></component-goods-list>
|
||||
<!-- 结尾 -->
|
||||
<component-bottom-line :propStatus="data_bottom_line_status"></component-bottom-line>
|
||||
</view>
|
||||
<view class="bottom-fixed">
|
||||
<view class="bottom-fixed answers-btn-content">
|
||||
<view class="flex-row jc-sa align-c text-size fw-b bottom-line-exclude">
|
||||
<navigator url="/pages/user-answers-form/user-answers-form" hover-class="none" class="flex-1 tc flex-col jc-c align-c">
|
||||
<view class="divider-r-d">
|
||||
<view class="divider-r-d wh-auto">
|
||||
<iconfont name="icon-wenda-wytw" size="30rpx" color="#333" class="margin-right-sm"></iconfont>
|
||||
我要提问
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator url="/pages/user-answers-question/user-answers-question" hover-class="none" class="flex-1 tc flex-col jc-c align-c">
|
||||
<view>
|
||||
<view class="wh-auto">
|
||||
<iconfont name="icon-wenda-wdtw" size="32rpx" color="#333" class="margin-right-sm pr top-xs"></iconfont>
|
||||
我的提问
|
||||
</view>
|
||||
|
|
|
|||
|
|
@ -46,15 +46,15 @@
|
|||
<!-- 结尾 -->
|
||||
<component-bottom-line :propStatus="data_bottom_line_status"></component-bottom-line>
|
||||
</scroll-view>
|
||||
<view class="bottom-fixed text-size fw-b answers-btn-content">
|
||||
<view class="flex-row jc-sa align-c bottom-line-exclude">
|
||||
<navigator url="/pages/user-answers-form/user-answers-form" hover-class="none" class="flex-1 tc answers-btn flex-col jc-c align-c">
|
||||
<view class="bottom-fixed answers-btn-content">
|
||||
<view class="flex-row jc-sa align-c text-size fw-b bottom-line-exclude">
|
||||
<navigator url="/pages/user-answers-form/user-answers-form" hover-class="none" class="flex-1 tc flex-col jc-c align-c">
|
||||
<view class="divider-r-d wh-auto">
|
||||
<iconfont name="icon-wenda-wytw" size="30rpx" color="#333" class="margin-right-sm"></iconfont>
|
||||
我要提问
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator url="/pages/user-answers-question/user-answers-question" hover-class="none" class="flex-1 tc answers-btn flex-col jc-c align-c">
|
||||
<navigator url="/pages/user-answers-question/user-answers-question" hover-class="none" class="flex-1 tc flex-col jc-c align-c">
|
||||
<view class="wh-auto">
|
||||
<iconfont name="icon-wenda-wdtw" size="32rpx" color="#333" class="margin-right-sm pr top-xs"></iconfont>
|
||||
我的提问
|
||||
|
|
|
|||
|
|
@ -115,18 +115,25 @@
|
|||
* 签到成功提示
|
||||
*/
|
||||
.coming-tips-container {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
top: calc(88rpx + constant(safe-area-inset-top));
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 1050;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background: rgb(0 0 0 / 0.6);
|
||||
padding-top: 30%;
|
||||
}
|
||||
|
||||
.coming-content {
|
||||
position: fixed;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.coming-item {
|
||||
width: 572rpx;
|
||||
height: 446rpx;
|
||||
margin: 0 auto;
|
||||
|
|
|
|||
|
|
@ -110,17 +110,19 @@
|
|||
|
||||
<!-- 签到成功提示信息 -->
|
||||
<view v-if="is_success_tips == 1" class="coming-tips-container">
|
||||
<view class="coming-content tc pr">
|
||||
<image :src="signin_static_url + 'signin-popup-title.png'" class="pa" mode="widthFix"></image>
|
||||
<view class="title">签到成功</view>
|
||||
<view class="desc">
|
||||
恭喜您获得
|
||||
<text>{{ coming_integral }}</text>
|
||||
积分
|
||||
</view>
|
||||
<view class="use-btn text-size fw-b cr-white" :data-value="home_page_url" @tap="url_event">立即使用</view>
|
||||
<view class="close-sub pa cr-white" @tap="coming_success_close_event">
|
||||
<iconfont name="icon-qiandao-tancguanbi" size="60rpx"></iconfont>
|
||||
<view class="coming-content">
|
||||
<view class="coming-item tc pr">
|
||||
<image :src="signin_static_url + 'signin-popup-title.png'" class="pa" mode="widthFix"></image>
|
||||
<view class="title">签到成功</view>
|
||||
<view class="desc">
|
||||
恭喜您获得
|
||||
<text>{{ coming_integral }}</text>
|
||||
积分
|
||||
</view>
|
||||
<view class="use-btn text-size fw-b cr-white" :data-value="home_page_url" @tap="url_event">立即使用</view>
|
||||
<view class="close-sub pa cr-white" @tap="coming_success_close_event">
|
||||
<iconfont name="icon-qiandao-tancguanbi" size="60rpx"></iconfont>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
|
|||
Loading…
Reference in New Issue