改版提交
This commit is contained in:
parent
cfa8c6c47f
commit
e44b9010bb
@ -52,7 +52,7 @@
|
||||
"quickapp" : {},
|
||||
/* 小程序特有相关 */
|
||||
"mp-weixin" : {
|
||||
"appid" : "wx51c40ff1c6337652",
|
||||
"appid" : "wx5658fba0c9a523d8",
|
||||
"setting" : {
|
||||
"urlCheck" : true,
|
||||
"minified" : true,
|
||||
|
@ -550,7 +550,7 @@ export default {
|
||||
}
|
||||
|
||||
.user_bg {
|
||||
background: url('/static/home_top_bg.png') no-repeat;
|
||||
background: url('https://ysx.0rui.cn/static/home_top_bg.png') no-repeat;
|
||||
background-size: 100%;
|
||||
height: 100%;
|
||||
padding-bottom: 100rpx;
|
||||
|
@ -23,7 +23,7 @@
|
||||
<view style="text-align: center;margin-top: 60rpx">
|
||||
<tn-checkbox :size="40" activeColor="#FE6E25" shape="circle" v-model="checked1">同意入会协议</tn-checkbox>
|
||||
<view style="margin-top: 30rpx">
|
||||
<tn-button shape="round" width="90%" height="80rpx" backgroundColor="#FE6E25"
|
||||
<tn-button shape="round" width="90%" height="85rpx" backgroundColor="#FE6E25"
|
||||
fontColor="#ffffff" @click="one_next()">下一步</tn-button>
|
||||
</view>
|
||||
</view>
|
||||
@ -38,7 +38,7 @@
|
||||
</view>
|
||||
<view style="padding: 20rpx 30rpx;width: 70%;text-align: right;">
|
||||
<input v-model="new_info.recommendation_name" placeholder="请输入推荐人(选填)" :showRightIcon="false"
|
||||
:disabled="true" @click="tuijian_show = true" />
|
||||
:disabled="true" @click="tuijian_show = true" placeholder-style="color:#9B9B9B" />
|
||||
|
||||
<tn-select v-model="tuijian_show" mode="single" :list="member_list"
|
||||
@confirm="getTuiJianId"></tn-select>
|
||||
@ -54,7 +54,7 @@
|
||||
</view>
|
||||
<view style="padding: 20rpx 30rpx;width: 70%;text-align: right;">
|
||||
<input placeholder="请输入手机号" disabled v-model="userInfo.phone"
|
||||
placeholder-style="color:#AAAAAA"></input>
|
||||
placeholder-style="color:#9B9B9B"></input>
|
||||
</view>
|
||||
</view>
|
||||
<view style="width: 90%;height: 1px;background-color:#E5E5E5;margin: 0 auto;"></view>
|
||||
@ -68,7 +68,7 @@
|
||||
</view>
|
||||
<view style="padding: 20rpx 30rpx;width: 70%;text-align: right;">
|
||||
<input placeholder="请输入真实姓名" v-model="new_info.nikename"
|
||||
placeholder-style="color:#AAAAAA"></input>
|
||||
placeholder-style="color:#9B9B9B"></input>
|
||||
</view>
|
||||
</view>
|
||||
<view style="width: 90%;height: 1px;background-color:#E5E5E5;margin: 0 auto;"></view>
|
||||
@ -80,8 +80,11 @@
|
||||
</view>
|
||||
</view>
|
||||
<view style="padding: 20rpx 30rpx;width: 70%;text-align: right;">
|
||||
<view style="display: flex;align-items: center;justify-content: flex-end;">
|
||||
<input v-model="new_info.gender_name" :showRightIcon="false" :disabled="true"
|
||||
@click="gender_show = true" />
|
||||
@click="gender_show = true" placeholder="请选择性别" placeholder-style="color:#9B9B9B" />
|
||||
<text class="tn-icon-right"></text>
|
||||
</view>
|
||||
<tn-select v-model="gender_show" mode="single" :list="genderList"
|
||||
@confirm="getGenderId"></tn-select>
|
||||
</view>
|
||||
@ -96,7 +99,7 @@
|
||||
</view>
|
||||
<view style="padding: 20rpx 30rpx;width: 70%;text-align: right;">
|
||||
<input placeholder="请输入企业名称" v-model="new_info.enterprise_name"
|
||||
placeholder-style="color:#AAAAAA"></input>
|
||||
placeholder-style="color:#9B9B9B"></input>
|
||||
</view>
|
||||
</view>
|
||||
<view style="width: 90%;height: 1px;background-color:#E5E5E5;margin: 0 auto;"></view>
|
||||
@ -109,10 +112,13 @@
|
||||
</view>
|
||||
</view>
|
||||
<view style="padding: 20rpx 30rpx;width: 70%;text-align: right;">
|
||||
<view @click="industry_id_show = true">
|
||||
<view style="font-size: 28rpx; color: rgba(102, 102, 102, 1);">
|
||||
<view @click="industry_id_show = true" style="display: flex;justify-content: flex-end;align-items: center;">
|
||||
<view style="font-size: 28rpx;color:#9B9B9B">
|
||||
{{ formData.industrynew_id_name }}
|
||||
</view>
|
||||
<view>
|
||||
<text class="tn-icon-right"></text>
|
||||
</view>
|
||||
</view>
|
||||
<tn-select v-model="industry_id_show" mode="single" :list="industry_list"
|
||||
@confirm="getindustryId"></tn-select>
|
||||
@ -128,14 +134,20 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="tn-margin tn-bg-gray--light" style="border-radius: 10rpx;padding: 20rpx 30rpx;">
|
||||
<tn-input v-model="new_info.reason" :maxLength="1000" placeholder="申请入会理由" :clearable="false"
|
||||
<tn-input v-model="new_info.reason" :maxLength="1000" placeholder="请输入申请入会理由" :clearable="false"
|
||||
:height="300" type="textarea" :customStyle="{ lineHeight: '42rpx', color: '#777777' }" />
|
||||
</view>
|
||||
<div style="text-align: center;margin-top: 40px">
|
||||
<tn-button @click="current = 1" backgroundColor="#E6E6E6" fontColor="#000000">上一步</tn-button>
|
||||
<tn-button backgroundColor="#01BEFF" fontColor="#ffffff" style="margin-left: 40rpx"
|
||||
@click="newSubmit">提交申请
|
||||
<div
|
||||
style="text-align: center;margin-top: 40px;display: flex;justify-content: space-between;padding: 0px 60rpx;">
|
||||
<view style="width: 35%;">
|
||||
<tn-button shape="round" width="100%" height="85rpx" @click="current = 1"
|
||||
backgroundColor="#EEEEEE" fontColor="#323232">上一步</tn-button>
|
||||
</view>
|
||||
<view style="width: 60%;">
|
||||
<tn-button shape="round" width="100%" height="85rpx" backgroundColor="#FE6E25"
|
||||
fontColor="#ffffff" @click="newSubmit">提交申请
|
||||
</tn-button>
|
||||
</view>
|
||||
</div>
|
||||
</view>
|
||||
</view>
|
||||
@ -143,17 +155,17 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
import {
|
||||
associationInfo,
|
||||
IndustryNewList,
|
||||
loginAdd,
|
||||
positionList,
|
||||
MemberList
|
||||
} from '@/util/api.js';
|
||||
import store from "@/store";
|
||||
import string from "@/tuniao-ui/libs/function/string";
|
||||
} from '@/util/api.js';
|
||||
import store from "@/store";
|
||||
import string from "@/tuniao-ui/libs/function/string";
|
||||
|
||||
export default {
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
positionList: [],
|
||||
@ -185,7 +197,7 @@ export default {
|
||||
phone: '',
|
||||
nikename: '',
|
||||
enterprise_name: '',
|
||||
gender_name: '请选择性别',
|
||||
gender_name: '',
|
||||
gender: 0,
|
||||
industry_id: 0,
|
||||
reason: '',
|
||||
@ -263,19 +275,19 @@ export default {
|
||||
},
|
||||
onLoad(d) {
|
||||
console.log('123456', d);
|
||||
if (typeof (d.scene) != 'undefined') {
|
||||
if (typeof(d.scene) != 'undefined') {
|
||||
let decodedParams = decodeURIComponent(d.scene);
|
||||
var searchParams = this.parseQuery(decodedParams);
|
||||
console.log('searchParams', searchParams);
|
||||
d = searchParams;
|
||||
}
|
||||
if (typeof (d.id) != 'undefined') {
|
||||
if (typeof(d.id) != 'undefined') {
|
||||
uni.setStorageSync('apply_id', d.id);
|
||||
this.new_info.recommendation_id = d.id;
|
||||
}
|
||||
|
||||
this.userInfo = uni.getStorageSync('userInfo');
|
||||
if (typeof (d.association_id) != 'undefined') {
|
||||
if (typeof(d.association_id) != 'undefined') {
|
||||
store.commit('$tStore', {
|
||||
name: 'Gid',
|
||||
value: d.association_id
|
||||
@ -528,7 +540,7 @@ export default {
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '申请成功,请关注站内信通知!',
|
||||
success: function (res) {
|
||||
success: function(res) {
|
||||
uni.navigateTo({
|
||||
url: '/pages/index/index'
|
||||
});
|
||||
@ -790,29 +802,29 @@ export default {
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
/* 底部悬浮按钮 start*/
|
||||
.tn-tabbar-height {
|
||||
/* 底部悬浮按钮 start*/
|
||||
.tn-tabbar-height {
|
||||
min-height: 100rpx;
|
||||
height: calc(120rpx + env(safe-area-inset-bottom) / 2);
|
||||
}
|
||||
}
|
||||
|
||||
.tn-footerfixed {
|
||||
.tn-footerfixed {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
bottom: calc(30rpx + env(safe-area-inset-bottom));
|
||||
z-index: 1024;
|
||||
box-shadow: 0 1rpx 6rpx rgba(0, 0, 0, 0);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/* 底部悬浮按钮 end*/
|
||||
/* 底部悬浮按钮 end*/
|
||||
|
||||
/* 标签内容 start*/
|
||||
.tn-tag-content {
|
||||
/* 标签内容 start*/
|
||||
.tn-tag-content {
|
||||
&__item {
|
||||
display: inline-block;
|
||||
line-height: 45rpx;
|
||||
@ -823,7 +835,7 @@ export default {
|
||||
padding-right: 10rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* 标签内容 end*/
|
||||
/* 标签内容 end*/
|
||||
</style>
|
@ -1,24 +1,22 @@
|
||||
<template>
|
||||
<view class="tn-safe-area-inset-bottom" style="background: rgba(242, 241, 246, 1);">
|
||||
<!-- 顶部自定义导航 -->
|
||||
<tn-nav-bar :isBack="false" backTitle="" :alpha="true" :bottomShadow="false">
|
||||
<view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left">
|
||||
<view style="padding-left: 15rpx;" @click="goBack()">
|
||||
<text class="tn-icon-left" style="font-size: 40rpx;"></text>
|
||||
</view>
|
||||
<view class="tn-margin-top" @click="goBack()"
|
||||
style="text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;">
|
||||
<tn-tabs :list="[{name:'信息修改'}]" :current="topCurrent" activeColor="#000" :bold="false"
|
||||
:fontSize="24"></tn-tabs>
|
||||
<tn-nav-bar customBack :bottomShadow="false" backgroundColor="transparent">
|
||||
<view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-center">
|
||||
</view>
|
||||
<view slot="back" class='tn-custom-nav-bar__back' @click="goBack">
|
||||
<image src="/static/wback.png"
|
||||
style="width: 64rpx;height: 64rpx;vertical-align: middle;margin-left: 10px;"></image>
|
||||
</view>
|
||||
</tn-nav-bar>
|
||||
<view style="width: 100%;height: 450rpx;position: absolute;top: 0;">
|
||||
<image v-if="addMod.background_image==''" src="/static/my.png" style="width: 100%;height: 450rpx;"></image>
|
||||
<image src="/static/bg.png" style="width: 100%;height: 450rpx;"></image>
|
||||
<!-- <image v-if="addMod.background_image==''" src="/static/bg.png" style="width: 100%;height: 450rpx;"></image>
|
||||
<image v-if="addMod.background_image!=''" :src="apiImgUrl+addMod.background_image"
|
||||
style="width: 100%;height: 450rpx;"></image>
|
||||
<view style="bottom: 28rpx;position: absolute;left: 28rpx;">
|
||||
<view @click="d_img(1)" style="width: 150rpx;height: 150rpx;position: relative;">
|
||||
style="width: 100%;height: 450rpx;"></image> -->
|
||||
<view
|
||||
style="bottom: 28rpx;position: absolute;left: 0px;right: 0;margin: 0 auto; text-align: center; z-index: 100;">
|
||||
<view @click="d_img(1)" style="width: 150rpx;height: 150rpx;position: relative;margin: 0 auto;">
|
||||
<image :src="apiImgUrl+addMod.photo_image" mode="aspectFill"
|
||||
style="width: 150rpx;height: 150rpx;border-radius: 50%;"></image>
|
||||
<image src="/static/pic.png"
|
||||
@ -26,29 +24,46 @@
|
||||
</image>
|
||||
</view>
|
||||
</view>
|
||||
<view style="bottom: 50rpx;right: 28rpx;position: absolute;">
|
||||
<!-- <view style="bottom: 50rpx;right: 28rpx;position: absolute;">
|
||||
<tn-button @click="d_img(3)" shape="round" padding="10rpx 40rpx" backgroundColor="#ffffff"
|
||||
fontColor="rgba(65, 142, 242, 1);">更改背景</tn-button>
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="tn-margin-top" style="position: absolute;left: 0;right: 0;top: 370rpx;width: 93%;margin: 0 auto;">
|
||||
<view style="background-color: #ffffff;border-radius: 18rpx;padding-top: 40rpx;">
|
||||
<view style="position: relative;height: 100rpx;">
|
||||
<view
|
||||
style="font-size: 32rpx;font-weight: 600;;color: #323232;padding:25rpx 0rpx 30rpx 50rpx;z-index: 1;position: absolute;">
|
||||
个人资料</view>
|
||||
<image src="/static/news_title.png"
|
||||
style="width: 50rpx;position: absolute;left: 140rpx;top: 45rpx;z-index: 0;" mode="widthFix">
|
||||
</image>
|
||||
</view>
|
||||
<view class="tn-margin-top" style="padding-top: 450rpx;z-index:1;">
|
||||
<view style="font-size: 32rpx;color: rgba(119, 119, 119, 1);padding:25rpx 0rpx 30rpx 50rpx;">个人资料</view>
|
||||
<view style="padding: 0px 30rpx;;">
|
||||
<view style="padding: 0px 30rpx;">
|
||||
<tn-list-view :customTitle="true" backgroundColor="transparent">
|
||||
<view slot="title" class="tn-flex tn-flex-row-between" style="padding: 30rpx" @click="openMode(0)">
|
||||
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">姓名</view>
|
||||
<view slot="title" class="tn-flex tn-flex-row-between" style="padding: 30rpx 10rpx"
|
||||
@click="openMode(0)">
|
||||
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">
|
||||
<text class="tn-icon-title" style="color: #FE6E25;"></text>
|
||||
<text>姓名</text>
|
||||
</view>
|
||||
<view class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center">
|
||||
<view style="font-size: 28rpx; color: rgba(102, 102, 102, 1);">{{addMod.nikename}}</view>
|
||||
<view style="font-size: 28rpx; color: rgba(102, 102, 102, 1);">{{addMod.nikename}}
|
||||
</view>
|
||||
<view class="tn-icon-right" style="margin-left: 20rpx;"></view>
|
||||
</view>
|
||||
</view>
|
||||
</tn-list-view>
|
||||
<tn-list-view :customTitle="true" backgroundColor="transparent">
|
||||
<view slot="title" class="tn-flex tn-flex-row-between" style="padding: 30rpx"
|
||||
<view slot="title" class="tn-flex tn-flex-row-between" style="padding: 30rpx 10rpx"
|
||||
@click="position_id_show = true">
|
||||
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">协会职务</view>
|
||||
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">
|
||||
<text class="tn-icon-title" style="color: #FE6E25;"></text>
|
||||
<text>协会职务</text>
|
||||
</view>
|
||||
<view class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center">
|
||||
<view style="font-size: 28rpx; color: rgba(102, 102, 102, 1);">{{position_id_name}}</view>
|
||||
<view style="font-size: 28rpx; color: rgba(102, 102, 102, 1);">{{position_id_name}}
|
||||
</view>
|
||||
<view class="tn-icon-right" style="margin-left: 20rpx;"></view>
|
||||
</view>
|
||||
</view>
|
||||
@ -68,11 +83,15 @@
|
||||
@confirm="getregionId"></tn-select>
|
||||
</tn-list-view> -->
|
||||
<tn-list-view :customTitle="true" backgroundColor="transparent">
|
||||
<view slot="title" class="tn-flex tn-flex-row-between" style="padding: 30rpx">
|
||||
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">性别</view>
|
||||
<view slot="title" class="tn-flex tn-flex-row-between" style="padding: 30rpx 10rpx">
|
||||
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">
|
||||
<text class="tn-icon-title" style="color: #FE6E25;"></text>
|
||||
<text>协会职务</text>
|
||||
</view>
|
||||
<view class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center"
|
||||
@click="sex_id_show = true">
|
||||
<view style="font-size: 28rpx; color: rgba(102, 102, 102, 1);">{{addMod.gender==0?'女':'男'}}
|
||||
<view style="font-size: 28rpx; color: rgba(102, 102, 102, 1);">
|
||||
{{addMod.gender==0?'女':'男'}}
|
||||
</view>
|
||||
<view class="tn-icon-right" style="margin-left: 20rpx;"></view>
|
||||
</view>
|
||||
@ -80,8 +99,12 @@
|
||||
<tn-select v-model="sex_id_show" mode="single" :list="sex_list" @confirm="getsexId"></tn-select>
|
||||
</tn-list-view>
|
||||
<tn-list-view :customTitle="true" backgroundColor="transparent">
|
||||
<view slot="title" class="tn-flex tn-flex-row-between" style="padding: 30rpx" @click="openMode(1)">
|
||||
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">联系方式</view>
|
||||
<view slot="title" class="tn-flex tn-flex-row-between" style="padding: 30rpx 10rpx"
|
||||
@click="openMode(1)">
|
||||
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">
|
||||
<text class="tn-icon-title" style="color: #FE6E25;"></text>
|
||||
<text>联系方式</text>
|
||||
</view>
|
||||
<view class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center">
|
||||
<view style="font-size: 28rpx; color: rgba(102, 102, 102, 1);">{{addMod.phone}}</view>
|
||||
<view class="tn-icon-right" style="margin-left: 20rpx;"></view>
|
||||
@ -89,8 +112,12 @@
|
||||
</view>
|
||||
</tn-list-view>
|
||||
<tn-list-view :customTitle="true" backgroundColor="transparent">
|
||||
<view slot="title" class="tn-flex tn-flex-row-between" style="padding: 30rpx" @click="openMode(4)">
|
||||
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">个人经历</view>
|
||||
<view slot="title" class="tn-flex tn-flex-row-between" style="padding: 30rpx 10rpx"
|
||||
@click="openMode(4)">
|
||||
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">
|
||||
<text class="tn-icon-title" style="color: #FE6E25;"></text>
|
||||
<text>个人经历</text>
|
||||
</view>
|
||||
<view class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center">
|
||||
<view
|
||||
style="font-size: 28rpx; color: rgba(102, 102, 102, 1);width: 400rpx;text-align: right;"
|
||||
@ -100,10 +127,23 @@
|
||||
</view>
|
||||
</view>
|
||||
</tn-list-view>
|
||||
<view style="font-size: 32rpx;color: rgba(119, 119, 119, 1);padding:25rpx 0rpx 30rpx 30rpx;">公司资料</view>
|
||||
</view>
|
||||
</view>
|
||||
<view style="background-color: #ffffff;border-radius: 18rpx;margin-top: 30rpx;padding-top: 20rpx;">
|
||||
<view style="position: relative;height: 100rpx;">
|
||||
<view
|
||||
style="font-size: 32rpx;font-weight: 600;;color: #323232;padding:25rpx 0rpx 30rpx 50rpx;z-index: 1;position: absolute;">
|
||||
公司资料</view>
|
||||
<image src="/static/news_title.png"
|
||||
style="width: 50rpx;position: absolute;left: 140rpx;top: 45rpx;z-index: 0;" mode="widthFix">
|
||||
</image>
|
||||
</view>
|
||||
<tn-list-view :customTitle="true" backgroundColor="transparent">
|
||||
<view slot="title" class="tn-flex tn-flex-row-between" style="padding: 30rpx" @click="openMode(2)">
|
||||
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">公司名称</view>
|
||||
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">
|
||||
<text class="tn-icon-title" style="color: #FE6E25;"></text>
|
||||
<text>公司名称</text>
|
||||
</view>
|
||||
<view class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center">
|
||||
<view style="font-size: 28rpx; color: rgba(102, 102, 102, 1);">{{addMod.enterprise_name}}
|
||||
</view>
|
||||
@ -113,7 +153,10 @@
|
||||
</tn-list-view>
|
||||
<tn-list-view :customTitle="true" backgroundColor="transparent">
|
||||
<view slot="title" class="tn-flex tn-flex-row-between" style="padding: 30rpx">
|
||||
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">公司行业</view>
|
||||
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">
|
||||
<text class="tn-icon-title" style="color: #FE6E25;"></text>
|
||||
<text>公司行业</text>
|
||||
</view>
|
||||
<view class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center"
|
||||
@click="industry_id_show = true">
|
||||
<view style="font-size: 28rpx; color: rgba(102, 102, 102, 1);">{{industry_id_name}}</view>
|
||||
@ -126,7 +169,10 @@
|
||||
<tn-list-view :customTitle="true" backgroundColor="transparent">
|
||||
<view slot="title" class="tn-flex tn-flex-row-between tn-flex-center tn-flex-col-center"
|
||||
style="padding: 30rpx">
|
||||
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">公司Logo</view>
|
||||
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">
|
||||
<text class="tn-icon-title" style="color: #FE6E25;"></text>
|
||||
<text>公司Logo</text>
|
||||
</view>
|
||||
<view class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center" @click="d_img(2)">
|
||||
<view>
|
||||
<view v-if="addMod.company_image==''">暂无</view>
|
||||
@ -139,7 +185,10 @@
|
||||
</tn-list-view>
|
||||
<tn-list-view :customTitle="true" backgroundColor="transparent">
|
||||
<view slot="title" class="tn-flex tn-flex-row-between" style="padding: 30rpx" @click="openMode(3)">
|
||||
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">公司地址</view>
|
||||
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">
|
||||
<text class="tn-icon-title" style="color: #FE6E25;"></text>
|
||||
<text>公司地址</text>
|
||||
</view>
|
||||
<view class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center">
|
||||
<view
|
||||
style="font-size: 28rpx; color: rgba(102, 102, 102, 1);width: 400rpx;text-align: right;"
|
||||
@ -152,7 +201,10 @@
|
||||
</tn-list-view>
|
||||
<tn-list-view :customTitle="true" backgroundColor="transparent">
|
||||
<view slot="title" class="tn-flex tn-flex-row-between" style="padding: 30rpx" @click="openMode(5)">
|
||||
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">公司介绍</view>
|
||||
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">
|
||||
<text class="tn-icon-title" style="color: #FE6E25;"></text>
|
||||
<text>公司介绍</text>
|
||||
</view>
|
||||
<view class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center">
|
||||
<view
|
||||
style="font-size: 28rpx; color: rgba(102, 102, 102, 1);width: 400rpx;text-align: right;"
|
||||
@ -164,11 +216,10 @@
|
||||
</view>
|
||||
</tn-list-view>
|
||||
</view>
|
||||
<view class="tn-flex">
|
||||
<view class="tn-flex" style="padding: 40rpx 0rpx;">
|
||||
<view class="tn-flex-1 justify-content-item tn-margin-sm tn-text-center">
|
||||
<tn-button backgroundColor="rgb(65, 142, 242)" shape="round" fontColor="#ffffff" padding="40rpx 0"
|
||||
<tn-button backgroundColor="#FE6E25" shape="round" fontColor="#ffffff" padding="40rpx 0"
|
||||
width="90%" fontBold @click="setUserEditDo">
|
||||
<!-- <text class="tn-icon-light tn-padding-right-xs tn-color-black"></text> -->
|
||||
<text>提交审核</text>
|
||||
</tn-button>
|
||||
</view>
|
||||
@ -199,41 +250,36 @@
|
||||
</block>
|
||||
</view>
|
||||
<view class="tn-flex tn-flex-row-center" style="margin-top: 50rpx;">
|
||||
<tn-button @click="editInput = false" width="250rpx" backgroundColor="#82B2FF"
|
||||
<tn-button @click="editInput = false" width="250rpx" backgroundColor="#FE6E25"
|
||||
fontColor="#ffffff">确定</tn-button>
|
||||
</view>
|
||||
</tn-modal>
|
||||
<tn-popup v-model="editText" mode="right" width="100%">
|
||||
<tn-nav-bar :isBack="false" backTitle="" :alpha="true" :bottomShadow="false">
|
||||
<view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left">
|
||||
<view style="padding-left: 15rpx;" @click="editText = false">
|
||||
<tn-nav-bar customBack :bottomShadow="false" backgroundColor="#ffffff">
|
||||
<view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-center">
|
||||
<view style="color: #000000;;text-align: left;font-size: 36rpx;font-weight: 600;">
|
||||
<text>{{editType==4?'个人经历':'公司介绍'}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view slot="back" class='tn-custom-nav-bar__back' @click="editText = false">
|
||||
<text class="tn-icon-left" style="font-size: 40rpx;"></text>
|
||||
</view>
|
||||
<view class="tn-margin-top"
|
||||
style=";text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;">
|
||||
<tn-tabs :list="[{name:editType==4?'编辑个人经历':'编辑公司介绍'}]" :current="topCurrent" activeColor="#000"
|
||||
:bold="false" :fontSize="24"></tn-tabs>
|
||||
</view>
|
||||
</view>
|
||||
</tn-nav-bar>
|
||||
<view style="background: rgba(242, 241, 246, 1);height: 100%;">
|
||||
<view style="background: #ffffff;height: 100%;">
|
||||
<view :style="{paddingTop: vuex_custom_bar_height + 20+'px'}"></view>
|
||||
<view style="margin:30rpx;background-color: #ffffff;border-radius: 40rpx;">
|
||||
<view style="margin:30rpx;background-color: #F8F7F8;border-radius:18rpx;">
|
||||
<view style="padding: 30rpx;">
|
||||
<tn-input v-if="editType==4" :maxLength="1000" v-model="introduction" :clearable="false"
|
||||
<tn-input placeholder="请输入个人经历" v-if="editType==4" :maxLength="1000" v-model="introduction" :clearable="false"
|
||||
:height="400" type="textarea" :customStyle="{lineHeight:'42rpx',color:'#777777'}" />
|
||||
<tn-input v-if="editType==5" :maxLength="1000" v-model="enterprise_Introduction"
|
||||
<tn-input placeholder="请输入公司介绍" v-if="editType==5" :maxLength="1000" v-model="enterprise_Introduction"
|
||||
:clearable="false" :height="400" type="textarea"
|
||||
:customStyle="{lineHeight:'42rpx',color:'#777777'}" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="tn-flex tn-flex-center tn-flex-row-center" style="color: #ffffff;">
|
||||
<view @click="editText = false"
|
||||
style="width: 300rpx;height: 80rpx;background: #d9d9d9;text-align: center;line-height: 80rpx;">
|
||||
取消</view>
|
||||
<view @click="editTextDo()"
|
||||
style="width: 300rpx;height: 80rpx;background: #418EF2;margin-left: 48rpx;text-align: center;line-height: 80rpx;">
|
||||
确定</view>
|
||||
style="width:90%;height: 80rpx;background: #FE6E25;text-align: center;line-height: 80rpx;border-radius: 80rpx;">
|
||||
保存</view>
|
||||
</view>
|
||||
</view>
|
||||
</tn-popup>
|
||||
|
@ -1,54 +1,60 @@
|
||||
<template>
|
||||
<view class="template-edit tn-safe-area-inset-bottom">
|
||||
<!-- 顶部自定义导航 -->
|
||||
<tn-nav-bar :isBack="false" backTitle="" :bottomShadow="true" backgroundColor="#FFFFFF">
|
||||
<view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left">
|
||||
<view style="padding-left: 15rpx;" @click="goBack()">
|
||||
<text class="tn-icon-left" style="font-size: 40rpx;"></text>
|
||||
</view>
|
||||
<view class="tn-margin-top"
|
||||
style=";text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;">
|
||||
<tn-tabs :list="[{name:'意见反馈'}]" :current="topCurrent" activeColor="#000" :bold="false"
|
||||
:fontSize="36"></tn-tabs>
|
||||
<view class="gb template-edit tn-safe-area-inset-bottom">
|
||||
<tn-nav-bar customBack :bottomShadow="false" backgroundColor="transparent">
|
||||
<view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-center">
|
||||
</view>
|
||||
<view slot="back" class='tn-custom-nav-bar__back' @click="goBack">
|
||||
<image src="/static/wback.png"
|
||||
style="width: 64rpx;height: 64rpx;vertical-align: middle;margin-left: 10px;"></image>
|
||||
</view>
|
||||
</tn-nav-bar>
|
||||
|
||||
<view class="tn-safe-area-inset-bottom" :style="{paddingTop: vuex_custom_bar_height + 'px'}">
|
||||
<view class="tn-flex tn-flex-row-between tn-flex-col-center tn-padding-top tn-margin">
|
||||
<view class="tn-flex justify-content-item">
|
||||
<view class="tn-text-lg tn-padding-right-xs tn-text-bold">反馈人</view>
|
||||
<view style="padding: 30rpx;margin-top: 260rpx;">
|
||||
<view style="background-color: #ffffff;border-radius: 18rpx;padding-bottom: 20rpx;">
|
||||
<view class="tn-flex tn-flex-row-between tn-flex-col-center" style="padding:20rpx 30rpx;">
|
||||
<view style="width: 30%;">
|
||||
<view class="tn-padding-right-xs tn-text-bold">
|
||||
<text class="tn-icon-title" style="color: #FE6E25;"></text>
|
||||
<text>反馈人</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="tn-margin tn-bg-gray--light" style="border-radius: 10rpx;padding: 20rpx 30rpx;">
|
||||
<input placeholder="填写姓名" name="input" v-model="formData.name" placeholder-style="color:#AAAAAA"></input>
|
||||
</view>
|
||||
<view class="tn-flex tn-flex-row-between tn-flex-col-center tn-padding-top tn-margin">
|
||||
<view class="tn-flex justify-content-item">
|
||||
<view class="tn-text-lg tn-padding-right-xs tn-text-bold">联系方式</view>
|
||||
<view style="padding: 20rpx 30rpx;width: 70%;text-align: right;">
|
||||
<input placeholder="请输入您的姓名" disabled v-model="formData.name"
|
||||
placeholder-style="color:#9B9B9B"></input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="tn-margin tn-bg-gray--light" style="border-radius: 10rpx;padding: 20rpx 30rpx;">
|
||||
<input placeholder="填写联系方式" v-model="formData.phone" name="input" placeholder-style="color:#AAAAAA"></input>
|
||||
<view style="width: 90%;height: 1px;background-color:#E5E5E5;margin: 0 auto;"></view>
|
||||
<view class="tn-flex tn-flex-row-between tn-flex-col-center" style="padding:20rpx 30rpx;">
|
||||
<view style="width: 30%;">
|
||||
<view class="tn-padding-right-xs tn-text-bold">
|
||||
<text class="tn-icon-title" style="color: #FE6E25;"></text>
|
||||
<text>联系方式</text>
|
||||
</view>
|
||||
<view class="tn-flex tn-flex-row-between tn-flex-col-center tn-padding-top tn-margin">
|
||||
<view class="tn-flex justify-content-item">
|
||||
<view class="tn-text-lg tn-padding-right-xs tn-text-bold">反馈内容</view>
|
||||
</view>
|
||||
<view style="padding: 20rpx 30rpx;width: 70%;text-align: right;">
|
||||
<input placeholder="请输入您的联系方式" disabled v-model="formData.phone"
|
||||
placeholder-style="color:#9B9B9B"></input>
|
||||
</view>
|
||||
</view>
|
||||
<view style="width: 90%;height: 1px;background-color:#E5E5E5;margin: 0 auto;"></view>
|
||||
<view class="tn-flex tn-flex-row-between tn-flex-col-center" style="padding:20rpx 30rpx;">
|
||||
<view class="tn-padding-right-xs tn-text-bold">
|
||||
<text class="tn-icon-title" style="color: #FE6E25;"></text>
|
||||
<text>反馈内容</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="tn-margin tn-bg-gray--light tn-padding" style="border-radius: 10rpx;">
|
||||
<textarea maxlength="500" v-model="formData.content" placeholder="填写反馈内容" placeholder-style="color:#AAAAAA"></textarea>
|
||||
<textarea maxlength="500" v-model="formData.content" placeholder="填写反馈内容"
|
||||
placeholder-style="color:#AAAAAA"></textarea>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 悬浮按钮-->
|
||||
<view class="tn-flex tn-footerfixed">
|
||||
<view class="tn-flex-1 justify-content-item tn-margin-sm tn-text-center">
|
||||
<tn-button backgroundColor="#FBBD12" fontColor="#ffffff" padding="40rpx 0" width="60%" shadow
|
||||
fontBold @tap="submit">
|
||||
<!-- <text class="tn-icon-light tn-padding-right-xs tn-color-black"></text> -->
|
||||
<text>提 交</text>
|
||||
<view style="text-align: center;margin-top: 40rpx;">
|
||||
<tn-button shape="round" width="85%" height="85rpx" backgroundColor="#FE6E25" fontColor="#ffffff" @tap="submit">
|
||||
提 交
|
||||
</tn-button>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
@ -58,19 +64,21 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { messageAdd} from "@/util/api";
|
||||
import store from "@/store";
|
||||
import {
|
||||
messageAdd
|
||||
} from "@/util/api";
|
||||
import store from "@/store";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
topCurrent: 0,
|
||||
formData:{
|
||||
name:'',
|
||||
phone:'',
|
||||
content:'',
|
||||
association_id:store.state.Gid,
|
||||
member_id:uni.getStorageSync('uid'),
|
||||
createtime:new Date().toISOString().slice(0, 19).replace('T', ' ')
|
||||
formData: {
|
||||
name: '',
|
||||
phone: '',
|
||||
content: '',
|
||||
association_id: store.state.Gid,
|
||||
member_id: uni.getStorageSync('uid'),
|
||||
createtime: new Date().toISOString().slice(0, 19).replace('T', ' ')
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -78,20 +86,20 @@ import store from "@/store";
|
||||
|
||||
},
|
||||
methods: {
|
||||
submit(){
|
||||
submit() {
|
||||
messageAdd(this.formData)
|
||||
.then(res => {
|
||||
console.log(res);
|
||||
if(res.code==1){
|
||||
if (res.code == 1) {
|
||||
uni.showToast({
|
||||
title: '提交成功!',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
this.formData.name='';
|
||||
this.formData.phone='';
|
||||
this.formData.content='';
|
||||
}else{
|
||||
this.formData.name = '';
|
||||
this.formData.phone = '';
|
||||
this.formData.content = '';
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: res.msg,
|
||||
icon: 'none',
|
||||
@ -128,6 +136,13 @@ import store from "@/store";
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.gb {
|
||||
background: url('https://ysx.0rui.cn/static/ider.png') no-repeat;
|
||||
background-size: 100%;
|
||||
height: 100%;
|
||||
padding-bottom: 100rpx;
|
||||
}
|
||||
|
||||
/* 底部悬浮按钮 start*/
|
||||
.tn-tabbar-height {
|
||||
min-height: 100rpx;
|
||||
|
@ -1,17 +1,13 @@
|
||||
<template>
|
||||
<view style="letter-spacing: 1rpx;" v-cloak>
|
||||
<tn-nav-bar :isBack="false" backTitle="" :bottomShadow="true" backgroundColor="#FFFFFF">
|
||||
<view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-between">
|
||||
<view class="tn-flex tn-flex-col-center tn-flex-row-left">
|
||||
<view style="padding-left: 15rpx;" @click="goBack()">
|
||||
<text class="tn-icon-left" style="font-size: 40rpx;"></text>
|
||||
</view>
|
||||
<view class="tn-margin-top"
|
||||
style="text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;">
|
||||
<tn-tabs :list="[{name:'活动详情'}]" :current="topCurrent" activeColor="#000" :bold="false"
|
||||
:fontSize="36"></tn-tabs>
|
||||
<view style="letter-spacing: 1rpx;background-color: #ffffff;" v-cloak>
|
||||
<tn-nav-bar customBack :bottomShadow="false" backgroundColor="transparent">
|
||||
<view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-center">
|
||||
<view style="color: #202020;;text-align: left;font-size: 36rpx;font-weight: 600;">
|
||||
<text>活动详情</text>
|
||||
</view>
|
||||
</view>
|
||||
<view slot="back" class='tn-custom-nav-bar__back' @click="goBack">
|
||||
<image src="/static/back.png" style="width: 64rpx;height: 64rpx;vertical-align: middle;margin-left: 10px;"></image>
|
||||
</view>
|
||||
</tn-nav-bar>
|
||||
<view :style="{paddingTop: vuex_custom_bar_height + 'px'}">
|
||||
@ -107,7 +103,10 @@
|
||||
</view>
|
||||
<view style="width: 100%;height: 10rpx;background-color: #EBF4F7"></view>
|
||||
<view style="padding:20rpx 30rpx;">
|
||||
<view style="margin-top: 20rpx;font-size: 32rpx;font-weight: 600;">活动介绍</view>
|
||||
<view style="position: relative;">
|
||||
<view style="margin-top: 20rpx;font-size: 32rpx;font-weight: 600;z-index: 1;">活动介绍</view>
|
||||
<image src="/static/news_title.png" style="width: 50rpx;position: absolute;left: 100rpx;top: 20rpx;z-index: 0;" mode="widthFix"></image>
|
||||
</view>
|
||||
<view>
|
||||
<view class="ks_html" style="line-height: 50rpx;margin-top: 20rpx;">
|
||||
<view v-if="info.video!=null&&info.video!=''">
|
||||
@ -124,7 +123,7 @@
|
||||
<tn-form-item v-if="item.type==2" :label="(index+1)+'、'+item.title+'(多选题)'"
|
||||
prop="hobby">
|
||||
<tn-checkbox-group v-model="questionnaireList[index].topic" size="40"
|
||||
activeColor="#82B2FF" wrap>
|
||||
activeColor="#FE6E25" wrap>
|
||||
<tn-checkbox :name="op.name" v-for="(op,opi) in item.option">
|
||||
{{ op.name }}、{{ op.val }}
|
||||
</tn-checkbox>
|
||||
@ -133,7 +132,7 @@
|
||||
<tn-form-item v-if="item.type==1" :label="(index+1)+'、'+item.title+'(单选题)'"
|
||||
prop="danxuan">
|
||||
<tn-radio-group v-model="questionnaireList[index].topic" size="40"
|
||||
activeColor="#82B2FF" wrap>
|
||||
activeColor="#FE6E25" wrap>
|
||||
<tn-radio :name="op.name" v-for="(op,opi) in item.option">
|
||||
{{ op.name }}、{{ op.val }}
|
||||
</tn-radio>
|
||||
@ -606,7 +605,7 @@
|
||||
|
||||
<style>
|
||||
.mmy {
|
||||
background-color: #F73909;
|
||||
background-color: #FE6E25;
|
||||
border-radius: 30px;
|
||||
height: 80rpx;
|
||||
width: 100%;
|
||||
|
BIN
static/bg.png
Normal file
BIN
static/bg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 261 KiB |
BIN
static/ider.png
Normal file
BIN
static/ider.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 396 KiB |
BIN
static/pic.png
BIN
static/pic.png
Binary file not shown.
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.8 KiB |
Loading…
x
Reference in New Issue
Block a user