提交 caf9c36e authored 作者: 王鹏飞's avatar 王鹏飞

chore: 商品购买增加提示语

上级 409caec2
module.exports = { module.exports = {
domain: 'dev.ezijing.com', domain: 'dev.ezijing.com',
url: 'https://h5-shop2.ezijing.com/api', url: 'https://h5-shop.ezijing.com/api',
webpack: { webpack: {
externals: { externals: {
CKEDITOR: 'window.CKEDITOR', CKEDITOR: 'window.CKEDITOR',
...@@ -22,6 +22,6 @@ module.exports = { ...@@ -22,6 +22,6 @@ module.exports = {
}, },
ProvidePlugin: {}, ProvidePlugin: {},
others: { others: {
loginUrl: 'https://login2.ezijing.com/auth/login/index' loginUrl: 'https://login.ezijing.com/auth/login/index'
} }
} }
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
@currentSelected="handleTagSelected" @currentSelected="handleTagSelected"
/> />
</template> </template>
<!-- 提示 -->
<template #extra v-if="options.goods">
<div class="tips" v-if="options.goods.charact">{{ options.goods.charact }}</div>
</template>
</van-field> </van-field>
<van-form :show-error="false" @submit="handleSuccess"> <van-form :show-error="false" @submit="handleSuccess">
<van-field name="count" label="购买数量"> <van-field name="count" label="购买数量">
...@@ -257,6 +261,9 @@ export default { ...@@ -257,6 +261,9 @@ export default {
margin-right: 0; margin-right: 0;
} }
} }
.tips {
color: #b4b4b4;
}
.buy-popup { .buy-popup {
box-sizing: border-box; box-sizing: border-box;
} }
......
...@@ -178,6 +178,7 @@ export default { ...@@ -178,6 +178,7 @@ export default {
} }
this.swipeAcitve = first.main_chart_oss ? 0 : 1 this.swipeAcitve = first.main_chart_oss ? 0 : 1
this.popupOptions = { this.popupOptions = {
goods: first,
specs: first.spec, specs: first.spec,
fields: first.app_button_text, fields: first.app_button_text,
thumb: this.imgList[0] ? this.imgList[0].url : '' thumb: this.imgList[0] ? this.imgList[0].url : ''
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论