12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- <template>
- <view class="content">
- <view class="title">
- <view class="text">常用功能</view>
- <view class="bars" @click="go_bars()">
- <uni-icons type="bars" color="#999" size="18"></uni-icons>
- </view>
- </view>
- <view class="list">
- <view class="item" v-for="(item,index) in 7" :key="index">
- <view class="icon">
- <image src="./icon/icon.png" mode=""></image>
- </view>
- <view class="name">通知公告</view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- name: "t-i-common",
- data() {
- return {
- };
- },
- methods:{
- go_bars(){
- uni.navigateTo({
- url:"../../index/bars_sort/bars_sort"
- })
- }
- }
- }
- </script>
- <style lang="scss">
- .content {
- margin-bottom: 30rpx;
- background-color: #FFFFFF;
- box-sizing: border-box;
- padding: 50rpx 25rpx;
- }
- .title {
- display: flex;
- align-items: baseline;
- justify-content: space-between;
-
- .text {
- font-size: 36rpx;
- }
-
- .bars {
- width: 100rpx;
- text-align: right;
-
- }
- }
- .list {
- width: 700rpx;
- overflow: hidden;
- .item {
- margin-top: 30rpx;
- margin-right: 25rpx;
- width: 120rpx;
- float: left;
- .icon {
- width: 120rpx;
- text-align: center;
- image {
- width: 78rpx;
- height: 78rpx;
- }
- }
- .name {
- text-align: center;
- font-size: 26rpx;
- }
- }
- .item:nth-child(5n) {
- margin-right: 0;
- }
- }
- </style>
|