소스 검색

修改样式

root 3 년 전
부모
커밋
ba0370c402
1개의 변경된 파일7개의 추가작업 그리고 1개의 파일을 삭제
  1. 7 1
      frontendEle/src/views/shop/order.vue

+ 7 - 1
frontendEle/src/views/shop/order.vue

@@ -167,6 +167,8 @@
                 this.submitButtonStat = true
                 // let path = 'sure-order'
                 this.$prompt('请输入支付密码', '提示', {
+                    center:true,
+                    customClass:'myclass',
                     confirmButtonText: '确定',
                     cancelButtonText: '取消',
                     inputType: 'password',
@@ -263,7 +265,6 @@
         }
     }
 </script>
-
 <style scoped>
 .address{
     /* height: 3rem; */
@@ -294,3 +295,8 @@
     margin-right: 1rem;
 }
 </style>
+<style>
+.myclass {
+    width:260px;
+}
+</style>