diff --git a/packages/advertising/goodsDetail/index.css b/packages/advertising/goodsDetail/index.css new file mode 100644 index 00000000..d1388ecc --- /dev/null +++ b/packages/advertising/goodsDetail/index.css @@ -0,0 +1,1056 @@ +page { + background-color: #fff; + padding-bottom: 20rpx; + min-height: 100vh; +} + +image { + width: 100%; + height: 100%; +} + +.header { + position: absolute; + z-index: 2; + width: 750rpx; + height: 243rpx; + background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%); +} + +.searchBox { + display: flex; + align-items: center; + z-index: 2; +} + +.searchBox_left { + box-sizing: border-box; + padding-left: 20rpx; +} + +.swiper { + height: 750rpx; + width: 750rpx; + position: relative; +} + +.swiper swiper { + width: 100%; + height: 100%; +} + +.swiper .NumDot { + width: 100rpx; + height: 50rpx; + background: rgba(0, 0, 0, 0.5); + border-radius: 100rpx 100rpx 100rpx 100rpx; + font-size: 30rpx; + color: #FFFFFF; + display: flex; + align-items: center; + justify-content: center; + position: absolute; + right: 27rpx; + bottom: 180rpx; +} + +.box_15 { + position: absolute; + left: 0rpx; + top: 600rpx; + width: 750rpx; + height: 150rpx; + flex-direction: row; + display: flex; + background-image: url('https://wechat-img-file.oss-cn-beijing.aliyuncs.com/gp_detail_top.png'); + background-size: cover; + background-position: -30rpx center; +} + +.section_2 { + width: 221rpx; + height: 116rpx; + display: flex; + flex-direction: column; + justify-content: space-between; + margin: 10rpx 0 0 40rpx; +} + +.text-wrapper_4 { + position: relative; + width: 350rpx; + height: 80rpx; + display: flex; + flex-direction: row; +} + +.text_30 { + width: auto; + height: 80rpx; + overflow-wrap: break-word; + color: rgba(255, 255, 255, 1.000000); + font-size: 60rpx; + font-family: Arial-Regular; + font-weight: normal; + text-align: left; + white-space: nowrap; + line-height: 80rpx; + margin-left: 37rpx; +} + +.text_31 { + position: absolute; + left: 0rpx; + top: 16rpx; + width: 40rpx; + height: 60rpx; + overflow-wrap: break-word; + color: rgba(255, 255, 255, 1.000000); + font-size: 40rpx; + font-family: Helvetica, "Microsoft YaHei", Arial, sans-serif; + font-weight: normal; + text-align: left; + white-space: nowrap; + line-height: 60rpx; +} + +.text_32 { + width: 203rpx; + height: 32rpx; + overflow-wrap: break-word; + color: rgba(255, 185, 178, 1.000000); + font-size: 28rpx; + font-family: Arial-Regular; + font-weight: normal; + text-align: left; + white-space: nowrap; + line-height: 28rpx; + margin: 4rpx 0 0 14rpx; +} + +.text_33 { + width: 60rpx; + height: 80rpx; + overflow-wrap: break-word; + color: rgba(255, 255, 255, 1.000000); + font-size: 40rpx; + font-family: Helvetica, "Microsoft YaHei", Arial, sans-serif; + font-weight: normal; + text-align: left; + line-height: 80rpx; + margin: 16rpx 0 0 3rpx; +} + +.section_3 { + width: 225rpx; + height: 94rpx; + display: flex; + flex-direction: column; + align-items: center; + margin: 22rpx 39rpx 0 230rpx; +} + +.text_34 { + width: 140rpx; + height: 32rpx; + overflow-wrap: break-word; + color: rgba(255, 55, 11, 1.000000); + font-size: 28rpx; + font-family: Arial-Regular; + font-weight: normal; + text-align: left; + white-space: nowrap; + line-height: 28rpx; +} + +.box_16 { + display: flex; + width: 290rpx; + height: 39rpx; + align-items: center; + justify-content: center; + margin-top: 20rpx; +} + +.timeBox{ + display: flex; + color: #ff370e; + align-items: center; + justify-content: center; +} + +.dayTimeBox{ + margin-right: 10rpx; +} + +.time{ + padding: 5rpx; + color: #fff; + border-radius: 10rpx; + background-color: #ff370e; + display: flex; + align-items: center; + justify-content: center; + +} + +.text_35 { + width: 60rpx; + height: 32rpx; + overflow-wrap: break-word; + color: rgba(255, 55, 11, 1.000000); + font-size: 28rpx; + font-family: Arial-Regular; + font-weight: normal; + text-align: left; + white-space: nowrap; + line-height: 28rpx; + margin-top: 3rpx; +} + +.text_36 { + width: 28rpx; + height: 32rpx; + overflow-wrap: break-word; + color: rgba(255, 55, 11, 1.000000); + font-size: 28rpx; + font-family: Arial-Regular; + font-weight: normal; + text-align: center; + white-space: nowrap; + line-height: 28rpx; + margin: 3rpx 0 0 42rpx; +} + +.text_37 { + width: 28rpx; + height: 32rpx; + overflow-wrap: break-word; + color: rgba(255, 55, 11, 1.000000); + font-size: 28rpx; + font-family: Arial-Regular; + font-weight: normal; + text-align: center; + white-space: nowrap; + line-height: 28rpx; + margin: 3rpx 0 0 33rpx; +} + +.text-wrapper_5 { + background-color: rgba(255, 55, 11, 1.000000); + border-radius: 10rpx; + height: 39rpx; + margin-left: -5rpx; + display: flex; + flex-direction: column; + width: 39rpx; +} + +.text_38 { + width: 32rpx; + height: 32rpx; + overflow-wrap: break-word; + color: rgba(255, 255, 255, 1.000000); + font-size: 28rpx; + font-family: Arial-Regular; + font-weight: normal; + text-align: center; + white-space: nowrap; + line-height: 28rpx; + margin: 5rpx 0 0 4rpx; +} + +.text-wrapper_6 { + background-color: rgba(255, 55, 11, 1.000000); + border-radius: 10rpx; + height: 39rpx; + display: flex; + flex-direction: column; + width: 39rpx; + position: absolute; + left: 68rpx; + top: 0rpx; +} + +.text_39 { + width: 32rpx; + height: 32rpx; + overflow-wrap: break-word; + color: rgba(255, 255, 255, 1.000000); + font-size: 28rpx; + font-family: Arial-Regular; + font-weight: normal; + text-align: center; + white-space: nowrap; + line-height: 28rpx; + margin: 5rpx 0 0 4rpx; +} + +.text-wrapper_7 { + background-color: rgba(255, 55, 11, 1.000000); + border-radius: 10rpx; + height: 39rpx; + display: flex; + flex-direction: column; + width: 39rpx; + position: absolute; + left: 127rpx; + top: 0rpx; +} + +.text_40 { + width: 32rpx; + height: 32rpx; + overflow-wrap: break-word; + color: rgba(255, 255, 255, 1.000000); + font-size: 28rpx; + font-family: Arial-Regular; + font-weight: normal; + text-align: center; + white-space: nowrap; + line-height: 28rpx; + margin: 5rpx 0 0 4rpx; +} + +.Money { + display: flex; + align-items: flex-end; + /* margin-top: 40rpx; */ + font-weight: bold; + font-size: 80rpx; + color: #FF370B; + padding-left: 15rpx; +} + +.MoneyMark { + font-size: 60rpx; + padding-bottom: 6rpx; +} + +.MoneyUnit { + font-size: 40rpx; + font-weight: 400; + padding-bottom: 10rpx; +} + +.num{ + color: #808080; + font-size: 24rpx; + position: absolute; + right: 30rpx; + font-weight: 400; +} + +.oldMoney { + font-size: 40rpx; + color: #C7C7C7; + margin-left: 30rpx; + padding-bottom: 4rpx; +} + +.GGBox { + margin: 0 20rpx; + display: flex; + justify-content: space-between; + margin-top: 30rpx; +} + +.GG_rigth { + display: flex; + align-items: center; +} + +.GG_left { + display: flex; + align-items: center; + flex: 1; + flex-wrap: nowrap; + overflow: hidden; + overflow-x: auto; + margin-right: 40rpx; +} + +/* 促销信息样式 */ +.promotions-container { + padding: 15rpx; + background-color: #FFF; + border-radius: 10rpx; + margin: 15rpx 0; +} + +.promotion-item { + display: flex; + align-items: center; + margin-bottom: 20rpx; +} + +.promotion-tag { + width: 80rpx; + text-align: center; + background-color: #ffe8e5; + color: #ff5029; + padding: 5rpx 15rpx; + border-radius: 10rpx; + font-size: 26rpx; + margin-right: 30rpx; +} + +.promotion-content { + font-size: 26rpx; + color: #333; +} + +.promotion-content1 { + width: auto; + padding: 5rpx 10rpx; + text-align: center; + background-color: #ff6749; + color: white; + border-radius: 10rpx; +} + +.GG_Item { + font-size: 26rpx; + color: #999999; + background: #F6F7FB; + border-radius: 10rpx 10rpx 10rpx 10rpx; + padding: 12rpx 16rpx; + white-space: nowrap; + margin-right: 20rpx; +} + +.Tit { + font-size: 36rpx; + color: #222222; + margin: 0 20rpx; + margin-top: 20rpx; + font-weight: 700; +} + +.Msg { + font-size: 26rpx; + color: #999999; + margin: 0 20rpx; + margin-top: 20rpx; +} + +.GoodsMsg { + /* font-size: 30rpx; */ + color: #222222; + margin: 0 20rpx; + margin-top: 55rpx; + font-weight: 700; +} + + +.Msg_Item { + display: flex; + align-items: center; + border-bottom: 1rpx solid #EBEBEB; + ; +} + +.Msg_ItemTit { + width: 120rpx; + margin-right: 100rpx; + font-size: 26rpx; + color: #999999; + margin: 0 20rpx; + padding: 30rpx 0; +} + +.Msg_ItemCon { + font-size: 26rpx; + color: #222222; + display: flex; + align-items: center; +} + +.Msg_ItemCon image { + width: 28rpx; + height: 28rpx; +} + +.GoosMsg { + width: 100%; +} + +.GoosMsg image { + width: 100%; + height: auto; +} + +.Car { + width: 750rpx; + height: 123rpx; + background: #FFFFFF; + box-shadow: 3rpx -3rpx 15rpx 0rpx rgba(255, 27, 27, 0.05); + display: flex; + position: fixed; + left: 0; + right: 0; + bottom: 0; + box-sizing: border-box; + padding: 0 30rpx; + justify-content: space-between; +} + +.car_left { + display: flex; + align-items: center; + font-size: 24rpx; + color: #222222; +} + +.car_left image { + width: 40rpx; + height: 40rpx; +} + +.car_right { + width: 470rpx; + height: 70rpx; + background: linear-gradient(91deg, #FF7658 0%, #FF370B 100%); + border-radius: 100rpx 100rpx 100rpx 100rpx; + font-size: 36rpx; + color: #FFFFFF; + display: flex; + align-items: center; + justify-content: center; + margin-top: 26rpx; +} + +.car_right2 { + width: 470rpx; + height: 70rpx; + background: #ffb1a5; + border-radius: 100rpx 100rpx 100rpx 100rpx; + font-size: 36rpx; + color: #FFFFFF; + display: flex; + align-items: center; + justify-content: center; + margin-top: 26rpx; +} + +.cars { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + position: relative; +} + +.share { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + margin-right: 36rpx; +} + +.u-badge { + position: absolute; + right: 0; + top: -10rpx; +} + +.car_right .input { + font-size: 36rpx; + color: #FFFFFF; + font-weight: 700; +} + + +.shadow { + background: rgba(0, 0, 0, 0.4); + position: fixed; + left: 0; + right: 0; + top: 0; + bottom: 0; + z-index: 9; +} + +.shadowBox1 { + height: 300rpx; + width: 100%; + background-color: #fff; + position: absolute; + left: 0; + bottom: 0; + display: flex; +} + +.shadowBox1Item { + flex: 1; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + font-size: 26rpx; + color: #000000; +} + +.shadowBox1Item_btn { + width: 100%; + height: 100%; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + border: none; + background-color: #ffffff; +} + +.shadowBox1Item image { + width: 100rpx; + height: 100rpx; + margin-bottom: 26rpx; +} + +.shadowBox2 { + position: absolute; + left: 50%; + top: 50%; + transform: translate(-50%, -50%); + width: auto; + height: auto; +} + +.shadowBox_img { + width: 600rpx; + height: 945rpx; + background: url('https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/shop_share_bg.png') no-repeat; + background-size: 100% 100%; +} + +.shadowBox_btn { + font-size: 36rpx; + color: #FFFFFF; + width: 600rpx; + height: 90rpx; + background: linear-gradient(91deg, #FF7658 0%, #FF370B 100%); + border-radius: 100rpx 100rpx 100rpx 100rpx; + display: flex; + align-items: center; + justify-content: center; + margin-top: 60rpx; +} + +.boxshadow_tit { + font-size: 32rpx; + color: #222222; + text-align: center; + padding-top: 40rpx; +} + +.boxshadow_img { + width: 450rpx; + height: 600rpx; + margin: 0 auto; + margin-top: 40rpx; +} + +.line { + margin: 0 auto; + width: 556rpx; + height: 1rpx; + border-bottom: 1rpx dashed #E9E9E9; + margin-top: 40rpx; +} + +.shadowBoxInfo { + display: flex; + align-items: center; + margin-left: 62rpx; + margin-top: 11rpx; +} + +.shadowboxInfo_left { + width: 130rpx; + height: 130rpx; + background: #EFEFEF; + border-radius: 50%; + overflow: hidden; + display: flex; + align-items: center; + justify-content: center; + margin-right: 36rpx; +} + +.shadowboxInfo_right_1 { + font-size: 32rpx; + color: #222222; + margin-bottom: 10rpx; +} + +.shadowboxInfo_right_2 { + font-size: 26rpx; + color: #999999; +} + +.active { + background: #FF370B; + color: #fff; +} + +.priceInfo { + height: 450rpx; + padding: 20rpx; +} + +.priceInfo-title { + /* font-size: 30rpx; */ + font-weight: bolder; + margin: 15rpx 0 20rpx 0; +} + +.priceInfo-content { + font-size: 26rpx; + color: #9c9c9c; + line-height: 1.7; +} + +.priceInfo-content-title { + font-size: 28rpx; + color: #333; +} + +.fenge { + width: 100%; + height: 15rpx; + background-color: #f5f7fb; +} + +/* 评价部分样式 */ +.reviews-section { + padding: 20rpx; + background-color: #fff; + margin-bottom: 20rpx; +} + +.reviews-header { + display: flex; + justify-content: space-between; + align-items: center; + margin-bottom: 20rpx; +} + +.reviews-header h3 { + /* font-size: 32rpx; */ + font-weight: bold; +} + +.view-all { + color: #999; + font-size: 26rpx; + background: none; + border: none; + padding: 0; +} + +.reviews-list { + margin-top: 20rpx; +} + +.review-item { + padding: 20rpx 0; + border-bottom: 1rpx solid #f5f5f5; +} + +.review-user { + display: flex; + align-items: center; + margin-bottom: 15rpx; +} + +.user-avatar { + width: 60rpx; + height: 60rpx; + border-radius: 50%; + margin-right: 15rpx; +} + +.user-info { + flex: 1; +} + +.user-name { + font-size: 28rpx; + font-weight: 500; +} + +.user-purchase { + font-size: 24rpx; + color: #999; + margin: 10rpx 0; +} + +.review-content { + font-size: 27rpx; + line-height: 1.5; + margin-bottom: 15rpx; +} + +.review-images { + display: flex; + flex-wrap: wrap; + gap: 10rpx; + margin-bottom: 15rpx; +} + +.review-img { + width: 140rpx; + height: 140rpx; + border-radius: 8rpx; +} + +.review-time { + font-size: 24rpx; + color: #999; + text-align: right; +} + +.popup-header { + display: flex; + padding-left: 80rpx; + margin: 20rpx 0; +} + +.popup-header-h3 { + font-weight: bold; + margin: 0 auto; +} + +.popup-header-view { + font-size: 24rpx; + color: #999; + margin-right: 30rpx; +} + +.temp { + display: flex; + justify-content: space-between; + align-items: center; +} + +.temp1 { + display: flex; + justify-content: space-between; + align-items: center; + font-size: 24rpx; + color: #959595; + margin: 20rpx 0 5rpx 0; +} + +.temp_img { + width: 35rpx; + height: 35rpx; + margin-right: 10rpx; +} + +.temp_img1 { + width: 30rpx; + height: 30rpx; + margin: 5rpx 5rpx 0 5rpx; +} + +.itemSize { + width: 30%; + font-size: 26rpx; + color: #333; + background: #F6F7FB; + border-radius: 40rpx; + padding: 10rpx 15rpx; + white-space: nowrap; + margin: 20rpx 30rpx; +} + +.itemSize_active { + background: #FF370B; + color: #fff; +} + +.itemSize-img { + width: 100rpx; + height: 100rpx; + margin-right: 30rpx; + border-radius: 20rpx; + border: 1rpx solid red; +} + +.itemSize_top { + display: flex; + margin-left: 30rpx; +} + +.itemSize_info { + margin-top: 10rpx; +} + +.itemSize_name { + font-size: 28rpx; + font-weight: 500; + font-weight: bold; +} + +.itemSize_price { + font-size: 28rpx; + font-weight: 500; + margin-top: 10rpx; + color: red; +} + +/* 已购买区域样式 */ +.purchase-area { + display: flex; + justify-content: space-between; + align-items: center; + padding: 20rpx 30rpx; + background-color: #fff; +} + +.purchase-count { + font-size: 28rpx; + color: #333; + font-weight: bold; +} + +.view-more { + font-size: 28rpx; + color: #333; + display: flex; + align-items: center; +} + +.buy-btn{ + width: 150rpx; + height: 50rpx; + line-height: 50rpx; + background: linear-gradient(91deg, #FF7658 0%, #FF370B 100%); + color: #ffffff; + border: none; + border-radius: 35rpx; + font-size: 28rpx; + text-align: center; +} + +/* 团购记录弹窗样式 */ +.purchase-popup { + background-color: #fff; + padding: 15rpx; +} + +.purchase-records { + padding: 20rpx 0; +} + +.record-header { + display: flex; + justify-content: space-around; + padding: 10rpx 0; + border-bottom: 1rpx solid #eee; + margin-bottom: 20rpx; +} + +.record-header-item { + font-size: 28rpx; + color: #666; + flex: 1; + text-align: center; +} + +.record-list { + max-height: 500rpx; + overflow-y: auto; +} + +.record-item { + display: flex; + justify-content: space-around; + align-items: center; + padding: 20rpx; + border-bottom: 1rpx solid #f5f5f5; +} + +.record-user { + display: flex; + align-items: center; + flex: 1; +} + +.user-avatar { + width: 60rpx; + height: 60rpx; + border-radius: 50%; + margin-right: 10rpx; +} + +.user-name { + font-size: 24rpx; + color: #999; +} + +.record-amount { + font-size: 24rpx; + color: #999; + flex: 1; + text-align: center; +} + +.record-time { + font-size: 24rpx; + color: #999; + flex: 1; + text-align: center; +} + +.record-footer { + display: flex; + justify-content: flex-end; + padding: 20rpx; +} + +.buy-button { + width: 180rpx; + height: 70rpx; + line-height: 70rpx; + background: linear-gradient(91deg, #FF7658 0%, #FF370B 100%); + color: #ffffff; + border: none; + border-radius: 35rpx; + font-size: 28rpx; + text-align: center; +} + +/* 当日达标签 */ +.tag { + background-color: #ff7d00; + color: white; + font-size: 22rpx; + padding: 5rpx 10rpx; + border-radius: 20rpx 0 20rpx 20rpx; +} + +.tag2 { + width: auto; + background-color: #ff380bd0; + color: white; + font-size: 30rpx; + padding: 10rpx 30rpx; + border-radius: 50rpx 0 0 50rpx; +} + +.tag-img { + position: absolute; + top: 200rpx; + right: 0; + z-index: 1; +} + +.tag-text { + display: inline-block; + vertical-align: middle; + margin-right: 20rpx; +} \ No newline at end of file diff --git a/packages/advertising/goodsDetail/index.vue b/packages/advertising/goodsDetail/index.vue new file mode 100644 index 00000000..5c932659 --- /dev/null +++ b/packages/advertising/goodsDetail/index.vue @@ -0,0 +1,821 @@ + + + + + \ No newline at end of file