diff --git a/view/peko/modules/pay/css/index.css b/view/peko/modules/pay/css/index.css index 8aca33b..a15e8a8 100644 --- a/view/peko/modules/pay/css/index.css +++ b/view/peko/modules/pay/css/index.css @@ -1,3 +1,4 @@ +@charset "UTF-8"; @import url("../../../common/css/flex.scss"); body { width: 100%; @@ -810,17 +811,19 @@ body { bottom: 0; background: rgba(0, 0, 0, 0.6); z-index: 9; + display: none; } .selectAddress .selectAddress_in { width: 8.50667rem; - height: 6.50667rem; + height: 5.33333rem; background: #fff; border-radius: 0.53333rem; position: relative; left: 50%; top: 50%; transform: translate(-50%, -50%); + /*清除iIE的默认选择框样式*/ } .selectAddress .selectAddress_in .title { @@ -833,3 +836,121 @@ body { font-size: 0.42667rem; font-weight: 600; } + +.selectAddress .selectAddress_in .selectAddressList { + appearance: none; + -moz-appearance: none; + -webkit-appearance: none; + position: absolute; + width: 7.01333rem; + height: 1.33333rem; + line-height: 1.33333rem; + background: #F5F6FA; + border-radius: 1.33333rem; + left: 50%; + transform: translateX(-50%); + top: 1.97333rem; + border: none; + box-sizing: border-box; + color: #1F1B4F; + font-size: 0.42667rem; + font-weight: 400; + padding: 0 0.64rem; +} + +.selectAddress .selectAddress_in .selectAddressList img { + position: absolute; + top: 50%; + transform: translateY(-50%); + right: 0.53333rem; + width: 0.4rem; + height: 0.26667rem; +} + +.selectAddress .selectAddress_in .selectAddressList option::-ms-expand { + display: none; +} + +.selectAddress .selectAddress_in .selectAddressList option { + padding: 0; + margin: 0; + float: left; + /*当时解决输入框光标顶满input框的问题是这么解决的 如果设置了行高就会顶满没有行高的话光标高度=文字的font-size */ + border: none; + outline: none; + padding-left: 20px; + color: #6d6d6d; + -webkit-appearance: none; + /*去除系统默认的样式*/ + -webkit-tap-highlight-color: transparent; + /* 点击去除高亮的颜色*/ + /*当input框禁止输入的时候会有一个灰色的底色 项目需要我设置了 白色底 跟页面背景一个颜色。*/ +} + +.selectAddress .selectAddress_in select::-ms-expand { + display: none; +} + +.selectAddress .selectAddress_in .but { + width: 5.94667rem; + height: 1.12rem; + line-height: 1.12rem; + border-radius: 1.14667rem; + position: absolute; + top: 3.84rem; + left: 50%; + transform: translateX(-50%); + text-align: center; + color: #FFFFFF; + font-size: 0.42667rem; + background: linear-gradient(90deg, #5AECFA 0%, #9DB4FF 49%, #CF70FF 100%); +} + +.selectAddress .selectAddress_in .list_in { + width: 7.01333rem; + height: 0; + box-sizing: border-box; + padding: 0rem; + background: #F5F6FA; + border-radius: 0.42667rem; + position: absolute; + top: 3.52rem; + left: 50%; + transform: translateX(-50%); + z-index: 1; + overflow-y: scroll; + transition: all .3s; +} + +.selectAddress .selectAddress_in .list_in::-webkit-scrollbar { + display: none; +} + +.selectAddress .selectAddress_in .list_in p { + width: 100%; + height: 1.33333rem; + line-height: 1.33333rem; + border-bottom: 0.01333rem dashed #cbbbbb; + color: #1F1B4F; + font-size: 0.37333rem; + box-sizing: border-box; +} + +.guidd { + position: fixed; + left: 0; + top: 0; + bottom: 0; + right: 0; + background: rgba(0, 0, 0, 0.6); + z-index: 9; + display: none; +} + +.guidd img { + position: absolute; + top: 0.13333rem; + right: 0.26667rem; + width: 6.34667rem; + height: 3.92rem; +} diff --git a/view/peko/modules/pay/css/index.scss b/view/peko/modules/pay/css/index.scss index 388d333..c6f8a31 100644 --- a/view/peko/modules/pay/css/index.scss +++ b/view/peko/modules/pay/css/index.scss @@ -823,10 +823,11 @@ body { bottom: 0; background: rgba(0, 0, 0, .6); z-index: 9; + display: none; .selectAddress_in { width: px2rem(638); - height: px2rem(488); + height: px2rem(400); background: #fff; border-radius: px2rem(40); position: relative; @@ -844,5 +845,129 @@ body { font-size: px2rem(32); font-weight: 600; } + + .selectAddressList { + appearance: none; + -moz-appearance: none; + -webkit-appearance: none; + position: absolute; + width: px2rem(526); + height: px2rem(100); + line-height: px2rem(100); + background: #F5F6FA; + border-radius: px2rem(100); + left: 50%; + transform: translateX(-50%); + top: px2rem(148); + border: none; + box-sizing: border-box; + color: #1F1B4F; + font-size: px2rem(32); + font-weight: 400; + padding: 0 px2rem(48); + + img { + position: absolute; + top: 50%; + transform: translateY(-50%); + right: px2rem(40); + width: px2rem(30); + height: px2rem(20); + } + + option::-ms-expand { + display: none; + } + + option { + padding: 0; + margin: 0; + float: left; + /*当时解决输入框光标顶满input框的问题是这么解决的 如果设置了行高就会顶满没有行高的话光标高度=文字的font-size */ + border: none; + outline: none; + padding-left: 20px; + color: #6d6d6d; + -webkit-appearance: none; + /*去除系统默认的样式*/ + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); + /* 点击去除高亮的颜色*/ + /*当input框禁止输入的时候会有一个灰色的底色 项目需要我设置了 白色底 跟页面背景一个颜色。*/ + } + + } + + /*清除iIE的默认选择框样式*/ + select::-ms-expand { + display: none; + } + + .but { + width: px2rem(446); + height: px2rem(84); + line-height: px2rem(84); + border-radius: px2rem(86); + position: absolute; + top: px2rem(288); + left: 50%; + transform: translateX(-50%); + text-align: center; + color: #FFFFFF; + font-size: px2rem(32); + background: linear-gradient(90deg, #5AECFA 0%, #9DB4FF 49%, #CF70FF 100%); + } + + .list_in { + width: px2rem(526); + height: 0; + // height: auto; + box-sizing: border-box; + padding: px2rem(0); + // padding: 0.2rem 0.53333rem; + background: #F5F6FA; + border-radius: px2rem(32); + position: absolute; + top: px2rem(264); + left: 50%; + transform: translateX(-50%); + z-index: 1; + overflow-y: scroll; + transition: all .3s; + // display: none; + + &::-webkit-scrollbar { + display: none; + } + + p { + width: 100%; + height: px2rem(100); + line-height: px2rem(100); + border-bottom: px2rem(1) dashed #cbbbbb; + color: #1F1B4F; + font-size: px2rem(28); + box-sizing: border-box; + } + } + } + +} + +.guidd { + position: fixed; + left: 0; + top: 0; + bottom: 0; + right: 0; + background: rgba(0, 0, 0, .6); + z-index: 9; + display: none; + + img { + position: absolute; + top: px2rem(10); + right: px2rem(20); + width: px2rem(476); + height: px2rem(294); } } \ No newline at end of file diff --git a/view/peko/modules/pay/images/guide.png b/view/peko/modules/pay/images/guide.png new file mode 100644 index 0000000..9edfbca Binary files /dev/null and b/view/peko/modules/pay/images/guide.png differ diff --git a/view/peko/modules/pay/images/more_icon.png b/view/peko/modules/pay/images/more_icon.png new file mode 100644 index 0000000..e0e3982 Binary files /dev/null and b/view/peko/modules/pay/images/more_icon.png differ diff --git a/view/peko/modules/pay/index.html b/view/peko/modules/pay/index.html index fa99149..f551b17 100644 --- a/view/peko/modules/pay/index.html +++ b/view/peko/modules/pay/index.html @@ -144,12 +144,22 @@
台湾
+台湾
+台湾
+台湾
+