123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160 |
- <template>
- <view :style="{ minHeight: sys.windowHeight + 'px' }"
- :class="[$tm.vx.state().tmVuetify.black ? 'black' : ' ']">
- <tm-menubars title="搭配详情" :shadow="0" :showback="true"></tm-menubars>
- <div class="zhuti">
- <tm-sheet class="kuang" style="padding-bottom: 10px !important;">
- <view style="width: 94%;margin:0 auto;">
- <image class="chuanda" src="/static/img/108.png" mode="widthFix"></image>
- <view class="shuru">
- <tm-form>
- <view class="text-size-m text-white">请输入搭配名称</view>
- <tm-input v-model="familyname" name="title" clear placeholder="出席重要场合" clear></tm-input>
- </tm-form>
- </view>
- <view>
- <view class="biaoti text-white mt-30 text-size-m"><view class="mr-10"></view>分类</view>
- <tm-tabs class="C1b1b1b qiehuan" color="white" align="left" v-model="activeIndex" :list="list" range-key="title"></tm-tabs>
- <!-- <view class="biaoti text-white mt-30 text-size-m"><view class="mr-10"></view>场景</view>
- <tm-tabs class="C1b1b1b qiehuan" color="white" align="left" v-model="activeIndex1" :list="list1" range-key="title"></tm-tabs> -->
- </view>
- <!-- <view v-if="off==1" class="text-align-center mt-20 text-white">丝缎质感纹理风衣</view> -->
- <!-- <view v-if="off==1" class="text-align-center mt-10 text-size-s">丝滑如肌肤</view> -->
- </view>
- </tm-sheet>
- </div>
- <!-- <view class="goumai shangpin" v-if="off==1" >
- <view class="pt-20"><text class="ml-20">衣物名</text><text class="fr mr-20 text-gray text-size-s">丝缎质感纹理风衣</text></view>
- <view class="pa-20"><tm-cartCellListFood v-on:jiaruFun="jiarufuFun" v-for="item in test1" :typeclick="typeclick1" :mdata="item" :cart-num.sync="item.buy"></tm-cartCellListFood></view>
- </view> -->
- <tm-sheet :shadow="24" class="jiaoxi xiao">
- <tm-tabs align="center" class="qiehuan1" v-model="activeIndex" :list="list5" range-key="title"></tm-tabs>
- </tm-sheet>
- <!-- 单品 -->
- <view class="zhuti shangpin">
- <tm-sheet :padding="[0, 0]" class="jiaoxi xiao">
- <tm-cartCellListFood v-on:jiaruFun="jiarufuFun" v-for="item in test" :typeclick="typeclick" :mdata="item" :cart-num.sync="item.buy"></tm-cartCellListFood>
- </tm-sheet>
- </view>
- <!-- <tm-button :round="24" class="sao mb-40 mt-40" block>保存</tm-button> -->
- <view class="anniu">
- <tm-button :round="24" theme="gray" size="n">删除</tm-button>
- <tm-button :round="24" class="fr" theme="primary" size="n">保存</tm-button>
- </view>
- <!-- 弹出层消息 -->
- <tm-message ref="toast"></tm-message>
- </view>
- </template>
- <script>
- import{myRequest} from '@/api/request.js'
- export default {
- data() {
- return {
- familyname:'',
- off:1,
- list:['时尚','商务'],
- activeIndex:0,
- list1:['开会','聚餐'],
- activeIndex:0,
- activeIndex1:0,
- list5:[ '搭配内的购物清单'],
- test: [{
- img: '../../static/img/83.png',
- title: '丝缎质感纹理风衣',
- label: '黑色 - 6518/320',
- price: '1299',
- id: 3,
- buy: 0,
- itemId: 0
- },{
- img: '../../static/img/84.png',
- title: '产品3(任选)',
- label: '这个产品是只有几个融会',
- price: 36.2,
- id: 3,
- buy: 0,
- itemId: 0
- },{
- img: '../../static/img/83.png',
- title: '产品3(任选)',
- label: '这个产品是只有几个融会',
- price: 36.2,
- id: 3,
- buy: 0,
- itemId: 0
- }],
- test1: [{
- img: '../../static/img/83.png',
- title: '丝缎质感纹理风衣',
- label: '黑色 - 6518/320',
- id: 3,
- buy: 0,
- itemId: 0
- }],
- typeclick1:6,//1加入购物车,2购物车,3前往购买,4,5
- typeclick:7,//1加入购物车,2购物车,3前往购买,4,5
- };
- },
- onLoad(e) {
- if(e){
-
- }
- },
- created() {
- this.sys = uni.getSystemInfoSync();
- },
- methods: {
- jiarufuFun(data){
- // uni.navigateTo({
- // url: "/pages/shopdetail/index",
- // })
- console.log(data)
- },
- },
- }
- </script>
- <style lang="scss">
- /deep/ .tm-menubars .body{
- background-color: #1b1b1b !important;
- }
- /deep/ .zhuti{padding: 10px 10px;}
- /deep/ .kuang{margin:0 !important;padding: 0px !important;}
- .chuanda{width: 100%;margin-top:10px;}
- .shuru{background: #0D0D0D;padding: 10px;margin-top: 20px;}
- /deep/ .shuru .grey-darken-5{
- background-color: #0d0d0d!important;
- padding: 0px !important;
- }
- .shuru{border:1px solid #303030;border-radius: 10px;}
- /deep/ .shuru .text-primary.bk{color:#303030 !important;}
- /deep/ .shuru .border-grey-darken-4-b-1{border-bottom:none !important;}
- /deep/ .qiehuan .tm-tabs-con-item-border{display: none;}
- /deep/ .qiehuan .tm-tabs-con-item-text{background: #303440;height: 26px;line-height: 26px;
- padding-left: 14px;padding-right: 14px;margin-top: 17%;border-radius: 20px;margin-left: 10px;}
- /deep/ .qiehuan .text-white{
- font-size: 14px;
- background: #0178FD;
- height: 26px;
- vertical-align: middle;
- line-height: 26px;
- border-radius: 20px;
- padding-left: 14px;
- padding-right: 14px;
- margin-top: 17%;
- }
- .biaoti view{width:5px;height:19px;background: #0178FD;float: left;border-radius: 10px;}
- /deep/ .qiehuan1 .text-primary{color: white !important;}
- /deep/ .jiaoxi{margin:0 !important;padding: 8px !important;}
- /deep/ .shangpin .white.bk{background-color:#1b1b1b!important;}
- /deep/ .shangpin .tm-cartCellListFood{padding: 0px 0px 5px 0px !important;
- margin-top: 5px !important;border-bottom: 1px solid #1B1B1B;}
- /deep/ .shangpin .border-t-1.bk{border-top:1px solid #1b1b1b!important;}
- /deep/ .shangpin .round-3{width:120px !important;height:110px !important;}
- /deep/ .shangpin .tm-cartCellListFood-img{width:120px !important;height:110px !important;}
- /deep/ .shangpin .title{color: white !important;}
- /deep/ .shangpin .text-red{color: white !important;}
- .sao{width: 88%;display: block;margin: 0 auto;padding-bottom: 60px;margin-top: 20px;}
- .goumai{background: #1B1B1B;margin-bottom: 10px;}
- .anniu{width: 70%;margin: 0 auto;margin-top: 20px;padding-bottom: 30px;}
- </style>
|