diff --git a/pages/newBuyDetail/newBuyDetail.vue b/pages/newBuyDetail/newBuyDetail.vue index 811dfe1..7ea669d 100644 --- a/pages/newBuyDetail/newBuyDetail.vue +++ b/pages/newBuyDetail/newBuyDetail.vue @@ -1,86 +1,112 @@ - - + \ No newline at end of file + body { + box-sizing: border-box; + padding-bottom: 25%; + } + + /deep/uni-checkbox .uni-checkbox-input { + border-radius: 50%; + } + + /deep/uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked { + border-color: #ddd; + color: #fff !important; + background-color: #2dcf8c !important; + } + + /deep/uni-checkbox .uni-checkbox-input { + border-color: #ddd; + } + + /deep/uni-checkbox .uni-checkbox-input:hover { + border-color: #ddd; + } + + .search { + padding-top: 20rpx; + } + + .search .searchIput { + background-color: #e6e6e6; + width: 95%; + margin: 0 auto; + height: 72rpx; + line-height: 72rpx; + border-radius: 50rpx; + padding: 0 32rpx; + box-sizing: border-box; + display: flex; + align-items: center; + } + + .search .searchIput input { + font-size: 26rpx; + width: 100%; + color: grey; + } + + .search .searchIput image { + width: 34rpx; + height: 34rpx; + } + + .dataInfo { + width: 95%; + margin: 0 auto; + } + + .dataInfo .dataList { + display: flex; + flex-direction: column; + align-items: center; + border-bottom: 2px solid #f1f1f1; + padding: 10rpx 0; + } + + .info-upper { + width: 100%; + display: flex; + justify-content: space-between; + align-items: center; + } + + .lower-btns { + width: 100%; + box-sizing: border-box; + padding: 20rpx; + display: flex; + justify-content: flex-end; + align-items: center; + } + + .lower-btns > view { + box-sizing: border-box; + padding: 10rpx 20rpx; + border-radius: 15rpx; + color: #fff; + font-size: 14px; + margin-right: 15rpx; + } + + .dataInfo .dataList .details { + display: flex; + align-items: center; + flex: 1; + font-size: 0; + } + + .dataInfo .dataList .details .img image { + width: 200rpx; + height: 140rpx; + padding: 0 20rpx; + } + + .dataInfo .dataList .details .text text { + color: #000; + font-size: 27rpx; + display: block; + padding: 10rpx 0; + } + + .dataInfo .dataList .details .text { + color: red; + font-size: 32rpx; + } + + .dataInfo .dataList .action text { + font-size: 25rpx; + color: #000; + border: 1px solid #c8c7cc; + display: inline-block; + line-height: 50rpx; + width: 60rpx; + text-align: center; + box-sizing: border-box; + } + + .dataInfo .dataList .action text:nth-child(2) { + border-left: none; + border-right: none; + } + + .buy { + display: flex; + align-items: center; + justify-content: space-between; + position: fixed; + left: 50%; + bottom: 0; + width: 95%; + background-color: #fff; + transform: translate(-50%, 0); + } + + .buy .checked { + display: flex; + align-items: center; + } + + .buy .checked text { + font-size: 25rpx; + color: #000; + padding: 0 12rpx; + } + + .buy .total { + display: flex; + align-items: center; + justify-content: space-between; + } + + .buy .total .price { + padding-right: 20rpx; + } + + .buy .total .price text { + font-size: 27rpx; + color: #c8c7cc; + display: inline-block; + } + + .buy .total .price text:last-child { + color: red; + font-weight: bold; + } + + .buy .total .bill text { + font-size: 25rpx; + color: #fff; + display: inline-block; + background-color: red; + line-height: 70rpx; + width: 150rpx; + text-align: center; + } + + .popup { + width: 80vw; + height: 20vh; + background-color: #fff; + border-radius: 15rpx; + overflow: hidden; + background: linear-gradient(#d9e7fe, #fff, #fff, #fff); + } + + .popup > .pop-top { + width: 100%; + height: 5vh; + box-sizing: border-box; + padding: 0 25rpx; + display: flex; + justify-content: space-between; + align-items: center; + } + + .popup > .select-area { + width: 85%; + margin: 40rpx auto; + display: flex; + justify-content: space-around; + align-items: center; + } + + .popup > .select-area > view { + box-sizing: border-box; + font-size: 30rpx; + padding: 12rpx 24rpx; + background-color: #3788ff; + color: #fff; + border-radius: 20rpx; + } +