|
@@ -6,24 +6,24 @@
|
|
|
<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" v-if="off==1">
|
|
|
+ <view class="shuru" v-if="off==2">
|
|
|
<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 v-if="off==1" >
|
|
|
+ <view v-if="off==2" >
|
|
|
<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==2" class="text-align-center mt-20 text-white">丝缎质感纹理风衣</view>
|
|
|
- <view v-if="off==2" class="text-align-center mt-10 text-size-s">丝滑如肌肤</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==2" >
|
|
|
+ <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>
|
|
@@ -36,8 +36,8 @@
|
|
|
<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 v-if="off==1" :round="24" class="sao mb-40 mt-40" block>保存</tm-button>
|
|
|
- <view class="anniu" v-if="off==2">
|
|
|
+ <tm-button v-if="off==2" :round="24" class="sao mb-40 mt-40" block>保存</tm-button>
|
|
|
+ <view class="anniu" v-if="off==1">
|
|
|
<tm-button :round="24" theme="gray" size="n">预约明日</tm-button>
|
|
|
<tm-button :round="24" class="fr" theme="primary" size="n">全部取出</tm-button>
|
|
|
</view>
|
|
@@ -97,8 +97,8 @@ export default {
|
|
|
},
|
|
|
onLoad(e) {
|
|
|
if(e){
|
|
|
- this.off=e.off?e.off:2;
|
|
|
- if(e.off==1){
|
|
|
+ this.off=e.type?e.type:2;
|
|
|
+ if(this.off==1){
|
|
|
this.typeclick=5;
|
|
|
}else{
|
|
|
this.typeclick=6;
|