Commit 26dee337 by 王志慧

fixed

1 parent 5793b037
...@@ -14,11 +14,11 @@ ...@@ -14,11 +14,11 @@
</p> </p>
<span v-if="i.headImg"> <span v-if="i.headImg">
<img v-show="formData[i.headImg.attr]" <img v-show="formData[i.headImg.attr]"
class="quality-img" class="commodity-img"
:src="formData[i.headImg.attr]" :src="formData[i.headImg.attr]"
alt="图片"> alt="图片">
<span v-show="!formData[i.headImg.attr]"> <span v-show="!formData[i.headImg.attr]">
<img class="quality-img" <img class="commodity-img"
src="./image/no-choice.png"> src="./image/no-choice.png">
</span> </span>
</span> </span>
...@@ -841,7 +841,7 @@ export default { ...@@ -841,7 +841,7 @@ export default {
}, },
// 园区店更改 // 园区店更改
handleMerchantChange(value) { handleMerchantChange(value) {
if (this.formName === 'quality') { if (this.formName === 'commodity') {
this.$emit('ydMerchantChange', value) this.$emit('ydMerchantChange', value)
this.formData.goodsCode && (this.formData.goodsCode = '') this.formData.goodsCode && (this.formData.goodsCode = '')
this.formData.upgradeGoods = [] this.formData.upgradeGoods = []
...@@ -1126,7 +1126,7 @@ export default { ...@@ -1126,7 +1126,7 @@ export default {
padding: 20px 10px !important; padding: 20px 10px !important;
} }
.d2-form .quality-img { .d2-form .commodity-img {
width: 160px; width: 160px;
height: 160px; height: 160px;
margin-right: 60px; margin-right: 60px;
......
...@@ -9,14 +9,20 @@ ...@@ -9,14 +9,20 @@
*/ */
import Vue from 'vue' import Vue from 'vue'
import apis from './api' import apis from './api'
import { setMinHeight } from '@/common/constant'
import utils from './utils/index'
import './public-path' import './public-path'
import '@/assets/css/public.scss' import '@/assets/css/public.scss'
import '@/components' import '@/components'
// import 'glsx-components/dist/glsx-components.css'
import { start } from '@/setup' import { start } from '@/setup'
Vue.config.productionTip = false Vue.config.productionTip = false
Vue.prototype.$apis = apis Vue.prototype.$apis = apis
Vue.prototype.$utils = utils
Vue.prototype.size = 'small' Vue.prototype.size = 'small'
Vue.prototype.$EventBus = new Vue() Vue.prototype.$EventBus = new Vue()
Vue.prototype.setMinHeight = setMinHeight
start() start()
export { bootstrap, mount, unmount } from '@/setup' export { bootstrap, mount, unmount } from '@/setup'
export const http = params => Vue.prototype.$http(params) export const http = params => Vue.prototype.$http(params)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!