This commit is contained in:
parent
0bd86a8496
commit
2429af9ae1
|
|
@ -69,7 +69,7 @@
|
||||||
<button class="cu-btn line-main-color margin-right-xs margin-top-sm" v-if="good.status === 1" @click="onGood(good)">上架</button>
|
<button class="cu-btn line-main-color margin-right-xs margin-top-sm" v-if="good.status === 1" @click="onGood(good)">上架</button>
|
||||||
<!-- <button class="cu-btn line-main-color margin-right-xs margin-top-sm" @click="copyGood(good)">复制</button> -->
|
<!-- <button class="cu-btn line-main-color margin-right-xs margin-top-sm" @click="copyGood(good)">复制</button> -->
|
||||||
<!-- <button class="cu-btn line-main-color margin-right-xs margin-top-sm">优惠券</button> -->
|
<!-- <button class="cu-btn line-main-color margin-right-xs margin-top-sm">优惠券</button> -->
|
||||||
<button class="cu-btn line-red shadow-blur margin-right-xs margin-top-sm" @click="delGood(good)">删除</button>
|
<!-- <button class="cu-btn line-red shadow-blur margin-right-xs margin-top-sm" @click="delGood(good)">删除</button> -->
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
|
||||||
|
|
@ -5,11 +5,14 @@
|
||||||
<!-- 个人信息栏 -->
|
<!-- 个人信息栏 -->
|
||||||
<view class="flex justify-between padding-bottom align-center solid-bottom">
|
<view class="flex justify-between padding-bottom align-center solid-bottom">
|
||||||
<view class="flex justify-start align-center">
|
<view class="flex justify-start align-center">
|
||||||
<view class="cu-avatar round" @click="test"
|
<!-- <view class="cu-avatar round" @click="test"
|
||||||
:style="'width: 120rpx; height: 120rpx; background-image:url(' + curUserInfo.bannerUrl + ');'">
|
:style="'width: 120rpx; height: 120rpx; background-image:url(' + curUserInfo.bannerUrl + ');'"> -->
|
||||||
|
<view style="width: 120rpx; height: 120rpx;">
|
||||||
|
<image class="round" src="/static/dept-logo.jpg" mode="aspectFit" style="width: 120rpx; height: 120rpx;"></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="margin-lr-sm">
|
<view class="margin-lr-sm">
|
||||||
<view class="text-xl margin-bottom-xs" v-if="curUserInfo && curUserInfo.openId">{{curUserInfo.deptName}}</view>
|
<!-- <view class="text-xl margin-bottom-xs" v-if="curUserInfo && curUserInfo.openId">{{curUserInfo.deptName}}</view> -->
|
||||||
|
<view class="text-xl margin-bottom-xs" v-if="curUserInfo && curUserInfo.openId">工盟互联</view>
|
||||||
<view class="text-xl margin-bottom-xs" v-else @click="authLogin">请先登录</view>
|
<view class="text-xl margin-bottom-xs" v-else @click="authLogin">请先登录</view>
|
||||||
<!-- <view class="padding-xs text-sm">
|
<!-- <view class="padding-xs text-sm">
|
||||||
<view class='cu-tag bg-white radius'>编辑</view>
|
<view class='cu-tag bg-white radius'>编辑</view>
|
||||||
|
|
|
||||||
|
|
@ -19,12 +19,13 @@
|
||||||
<view class="cu-form-group">
|
<view class="cu-form-group">
|
||||||
<view class="title">选择类目<text class="text-red">*</text></view>
|
<view class="title">选择类目<text class="text-red">*</text></view>
|
||||||
<picker :mode="'multiSelector'" @change="categoryChange" @columnchange="categoryColChange"
|
<picker :mode="'multiSelector'" @change="categoryChange" @columnchange="categoryColChange"
|
||||||
:value="categoryMultiIndex" :range-key="'goodsCategoryName'" :range="categoryList">
|
:value="categoryMultiIndex" :range-key="'goodsCategoryName'" :range="categoryList"
|
||||||
|
:disabled="goodsId">
|
||||||
<input v-if="formData.category" disabled class="line-input radius-input"
|
<input v-if="formData.category" disabled class="line-input radius-input"
|
||||||
:value="formData.category && formData.category.length ? formData.category[0].goodsCategoryName + '-' + formData.category[1].goodsCategoryName + '-' + formData.category[2].goodsCategoryName : ''"
|
:value="formData.category && formData.category.length ? formData.category[0].goodsCategoryName + '-' + formData.category[1].goodsCategoryName + '-' + formData.category[2].goodsCategoryName : ''"
|
||||||
placeholder="请选择类目"/>
|
placeholder="请选择类目"/>
|
||||||
<input v-else-if="formData.categoryConcatName" disabled class="line-input radius-input"
|
<input v-else-if="formData.categoryConcatName" disabled class="line-input radius-input"
|
||||||
:value="formData.categoryConcatName" placeholder="请选择类目" />
|
:value="formData.categoryConcatName" placeholder="请选择类目" :class="goodsId ? 'bg-gray' : ''"/>
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="formData.specsList && formData.specsList.length > 0">
|
<view v-if="formData.specsList && formData.specsList.length > 0">
|
||||||
|
|
@ -33,8 +34,8 @@
|
||||||
<view v-for="(item, index) in formData.specsList" class="padding-tb-sm">
|
<view v-for="(item, index) in formData.specsList" class="padding-tb-sm">
|
||||||
<view class="flex">
|
<view class="flex">
|
||||||
<view class="flex-sub">
|
<view class="flex-sub">
|
||||||
<checkbox style="transform:scale(1)" class="main-color margin-right-xs"
|
<checkbox style="transform:scale(1)" class="margin-right-xs"
|
||||||
:value="index" :checked="item.checked"></checkbox>
|
:value="index" :checked="item.checked" :class="goodsId && item.checked ? 'grey' : 'main-color'" :disabled="goodsId && item.checked"></checkbox>
|
||||||
<text>{{item.goodsCategoryName}}</text>
|
<text>{{item.goodsCategoryName}}</text>
|
||||||
</view>`
|
</view>`
|
||||||
<view class="flex-sub">
|
<view class="flex-sub">
|
||||||
|
|
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 132 KiB |
Loading…
Reference in New Issue