Browse Source

上传

master
前端-胡立永 2 months ago
parent
commit
6f24c9edef
2 changed files with 7 additions and 28 deletions
  1. +7
    -7
      config.js
  2. +0
    -21
      pages_order/work/addWork.vue

+ 7
- 7
config.js View File

@ -25,18 +25,18 @@ const config = {
// 默认配置 // 默认配置
const defaultConfig = { const defaultConfig = {
mapKey : 'JYTBZ-DOY3Q-UCM5O-4FWQR-LCI7S-ZIBD3',//已修改 mapKey : 'JYTBZ-DOY3Q-UCM5O-4FWQR-LCI7S-ZIBD3',//已修改
aliOss : {
url : 'https://tennis-oss.xzaiyp.top/',
config : {
aliOss: {
url: 'https://image.hhlm1688.com/',
config: {
//桶的地址 //桶的地址
region: 'oss-cn-guangzhou', region: 'oss-cn-guangzhou',
//id //id
accessKeyId:'LTAI5tNycA46YTwm383dRvMV',
accessKeyId: 'LTAI5tQSs47izVy8DLVdwUU9',
//密钥 //密钥
accessKeySecret:'tAdbYQCmdur6jbZ8hjvgB7T1Z52mIG',
accessKeySecret: 'qHI7C3PaXYZySr84HTToviC71AYlFq',
//桶的名字 //桶的名字
bucket: 'zhuoqiu-image',
endpoint:'oss-cn-guangzhou.aliyuncs.com',
bucket: 'hanhaiimage',
endpoint: 'oss-cn-shenzhen.aliyuncs.com',
} }
}, },
} }


+ 0
- 21
pages_order/work/addWork.vue View File

@ -14,14 +14,6 @@
class="title-input"/> class="title-input"/>
</view> </view>
<uv-cell
title="工作地点"
rightIconStyle="fontSize: 30rpx;"
:value="form.address || '请选择招工地点'"
@click="selectAddr"
isLink
></uv-cell>
<!-- <uv-cell <!-- <uv-cell
title="学历要求" title="学历要求"
rightIconStyle="fontSize: 30rpx;" rightIconStyle="fontSize: 30rpx;"
@ -205,7 +197,6 @@
</template> </template>
<script> <script>
import Position from '@/utils/position.js'
import { mapState } from 'vuex' import { mapState } from 'vuex'
export default { export default {
data() { data() {
@ -275,18 +266,6 @@
pickerConfirm(e){ pickerConfirm(e){
this.form[this.pickerKey] = e.value[0] this.form[this.pickerKey] = e.value[0]
}, },
//
selectAddr() {
Position.selectAddress(res => {
//
this.form.latitude = res.latitude
this.form.longitude = res.longitude
if (res.name) {
return this.form.address = res.name
}
this.form.address = ''
})
},
// //
submit(){ submit(){


Loading…
Cancel
Save