更多弹窗优化

master
gongfuxiang 2024-10-08 17:58:35 +08:00
parent 05f543ae40
commit 90c00a1e9c
6 changed files with 9 additions and 8 deletions

View File

@ -31,7 +31,8 @@ iframe,
.cart-buy-nav, .cart-buy-nav,
.bg-img, .bg-img,
.pa-w, .pa-w,
.plugins-realstore-cart-content { .plugins-realstore-cart-content,
.tabs-content {
max-width: 1600rpx !important; max-width: 1600rpx !important;
margin: 0 auto !important; margin: 0 auto !important;
} }

View File

@ -20,7 +20,7 @@
</template> </template>
<script> <script>
const app = getApp(); const app = getApp();
import componentGoodsList from '../goods-list/goods-list'; import componentGoodsList from '@/components/goods-list/goods-list';
export default { export default {
data() { data() {
return { return {

View File

@ -2,7 +2,7 @@
<!-- 选项卡 --> <!-- 选项卡 -->
<view class="tabs pr"> <view class="tabs pr">
<view :class="top_up == '1' ? 'tabs-top' : ''" :style="tabs_top_style"> <view :class="top_up == '1' ? 'tabs-top' : ''" :style="tabs_top_style">
<view class="max-w tabs-content" :style="style_container"> <view class="tabs-content wh-auto bs-bb" :style="style_container">
<componentDiyModulesTabsView :propValue="tabs_data" propIsTabsIcon :propStyle="propStyle" @tabs-click="tabs_click_event"></componentDiyModulesTabsView> <componentDiyModulesTabsView :propValue="tabs_data" propIsTabsIcon :propStyle="propStyle" @tabs-click="tabs_click_event"></componentDiyModulesTabsView>
</view> </view>
</view> </view>

View File

@ -22,7 +22,7 @@
<script> <script>
const app = getApp(); const app = getApp();
import componentPopup from '../popup/popup'; import componentPopup from '@/components/popup/popup';
export default { export default {
name: 'more', name: 'more',
components: { components: {

View File

@ -62,7 +62,7 @@
type: Number, type: Number,
default: 100, default: 100,
}, },
// //
propTop: { propTop: {
type: String, type: String,
default: '', default: '',
@ -113,7 +113,7 @@
} }
// #endif // #endif
this.setData({ this.setData({
popup_content_style: 'left:' + left + ';' + (this.propTop ? 'top:' + this.propTop : '') + ';' + (this.propBottom ? 'bottom:' + this.propBottom : '') + ';padding-bottom:'+tabbar_height+'rpx;', popup_content_style: 'left:' + left + 'px;' + (this.propTop ? 'top:' + this.propTop : '') + ';' + (this.propBottom ? 'bottom:' + this.propBottom : '') + ';padding-bottom:'+tabbar_height+'rpx;',
}); });
}, },
}, },

View File

@ -35,8 +35,8 @@
</template> </template>
<script> <script>
const app = getApp(); const app = getApp();
import componentPopup from '../popup/popup'; import componentPopup from '@/components/popup/popup';
import componentNoData from '../no-data/no-data'; import componentNoData from '@/components/no-data/no-data';
export default { export default {
data() { data() {
return { return {