123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508 |
- /**app.wxss**/
- .container {
- box-sizing: border-box;
- background-color: #f4f4f4;
- font-family: PingFangSC-Light, helvetica, 'Heiti SC';
- }
- view, image, text, navigator {
- box-sizing: border-box;
- padding: 0;
- margin: 0;
- }
- view, text {
- font-family: PingFangSC-Light, helvetica, 'Heiti SC';
- font-size: 29rpx;
- color: #333;
- }
- .arrow::after {
- content: " ";
- display: inline-block;
- height: 6px;
- width: 6px;
- border-width: 2px 2px 0 0;
- border-color: #666;
- border-style: solid;
- transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
- position: absolute;
- top: 50%;
- margin-top: -5px;
- right: -16px;
- }
- .arrow-down::after {
- transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0) rotate(90deg);
- }
- .arrow-up::after {
- transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0) rotate(-90deg);
- }
- .list-group {
- margin-top: 0.6em;
- background-color: #fff;
- line-height: 1.41176471;
- font-size: 28rpx;
- overflow: hidden;
- position: relative;
- }
- .list-group::before {
- content: " ";
- position: absolute;
- left: 0;
- top: 0;
- right: 0;
- height: 1px;
- border-top: 1px solid #d9d9d9;
- color: #d9d9d9;
- transform-origin: 0 0;
- transform: scaleY(0.5);
- }
- .list-group::after {
- content: " ";
- position: absolute;
- left: 0;
- bottom: 0;
- right: 0;
- height: 1px;
- border-bottom: 1px solid #d9d9d9;
- color: #d9d9d9;
- transform-origin: 0 100%;
- transform: scaleY(0.5);
- }
- .list-cell {
- padding: 10px 15px;
- position: relative;
- display: flex;
- align-items: center;
- }
- .list-cell:first-of-type::before {
- display: none;
- }
- .list-cell::before {
- content: " ";
- position: absolute;
- top: 0;
- right: 0;
- height: 1px;
- border-top: 1px solid #d9d9d9;
- color: #d9d9d9;
- transform-origin: 0 0;
- transform: scaleY(0.5);
- left: 15px;
- }
- .list-cell-hd {
- display: flex;
- align-items: center;
- }
- .list-cell-bd {
- flex: 1;
- }
- .list-cell-bd .list-label {
- font-size: 24rpx;
- }
- .list-cell-bd .list-label-desc {
- font-size: 24rpx;
- color: #9b9b9b;
- padding-top: 5px;
- }
- .list-cell-ft {
- padding-right: 13px;
- position: relative;
- text-align: right;
- color: #999;
- }
- .list-cell-ft .txt {
- font-size: 24rpx;
- }
- .list-cell-ft.router::after {
- content: " ";
- display: inline-block;
- height: 6px;
- width: 6px;
- border-width: 2px 2px 0 0;
- border-color: #c8c8cd;
- border-style: solid;
- transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
- top: -2px;
- position: absolute;
- top: 50%;
- margin-top: -4px;
- right: 2px;
- }
- .modal-wrap {
- position: fixed;
- width: 100%;
- height: 100%;
- z-index: 500;
- top: 0;
- left: 0;
- background-color: rgba(0, 0, 0, 0.5);
- }
- .x-close {
- position: relative;
- display: inline-block;
- vertical-align: middle;
- color: #999;
- width: 48rpx;
- height: 48rpx;
- }
- .x-close::before, .x-close::after {
- content: '';
- position: absolute;
- left: 0;
- top: 11px;
- width: 24px;
- height: 1px;
- background-color: currentColor;
- transform: rotate(-45deg);
- }
- .x-close::after {
- transform: rotate(45deg);
- }
- .no-data {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- padding-top: 150rpx;
- }
- .no-data image {
- width: 250rpx;
- height: 250rpx;
- }
- .no-data text {
- text-align: center;
- margin-top: 50rpx;
- color: #999;
- }
- /* 底部购物车 */
- .cart-panel {
- display: flex;
- height: 80rpx;
- width: 700rpx;
- line-height: 80rpx;
- border-radius: 40rpx;
- background-color: #4d4d4e;
- position: fixed;
- bottom: 8rpx;
- z-index: 499;
- left: 50%;
- margin-left: -350rpx;
- }
- .cart-panel .cart-icon {
- width: 80rpx;
- height: 80rpx;
- background-color: #343434;
- border-radius: 50%;
- position: relative;
- }
- .cart-panel .cart-icon navigator {
- width: 100%;
- height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .cart-panel .cart-icon .cart-num {
- position: absolute;
- width: 30rpx;
- height: 30rpx;
- line-height: 30rpx;
- text-align: center;
- top: -10rpx;
- right: -10rpx;
- background-color: #ff8902;
- color: #fff;
- border-radius: 50%;
- font-size: 20rpx;
- }
- .cart-panel .cart-icon image {
- width: 40rpx;
- height: 40rpx;
- }
- .cart-panel .cart-body {
- flex: 1;
- color: #fff;
- padding-left: 20rpx;
- }
- .cart-panel .cart-pay {
- width: 200rpx;
- color: #fff;
- background-color: #ff8902;
- border-radius: 0 40rpx 40rpx 0;
- text-align: center;
- }
- /* 快捷导航 */
- .fast-nav {
- position: fixed;
- right: 20rpx;
- bottom: 180rpx;
- z-index: 9999;
- display: flex;
- flex-direction: column;
- align-items: flex-end;
- }
- .fast-nav .nav {
- width: 100rpx;
- height: 100rpx;
- border-radius: 50%;
- background-color: #424242;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- margin-top: 20rpx;
- opacity: 0.6;
- }
- .fast-nav .nav text {
- color: #fff;
- font-size: 20rpx;
- }
- .fast-nav .contact {
- width: 100rpx;
- height: 100rpx;
- border-radius: 50%;
- background-color: #19c322;
- display: flex;
- flex-direction: column;
- align-items: center;
- opacity: 0.6;
- }
- .fast-nav .nav-list .nav-item {
- height: 80rpx;
- width: 200rpx;
- margin-bottom: 20rpx;
- display: flex;
- justify-content: flex-end;
- align-items: center;
- }
- .fast-nav .nav-list .nav-item .nav-text {
- line-height: 80rpx;
- text-align: center;
- padding-right: 20rpx;
- color: #fff;
- }
- .fast-nav .nav-list .nav-item .nav-cell {
- height: 80rpx;
- width: 80rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- background-color: #fff;
- border-radius: 50%;
- }
- .fast-nav .nav-list .nav-item .nav-cell image {
- height: 40rpx;
- width: 40rpx;
- }
- .fast-nav .close {
- width: 100rpx;
- height: 100rpx;
- border-radius: 50%;
- color: #fff;
- background-color: #ff5778;
- font-size: 50rpx;
- text-align: center;
- line-height: 100rpx;
- }
- .wx-contact-button-wrapper {
- background-image: url(http://120.76.26.84:80/group1/M00/00/01/rBJEdVvr1iWAacIoAAABhZLlqls595.png) !important;
- margin: 10rpx 0;
- }
- .fast-nav .contact text {
- color: #fff;
- font-size: 20rpx;
- }
- /*商品列表*/
- .topic-list {
- width: 750rpx;
- height: 100%;
- overflow: hidden;
- background: #f4f4f4;
- }
- .topic-list .item {
- width: 100%;
- height: auto;
- overflow: hidden;
- background: #fff;
- margin-bottom: 10rpx;
- }
- .topic-list .item .imgtt {
- width: 100%;
- height: 100vw;
- position: relative;
- }
- .topic-list .item .imgtt .img {
- width: 100%;
- height: 100vw;
- position: relative;
- overflow: hidden;
- }
- .topic-list .item .imgtt .imgline {
- position: absolute;
- left: 0px;
- bottom: 0px;
- width: 100%;
- background: #333;
- opacity: 0.6;
- height: 80rpx;
- color: #fff;
- }
- .topic-list .item .imgtt .imgline .priceInfo {
- float: left;
- text-align: left;
- height: 33rpx;
- line-height: 38rpx;
- overflow: hidden;
- color: #fff;
- font-size: 33rpx;
- margin-top: 25rpx;
- padding-left: 33rpx;
- }
- .topic-list .item .imgtt .imgline .priceInfo .price {
- font-size: 33rpx;
- color: #fff;
- }
- .topic-list .item .imgtt .imgline .priceInfo .orgPrice {
- font-size: 24rpx;
- margin-left: 10rpx;
- color: #fff;
- }
- .topic-list .item .imgtt .imgline .right {
- float: right;
- color: #fff;
- }
- .topic-list .item .imgtt .imgline .btn {
- height: 80rpx;
- line-height: 80rpx;
- text-align: center;
- font-size: 28rpx;
- color: #fff;
- background: #b4282d;
- border-radius: 0px;
- }
- .topic-list .info {
- width: 100%;
- height: 150rpx;
- overflow: hidden;
- }
- .topic-list .title {
- display: block;
- text-align: center;
- width: 100%;
- height: 33rpx;
- line-height: 35rpx;
- color: #333;
- overflow: hidden;
- font-size: 35rpx;
- margin-top: 30rpx;
- }
- .topic-list .desc {
- display: block;
- text-align: center;
- position: relative;
- width: auto;
- height: 24rpx;
- line-height: 24rpx;
- overflow: hidden;
- color: #999;
- font-size: 24rpx;
- margin-top: 16rpx;
- margin-bottom: 12rpx;
- text-overflow: ellipsis;
- white-space: nowrap;
- padding: 0 24rpx;
- }
- .page {
- width: 750rpx;
- height: 108rpx;
- background: #fff;
- margin-bottom: 20rpx;
- }
- .page view {
- height: 108rpx;
- width: 50%;
- float: left;
- font-size: 29rpx;
- color: #333;
- text-align: center;
- line-height: 108rpx;
- }
- .page .prev {
- border-right: 1px solid #d9d9d9;
- }
- .page .disabled {
- color: #ccc;
- }
- .line-through {
- text-decoration: line-through;
- }
- ::-webkit-scrollbar {
- width: 5px;
- background-color: #f5f5f5;
- }
- ::-webkit-scrollbar-thumb {
- background-color: #999;
- }
|