| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- .container {
- display: flex;
- flex-direction: column;
- width: 100%;
- .top-view {
- position: sticky;
- top: 0;
- z-index: 999;
- }
- .cell-view {
- display: flex;
- flex-direction: column;
- border-bottom: 1px solid #f0f0f0;
- align-items: center;
- margin: 0px 10px;
- align-content: center;
-
- text {
- padding-top: 10px;
- text-align: left;
- color: #666;
- font-size: 28rpx;
- height: 30px;
- width: 100%;
- margin-right: 5px;
- }
-
- .content {
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- width: 100%;
- align-content: center;
-
- button {
- margin: 5px;
- height: 30px;
- color: #333;
- width: 17.3%;
- border-radius: 5px;
- font-size: 12px;
- }
-
- /* 选中时添加这个 样式 */
- .active {
- background: #dae9fd;
- }
-
- /* 三角形 */
- .active::before {
- content: '';
- display: inline-block;
- position: absolute;
- right: 0;
- bottom: 0;
- width: 0;
- height: 0;
- border-bottom: 15px solid #407DB8;
- border-left: 14px solid transparent;
- }
- }
-
- button {
- color: #000;
- font-size: 24rpx;
- }
- }
-
- .shape, .neatness {
- height: 170px;
- }
- .color {
- height: 250px;
- }
-
- .certificate {
- height: 130px;
- }
-
- .qiegong, .duicheng, .polishing, .yingguang, .currency, .ctweight {
- height: 90px;
- }
-
- .buttom_view {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- margin-top: 20px;
- width: 90%;
- align-content: center;
- align-items: center;
- padding-left: 5%;
- van-button {
- width: 48%;
- color: white;
- }
- }
- }
|