From e33eb0eb98aa0a88d2b3a7163abf92e4e028fb31 Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期五, 17 五月 2024 21:09:39 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/TCM_CharacterLibrary --- src/components/footer/footer.vue | 131 +++++++++++++++++++++++++------------------ 1 files changed, 75 insertions(+), 56 deletions(-) diff --git a/src/components/footer/footer.vue b/src/components/footer/footer.vue index 6814f3c..07cbb53 100644 --- a/src/components/footer/footer.vue +++ b/src/components/footer/footer.vue @@ -1,65 +1,84 @@ <template> - <view class="BottomColumn flex flex-center" :style="{'position':isLocation==true?'fixed':'','marginTop':isMarginTop+'rem'}"> - <view class="Bbar flex"> - <img style="display: block;margin-right: .22rem;width: .4rem;height: .4rem;" src="@/static/image/logo.png" - alt="" srcset="" /> - <view class="font-family" style="color: #2C2C2C; font-size: .12rem;line-height: 1.5;"> - <view class=""> - 漏2017 涓浗涓尰绉戝闄腑鍖昏嵂淇℃伅鐮旂┒鎵�鐗堟潈鎵�鏈� 浜琁CP澶�********鍙� - </view> - <view class="">鍦板潃锛氬寳浜競涓滃煄鍖轰笢鐩撮棬鍐呭崡灏忚16鍙� 閭紪锛�100700 鐢佃瘽锛�8610-64089611 Email: tcmbase@126.com</view> - </view> - </view> - </view> + <view + class="BottomColumn flex flex-center" + :style="{ + position: isLocation == true ? 'fixed' : '', + marginTop: isMarginTop + 'rem', + }" + > + <view class="Bbar flex"> + <img + style=" + display: block; + margin-right: 0.22rem; + width: 0.4rem; + height: 0.4rem; + " + src="@/static/image/logo.png" + alt="" + srcset="" + /> + <view + class="font-family" + style="color: #2c2c2c; font-size: 0.12rem; line-height: 1.5" + > + <view class=""> + 漏2017 涓浗涓尰绉戝闄腑鍖昏嵂淇℃伅鐮旂┒鎵�鐗堟潈鎵�鏈� 浜琁CP澶�********鍙� + </view> + <view class="" + >鍦板潃锛氬寳浜競涓滃煄鍖轰笢鐩撮棬鍐呭崡灏忚16鍙� 閭紪锛�100700 鐢佃瘽锛�8610-64089611 + Email: tcmtczy@mail.cintcm.ac.cn</view + > + </view> + </view> + </view> </template> <script> - export default { - name: "footer", - props: { - isLocation: { - type: Boolean, - default () { - return true - } - }, - isMarginTop: { - type: Number, - default () { - return 0 - } - }, - }, - data() { - return { - - }; - } - } +export default { + name: "footer", + props: { + isLocation: { + type: Boolean, + default() { + return true; + }, + }, + isMarginTop: { + type: Number, + default() { + return 0; + }, + }, + }, + data() { + return {}; + }, +}; </script> <style scoped> - .BottomColumn { - /* position: sticky; +.BottomColumn { + /* position: sticky; top: 0; */ - /* position: fixed; */ - /* left: 0px; */ - bottom: 0px; - left: 0; - z-index: 999999999999999999999999999999999999999999; - padding: .19rem 0; - width: 100%; - background-color: #e6eff8; - font-size: 10px; - color: #000; + /* position: fixed; */ + /* left: 0px; */ + bottom: 0px; + left: 0; + z-index: 999999999999999999999999999999999999999999; + padding: 0.19rem 0; + width: 100%; + background-color: #e6eff8; + font-size: 10px; + color: #000; - /* margin-top: 1rem; */ - .Bbar { - img { - width: 60rpx; - height: 60rpx; - border-radius: 50%; - } - } - } -</style> \ No newline at end of file + /* margin-top: 1rem; */ + .Bbar { + img { + width: 60rpx; + height: 60rpx; + border-radius: 50%; + } + } +} +</style> -- Gitblit v1.9.1