| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- /* mHome/pages/calculator/calculator.wxss */
- .container {
- display: flex;
- flex-direction: column;
- width: 100%;
- .cell-view {
- display: flex;
- border-bottom: 1px solid #f0f0f0;
- align-items: center;
- margin: 0px 10px;
-
- text {
- width: 90px;
- text-align: left;
- color: #333;
- font-size: 22rpx;
- }
-
- .content {
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- width: 100%;
- align-content: center;
-
- button {
- margin: 5px;
- height: 30px;
- color: #333;
- width: 21.3%;
- border-radius: 5px;
- }
-
- /* 选中时添加这个 样式 */
- .active {
- background: #dae9fd;
- }
-
- /* 三角形 */
- .active::before {
- content: '';
- display: inline-block;
- position: absolute;
- right: 0;
- bottom: 0;
- width: 0;
- height: 0;
- border-bottom: 15px solid rebeccapurple;
- border-left: 14px solid transparent;
- }
- }
-
- button {
- color: #000;
- font-size: 22rpx;
- }
- }
-
- .rate view, .weight view, .discount view {
- flex-wrap: nowrap;
- text-align: center;
- }
-
- .zsshape, .weight, .rate, .discount, .result {
- height: 50px
- }
- .zsclarity, .zscolor {
- height: 130px;
- }
-
- .buttom_view {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- margin-top: 20px;
-
- button {
- width: 70%;
- color: white;
- background-color: red;
- }
- }
- }
|