123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317 |
- /* pages/diy/index.wxss */
- .flowbtn {
- position: fixed;
- bottom: -120rpx;
- left: 50%;
- z-index: 9999;
- width: 120rpx;
- height: 120rpx;
- transform: translateX(-50%);
- background: #b49660;
- border-radius: 50%;
- text-align: center;
- margin-bottom: calc(constant(safe-area-inset-bottom));
- margin-bottom: calc(env(safe-area-inset-bottom));
- &.ani {
- animation: 0.8s bounceshow 0.3s forwards;
- }
- image {
- width: 100%;
- height: 100%;
- }
- .nicon {
- margin-top: 10rpx;
- color: #fff;
- font-size: 64rpx;
- }
- .ntext {
- color: #fff;
- font-size: 20rpx;
- margin-top: -14rpx;
- position: absolute;
- left: 50%;
- bottom: 8px;
- white-space: nowrap;
- transform: translateX(-50%);
- }
- @keyframes bounceshow {
- 0% {
- bottom: 0;
- }
- 67% {
- bottom: 170rpx;
- }
- 80% {
- bottom: 110rpx;
- }
- 90% {
- bottom: 140rpx;
- }
- 100% {
- bottom: 130rpx;
- }
- }
- }
- .litebtn {
- line-height: 50rpx !important;
- height: 50rpx !important;
- }
- .liteicon {
- margin-right: 10rpx;
- }
- .diy {
- &-setting {
- display: flex;
- justify-content: space-between;
- }
- &-container {
- display: flex;
- height: 100vh;
- flex-direction: column;
- padding: 0 10px;
- }
- &-head {
- display: flex;
- column-gap: 12rpx;
- padding-top: 12rpx;
- .divbtn {
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 30rpx;
- flex: 1;
- padding: 16rpx 0;
- border-top-left-radius: 14rpx;
- border-top-right-radius: 14rpx;
- background: #ffffff;
- font-weight: 400;
- &-hover,
- &.active {
- background: #f1f1f1;
- color: #b49660;
- }
- }
- .icon {
- margin-right: 10rpx;
- font-size: 32rpx;
- }
- }
- &-content {
- @dvimgwidth: 12rpx;
- flex: 1;
- overflow: auto;
- background: #f1f1f1;
- display: flex;
- padding: @dvimgwidth;
- width: calc(100% - @dvimgwidth * 2);
- .divimage {
- width: calc(50% - @dvimgwidth * 2);
- padding: @dvimgwidth;
- position: relative;
- &.prod {
- width: calc(50%);
- padding: 0;
- .wrapimage {
- width: 324rpx;
- height: 418rpx;
- background: transparent;
- }
- image {
- width: 324rpx;
- height: 398rpx;
- border-radius: 10rpx;
- }
- }
- &.scbg {
- .wrapimage {
- height: 200rpx;
- }
- image {
- height: 180rpx;
- }
- }
- &.scgood {
- .wrapimage {
- height: 200rpx;
- background: transparent;
- }
- image {
- height: 180rpx;
- }
- .flcheck {
- top: 20rpx;
- bottom: initial;
- left: 20rpx;
- right: initial;
- transform: initial;
- }
- }
- .wrapgood {
- background: #ffffff;
- position: relative;
- .flatimg {
- position: absolute;
- right: 18rpx;
- top: 150rpx;
- }
- .titlebar {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 0 12rpx 12rpx 12rpx;
- .title {
- font-size: 28rpx;
- }
- .spec-for-price {
- font-size: 30rpx;
- font-weight: light;
- }
- }
- }
- .wrapimage {
- background: #ffffff;
- clear: both;
- width: 318rpx;
- height: 358rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- border-radius: 8rpx;
- }
- image {
- width: 300rpx;
- height: 340rpx;
- }
- .floatPlace {
- position: absolute;
- right: 30rpx;
- top: 30rpx;
- display: flex;
- flex-direction: column;
- gap: 20rpx;
- }
- .flbtn {
- background: #b49660;
- padding: 12rpx;
- border-radius: 50%;
- opacity: 0.7;
- .icon {
- color: #fff;
- font-size: 32rpx;
- }
- &-hover {
- opacity: 0.9;
- }
- }
- .flbtn2 {
- background: #ec9a00;
- padding: 12rpx;
- border-radius: 50%;
- opacity: 0.7;
- .icon {
- color: #fff;
- font-size: 32rpx;
- }
- &-hover {
- opacity: 0.9;
- }
- }
- .flcheck {
- position: absolute;
- left: 50%;
- bottom: 30rpx;
- transform: translateX(-50%);
- background: #bbbbbb;
- padding: 12rpx;
- border-radius: 50%;
- opacity: 0.8;
- .icon {
- color: #777;
- opacity: 0.5;
- }
- &.checked {
- background: #b49660;
- .icon {
- color: #fff;
- opacity: 1;
- }
- }
- }
- }
- }
- &-footer {
- padding-bottom: calc(constant(safe-area-inset-bottom) + 96rpx);
- padding-bottom: calc(env(safe-area-inset-bottom) + 96rpx);
- }
- }
- .chooseblock {
- background: #fff;
- padding: 20rpx 20rpx calc(constant(safe-area-inset-bottom)) 20rpx;
- padding: 20rpx 20rpx calc(env(safe-area-inset-bottom)) 20rpx;
- align-items: center;
- .chooseitem {
- flex: 1;
- display: flex;
- justify-content: center;
- color: #c78c41;
- font-size: 26rpx;
- flex-direction: column;
- align-items: center;
- }
- .chooseicon {
- font-size: 80rpx;
- color: #b49660;
- }
- .choosedivide {
- background: #dfdfdf;
- width: 1px;
- height: 80rpx;
- }
- }
|