...
|
...
|
@@ -10,6 +10,7 @@ import share from '../../static/images/share.png'; |
|
|
import collect from '../../static/images/collect.png';
|
|
|
import collectOff from '../../static/images/collect-off.png';
|
|
|
import './index.scss';
|
|
|
import event from '../../utils/event'
|
|
|
|
|
|
@connect(({ productDetail }) => ({
|
|
|
productDetail
|
...
|
...
|
@@ -122,7 +123,11 @@ export default class ProductDetail extends Component { |
|
|
onClickBuy() {
|
|
|
let {showSizeBox} = this.props;
|
|
|
|
|
|
showSizeBox(true);
|
|
|
event.emit('user-is-login',function () {
|
|
|
showSizeBox(true);
|
|
|
},function () {
|
|
|
showSizeBox(true);
|
|
|
})
|
|
|
}
|
|
|
|
|
|
render() {
|
...
|
...
|
|