Commit 94a909b8 authored by Davve's avatar Davve

run build

parent e2d1dd8f
This diff is collapsed.
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}.createPost-container[data-v-cef07258]{position:relative}.createPost-container .createPost-main-container[data-v-cef07258]{padding:40px 45px 20px 50px}.createPost-container .createPost-main-container .postInfo-container[data-v-cef07258]{position:relative;margin-bottom:10px}.createPost-container .createPost-main-container .postInfo-container[data-v-cef07258]:after{content:"";display:table;clear:both}.createPost-container .createPost-main-container .postInfo-container .postInfo-container-item[data-v-cef07258]{float:left}.createPost-container .createPost-main-container .editor-container[data-v-cef07258]{min-height:500px;margin:0 0 30px}.createPost-container .createPost-main-container .editor-container .editor-upload-btn-container[data-v-cef07258]{text-align:right;margin-right:10px}.createPost-container .createPost-main-container .editor-container .editor-upload-btn-container .editor-upload-btn[data-v-cef07258]{display:inline-block}.createPost-container .word-counter[data-v-cef07258]{width:40px;position:absolute;right:-10px;top:0}.edit-input[data-v-cef07258]{padding-right:100px}.cancel-btn[data-v-cef07258]{position:absolute;right:15px;top:10px}
\ No newline at end of file
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}.createPost-container[data-v-65fe3f60]{position:relative}.createPost-container .createPost-main-container[data-v-65fe3f60]{padding:40px 45px 20px 50px}.createPost-container .createPost-main-container .postInfo-container[data-v-65fe3f60]{position:relative;margin-bottom:10px}.createPost-container .createPost-main-container .postInfo-container[data-v-65fe3f60]:after{content:"";display:table;clear:both}.createPost-container .createPost-main-container .postInfo-container .postInfo-container-item[data-v-65fe3f60]{float:left}.createPost-container .createPost-main-container .editor-container[data-v-65fe3f60]{min-height:500px;margin:0 0 30px}.createPost-container .createPost-main-container .editor-container .editor-upload-btn-container[data-v-65fe3f60]{text-align:right;margin-right:10px}.createPost-container .createPost-main-container .editor-container .editor-upload-btn-container .editor-upload-btn[data-v-65fe3f60]{display:inline-block}.createPost-container .word-counter[data-v-65fe3f60]{width:40px;position:absolute;right:-10px;top:0}.edit-input[data-v-65fe3f60]{padding-right:100px}.cancel-btn[data-v-65fe3f60]{position:absolute;right:15px;top:10px}
\ No newline at end of file
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}.edit-input[data-v-7d410eec]{padding-right:100px}.cancel-btn[data-v-7d410eec]{position:absolute;right:15px;top:10px}
\ No newline at end of file
.waves-ripple{position:absolute;border-radius:100%;background-color:rgba(0,0,0,.15);background-clip:padding-box;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1}.waves-ripple.z-active{opacity:0;-webkit-transform:scale(2);transform:scale(2);-webkit-transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,-webkit-transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out;transition:opacity 1.2s ease-out,transform .6s ease-out,-webkit-transform .6s ease-out}.edit-input[data-v-4df02fb8]{padding-right:100px}.cancel-btn[data-v-4df02fb8]{position:absolute;right:15px;top:10px}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
......@@ -90,7 +90,7 @@
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label-width="45px" label="城市:" class="postInfo-container-item" prop="region">
<el-form-item label-width="45px" label="城市:" class="postInfo-container-item" prop="city">
<el-select v-model="city" :remote-method="getRemoteCityList" filterable remote multiple
value-key="id"
placeholder="搜索地区" style="width: 100%">
......@@ -101,7 +101,7 @@
</el-col>
<el-col :span="12">
<el-form-item label-width="45px" label="小组:" class="postInfo-container-item">
<el-form-item label-width="45px" label="小组:" class="postInfo-container-item" prop="pick_group">
<el-select
v-model="pick_group"
:remote-method="getRemoteGroupList"
......@@ -309,18 +309,6 @@
import {groupSearch, citySearch, celebritySearch, topicSearch} from '@/api/remoteSearch'
import {isInArray, removeByvale} from "@/utils";
function Assembledata(target, source) {
var region_data = []
for (var i = 0; i < target.length; i++) {
if (isInArray(source, target[i]['name'])) {
region_data.push(target[i]['id'])
removeByvale(source, target[i]['name']);
}
}
region_data.push(...source)
return region_data.join(',')
}
const defaultForm = {
status: 'draft',
name: '',
......@@ -384,7 +372,7 @@
name: [{validator: validateRequire, trigger: 'blur'}],
desc: [{validator: validateRequire, trigger: 'blur'}],
gender: [{validator: validateRequire, trigger: 'blur'}],
region: [{validator: validateRequire, trigger: 'blur'}],
city: [{validator: validateRequire, trigger: 'blur'}],
pick_type: [{validator: validateRequire, trigger: 'blur'}],
},
tempRoute: {},
......@@ -460,6 +448,10 @@
this.$refs.postForm.validate(valid => {
if (valid) {
this.loading = true;
if (this.city.length == 0){
this.$message.error('城市必填')
return false;
}
this.postForm.city = JSON.stringify(this.city);
this.postForm.pick_group = JSON.stringify(this.pick_group);
......
......@@ -65,7 +65,7 @@
</template>
</el-table-column>
<el-table-column align="center" label="线">
<el-table-column align="center" label="是否在线">
<template slot-scope="scope">
<el-tag :type="scope.row.is_online | isOnlineFilter">{{ scope.row.is_online==1 ? '是' : '否' }}</el-tag>
</template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment