Browse Source

修改

master
j1ack 2 years ago
parent
commit
176b1b6c8b
  1. BIN
      public/favicon.ico
  2. 6
      src/App.vue
  3. BIN
      src/assets/logo/logo - 副本.png
  4. BIN
      src/assets/logo/logo.png
  5. BIN
      src/font-style/PingFang.ttf
  6. 6
      src/font-style/font.css
  7. 4
      src/layout/components/Sidebar/Logo.vue
  8. 11
      src/layout/components/TagsView/index.vue
  9. 20
      src/views/login.vue
  10. 6
      src/views/merchant/merchant/index.vue
  11. BIN
      总后台.zip

BIN
public/favicon.ico

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

6
src/App.vue

@ -32,6 +32,12 @@ export default {
</script> </script>
<style> <style>
@import "./font-style/font.css";
body {
font-family: PingFang;
}
.pagination-container { .pagination-container {
margin-top: 10px; margin-top: 10px;
} }

BIN
src/assets/logo/logo - 副本.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

BIN
src/assets/logo/logo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
src/font-style/PingFang.ttf

Binary file not shown.

6
src/font-style/font.css

@ -0,0 +1,6 @@
@font-face {
font-family: 'PingFang';
src: url('./PingFang.ttf');
font-weight: normal;
font-style: normal;
}

4
src/layout/components/Sidebar/Logo.vue

@ -1,11 +1,11 @@
<template> <template>
<div class="sidebar-logo-container" :class="{'collapse':collapse}" :style="{ backgroundColor: sideTheme === 'theme-dark' ? variables.menuBackground : variables.menuLightBackground }"> <div class="sidebar-logo-container" :class="{'collapse':collapse}" :style="{ backgroundColor: sideTheme === 'theme-dark' ? variables.menuBackground : variables.menuLightBackground }">
<transition name="sidebarLogoFade"> <transition name="sidebarLogoFade">
<router-link v-if="collapse" key="collapse" class="sidebar-logo-link" to="/"> <router-link v-if="collapse" key="collapse" class="sidebar-logo-link" to="/index">
<img v-if="logo" :src="logo" class="sidebar-logo" /> <img v-if="logo" :src="logo" class="sidebar-logo" />
<h1 v-else class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">{{ title }} </h1> <h1 v-else class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">{{ title }} </h1>
</router-link> </router-link>
<router-link v-else key="expand" class="sidebar-logo-link" to="/"> <router-link v-else key="expand" class="sidebar-logo-link" to="/index">
<img v-if="logo" :src="logo" class="sidebar-logo" /> <img v-if="logo" :src="logo" class="sidebar-logo" />
<h1 class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">{{ title }} </h1> <h1 class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">{{ title }} </h1>
</router-link> </router-link>

11
src/layout/components/TagsView/index.vue

@ -1,7 +1,6 @@
<template> <template>
<!-- id="tags-view-container" class="tags-view-container" --> <div id="tags-view-container" class="tags-view-container">
<div> <scroll-pane ref="scrollPane" class="tags-view-wrapper" @scroll="handleScroll">
<!-- <scroll-pane ref="scrollPane" class="tags-view-wrapper" @scroll="handleScroll">
<router-link <router-link
v-for="tag in visitedViews" v-for="tag in visitedViews"
ref="tag" ref="tag"
@ -25,7 +24,7 @@
<li v-if="!isFirstView()" @click="closeLeftTags"><i class="el-icon-back"></i> 关闭左侧</li> <li v-if="!isFirstView()" @click="closeLeftTags"><i class="el-icon-back"></i> 关闭左侧</li>
<li v-if="!isLastView()" @click="closeRightTags"><i class="el-icon-right"></i> 关闭右侧</li> <li v-if="!isLastView()" @click="closeRightTags"><i class="el-icon-right"></i> 关闭右侧</li>
<li @click="closeAllTags(selectedTag)"><i class="el-icon-circle-close"></i> 全部关闭</li> <li @click="closeAllTags(selectedTag)"><i class="el-icon-circle-close"></i> 全部关闭</li>
</ul> --> </ul>
</div> </div>
</template> </template>
@ -142,7 +141,6 @@ export default {
}, },
moveToCurrentTag() { moveToCurrentTag() {
const tags = this.$refs.tag const tags = this.$refs.tag
if (tags) {
this.$nextTick(() => { this.$nextTick(() => {
for (const tag of tags) { for (const tag of tags) {
if (tag.to.path === this.$route.path) { if (tag.to.path === this.$route.path) {
@ -155,7 +153,6 @@ export default {
} }
} }
}) })
}
}, },
refreshSelectedTag(view) { refreshSelectedTag(view) {
this.$tab.refreshPage(view); this.$tab.refreshPage(view);
@ -185,7 +182,7 @@ export default {
}) })
}, },
closeOthersTags() { closeOthersTags() {
this.$router.push(this.selectedTag).catch(()=>{}); this.$router.push(this.selectedTag.fullPath).catch(()=>{});
this.$tab.closeOtherPage(this.selectedTag).then(() => { this.$tab.closeOtherPage(this.selectedTag).then(() => {
this.moveToCurrentTag() this.moveToCurrentTag()
}) })

20
src/views/login.vue

@ -1,7 +1,10 @@
<template> <template>
<div class="login"> <div class="login">
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form"> <el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
<h3 class="title">{{ $appVariant.SIGN_UP_TITLE }}</h3> <h3 class="title">
<img :src="$appVariant.SIDEBAR_TITLE_IMAGE_URI" alt="" srcset="" class="titleImg">
{{ $appVariant.SIGN_UP_TITLE }}
</h3>
<el-form-item prop="username"> <el-form-item prop="username">
<el-input v-model="loginForm.username" type="text" auto-complete="off" placeholder="后台账号"> <el-input v-model="loginForm.username" type="text" auto-complete="off" placeholder="后台账号">
<svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" /> <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
@ -201,6 +204,7 @@ export default {
width: 155x; width: 155x;
height: 194px; height: 194px;
} }
.righttop { .righttop {
position: absolute; position: absolute;
right: 100px; right: 100px;
@ -208,6 +212,7 @@ export default {
width: 316x; width: 316x;
height: 135px; height: 135px;
} }
.lefttop { .lefttop {
position: absolute; position: absolute;
left: 0; left: 0;
@ -289,6 +294,16 @@ export default {
color: #000; color: #000;
font-weight: 600; font-weight: 600;
font-size: 37px; font-size: 37px;
display: flex;
align-items: center;
justify-content: center;
.titleImg {
width: 58px;
height: 58px;
margin-right: 10px;
}
} }
.login-form { .login-form {
@ -395,5 +410,4 @@ export default {
.login-code-img { .login-code-img {
height: 38px; height: 38px;
} }</style>
</style>

6
src/views/merchant/merchant/index.vue

@ -397,9 +397,12 @@ export default {
getValue(e) { getValue(e) {
payMerchant.getWithdrawConfig(this.id).then((response) => { payMerchant.getWithdrawConfig(this.id).then((response) => {
if (e == 2) { if (e == 2) {
this.form.id = response.data.id
this.form.merchantId = response.data.merchantId
this.form.singleFee = response.data.sysMerchantWithdrawConfig.singleFee this.form.singleFee = response.data.sysMerchantWithdrawConfig.singleFee
this.form.rate = response.data.sysMerchantWithdrawConfig.rate this.form.rate = response.data.sysMerchantWithdrawConfig.rate
} else { } else {
this.form.merchantId = response.data.merchantId
this.form.singleFee = response.data.singleFee this.form.singleFee = response.data.singleFee
this.form.rate = response.data.rate this.form.rate = response.data.rate
} }
@ -478,12 +481,15 @@ export default {
if (this.form.rateRuleType == 2) { if (this.form.rateRuleType == 2) {
this.form = response.data.sysMerchantWithdrawConfig this.form = response.data.sysMerchantWithdrawConfig
this.form.rateRuleType = response.data.rateRuleType this.form.rateRuleType = response.data.rateRuleType
this.form.id = response.data.id
this.form.merchantId = response.data.merchantId
} }
if (this.form.id == 0) { if (this.form.id == 0) {
this.form.id = null this.form.id = null
} }
this.title = "提现"; this.title = "提现";
this.openWithdraw = true; this.openWithdraw = true;
console.log(this.form)
}); });
}, },

BIN
总后台.zip

Binary file not shown.
Loading…
Cancel
Save