董国庆
2025-03-01 ef2a143ddbc44556f1f6726eb9c5a85224277817
修改样式
1个文件已修改
28 ■■■■■ 已修改文件
H5/pages/Appeal/Appeal.vue 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/pages/Appeal/Appeal.vue
@@ -40,11 +40,11 @@
                    class="uni-input flex1" maxlength="11" placeholder="请输入群众联系电话" />
            </view>
            <view class="card  flex a-center h-108 j-between" @click="goTopagelocation()">
            <view class="card  flex min-108 a-center j-between" @click="goTopagelocation()">
                <text class="w-108 fs-27 font-bold mr-85">发生地点</text>
                <view class=" flex a-center j-between flex1">
                    <view class="flex1" v-if="location">
                    <view class="flex1 address line2" v-if="location">
                        {{location}}
                    </view>
                    <view class="flex1" v-else style="color: rgba(0,0,0,0.3);font-size:27rpx;">
@@ -119,7 +119,7 @@
        getproblem
    } from './service.js'
    import config from '@/config/index.js'
    export default {
        data() {
            return {
@@ -181,7 +181,7 @@
            },
            getproblem() {
                getproblem().then((resp => {
                    this.columns = [resp.data.map(item => {
                        return item.name
                    })]
@@ -247,7 +247,7 @@
                    videos: this.videos.join(','),
                }
                save(data).then(resp => {
                    if (resp.code == 200) {
                        uni.showToast({
                            title: '保存成功',
@@ -260,12 +260,12 @@
                })
            },
            confirmone(e) {
                this.time = dayjs(e.value).format('YYYY-MM-DD')
                this.showDate = false
            },
            confirmtwo(e) {
                this.problemType = e.value[0]
                this.showList = false
            },
@@ -278,7 +278,7 @@
                this.showList = false
            },
            goTopagelocation() {
                uni.navigateTo({
                    url: '/pages/location/location'
                })
@@ -289,7 +289,7 @@
                    sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
                    sourceType: ['album'], //从相册选择
                    success: (res) => {
                        uni.showLoading()
                        uni.uploadFile({
                            url: config.imageUrl,
@@ -299,7 +299,7 @@
                                'Authorization': uni.getStorageSync('token')
                            },
                            success: (uploadFileRes) => {
                                this.images = [...this.images, JSON.parse(uploadFileRes.data).data]
                                uni.hideLoading()
                            },
@@ -337,7 +337,7 @@
                                'Authorization': uni.getStorageSync('token')
                            },
                            success: (uploadFileRes) => {
                                this.videos = [...this.videos, JSON.parse(uploadFileRes.data).data]
                                uni.hideLoading()
                            },
@@ -357,6 +357,10 @@
</script>
<style lang="scss" scoped>
    .min-108 {
        min-height: 108rpx;
    }
    .card {
        border-bottom: 2rpx solid rgba(0, 10, 26, 0.07);
    }
@@ -407,7 +411,7 @@
        margin-top: 38rpx;
        position: fixed;
        bottom: 30rpx;
    ;
        ;
    }
    /deep/.u-popup__content {