细节优化,商品详情导航返回适配百度小程序

master
gongfuxiang 2021-11-17 18:07:15 +08:00
parent f0eecbd27a
commit e66098285c
7 changed files with 11 additions and 12 deletions

View File

@ -1,7 +1,7 @@
<template>
<view>
<view class="search-content">
<icon type="search" size="12"></icon>
<view class="search-content pr">
<icon type="search" size="12" class="pa"></icon>
<input type="text" confirm-type="search" :placeholder="propPlaceholder" placeholder-class="cr-grey" class="cr-base round wh-auto dis-block" @confirm="search_input_event" :style="'background:'+propBgColor+';'+((propBrColor || null) != null ? 'border:1px solid '+propBrColor+';' : '')">
</view>
</view>
@ -53,13 +53,10 @@
};
</script>
<style>
.search-content {
position: relative;
}
.search-content icon {
position: absolute;
left: 30rpx;
top: calc(50% - 6px);
z-index: 1;
}
.search-content input {
font-size: 26rpx;

View File

@ -2,12 +2,14 @@
<view>
<!-- 顶部导航 -->
<view v-if="goods != null" class="page">
<!-- #ifdef MP-WEIXIN || MP-BAIDU || MP-QQ || MP-TOUTIAO -->
<!-- #ifdef MP-WEIXIN || MP-QQ || MP-TOUTIAO -->
<!-- 小导航 -->
<view class="top-nav-left-icon" :style="'top:'+(status_bar_height+8)+'px;'">
<uni-icons type="arrowleft" size="20" color="#333" class="icon round" @tap="top_nav_left_back_event"></uni-icons>
<uni-icons v-if="nav_more_list.length > 0" type="list" size="20" color="#333" class="icon round margin-left-lg" @tap="top_nav_left_more_event"></uni-icons>
</view>
<!-- #endif -->
<!-- #ifdef MP-WEIXIN || MP-BAIDU || MP-QQ || MP-TOUTIAO -->
<!-- 更多导航 -->
<view v-if="nav_more_list.length > 0 && nav_more_status" class="nav-more-view tc" :style="'top:'+(status_bar_height+48)+'px;'">
<view class="triangle dis-inline-block pa"></view>

View File

@ -2,9 +2,9 @@
*
*/
.search-keywords icon {
position: absolute;
left: 30rpx;
top: calc(50% - 6px);
z-index: 1;
}
.search-keywords input {
font-size: 26rpx;

View File

@ -4,7 +4,7 @@
<!-- 搜索关键字 -->
<view class="padding-horizontal-main padding-top-main padding-bottom-sm bg-white">
<view class="search-keywords pr">
<icon type="search" size="12"></icon>
<icon type="search" size="12" class="pa"></icon>
<input type="text" confirm-type="search" placeholder="其实搜索很简单^_^ !" :value="search_keywords_value" @confirm="search_keywords_event" class="cr-base round wh-auto" placeholder-class="cr-grey">
</view>
</view>

View File

@ -52,7 +52,7 @@
</view>
</view>
</view>
<view v-else class="payment-list oh bg-white tc cr-gray">没有支付方式</view>
<view v-else class="padding-top-xxxl padding-bottom-xxxl oh bg-white tc cr-gray">没有支付方式</view>
</component-popup>
</view>
</template>

View File

@ -51,7 +51,7 @@
</view>
</view>
</view>
<view v-else class="payment-list oh bg-white tc cr-gray">没有支付方式</view>
<view v-else class="padding-top-xxxl padding-bottom-xxxl oh bg-white tc cr-gray">没有支付方式</view>
</component-popup>
</view>
</template>

View File

@ -80,7 +80,7 @@
</view>
</view>
</view>
<view v-else class="payment-list oh bg-white tc cr-gray">没有支付方式</view>
<view v-else class="padding-top-xxxl padding-bottom-xxxl oh bg-white tc cr-gray">没有支付方式</view>
</component-popup>
</view>
</template>