改版提交

This commit is contained in:
王创世 2025-07-11 18:14:47 +08:00
parent cfa8c6c47f
commit e44b9010bb
9 changed files with 951 additions and 879 deletions

View File

@ -52,7 +52,7 @@
"quickapp" : {},
/* */
"mp-weixin" : {
"appid" : "wx51c40ff1c6337652",
"appid" : "wx5658fba0c9a523d8",
"setting" : {
"urlCheck" : true,
"minified" : true,

View File

@ -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;

File diff suppressed because it is too large Load Diff

View File

@ -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>
</view>
<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,84 +24,126 @@
</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>
<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;;">
<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 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 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"
@click="position_id_show = true">
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">协会职务</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 class="tn-icon-right" style="margin-left: 20rpx;"></view>
</view>
</view>
<tn-select v-model="position_id_show" mode="single" :list="position_list"
@confirm="getpositionId"></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="region_id_show = true">
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">所属区域</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);">{{region_id_name}}</view>
<view class="tn-icon-right" style="margin-left: 20rpx;"></view>
</view>
</view>
<tn-select v-model="region_id_show" mode="single" :list="region_list"
@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 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 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 style="padding: 0px 30rpx;">
<tn-list-view :customTitle="true" backgroundColor="transparent">
<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-icon-right" style="margin-left: 20rpx;"></view>
</view>
</view>
<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 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>
</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" @click="openMode(4)">
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">个人经历</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;"
class="tn-text-ellipsis">{{addMod.introduction}}
<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 class="tn-icon-right" style="margin-left: 20rpx;"></view>
</view>
<view class="tn-icon-right" style="margin-left: 20rpx;"></view>
</view>
</view>
</tn-list-view>
<view style="font-size: 32rpx;color: rgba(119, 119, 119, 1);padding:25rpx 0rpx 30rpx 30rpx;">公司资料</view>
</tn-list-view>
<tn-list-view :customTitle="true" backgroundColor="transparent">
<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;">
<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 class="tn-icon-right" style="margin-left: 20rpx;"></view>
</view>
</view>
<tn-select v-model="position_id_show" mode="single" :list="position_list"
@confirm="getpositionId"></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="region_id_show = true">
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">所属区域</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);">{{region_id_name}}</view>
<view class="tn-icon-right" style="margin-left: 20rpx;"></view>
</view>
</view>
<tn-select v-model="region_id_show" mode="single" :list="region_list"
@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 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>
<view class="tn-icon-right" style="margin-left: 20rpx;"></view>
</view>
</view>
<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 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>
</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 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;"
class="tn-text-ellipsis">{{addMod.introduction}}
</view>
<view class="tn-icon-right" style="margin-left: 20rpx;"></view>
</view>
</view>
</tn-list-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">
<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>
<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>
</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>

View File

@ -1,53 +1,59 @@
<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>
<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 style="padding: 20rpx 30rpx;width: 70%;text-align: right;">
<input placeholder="请输入您的姓名" disabled v-model="formData.name"
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 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 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>
</view>
</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>
</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>
<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>
<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>
</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>
</tn-button>
</view>
<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>
@ -58,55 +64,57 @@
</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', ' ')
}
}
},
onLoad() {
},
methods: {
submit(){
messageAdd(this.formData)
.then(res => {
console.log(res);
if(res.code==1){
uni.showToast({
title: '提交成功!',
icon: 'none',
duration: 2000
});
this.formData.name='';
this.formData.phone='';
this.formData.content='';
}else{
uni.showToast({
title: res.msg,
icon: 'none',
duration: 2000
});
}
})
.catch(error => {
uni.showToast({
title: error,
icon: 'none',
duration: 2000
});
})
},
submit() {
messageAdd(this.formData)
.then(res => {
console.log(res);
if (res.code == 1) {
uni.showToast({
title: '提交成功!',
icon: 'none',
duration: 2000
});
this.formData.name = '';
this.formData.phone = '';
this.formData.content = '';
} else {
uni.showToast({
title: res.msg,
icon: 'none',
duration: 2000
});
}
})
.catch(error => {
uni.showToast({
title: error,
icon: 'none',
duration: 2000
});
})
},
//
tn(e) {
uni.navigateTo({
@ -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;
@ -160,4 +175,4 @@ import store from "@/store";
}
/* 标签内容 end*/
</style>
</style>

View File

@ -1,18 +1,14 @@
<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>
<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'}">
<image :src="apiImgUrl+info.activity_image" style="width: 100%;" mode="widthFix"></image>
@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 KiB

BIN
static/ider.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB