123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- <template>
- <view class="goods-return-instructions">
- <view class="section" @click="onShowDetail">
- <view class="label">特殊商品退货须知</view>
- <view class="iconfont icon-xiangyou more"></view>
- </view>
- <tui-bottom-popup backgroundColor="#fff" :height="400" :show="popupShow">
- <view class="popup-content">
- <view class="close iconfont icon-iconfontguanbi" @click="close"></view>
- <view class="title">特殊商品退货须知</view>
- <scroll-view :scroll-y="true" class="content">
- <view v-html="content"></view>
- </scroll-view>
- </view>
- </tui-bottom-popup>
- </view>
- </template>
- <script>
- export default {
- props:{
- content: {
- type: String,
- default: ''
- }
- },
- data(){
- return {
- popupShow: false
- }
- },
- methods: {
- onShowDetail() {
- this.popupShow = true
- },
- close() {
- this.popupShow = false
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .goods-return-instructions {
- background-color: #fff;
- .section {
- display: flex;
- justify-content: space-between;
- align-items: center;
- font-size: 28rpx;
- line-height: 90rpx;
- color: #666666;
- .iconfont {
- color: #b2b2b2;
- }
- }
- }
- .popup-content {
- position: relative;
- padding: 50rpx;
- background-color: #fff;
- border-radius: 16rpx 16rpx 0 0;
- .close {
- position: absolute;
- right: 24rpx;
- top: 24rpx;
- color: #999;
- font-size: 32rpx;
- }
- .title {
- text-align: center;
- font-size: 34rpx;
- color: #333;
- font-weight: bold;
- }
- .content {
- line-height: 42rpx;
- font-size: 26rpx;
- margin-top: 50rpx;
- max-height: 200rpx;
- color: #333333;
- }
- }
- </style>
|