feat: 更改ui样式&改在售后流程&底部栏状态
This commit is contained in:
+19
-16
File diff suppressed because one or more lines are too long
@@ -81,14 +81,15 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tab-icon {
|
.tab-icon {
|
||||||
width: 24px;
|
margin-top: 5rpx;
|
||||||
|
width: 44rpx;
|
||||||
/* 图标大小 */
|
/* 图标大小 */
|
||||||
height: 24px;
|
height: 44rpx;
|
||||||
/* 图标大小 */
|
/* 图标大小 */
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-text {
|
.tab-text {
|
||||||
font-size: 12px;
|
font-size: 24rpx
|
||||||
/* 文字大小 */
|
/* 文字大小 */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -495,7 +495,7 @@ export default {
|
|||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.home_warp {
|
.home_warp {
|
||||||
background: $app-bj;
|
background: $app-bj;
|
||||||
height: calc(100vh - 140rpx); // 140rpx 是底部的导航栏高度
|
height: calc(100vh - env(safe-area-inset-bottom)); // 是底部的导航栏高度
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|||||||
+14
-7
@@ -232,6 +232,13 @@ export default {
|
|||||||
url: '/static/mine/order_afterSale.png',
|
url: '/static/mine/order_afterSale.png',
|
||||||
path: '/pages/mine_package/mine_order/mine_order?type=' + MINE_ORDER_TYPE.SUCCEED,
|
path: '/pages/mine_package/mine_order/mine_order?type=' + MINE_ORDER_TYPE.SUCCEED,
|
||||||
note: 'unCommentNum'
|
note: 'unCommentNum'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: ORDER_TYPE.AFTER_SALE,
|
||||||
|
title: '售后',
|
||||||
|
url: '/static/mine/order_afterSale.png',
|
||||||
|
path: '/pages/mine_package/mine_order/mine_order?type=' + MINE_ORDER_TYPE.AFTER_SALE,
|
||||||
|
note: 'unCommentNum'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
applyList: [
|
applyList: [
|
||||||
@@ -476,15 +483,16 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
|
||||||
.mine_warp {
|
.mine_warp {
|
||||||
height: calc(100vh - 140rpx);
|
height: calc(100vh - env(safe-area-inset-bottom));
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
position: relative;
|
position: relative;
|
||||||
background-color: $app-bj;
|
background-color: $app-bj;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mine_header {
|
.mine_header {
|
||||||
height: 300rpx;
|
// height: 300rpx;
|
||||||
background: linear-gradient(180deg, #f2ebff 0%, rgba(245, 245, 247, 0) 100%, #ffffff 100%);
|
background: linear-gradient(180deg, #f2ebff 0%, rgba(245, 245, 247, 0) 100%, #ffffff 100%);
|
||||||
/* 将图片居中显示 */
|
/* 将图片居中显示 */
|
||||||
padding: 90rpx 40rpx 0;
|
padding: 90rpx 40rpx 0;
|
||||||
@@ -497,11 +505,10 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.mine_content_warp {
|
.mine_content_warp {
|
||||||
position: absolute;
|
margin-top: 20rpx;
|
||||||
top: 278rpx;
|
margin-left: 30rpx;
|
||||||
width: 92%;
|
width: 690rpx;
|
||||||
height: auto;
|
padding-bottom: calc(100rpx + env(safe-area-inset-bottom));
|
||||||
left: 4%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.mine_no_login_data {
|
.mine_no_login_data {
|
||||||
|
|||||||
@@ -352,7 +352,7 @@ export default {
|
|||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
const type = options.type;
|
const type = options.type;
|
||||||
this.form.type =
|
this.form.type =
|
||||||
type && type < 5 ? parseInt(type, 10) : MINE_ORDER_TYPE.UNPAID;
|
type ? parseInt(type, 10) : MINE_ORDER_TYPE.UNPAID;
|
||||||
this.loadData();
|
this.loadData();
|
||||||
// 待收货判断是否签署
|
// 待收货判断是否签署
|
||||||
if (
|
if (
|
||||||
@@ -403,7 +403,7 @@ export default {
|
|||||||
this.aftterSalesProduct = item;
|
this.aftterSalesProduct = item;
|
||||||
this.afterShow = true;
|
this.afterShow = true;
|
||||||
this.aftterSalesProduct.status = 9;
|
this.aftterSalesProduct.status = 9;
|
||||||
this.aftterSalesProduct.afterType = this.form.type - 1;
|
this.aftterSalesProduct.afterType = this.form.type == MINE_ORDER_TYPE.UNSHIPPED ? 1 : 2;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 售后订单详情
|
// 售后订单详情
|
||||||
@@ -800,7 +800,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.order_warp {
|
.order_warp {
|
||||||
height: calc(100vh - 130rpx);
|
height: calc(100vh - env(safe-area-inset-bottom));
|
||||||
background-color: $app-bj;
|
background-color: $app-bj;
|
||||||
padding: 100rpx 30rpx 30rpx;
|
padding: 100rpx 30rpx 30rpx;
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="invite_friends_warp">
|
<view class="invite_friends_warp">
|
||||||
<view class="invite_img">
|
<view class="invite_img">
|
||||||
<up-image :loading="imageLoading" :src="inviteImage" width="100%" height="460" bgColor="#f1f6ff00" shape="square"
|
<!-- <up-image :loading="imageLoading" :src="inviteImage" class="invite_imgage" bgColor="#f1f6ff00" shape="square"
|
||||||
radius=10></up-image>
|
radius=10></up-image> -->
|
||||||
|
<image :src="inviteImage" class="invite_imgage"></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="invite_but">
|
<view class="invite_but">
|
||||||
<view class="save_but">
|
<view class="save_but">
|
||||||
@@ -97,12 +98,23 @@ export default {
|
|||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.invite_friends_warp {
|
.invite_friends_warp {
|
||||||
height: calc(100vh - 80rpx);
|
height: calc(100vh - 80rpx);
|
||||||
padding: 40rpx;
|
padding: 10rpx 40rpx 40rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.invite_img {
|
// .invite_img {
|
||||||
margin-top: 52rpx;
|
// height: 920rpx;
|
||||||
height: 930rpx;
|
// }
|
||||||
|
|
||||||
|
.invite_imgage{
|
||||||
|
// width="100%" height="460"
|
||||||
|
img {
|
||||||
|
width: 100%;
|
||||||
|
height: 920rpx;
|
||||||
|
}
|
||||||
|
::v-deep(uni-image){
|
||||||
|
width: 100%;
|
||||||
|
height: 920rpx;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.invite_but {
|
.invite_but {
|
||||||
|
|||||||
+1
-1
@@ -244,7 +244,7 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-top: 20rpx;
|
margin-top: 20rpx;
|
||||||
height: calc(100vh - 356rpx);
|
height: calc(100vh - 216rpx - env(safe-area-inset-bottom));
|
||||||
}
|
}
|
||||||
|
|
||||||
.u-search-inner {
|
.u-search-inner {
|
||||||
|
|||||||
@@ -22,6 +22,9 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<up-toast ref="uToastRef"></up-toast>
|
<up-toast ref="uToastRef"></up-toast>
|
||||||
|
<!-- #ifndef H5 -->
|
||||||
|
<CustomTabBar :tabIndex="3" />
|
||||||
|
<!-- #endif -->
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -31,6 +34,7 @@ import Header from '@/components/common/header.vue';
|
|||||||
import TopSafe from '@/components/common/top-safe.nvue'
|
import TopSafe from '@/components/common/top-safe.nvue'
|
||||||
import MyBtn from '@/components/common/my-btn.vue'
|
import MyBtn from '@/components/common/my-btn.vue'
|
||||||
import PingItem from '@/components/shop/ping-item.vue'
|
import PingItem from '@/components/shop/ping-item.vue'
|
||||||
|
import CustomTabBar from '@/components/custom-tab-bar.vue';
|
||||||
import { searchList } from '@/api/product.js';
|
import { searchList } from '@/api/product.js';
|
||||||
import func from '@/utils/func.js';
|
import func from '@/utils/func.js';
|
||||||
|
|
||||||
@@ -104,13 +108,14 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
min-width: 750rpx;
|
min-width: 750rpx;
|
||||||
max-width: 750rpx;
|
max-width: 750rpx;
|
||||||
// #ifdef H5
|
height: calc(100vh - env(safe-area-inset-bottom));
|
||||||
height: calc(100vh - 100rpx);
|
// // #ifdef H5
|
||||||
//#endif
|
// height: calc(100vh - 100rpx);
|
||||||
// #ifndef H5
|
// //#endif
|
||||||
height:500rpx;
|
// // #ifndef H5
|
||||||
//#endif
|
// height:500rpx;
|
||||||
height: calc(100vh - 20rpx - var(--window-bottom));
|
// //#endif
|
||||||
|
// height: calc(100vh - 20rpx - var(--window-bottom));
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|||||||
Reference in New Issue
Block a user