| | |
| | | <template> |
| | | <div id="app" :class="`${$state.theme === 'red' ? 'red-theme' : 'black-theme'}`"> |
| | | <div |
| | | id="app" |
| | | :class="`${$state.theme === 'red' ? 'red-theme' : 'black-theme'}`" |
| | | > |
| | | <div :class="`header-box`" v-if="hasHeader && title !== $t('hj248')"> |
| | | <mt-header :title="title"> |
| | | <mt-button icon="back" slot="left" @click="$router.go(-1)"></mt-button> |
| | | |
| | | <div v-if="!is_Show"> |
| | | <template v-if="iconRight == 'search'"> |
| | | <img slot="right" class="search-right" src="./assets/ico/fangdajing.png" alt /> |
| | | <img |
| | | slot="right" |
| | | class="search-right" |
| | | src="./assets/ico/fangdajing.png" |
| | | alt |
| | | /> |
| | | </template> |
| | | <template v-else> |
| | | <mt-button icon="more" slot="right"></mt-button> |
| | |
| | | <div class="body-box"> |
| | | <transition :name="transitionName"> |
| | | <!-- <keep-alive include="TradingList"> --> |
| | | <router-view></router-view> |
| | | <router-view></router-view> |
| | | <!-- </keep-alive> --> |
| | | </transition> |
| | | </div> |
| | |
| | | components: { |
| | | foot, |
| | | elalert, |
| | | loginPopup, |
| | | loginPopup |
| | | }, |
| | | name: "App", |
| | | created() { |
| | |
| | | console.log("slide-right"); |
| | | this.transitionName = "slide-right"; |
| | | } |
| | | }, |
| | | } |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | iconRight: "default", |
| | | transitionName: "", |
| | | is_Show: true, |
| | | is_foot: true, |
| | | is_foot: true |
| | | }; |
| | | }, |
| | | methods: { |
| | |
| | | }, |
| | | dialogClose() { |
| | | this.$store.commit("dialogVisible", false); |
| | | }, |
| | | }, |
| | | } |
| | | } |
| | | }; |
| | | </script> |
| | | |
| | | <style lang="less" scoped> |
| | | @white: #fff; |
| | | @black: #000; |
| | | @green: #c4d600; |
| | | @purple: #3d1152; |
| | | @dark_green: #07c160; |
| | | @red: #ee0a24; |
| | | @brown: #ff976a; |
| | | @grey: #dddddd; |
| | | |
| | | /deep/ .no_data { |
| | | width: 100%; |
| | | padding-top: 2em; |
| | | img { |
| | | width: 50%; |
| | | } |
| | | } |
| | | /deep/ .line-one { |
| | | white-space: nowrap; |
| | | overflow: hidden; |
| | | text-overflow: ellipsis; |
| | | } |
| | | |
| | | /deep/ .flex-center { |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | } |
| | | |
| | | /deep/ .flex-between { |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | } |
| | | |
| | | /deep/ .flex-between-start { |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: start; |
| | | } |
| | | |
| | | /deep/ .flex-start { |
| | | display: flex; |
| | | justify-content: flex-start; |
| | | align-items: center; |
| | | } |
| | | |
| | | /deep/ .flex-end { |
| | | display: flex; |
| | | justify-content: flex-end; |
| | | align-items: center; |
| | | } |
| | | |
| | | /deep/ .van-list__finished-text { |
| | | line-height: 1.925926rem !important; |
| | | } |
| | | |
| | | /deep/ .van-list__error-text { |
| | | line-height: 1.925926rem !important; |
| | | } |
| | | /deep/ .van-nav-bar .van-icon { |
| | | color: @green; |
| | | font-size: 0.4rem; |
| | | } |
| | | |
| | | #app { |
| | |
| | | } |
| | | |
| | | /deep/.footCss { |
| | | background: #fff; |
| | | background: @purple; |
| | | } |
| | | |
| | | /deep/.newDetail-tits { |
| | |
| | | |
| | | /deep/.van-skeleton__row, |
| | | .van-skeleton__title { |
| | | background-color: #fff !important; |
| | | // background-color: #fff !important; |
| | | } |
| | | } |
| | | |
| | |
| | | color: #000; |
| | | } |
| | | |
| | | /deep/.mint-tab-container {} |
| | | /deep/.mint-tab-container { |
| | | } |
| | | |
| | | /deep/.mint-tab-item { |
| | | background: #272733; |
| | |
| | | |
| | | /deep/.van-swipe-item { |
| | | color: #000; |
| | | } |
| | | |
| | | /deep/.footCss { |
| | | background: rgb(33, 33, 43); |
| | | } |
| | | |
| | | /deep/.newDetail-tits { |
| | |
| | | position: relative !important; |
| | | } |
| | | |
| | | .topLeft {} |
| | | .topLeft { |
| | | } |
| | | |
| | | /deep/.el-alert { |
| | | width: 75% !important; |