12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- /* pages/suggestList/suggestList.wxss */
- /* 页面背景 */
- page{
- /* height: 100%; */
- /* height: auto !important; */
- background-color: #E2F0D9;
- }
- /* 建议列表区 */
- .suggestContainer{
- height: 100%;
- padding-bottom: 120rpx;
- }
- /* 单条建议的背景 */
- .suggest{
- display: flex;
- padding: 20rpx;
- margin: 20rpx 10rpx;
- height: 140rpx;
- border-radius: 30rpx;
- background-color: #FFF2CC;
- }
- /* 单条建议左侧标题和内容摘要 */
- .suggestion{
- width: 75%;
- }
- /* 标题和内容摘要布局 */
- .suggestHead,
- .suggestBody{
- display: flex;
- }
- /* 摘要 */
- .suggestBody{
- margin-top: 10rpx;
- }
- /* 标题详情和内容详情左边距 */
- .suggestTitle,
- .suggestContent{
- margin-left: 20rpx;
- }
- /* 标题内容详情 */
- .suggestTitle{
- width: 65%;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- /* 内容摘要详情 */
- .suggestContent{
- width: 65%;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- }
- /* 处理状态 */
- .dispose{
- font-weight: bold;
- color: red;
- margin-left: 30rpx;
- }
- /* 写建议按钮 */
- .toWriteSuggestion{
- display: flex;
- position: relative;
- justify-content: center;
- }
- .writeSuggestion{
- text-align: center;
- position: fixed;
- bottom: 0rpx;
- width: 100%;
- height: 120rpx;
- line-height: 120rpx;
- background-color: #E2F0D9;
- }
- .writeSuggestion text{
- background-color: #8FAADC;
- font-size: 36rpx;
- color: white;
- border-radius: 30rpx;
- padding: 10rpx 20rpx;
- }
|