bug修改

master
mabo 2021-06-28 15:47:42 +08:00
parent b748f467aa
commit 2f6380da22
6 changed files with 47 additions and 49 deletions

View File

@ -9,10 +9,12 @@
<img :src="storeMsg.storeLogo" height="50" alt=""> <img :src="storeMsg.storeLogo" height="50" alt="">
<div> <div>
<p>{{storeMsg.storeName || 'xx店铺'}}</p> <p>{{storeMsg.storeName || 'xx店铺'}}</p>
<p v-html="storeMsg.storeDesc"></p> <p class="ellipsis" :alt="storeMsg.storeDesc" v-html="storeMsg.storeDesc"></p>
</div>
<div>
<span class="hover-pointer" @click="collect"><Icon type="ios-heart" :color="storeCollected ? '#ed3f14' : '#fff'" />{{storeCollected?'已收藏店铺':'收藏店铺'}}</span>
<span style="width:80px" class="hover-pointer ml_10" @click="connectCs(storeMsg.yzfSign)"><Icon custom="icomoon icon-customer-service" />联系客服</span>
</div> </div>
<div class="store-collect" @click="collect"><Icon type="ios-heart" :color="storeCollected ? '#ed3f14' : '#fff'" />{{storeCollected?'已收藏店铺':'收藏店铺'}}</div>
<span class="hover-pointer ml_10" @click="connectCs(storeMsg.yzfSign)"><Icon custom="icomoon icon-customer-service" />联系客服</span>
</div> </div>
</div> </div>
<div class="store-category"> <div class="store-category">
@ -183,15 +185,25 @@ export default {
position: relative; position: relative;
width: 100%; width: 100%;
background-color: #666; background-color: #666;
padding: 10px; padding: 4px;
color: #fff; color: #fff;
>div{ >div{
display: flex; display: flex;
width: 1200px; width: 1200px;
margin: 0 auto; margin: 0 auto;
align-items: center; align-items: center;
>div{
img {
width: 80px;
}
>div:nth-child(2){
margin-left: 10px; margin-left: 10px;
flex: 1;
}
>div:nth-child(3){
width: 200px;
} }
} }
img { img {
@ -202,14 +214,11 @@ export default {
} }
p:nth-child(2){ p:nth-child(2){
font-size: 14px; font-size: 14px;
max-height: 40px;
max-width: 400px;
} }
} }
.store-collect{
margin-left: 750px!important;
&:hover{
cursor: pointer;
}
}
.store-category { .store-category {
background-color: #005aa0; background-color: #005aa0;
color: #fff; color: #fff;

View File

@ -1,15 +1,14 @@
<template> <template>
<div class="login"> <div class="login">
<div style="height:50px;"></div>
<!-- 顶部logo --> <!-- 顶部logo -->
<div class="top-content">
<div class="logo-box"> <div class="logo-box">
<img <img
src="../assets/images/logo1.png" :src="logoImg" width='150'
@click="$router.push('/')" @click="$router.push('/')"
/> />
<div>修改密码</div> <div>修改密码</div>
</div> </div>
</div>
<div class="login-container"> <div class="login-container">
<!-- 验证手机号 --> <!-- 验证手机号 -->
<Form <Form
@ -119,6 +118,7 @@ export default {
components: { Verify }, components: { Verify },
data () { data () {
return { return {
logoImg: '', // logo
loading: false, // loading: false, //
loading1: false, // loading1: false, //
formFirst: { // formFirst: { //
@ -242,35 +242,23 @@ export default {
}, },
mounted () { mounted () {
this.$refs.formFirst.resetFields(); this.$refs.formFirst.resetFields();
this.logoImg = this.Cookies.getItem('logo')
}, },
watch: { watch: {
} }
}; };
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.login {
height: 100%;
}
.top-content {
width: 100%;
height: 80px;
position: relative;
z-index: 1;
box-shadow: 0 1px 1px #ddd;
background-color: #fff;
.logo-box { .logo-box {
width: 80%; width: 600px;
max-width: 1200px;
height: 80px; height: 80px;
margin: 0 auto; margin: 0 auto;
display: flex; display: flex;
align-items: center; align-items: center;
img { img {
width: 200px; width: 150px;
cursor: pointer; cursor: pointer;
} }
}
div { div {
font-size: 20px; font-size: 20px;
margin-top: 10px; margin-top: 10px;
@ -278,22 +266,23 @@ export default {
} }
.login-container { .login-container {
border-top: 2px solid $theme_color;
position: relative; position: relative;
margin: 10px auto; margin: 0 auto;
width: 600px; width: 600px;
background-color: #fff; background-color: #fff;
padding: 20px; padding: 20px 150px;
.login-btn{ .login-btn{
position: absolute; position: absolute;
right: 20px; right: 20px;
top: 20px; top: -45px;
} }
} }
.verify-con{ .verify-con{
position: absolute; position: absolute;
left: 400px; left: 140px;
top: 50px; top: -30px;
z-index: 10; z-index: 10;
} }

View File

@ -63,6 +63,7 @@ export default {
this.num++; this.num++;
if (this.num >= 7) { if (this.num >= 7) {
clearInterval(this.interval); clearInterval(this.interval);
this.interval = null;
} }
let params = JSON.parse(JSON.stringify(this.$route.query)); let params = JSON.parse(JSON.stringify(this.$route.query));
delete params.paymentMethod; delete params.paymentMethod;
@ -70,6 +71,7 @@ export default {
payCallback(params).then(res => { payCallback(params).then(res => {
if (res.result) { if (res.result) {
clearInterval(this.interval); clearInterval(this.interval);
this.interval = null;
this.$router.push({path: '/payDone', query: {orderType: this.$route.query.orderType}}); this.$router.push({path: '/payDone', query: {orderType: this.$route.query.orderType}});
} }
}); });

View File

@ -21,9 +21,6 @@
<span v-if="storeDisable == 'CLOSED'"></span> <span v-if="storeDisable == 'CLOSED'"></span>
<span v-if="storeDisable == 'REFUSED'">,</span> <span v-if="storeDisable == 'REFUSED'">,</span>
</div> </div>
<Button @click="currentIndex = 0">上一步</Button>
<Button @click="currentIndex = 1">下一步</Button>
<Button @click="currentIndex = 2">第三步</Button>
<Button v-if="currentIndex === 3" @click="$router.push('/')"></Button> <Button v-if="currentIndex === 3" @click="$router.push('/')"></Button>
<Button type="primary" @click='currentIndex = 0' v-if="storeDisable === 'REFUSED' && currentIndex === 3"></Button> <Button type="primary" @click='currentIndex = 0' v-if="storeDisable === 'REFUSED' && currentIndex === 3"></Button>
</div> </div>

View File

@ -116,6 +116,7 @@ async function refresh (error) {
}); });
}, },
onCancel: () => { onCancel: () => {
router.go(0)
Modal.remove(); Modal.remove();
} }
}); });

View File

@ -36,7 +36,7 @@
<DropdownItem name="uppers">批量上架</DropdownItem> <DropdownItem name="uppers">批量上架</DropdownItem>
<DropdownItem name="lowers">批量下架</DropdownItem> <DropdownItem name="lowers">批量下架</DropdownItem>
<DropdownItem name="deleteAll">批量删除</DropdownItem> <DropdownItem name="deleteAll">批量删除</DropdownItem>
<!-- <DropdownItem name="batchShipTemplate">批量设置运费模板</DropdownItem> --> <DropdownItem name="batchShipTemplate">批量设置运费模板</DropdownItem>
</DropdownMenu> </DropdownMenu>
</Dropdown> </Dropdown>
</Row> </Row>