123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 |
- <template>
- <view :style="{ minHeight: sys.windowHeight + 'px' }"
- :class="[$tm.vx.state().tmVuetify.black ? 'black' : ' ']" class="bodycont">
- <tm-menubars ref="fenleig" title="分类" :shadow="0" :showback="true"></tm-menubars>
- <div class="cont" :style="{ height: (sys.windowHeight-80) + 'px' }">
- <tm-sheet black>
- <tm-sliderNav :style="{ height: (sys.windowHeight-80) + 'px' }" class="zuo fl" @change="change" :list="list" text color="red" ></tm-sliderNav>
- <view class="fr you" :style="{ height: (sys.windowHeight-80) + 'px' }">
- <view class="huadong">
- <view class="py-10 text-size-g dianz mingri text-align-center mt-40">
- <image src="/static/img/88.png" mode="widthFix"></image>
- <text class="text-white">精选推荐</text>
- </view>
- <view class="yiguicla mt-20 ml-20 fl" v-for="item in quanbuList" @click="yifu()">
- <image :src="item.src" mode="widthFix"></image>
- <view class="wenzi text-align-center text-size-m mt-8">{{item.text}}</view>
- </view>
- <view style="width:100%;height:40px;clear: both;"></view>
- </view>
- </view>
- <view style="clear: both;"></view>
- </tm-sheet>
- </div>
- <!-- 弹出层消息 -->
- <tm-message ref="toast"></tm-message>
- </view>
- </template>
- <script>
- import{myRequest} from '@/api/request.js'
- export default {
- data() {
- return {
- list:[
- {title:'配饰'},
- {title:'精选'},
- {title:'热门',},
- {title:'虚拟商品'},
- {title:'包袋'},
- {title:'彩妆',},
- {title:'护肤'},
- {title:'陪玩',}
- ],
- quanbuList:[{
- src:'/static/img/45.png',
- text:'NEO CITY 涂鸦',
- type:'手提包'
- },{
- src:'/static/img/46.png',
- text:'满印迷你标识',
- type:'围巾'
- },{
- src:'/static/img/47.png',
- text:'大号版型夹克',
- type:'新品'
- },{
- src:'/static/img/45.png',
- text:'NEO CITY 涂鸦',
- type:'手提包'
- },{
- src:'/static/img/46.png',
- text:'满印迷你标识',
- type:'围巾'
- },{
- src:'/static/img/47.png',
- text:'大号版型夹克',
- type:'新品'
- },{
- src:'/static/img/46.png',
- text:'满印迷你标识',
- type:'围巾'
- },{
- src:'/static/img/47.png',
- text:'大号版型夹克',
- type:'新品'
- },{
- src:'/static/img/45.png',
- text:'NEO CITY 涂鸦',
- type:'手提包'
- },{
- src:'/static/img/46.png',
- text:'满印迷你标识',
- type:'围巾'
- },{
- src:'/static/img/47.png',
- text:'大号版型夹克',
- type:'新品'
- },{
- src:'/static/img/46.png',
- text:'满印迷你标识',
- type:'围巾'
- },{
- src:'/static/img/47.png',
- text:'大号版型夹克',
- type:'新品'
- }]
- };
- },
- onLoad() {
-
- },
- created() {
- this.sys = uni.getSystemInfoSync();
- },
- methods: {
- change(e){
- uni.$tm.toast(`您选中了:${e}`)
- }
- },
- }
- </script>
- <style lang="scss">
- /deep/ .tm-menubars .body{
- background-color: #1b1b1b !important;
- }
- // /deep/ .zhuti{padding: 10px 10px;}
- // page,.bodycont{height:100%;}
- /deep/ .cont{overflow: hidden;}
- /deep/ .kuang{margin:0 !important;padding: 0px !important;}
- /deep/ .zuo .grey-darken-4.bk{background-color:#0D0D0D !important;}
- /deep/ .zuo .uni-scroll-view-content{background-color:#0D0D0D !important;}
- /deep/ .cont .shadow-white-5{padding:0px !important;margin:0px !important}
- /deep/ .zuo .border-red-l-2.bk{border-left-color:#0178FD !important;}
- /deep/ .zuo .text-red,/deep/ .zuo .text-grey-darken-1{color: white !important;}
- .yiguicla image{width: 100%;display: block;margin: 0 auto;margin-top: 5px;border-radius: 10px;}
- .yiguicla{width: 45%;border-radius: 10px;position: relative;padding:0px !important;}
- .wenzi{position: absolute;bottom: 0px;background: #BCC2C7;color: white;width: 100%;
- height: 25px;border-radius: 0px 0px 10px 10px;}
- // /deep/ .zuo uni-scroll-view{height: calc(100% - 45px) !important;}
- .mingri image{width: 25px;margin-right: 12px;vertical-align: middle;}
- .mingri text{vertical-align: middle;}
- .you{width: calc(100% - 100px);overflow: auto;}
- .zuo{overflow: hidden;}
- </style>
|