|
|
@@ -61,7 +61,7 @@
|
|
|
</template>
|
|
|
</modal-module>
|
|
|
|
|
|
- <modal-module :show="showSubmitModel" @cancel="cancelEvent" @click="submitEvent" :title="confirmContent" color="#333" :size="32" padding="30upx 30upx" >
|
|
|
+ <modal-module :show="showSubmitModel" @cancel="cancelEvent" @click="submitEvent" title="确认下一步?" color="#333" :size="32" padding="30upx 30upx" >
|
|
|
</modal-module>
|
|
|
|
|
|
<FooterCart :offPrice="true" :price="allPrice" :count="allCount" @confirm="confirmToSaveItem"></FooterCart>
|
|
|
@@ -108,10 +108,7 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
|
- confirmContent() {
|
|
|
- let content = "确认下一步?";
|
|
|
- return content;
|
|
|
- }
|
|
|
+
|
|
|
},
|
|
|
computed:{
|
|
|
...mapGetters(["getMyShopInfo","getLoginInfo"]),
|
|
|
@@ -128,6 +125,17 @@ export default {
|
|
|
}
|
|
|
this.submitEvent(1)
|
|
|
},
|
|
|
+ submitEvent(val) {
|
|
|
+ if (val.index === 0) {
|
|
|
+ this.cancelEvent()
|
|
|
+ } else {
|
|
|
+ uni.navigateBack({ delta: 1 })
|
|
|
+ this.cancelEvent()
|
|
|
+ }
|
|
|
+ },
|
|
|
+ cancelEvent() {
|
|
|
+ this.showSubmitModel = false;
|
|
|
+ },
|
|
|
change(e) {
|
|
|
if (this.tabIndex == e.index) {
|
|
|
return false;
|