123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- <template>
- <uni-popup ref="popupRef" :isMaskClick="false">
- <!-- @change="popupChange" -->
- <view class="hint-box">
- <view class="hint-title">{{ title }}</view>
- <view class="hint-content">
- <slot name="hintContent"></slot>
- </view>
- </view>
- </uni-popup>
- </template>
- <script>
- export default {
- props:{
- title:{
- type:String,
- default:''
- }
- },
- data() {
- return {
- };
- },
- watch: {
- },
- mounted() {
-
- },
- methods: {
- open() {
- this.$nextTick(() => {
- this.$refs.popupRef.open()
- })
- },
- close(){
- this.$refs.popupRef.close()
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .hint-box {
- width: 650rpx;
- background-color: #fff;
- .hint-title {
- width: 100%;
- height: 80rpx;
- line-height: 80rpx;
- text-align: center;
- border-bottom: 1rpx solid $border-color;
- }
- .hint-content {
- width: 100%;
- padding: 80rpx 60rpx;
- font-size: 28rpx;
- ::v-deep .content-list {
- text {
- display: block;
- }
- }
- ::v-deep .explain {
- color: $Theme-Color;
- }
- // <view class="hite-box">
- // <text class="box"></text>
- // <text>不在提示</text>
- // </view>
- ::v-deep .hite-box {
- display: flex;
- align-items: center;
- padding-top: 20rpx;
- .box {
- border: 1rpx solid #ccc;
- width: 30rpx;
- height: 30rpx;
- margin-right: 10rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- .iconfont{
- font-size: 32rpx;
- color: $Theme-Color;
- }
- }
- }
- ::v-deep .confirm-btn{
- width: 100%;
- height: 80rpx;
- text-align: center;
- line-height: 80rpx;
- background-color: $Theme-Color;
- margin-top: 50rpx;
- color: #fff;
- font-size: 28rpx;
- }
- }
- }
- </style>
|