Преглед на файлове

【模版目录】更新前端源码

吴昊天 преди 3 години
родител
ревизия
12ea919be4
променени са 2 файла, в които са добавени 30 реда и са изтрити 3 реда
  1. 20 1
      template/admin/src/pages/account/login/index.vue
  2. 10 2
      template/uni-app/pages/users/payment_on_behalf/index.vue

+ 20 - 1
template/admin/src/pages/account/login/index.vue

@@ -59,7 +59,9 @@
         :imgSize="{ width: '330px', height: '155px' }"
       ref="verify"
     ></Verify>
-
+    <div class="footer">
+      <div class="pull-right">{{copyright}}</div>
+    </div>
   </div>
 </template>
 <script>
@@ -102,6 +104,7 @@ export default {
       swiperList: [],
       defaultSwiperList: require('@/assets/images/sw.jpg'),
       key: '',
+      copyright: 'Copyright © 2022 | 西安众邦网络科技有限公司',
     };
   },
   created() {
@@ -166,6 +169,7 @@ export default {
           this.login_logo = data.login_logo ? data.login_logo : require('@/assets/images/logo.png');
           this.swiperList = data.slide.length ? data.slide : [{ slide: this.defaultSwiperList }];
           this.key = data.key;
+          if(data.copyright != '') this.copyright = data.copyright;
         })
         .catch((err) => {
           this.$Message.error(err);
@@ -451,4 +455,19 @@ a:link, a:visited, a:hover, a:active {
   padding: 10px 20px;
   height: 36px;
 }
+.pull-right {
+    float: right!important;
+}
+.footer{
+  position: fixed;
+  bottom: 0;
+  width: 100%;
+  left: 0;
+  margin: 0;
+  background: rgba(255,255,255,.8);
+  border-top: 1px solid #e7eaec;
+  overflow: hidden;
+  padding: 10px 20px;
+  height: 36px;
+}
 </style>

+ 10 - 2
template/uni-app/pages/users/payment_on_behalf/index.vue

@@ -187,8 +187,8 @@
 				this.pay_close = true;
 			},
 			getDetail() {
+				let that = this;
 				friendDetail(this.order_id).then(res => {
-					console.log(res)
 					this.resData = res.data.info
 					if (this.resData.paid && !this.resData.type) {
 						this.goOrderDetail()
@@ -196,7 +196,15 @@
 					//#ifdef H5
 					this.ShareInfo(this.resData)
 					//#endif
-				})
+				}).catch((err) => {
+					console.log('1',err)
+					that.$util.Tips({
+						title: err
+					}, {
+						tab: 4,
+						url: '/pages/index/index'
+					});
+				});
 			},
 			//#ifdef H5
 			ShareInfo(data) {