| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396 |
- .detail{
- padding-bottom: 130rpx; // 为底部固定栏留出空间
- // 轮播图样式
- ::v-deep .u-swiper {
- height: 600rpx !important;
- }
-
- ::v-deep .u-swiper__wrapper{
- height: 100% !important;
- }
-
- ::v-deep .u-swiper__wrapper__item {
- height: 100% !important;
- }
-
- ::v-deep .u-swiper__wrapper__item__wrapper {
- height: 100% !important;
- }
-
- ::v-deep .u-swiper__wrapper__item__wrapper__image{
- height: 100% !important;
- width: 100% !important;
- object-fit: cover !important;
- }
-
- ::v-deep .u-swiper__indicator{
- bottom: 20rpx !important;
- }
-
- ::v-deep .u-swiper__indicator-item{
- background-color: rgba(255, 255, 255, 0.5) !important;
- }
-
- ::v-deep .u-swiper__indicator-item--active{
- background-color: #ffffff !important;
- }
-
- // 立即下架按钮
- .immediate_off_shelf {
- position: fixed;
- bottom: 130rpx;
- right: 20rpx;
- z-index: 999;
- animation: bounce 2s infinite;
-
- ::v-deep .u-button {
- background-color: #1f2937;
- border-radius: 60rpx;
- padding: 10rpx 36rpx;
- height: 84rpx;
- line-height: 84rpx;
- box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
- font-size: 28rpx;
- font-weight: 600;
- display: flex;
- align-items: center;
- gap: 8rpx;
- border: none !important;
- }
-
- ::v-deep .u-button--error {
- border: none !important;
- }
-
- ::v-deep .u-icon {
- margin-right: 4rpx;
- }
- }
-
- // 上下跳动动画
- @keyframes bounce {
- 0%, 100% {
- transform: translateY(0);
- }
- 50% {
- transform: translateY(-10rpx);
- }
- }
-
- // 轮播图下方操作按钮
- .swiper_actions{
- display: flex;
- justify-content: space-around;
- align-items: center;
- padding: 40rpx 0;
- background-color: #ffffff;
- border-bottom: 1rpx solid #e8e8e8;
-
- .action_item{
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- ::v-deep .u-icon{
- background-color: #f9fafb;
- border-radius: 20rpx;
- padding:20rpx;
- }
- .action_text{
- margin-top: 16rpx;
- font-size: 22rpx;
- font-weight: 500;
- color: #606266;
- }
- }
- }
-
-
- // 底部功能按钮栏
- .bottom_bar{
- position: fixed;
- bottom: 0;
- left: 0;
- right: 0;
- height: 120rpx;
- background-color: #fff;
- display: grid;
- padding-right:10rpx;
- box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.1);
- &.fourPart{
- grid-template-columns: 1fr 1fr 1fr 1fr;
- }
- &.fivePart{
- grid-template-columns: 1fr 1fr 1fr 1.5fr 1fr;
- }
- .bar_item{
- flex: 1;
- height: 100%;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
-
- .primary{
- display: flex;
- align-items: center;
- gap: 8rpx;
- padding: 14rpx 22rpx;
- border-radius: 20rpx;
- height:46rpx;
- .bar_text{
- margin-top: 0;
- color: #ffffff;
- font-size: 23rpx;
- }
- }
- .orange{
- background-color: #ca8a04;
- box-shadow: 0 10px 15px -3px #fef08a, 0 4px 6px -4px #fef08a;
- }
- .blue{
- background-color: #007bff;
- box-shadow: 0 10px 15px -3px #93c5fd, 0 4px 6px -4px #93c5fd;
- .bar_img{
- width: 34rpx;
- height: 40rpx;
- }
- }
-
- .bar_text{
- margin-top: 8rpx;
- font-size: 20rpx;
- font-weight: 500;
- color: #9ca3af;
- line-height: 32rpx;
- }
- &.disabled{
- cursor: not-allowed;
- opacity: 0.5;
- }
- .bar_icon{
- width: 40rpx;
- height: 40rpx;
- }
- }
- }
-
- // 核心信息区域样式
- .core_info {
- background-color: #ffffff;
- margin: 20rpx 20rpx 0 20rpx;
- padding: 30rpx;
- border-radius: 16rpx;
- box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
-
- .section_title {
- font-size: 32rpx;
- font-weight: 600;
- color: #303133;
- margin-bottom: 24rpx;
- padding-bottom: 16rpx;
- border-bottom: 1rpx solid #e8e8e8;
- }
-
- .info_row {
- display: flex;
- padding: 16rpx 0;
-
- .info_label {
- flex: 1;
- color: #909399;
- font-size: 28rpx;
- line-height: 40rpx;
- }
-
- .info_value {
- flex: 2;
- color: #303133;
- font-size: 28rpx;
- line-height: 40rpx;
- text-align: right;
- font-weight: 600;
- &.code{
- color: #909399;
- }
- &.note {
- background-color: #f5f7fa;
- padding: 16rpx;
- border-radius: 10rpx;
- color: #909399;
- text-align: left;
- }
- }
- &.col{
- gap: 16rpx;
- flex-direction: column;
- }
- }
- }
-
- // 财务与价格区域样式
- .finance_price {
- background-color: #ffffff;
- margin: 20rpx 20rpx 0 20rpx;
- padding: 30rpx;
- border-radius: 16rpx;
- box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
-
- .section_title {
- font-size: 32rpx;
- font-weight: 600;
- color: #303133;
- margin-bottom: 24rpx;
- padding-bottom: 16rpx;
- border-bottom: 1rpx solid #e8e8e8;
- }
-
- .price_group {
- display: grid;
- grid-template-columns: 1fr 1fr;
- margin-bottom: 24rpx;
-
- &:last-child {
- margin-bottom: 0;
- }
- }
-
- .price_item {
- flex: 1;
- display: flex;
- flex-direction: column;
- align-items: center;
-
- &:first-child {
- padding-right: 30rpx;
- }
-
- &:last-child {
- padding-left: 30rpx;
- }
- }
-
- .price_label {
- color: #909399;
- font-size: 24rpx;
- margin-bottom: 12rpx;
- }
-
- .price_value {
- font-size: 36rpx;
- font-weight: 600;
-
- &.original {
- color: #303133;
- }
-
- &.additional {
- color: #1890ff;
- }
-
- &.agent {
- color: #303133;
- }
-
- &.suggested {
- color: #f56c6c;
- }
- }
- }
-
- // 溯源与位置区域样式
- .traceability_productPosition {
- background-color: #ffffff;
- margin: 20rpx;
- padding: 30rpx;
- border-radius: 16rpx;
- box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
-
- .section_title {
- font-size: 32rpx;
- font-weight: 600;
- color: #303133;
- margin-bottom: 24rpx;
- padding-bottom: 16rpx;
- border-bottom: 1rpx solid #e8e8e8;
- }
-
- .info_row {
- display: flex;
- padding: 16rpx 0;
-
- .info_label {
- flex: 1;
- color: #909399;
- font-size: 28rpx;
- line-height: 40rpx;
- }
-
- .info_value {
- flex: 2;
- color: #303133;
- font-size: 28rpx;
- line-height: 40rpx;
- text-align: right;
- ::v-deep .u-input {
- border: 1rpx solid #dcdfe6;
- border-radius: 8rpx;
- padding: 10rpx 16rpx;
- font-size: 28rpx;
- color: #303133;
-
- &:focus {
- border-color: #409eff;
- box-shadow: 0 0 0 2rpx rgba(64, 158, 255, 0.2);
- }
- }
-
- textarea {
- width: 100%;
- border: 1rpx solid #dcdfe6;
- border-radius: 8rpx;
- padding: 10rpx 16rpx;
- font-size: 28rpx;
- color: #303133;
- line-height: 40rpx;
- resize: none;
-
- &:focus {
- border-color: #409eff;
- box-shadow: 0 0 0 2rpx rgba(64, 158, 255, 0.2);
- }
- }
- }
- }
-
- .action_button {
- margin-top: 24rpx;
- text-align: center;
-
- ::v-deep .u-button {
- font-weight: 600;
- border: none;
- background-color: #eff6ff;
- border-radius: 15rpx;
- font-size: 24rpx;
- padding: 34rpx 0;
- }
- .log_list{
- display: flex;
- flex-direction: column;
- gap:20rpx;
- max-height: 500rpx;
- overflow: auto;
- .log_item{
- display: flex;
- text-align: left;
- font-size:26rpx;
- }
- }
- }
- }
- }
|