5010prod
|
@ -0,0 +1,11 @@
|
|||
|
||||
import { request } from '../utils/request'
|
||||
|
||||
export function businessCard(data) {
|
||||
return request({
|
||||
url: '/consumer/businessCard',
|
||||
method: 'PUT',
|
||||
data
|
||||
})
|
||||
}
|
||||
// /consumer/businessCard
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"pages": [
|
||||
"pages/index/index",
|
||||
"pages/card/card",
|
||||
"pages/shareTimeLine/shareTimeLine",
|
||||
"pages/QA/QA",
|
||||
"pages/service/service",
|
||||
|
@ -45,12 +46,15 @@
|
|||
"pages/question/question",
|
||||
"pages/questionDetail/questionDetail",
|
||||
"pages/whiteList/whiteList",
|
||||
"pages/validComment/validComment",
|
||||
"pages/commentResult/commentResult",
|
||||
"pages/addAuthName/addAuthName"
|
||||
|
||||
],
|
||||
"window": {
|
||||
"backgroundTextStyle": "light",
|
||||
"navigationBarBackgroundColor": "#fff",
|
||||
"navigationBarTitleText": "众评",
|
||||
"navigationBarTitleText": "与评",
|
||||
"navigationBarTextStyle": "black"
|
||||
},
|
||||
|
||||
|
|
|
@ -61,7 +61,10 @@ App<IAppOption>({
|
|||
console.log('appShow', options)
|
||||
const { path, query } = options
|
||||
let { q, source } = query
|
||||
if (['pages/apply/apply', 'pages/reportPreview/reportPreview', 'pages/scanLogin/scanLogin'].includes(path)) {
|
||||
console.log('query.source', source);
|
||||
if (source) this.globalData.smsCode = source
|
||||
|
||||
if (['pages/index/index'].includes(path)) {
|
||||
let pageQueryStr = ''
|
||||
if (q) {
|
||||
q = decodeURIComponent(q)
|
||||
|
@ -69,14 +72,15 @@ App<IAppOption>({
|
|||
const queryObj = querystrToObj(decodeURIComponent(querystrToObj(queryStr).query))
|
||||
pageQueryStr = decodeURIComponent(querystrToObj(queryStr).query)
|
||||
source = queryObj.source
|
||||
|
||||
}
|
||||
const backPage = `/${path}?${pageQueryStr}`
|
||||
console.log(backPage)
|
||||
wx.setStorageSync('QSource', source)
|
||||
wx.setStorageSync('backPage', backPage)
|
||||
// const backPage = `/${path}?${pageQueryStr}`
|
||||
// console.log(backPage,this.smsCode)
|
||||
// wx.setStorageSync('QSource', source)
|
||||
// wx.setStorageSync('backPage', backPage)
|
||||
} else {
|
||||
wx.removeStorageSync('QSource')
|
||||
wx.removeStorageSync('backPage')
|
||||
// wx.removeStorageSync('QSource')
|
||||
// wx.removeStorageSync('backPage')
|
||||
}
|
||||
},
|
||||
// 登录
|
||||
|
@ -95,16 +99,19 @@ App<IAppOption>({
|
|||
this.globalData.unionId = res.d.unionId
|
||||
login({
|
||||
openId: res.d.openId,
|
||||
unionId: res.d.unionId,
|
||||
// ...res.d,
|
||||
loginType: 1
|
||||
loginType: 1,
|
||||
smsCode: this.globalData.smsCode
|
||||
}).then((res: any) => {
|
||||
wx.setStorageSync('Authorization', res.d)
|
||||
// this.getBindPhoneList()
|
||||
console.log('QSource', this.globalData.smsCode);
|
||||
|
||||
resolve(true)
|
||||
console.log('resolve');
|
||||
// console.log('resolve');
|
||||
bindPhoneList().then(res => {
|
||||
console.log('##2##',res);
|
||||
// console.log('##2##', res);
|
||||
wx.setStorageSync('accountList', res.d)
|
||||
wx.setStorageSync('userInfo', res.d.find(item => item.phone === wx.getStorageSync('userInfo').phone) || res.d[0])
|
||||
})
|
||||
|
|
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 956 B |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 828 B |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 802 B |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 301 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 2.3 KiB |
|
@ -85,3 +85,7 @@ $member: #653E12;
|
|||
background: #FFFFFF;
|
||||
}
|
||||
}
|
||||
.default1{
|
||||
border: 1px solid #C3C3C3;
|
||||
box-sizing: border-box;
|
||||
}
|
|
@ -29,6 +29,14 @@ Component({
|
|||
},
|
||||
padding: {
|
||||
type: String,
|
||||
},
|
||||
fontWeight: {
|
||||
type: String,
|
||||
value: 'initial'
|
||||
},
|
||||
fontColor: {
|
||||
type: String,
|
||||
value: ''
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
<!-- components/btn/btn.wxml -->
|
||||
<view class="btn-cmp {{type}} {{plain&&'plain'}}"
|
||||
style="font-size:{{fontSize}};width:{{width}};height:{{height}};background:{{bgColor}};padding:{{padding}}">
|
||||
<view class="btn-cmp {{type}} {{plain&&'plain'}}" style="font-size:{{fontSize}};color:{{fontColor}};width:{{width}};height:{{height}};background:{{bgColor}};padding:{{padding}};font-weight: {{fontWeight}};">
|
||||
<slot></slot>
|
||||
</view>
|
|
@ -51,8 +51,8 @@
|
|||
<view class="timeLine_item" wx:if="{{position==='my'}}">
|
||||
<view class="step">5</view>
|
||||
<view class="timeLine_content">
|
||||
<view>返回众评,选择证书展示</view>
|
||||
<view class="contentText">完成电子证书授权后,返回众评再次选择想要展示的个人信息报告及对应的授权电子证书即可。</view>
|
||||
<view>返回与评™,选择证书展示</view>
|
||||
<view class="contentText">完成电子证书授权后,返回与评™再次选择想要展示的个人信息报告及对应的授权电子证书即可。</view>
|
||||
<!-- <image class="invite_pic" src="/assets/images/searchResult/invite_pic1.png"></image> -->
|
||||
</view>
|
||||
</view>
|
||||
|
|
|
@ -43,4 +43,17 @@
|
|||
height: 30rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.cStars_half {
|
||||
margin-right: 17rpx;
|
||||
&:last-child{
|
||||
margin-right: 0;
|
||||
}
|
||||
image{
|
||||
width: 30rpx !important;
|
||||
height: 30rpx !important;
|
||||
}
|
||||
// width: 30rpx;
|
||||
// height: 30rpx;
|
||||
}
|
||||
}
|
|
@ -151,7 +151,34 @@ Component({
|
|||
bgImg_all: "/assets/images/searchResult/cStar_active.png"
|
||||
}
|
||||
],
|
||||
cStars_half: [
|
||||
{
|
||||
bgImg: "/assets/images/card/cStar_0.png",
|
||||
bgImg_half: "/assets/images/card/cStar_0.5.png",
|
||||
bgImg_all: "/assets/images/card/cStar_1.png"
|
||||
},
|
||||
{
|
||||
bgImg: "/assets/images/card/cStar_0.png",
|
||||
bgImg_half: "/assets/images/card/cStar_0.5.png",
|
||||
bgImg_all: "/assets/images/card/cStar_1.png"
|
||||
},
|
||||
{
|
||||
bgImg: "/assets/images/card/cStar_0.png",
|
||||
bgImg_half: "/assets/images/card/cStar_0.5.png",
|
||||
bgImg_all: "/assets/images/card/cStar_1.png"
|
||||
},
|
||||
{
|
||||
bgImg: "/assets/images/card/cStar_0.png",
|
||||
bgImg_half: "/assets/images/card/cStar_0.5.png",
|
||||
bgImg_all: "/assets/images/card/cStar_1.png"
|
||||
},
|
||||
{
|
||||
bgImg: "/assets/images/card/cStar_0.png",
|
||||
bgImg_half: "/assets/images/card/cStar_0.5.png",
|
||||
bgImg_all: "/assets/images/card/cStar_1.png"
|
||||
}
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
@ -4,12 +4,13 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 50rpx;
|
||||
position: fixed;
|
||||
// position: fixed;
|
||||
position: relative;
|
||||
background: #7B8EFF;
|
||||
width: 100%;
|
||||
left: 0;
|
||||
top: 0rpx;
|
||||
padding: 30rpx 0 0 30rpx;
|
||||
// padding: 30rpx 0 0 30rpx;
|
||||
height: 150rpx;
|
||||
align-items: flex-start;
|
||||
|
||||
|
@ -48,6 +49,7 @@
|
|||
margin: 65rpx;
|
||||
border-radius: 24rpx;
|
||||
width: 100%;
|
||||
z-index:99;
|
||||
|
||||
.dialog_title {
|
||||
font-size: 32rpx;
|
||||
|
|
|
@ -5,7 +5,7 @@ Page({
|
|||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
nodes: `<p><span style="font-size: 15px;"><span style="color: rgb(63, 63, 63);"><strong><span style="color: rgb(63, 63, 63); font-family: 微软雅黑, "sans-serif";">1、什么是众评数据?</span></strong><strong><span style="font-family: 微软雅黑, "sans-serif";"></span></strong></span><span style="color: rgb(63, 63, 63);"><strong><span style="font-family: 微软雅黑, "sans-serif";"></span></strong></span><br/></span></p><p><span style="font-family: 微软雅黑, "sans-serif"; color: rgb(127, 127, 127); font-size: 14px;">众评数据是基于手机号码统计的相关数据,数据包括综合评价、标签、全国人力资源信息数据验证平台个人信息报告。</span></p><p style="margin-left:0;text-indent:0"><span style="color: rgb(63, 63, 63); font-size: 15px;"><strong><span style="color: rgb(63, 63, 63); font-size: 15px; font-family: 微软雅黑, "sans-serif";">2、什么是全国人力资源信息数据验证平台个人信息报告?</span></strong></span></p><p><span style="font-family: 微软雅黑, "sans-serif"; color: rgb(127, 127, 127); font-size: 14px;">个人信息报告所有数据均通过全国人力资源信息数据验证平台收录,由报告主体授权后展示在众评数据中,主要用于个人增信展示或提供给他人查验。</span></p><p style="margin-left:0;text-indent:0"><span style="color: rgb(63, 63, 63); font-size: 15px;"><strong><span style="color: rgb(63, 63, 63); font-size: 15px; font-family: 微软雅黑, "sans-serif";">3、什么是实名认证用户?</span></strong></span></p><p><span style="font-family: 微软雅黑, "sans-serif"; color: rgb(127, 127, 127); font-size: 14px;">手机号码已完成全国人力资源信息数据验证平台实名认证的用户,通过“实名认证”标签展示,用户需要实名认证可前往“全国人力资源信息数据验证平台”完成实名认证流程。</span></p><p style="margin-left:0;text-indent:0"><span style="color: rgb(63, 63, 63); font-size: 15px;"><strong><span style="color: rgb(63, 63, 63); font-size: 15px; font-family: 微软雅黑, "sans-serif";">4、如何绑定多个手机号码?</span></strong></span></p><p><span style="font-family: 微软雅黑, "sans-serif"; color: rgb(127, 127, 127); font-size: 14px;">通过“切换手机号”更换当前登录手机号,如需绑定其他号码,可通过手机号及验证码新增绑定手机号。</span></p><p style="margin-left:0;text-indent:0"><span style="color: rgb(63, 63, 63); font-size: 15px;"><strong><span style="color: rgb(63, 63, 63); font-size: 15px; font-family: 微软雅黑, "sans-serif";">5、如何查看评价及标签详情?</span></strong></span></p><p><span style="font-family: 微软雅黑, "sans-serif"; color: rgb(127, 127, 127); font-size: 14px;">本人被评价人数达到3人后,可开通查看评价及标签详情权限,您可邀请好友为您综合评价。</span></p>`
|
||||
nodes: `<p><span style="font-size: 15px;"><span style="color: rgb(63, 63, 63);"><strong><span style="color: rgb(63, 63, 63); font-family: 微软雅黑, "sans-serif";">1、什么是与评™数据?</span></strong><strong><span style="font-family: 微软雅黑, "sans-serif";"></span></strong></span><span style="color: rgb(63, 63, 63);"><strong><span style="font-family: 微软雅黑, "sans-serif";"></span></strong></span><br/></span></p><p><span style="font-family: 微软雅黑, "sans-serif"; color: rgb(127, 127, 127); font-size: 14px;">与评™数据是基于手机号码统计的相关数据,数据包括综合评价、标签、全国人力资源信息数据验证平台个人信息报告。</span></p><p style="margin-left:0;text-indent:0"><span style="color: rgb(63, 63, 63); font-size: 15px;"><strong><span style="color: rgb(63, 63, 63); font-size: 15px; font-family: 微软雅黑, "sans-serif";">2、什么是全国人力资源信息数据验证平台个人信息报告?</span></strong></span></p><p><span style="font-family: 微软雅黑, "sans-serif"; color: rgb(127, 127, 127); font-size: 14px;">个人信息报告所有数据均通过全国人力资源信息数据验证平台收录,由报告主体授权后展示在与评™数据中,主要用于个人增信展示或提供给他人查验。</span></p><p style="margin-left:0;text-indent:0"><span style="color: rgb(63, 63, 63); font-size: 15px;"><strong><span style="color: rgb(63, 63, 63); font-size: 15px; font-family: 微软雅黑, "sans-serif";">3、什么是实名认证用户?</span></strong></span></p><p><span style="font-family: 微软雅黑, "sans-serif"; color: rgb(127, 127, 127); font-size: 14px;">手机号码已完成全国人力资源信息数据验证平台实名认证的用户,通过“实名认证”标签展示,用户需要实名认证可前往“全国人力资源信息数据验证平台”完成实名认证流程。</span></p><p style="margin-left:0;text-indent:0"><span style="color: rgb(63, 63, 63); font-size: 15px;"><strong><span style="color: rgb(63, 63, 63); font-size: 15px; font-family: 微软雅黑, "sans-serif";">4、如何绑定多个手机号码?</span></strong></span></p><p><span style="font-family: 微软雅黑, "sans-serif"; color: rgb(127, 127, 127); font-size: 14px;">通过“切换手机号”更换当前登录手机号,如需绑定其他号码,可通过手机号及验证码新增绑定手机号。</span></p><p style="margin-left:0;text-indent:0"><span style="color: rgb(63, 63, 63); font-size: 15px;"><strong><span style="color: rgb(63, 63, 63); font-size: 15px; font-family: 微软雅黑, "sans-serif";">5、如何查看评价及标签详情?</span></strong></span></p><p><span style="font-family: 微软雅黑, "sans-serif"; color: rgb(127, 127, 127); font-size: 14px;">本人被评价人数达到3人后,可开通查看评价及标签详情权限,您可邀请好友为您综合评价。</span></p>`
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"navigationBarTitleText": "口碑名片",
|
||||
"usingComponents": {
|
||||
"btn":"/components/btn/btn",
|
||||
"painter": "/components/painter/painter",
|
||||
"star":"/components/star/star"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,412 @@
|
|||
/* pages/card/card.wxss */
|
||||
page {
|
||||
background: #F9F9F9;
|
||||
}
|
||||
|
||||
.card {
|
||||
// background: #F9F9F9;
|
||||
// padding: 30rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
padding-top: 20rpx;
|
||||
|
||||
.card-box {
|
||||
box-sizing: border-box;
|
||||
width: 719rpx;
|
||||
height: 382rpx;
|
||||
background: url('https://chrivc.obs.cn-north-4.myhuaweicloud.com/09f36e4cf9474682b194f3c0694d239d:card_bg.png')no-repeat;
|
||||
background-size: cover;
|
||||
|
||||
.top {
|
||||
|
||||
margin-bottom: 40rpx;
|
||||
padding-top: 20rpx;
|
||||
padding-left: 60rpx;
|
||||
padding-right: 60rpx;
|
||||
|
||||
.nameAndScore {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
|
||||
.name {
|
||||
font-size: 48rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 800;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.score {
|
||||
font-size: 64rpx;
|
||||
font-family: Alibaba PuHuiTi;
|
||||
font-weight: 800;
|
||||
color: #FFFFFF;
|
||||
|
||||
|
||||
text {
|
||||
font-size: 26rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #FFFFFF;
|
||||
margin-right: 9rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.positionAndTags {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
.position {
|
||||
font-size: 32rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: bold;
|
||||
color: #FFFFFF;
|
||||
width: 350rpx;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.company {
|
||||
font-size: 24rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #FFFFFF;
|
||||
margin-top: 5rpx;
|
||||
width: 350rpx;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.tagsAndStar {
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.tags {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
margin-top: 10rpx;
|
||||
|
||||
.tagItem {
|
||||
position: relative;
|
||||
background: #2235B6;
|
||||
border-radius: 22rpx;
|
||||
width: 124rpx;
|
||||
height: 43rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 22rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #FFFFFF;
|
||||
margin-bottom: 5rpx;
|
||||
margin-left: 26rpx;
|
||||
|
||||
.numTag {
|
||||
font-size: 14rpx;
|
||||
font-family: Alibaba PuHuiTi;
|
||||
font-weight: 800;
|
||||
font-style: italic;
|
||||
color: #FFFFFF;
|
||||
background: #FF662A;
|
||||
border-radius: 9px 8px 8px 4px;
|
||||
width: 36rpx;
|
||||
height: 19rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: absolute;
|
||||
right: -25rpx;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.moreTag {
|
||||
font-size: 48rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #FFFFFF;
|
||||
width: 81rpx;
|
||||
height: 43rpx;
|
||||
background: #2235B6;
|
||||
border-radius: 22rpx;
|
||||
line-height: 8px;
|
||||
text-align: center;
|
||||
margin-left: 27rpx;
|
||||
// display: flex;
|
||||
// justify-content: center;
|
||||
// align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.bottom {
|
||||
padding-left: 60rpx;
|
||||
|
||||
.btn_copy {
|
||||
margin-left: 20rpx;
|
||||
text-decoration: underline;
|
||||
color: rgba(255, 255, 255, .43);
|
||||
}
|
||||
|
||||
text {
|
||||
font-size: 24rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.icon_phone {
|
||||
width: 21.8rpx;
|
||||
height: 20rpx;
|
||||
margin-right: 9rpx;
|
||||
}
|
||||
|
||||
.icon_email {
|
||||
width: 22rpx;
|
||||
height: 19.7rpx;
|
||||
margin-right: 9rpx;
|
||||
margin-left: 42rpx;
|
||||
}
|
||||
|
||||
.introduce {
|
||||
padding-right: 60rpx;
|
||||
font-size: 24rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #FFFFFF;
|
||||
opacity: 0.43;
|
||||
margin-top: 20rpx;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.card-box-bg {
|
||||
width: 689rpx;
|
||||
height: 362rpx;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
z-index: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// .zhanwei{
|
||||
// background: red;
|
||||
// height: 200rpx;
|
||||
// width: 100%;
|
||||
// position: relative;
|
||||
// top: -20px;
|
||||
// }
|
||||
.card-info-box {
|
||||
margin: 15rpx;
|
||||
border-radius: 24rpx;
|
||||
background: #fff;
|
||||
padding: 40rpx;
|
||||
box-sizing: border-box;
|
||||
margin-top: 20rpx;
|
||||
|
||||
.title {
|
||||
font-size: 30rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: bold;
|
||||
color: #3E3E3E;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
.btn_edit {
|
||||
font-size: 30rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #6571D9;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.icon_edit {
|
||||
width: 28rpx;
|
||||
height: 28rpx;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
.item {
|
||||
font-size: 26rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #9F9F9F;
|
||||
margin-top: 40rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.btnItem {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
text {
|
||||
display: inline-block;
|
||||
width: 140rpx;
|
||||
font-size: 26rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #3E3E3E;
|
||||
}
|
||||
}
|
||||
|
||||
.otherLayout {
|
||||
background: #fff;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
|
||||
.welcome {
|
||||
margin: 70rpx;
|
||||
position: relative;
|
||||
font-size: 30rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #AEAEAE;
|
||||
|
||||
.icon_quote {
|
||||
width: 25rpx;
|
||||
height: 24rpx;
|
||||
position: absolute;
|
||||
top: -40rpx;
|
||||
left: -36rpx;
|
||||
}
|
||||
|
||||
.quote_end {
|
||||
transform: rotate(180deg);
|
||||
position: absolute;
|
||||
top: inherit;
|
||||
left: inherit;
|
||||
bottom: -49rpx;
|
||||
right: -34rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.icon_logo {
|
||||
width: 176rpx;
|
||||
height: 73rpx;
|
||||
margin-top: 207rpx;
|
||||
}
|
||||
|
||||
.icon_slogan {
|
||||
width: 428rpx;
|
||||
height: 41rpx;
|
||||
margin-top: 21rpx;
|
||||
}
|
||||
|
||||
.description {
|
||||
margin: 36rpx 50rpx;
|
||||
font-size: 24rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #CACACA;
|
||||
line-height: 38rpx;
|
||||
|
||||
text {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.icon_q {
|
||||
width: 19rpx;
|
||||
height: 19rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.btns {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
position: fixed;
|
||||
bottom: 42rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.canvas {
|
||||
position: fixed;
|
||||
opacity: 0;
|
||||
left: 200%;
|
||||
top: 200%;
|
||||
z-index: -10;
|
||||
}
|
||||
|
||||
.shareBtn {
|
||||
// width="442rpx" height="88rpx" fontSize="30rpx" style="margin-left: 30rpx;
|
||||
width: 442rpx;
|
||||
height: 88rpx;
|
||||
font-size: 30rpx;
|
||||
margin-left: 30rpx !important;
|
||||
background: #6571D9;
|
||||
font-size: 30rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #FFFFFF;
|
||||
border-radius: 44rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.explain-box {
|
||||
background: rgba(0, 0, 0, .5);
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 99;
|
||||
|
||||
.explain {
|
||||
background: #fff;
|
||||
border-radius: 24rpx;
|
||||
// padding: 24rpx 58rpx 41rpx 58rpx;
|
||||
margin: 60rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
padding-bottom: 42rpx;
|
||||
|
||||
.title {
|
||||
font-size: 32rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: bold;
|
||||
color: #3E3E3E;
|
||||
margin-bottom: 26rpx;
|
||||
margin-top: 42rpx;
|
||||
}
|
||||
|
||||
.content {
|
||||
font-size: 28rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #9F9F9F;
|
||||
margin-bottom: 33rpx;
|
||||
padding: 0 58rpx;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,326 @@
|
|||
// pages/card/card.ts
|
||||
// import { card } from '../../utils/painter'
|
||||
import { info } from "../../apis/phone";
|
||||
import { businessCard } from "../../apis/card";
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
cardPainter: {},
|
||||
isEdit: false,
|
||||
companyName: "",
|
||||
consumerId: "",
|
||||
email: "",
|
||||
introduction: "",
|
||||
name: "",
|
||||
office: "",
|
||||
phone: "",
|
||||
businessCard: null,
|
||||
labelOptions: [],
|
||||
dialogExplain: false,
|
||||
type: 0,
|
||||
info: {},
|
||||
dialogDetail: false,
|
||||
detailInfo: '',
|
||||
detailTitle: ''
|
||||
},
|
||||
// saveImage() {
|
||||
// let screenWidth = wx.getSystemInfoSync().screenWidth;
|
||||
// let screenHeight = wx.getSystemInfoSync().screenHeight;
|
||||
// let canvasContext = wx.createCanvasContext('myCanvas');
|
||||
// wx.createSelectorQuery().select('#saveArea').boundingClientRect(function (rect) {
|
||||
// let top = rect.top;
|
||||
// let left = rect.left;
|
||||
// let width = rect.width;
|
||||
// let height = rect.height;
|
||||
// console.log(top, left, width, height);
|
||||
|
||||
// canvasContext.drawImage('../../assets/images/card/card_bg.png', 0, 100, screenWidth, screenHeight);
|
||||
|
||||
// // 将第二个绘制操作放在canvasContext.draw()方法中
|
||||
// canvasContext.draw(false, () => {
|
||||
// // 在回调函数中调用wx.canvasToTempFilePath()方法进行保存图片
|
||||
// wx.canvasToTempFilePath({
|
||||
// canvasId: 'myCanvas',
|
||||
// x: left,
|
||||
// y: top,
|
||||
// width: width,
|
||||
// height: height,
|
||||
// destWidth: screenWidth * 2,
|
||||
// destHeight: screenHeight * 2,
|
||||
// success: function (res) {
|
||||
// wx.saveImageToPhotosAlbum({
|
||||
// filePath: res.tempFilePath,
|
||||
// success: function () {
|
||||
// wx.showToast({
|
||||
// title: '保存成功'
|
||||
// });
|
||||
// },
|
||||
// fail: function () {
|
||||
// wx.showToast({
|
||||
// title: '保存失败'
|
||||
// });
|
||||
// }
|
||||
// });
|
||||
// }
|
||||
// });
|
||||
// });
|
||||
// }).exec();
|
||||
// },
|
||||
handleEdit() {
|
||||
console.log('handleEdit');
|
||||
const { isEdit } = this.data
|
||||
this.setData({
|
||||
isEdit: !isEdit
|
||||
})
|
||||
// if (isEdit) {
|
||||
|
||||
// const { companyName, email, introduction, office, phone } = this.data
|
||||
// const payload = {
|
||||
// companyName, email, introduction, office, phone
|
||||
// }
|
||||
// businessCard(payload).then(res => {
|
||||
// console.log(res);
|
||||
// this.getInfo(phone)
|
||||
// })
|
||||
// }
|
||||
// },
|
||||
},
|
||||
handleCancelEdit() {
|
||||
console.log('handleCancelEdit');
|
||||
|
||||
this.setData({
|
||||
isEdit: false
|
||||
})
|
||||
},
|
||||
handleSearch(){
|
||||
wx.navigateTo({
|
||||
url:`/pages/searchResult/searchResult?phone=${this.data.phone}`
|
||||
})
|
||||
},
|
||||
|
||||
handleSave() {
|
||||
const { companyName, email, introduction, office, phone } = this.data
|
||||
const payload = {
|
||||
companyName, email, introduction, office, phone
|
||||
}
|
||||
businessCard(payload).then((res: any) => {
|
||||
console.log(res);
|
||||
if (res.c === 200) {
|
||||
wx.showToast({
|
||||
icon: 'none',
|
||||
title: '保存成功'
|
||||
})
|
||||
this.getInfo(phone)
|
||||
this.setData({
|
||||
isEdit: false
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
handleSaveContract() {
|
||||
const info = this.data.info.businessCard
|
||||
wx.addPhoneContact({
|
||||
firstName: info.name,
|
||||
email: info.email,
|
||||
organization: info.companyName,
|
||||
title: info.office,
|
||||
mobilePhoneNumber:this.data.phone
|
||||
})
|
||||
|
||||
},
|
||||
handleDetail() {
|
||||
const { phone } = this.data
|
||||
wx.navigateTo({
|
||||
url: `/pages/searchResult/searchResult?phone=${phone}`
|
||||
})
|
||||
},
|
||||
closeDetail() {
|
||||
this.setData({
|
||||
dialogDetail: false
|
||||
})
|
||||
},
|
||||
showExplain() {
|
||||
this.setData({
|
||||
dialogExplain: true
|
||||
})
|
||||
},
|
||||
closeExplain() {
|
||||
this.setData({
|
||||
dialogExplain: false
|
||||
})
|
||||
},
|
||||
// onImgOK(e: WechatMiniprogram.CustomEvent) {
|
||||
// const { path } = e.detail
|
||||
// this.setData({
|
||||
// shareImg: path
|
||||
// })
|
||||
// // wx.showShareImageMenu({ //分享给朋友
|
||||
// // path,
|
||||
// // success: (res) => {
|
||||
// // console.log("分享成功:", res);
|
||||
// // },
|
||||
// // fail: (err) => {
|
||||
// // console.log("分享失败:", err);
|
||||
// // wx.showToast({
|
||||
// // title: "分享失败",
|
||||
// // duration: 2000
|
||||
// // })
|
||||
// // },
|
||||
// // })
|
||||
// },
|
||||
handleDialogDetail(e: WechatMiniprogram.BaseEvent) {
|
||||
console.log(e);
|
||||
const { title, info } = e.currentTarget.dataset
|
||||
if (info) {
|
||||
this.setData({
|
||||
dialogDetail: true,
|
||||
detailInfo: info,
|
||||
detailTitle: title
|
||||
})
|
||||
}
|
||||
},
|
||||
getInfo(phone: string) {
|
||||
const { type } = this.data
|
||||
info({ phone, type, businessCard: true }).then((res: any) => {
|
||||
let { labelVoList } = res.d
|
||||
if (res.d.businessCard) {
|
||||
const { companyName, email, introduction, office } = res.d.businessCard
|
||||
if(labelVoList){
|
||||
labelVoList = labelVoList.slice(0, 1)
|
||||
}
|
||||
|
||||
this.setData({
|
||||
businessCard: res.d.businessCard,
|
||||
companyName,
|
||||
email,
|
||||
introduction,
|
||||
office,
|
||||
labelOptions: labelVoList,
|
||||
info: res.d
|
||||
})
|
||||
} else {
|
||||
this.setData({
|
||||
info: res.d,
|
||||
labelOptions: labelVoList,
|
||||
})
|
||||
}
|
||||
// this.setData({
|
||||
// businessCard: res.d.businessCard,
|
||||
// companyName,
|
||||
// email,
|
||||
// introduction,
|
||||
// office,
|
||||
// labelOptions: res.d.labelVoList.slice(0, 2),
|
||||
// info: res.d
|
||||
// })
|
||||
})
|
||||
// this.downLoadCard()
|
||||
|
||||
},
|
||||
phoneCall() {
|
||||
wx.makePhoneCall({
|
||||
phoneNumber: this.data.phone,
|
||||
})
|
||||
},
|
||||
// async downLoadCard() {
|
||||
// console.log('downLoadCard');
|
||||
// const cardPainter = await card()
|
||||
// this.setData({
|
||||
// cardPainter
|
||||
// })
|
||||
// },
|
||||
handleCopy(e) {
|
||||
const { email } = e.currentTarget.dataset
|
||||
wx.setClipboardData({
|
||||
data: email,
|
||||
success(res) {
|
||||
wx.showToast({
|
||||
title: '复制成功',
|
||||
icon: 'none'
|
||||
})
|
||||
// wx.getClipboardData({
|
||||
// success(res) {
|
||||
// console.log(res.data) // data
|
||||
// }
|
||||
// })
|
||||
}
|
||||
})
|
||||
},
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
console.log(options);
|
||||
const { type, phone } = options
|
||||
this.setData({
|
||||
type: Number(type),
|
||||
phone
|
||||
})
|
||||
this.getInfo(phone)
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
const promise = new Promise(resolve => {
|
||||
setTimeout(() => {
|
||||
resolve({
|
||||
title: '您好,这是我的口碑名片,请收下',
|
||||
imageUrl: this.data.shareImg,
|
||||
path: `/pages/card/card?phone=${this.data.phone}&type=1`,
|
||||
})
|
||||
})
|
||||
})
|
||||
return {
|
||||
title: '您好,这是我的口碑名片,请收下',
|
||||
path: '/pages/card/card',
|
||||
promise
|
||||
}
|
||||
}
|
||||
})
|
|
@ -0,0 +1,103 @@
|
|||
<wxs src="../../utils/tools.wxs" module="tools" />
|
||||
<view class="card" style="background: {{type==0?'#f9f9f9':'#fff'}};">
|
||||
<view id="saveArea">
|
||||
<view class="card-box">
|
||||
<view class="top">
|
||||
<view class="nameAndScore">
|
||||
<view class="name">{{info.businessCard.name}}</view>
|
||||
<view class="score"><text>口碑指数</text>{{tools.toFix(info.totalAverage)}}</view>
|
||||
</view>
|
||||
<view class="positionAndTags">
|
||||
<view style="padding-top: 10rpx;">
|
||||
<view class="position" bindtap="handleDialogDetail" data-title="职位" data-info="{{info.businessCard.office}}">{{info.businessCard.office||'暂无职位信息'}}</view>
|
||||
<view class="company" bindtap="handleDialogDetail" data-title="公司名称" data-info="{{info.businessCard.companyName}}">{{info.businessCard.companyName||'暂无公司信息'}}</view>
|
||||
</view>
|
||||
|
||||
<view class="tagsAndStar">
|
||||
<!-- <view class="tagItem" wx:for="{{labelOptions}}" wx:key="index" data-item="{{item}}" wx:if="{{index<2}}">
|
||||
{{item.content}}
|
||||
<view class="numTag">x{{item.contentCount}}</view>
|
||||
</view> -->
|
||||
<star score="{{info.totalAverage}}" starType="cStars_half" size="34rpx" />
|
||||
<view class="tags">
|
||||
<view class="tagItem" wx:if="{{labelOptions}}">
|
||||
{{labelOptions[0].content}}
|
||||
<view class="numTag">x{{labelOptions[0].contentCount}}</view>
|
||||
</view>
|
||||
<view class="moreTag" bindtap="handleSearch">...</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="bottom">
|
||||
<image class="icon_phone" src="/assets/images/card/icon_phone.png"></image><text bindtap="phoneCall">{{phone}}</text>
|
||||
<image class="icon_email" src="/assets/images/card/icon_email.png"></image>
|
||||
<text>{{info.businessCard.email||'暂未添加邮箱'}}</text>
|
||||
<text class="btn_copy" bindtap="handleCopy" data-email="{{info.businessCard.email}}">复制</text>
|
||||
<view class="introduce">
|
||||
{{info.businessCard.introduction||'暂未添加自我介绍'}}
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="card-info-box" wx:if="{{type==0}}">
|
||||
<view class="title">名片信息<view class="btn_edit" bindtap="handleEdit" wx:if="{{!isEdit}}">
|
||||
<image class="icon_edit" src="/assets/images/card/icon_edit.png" />编辑
|
||||
</view>
|
||||
</view>
|
||||
<view class="item"><text>公司:</text><input disabled="{{!isEdit}}" model:value="{{companyName}}" placeholder="您所在的公司" /></view>
|
||||
<view class="item"><text>职位:</text><input disabled="{{!isEdit}}" model:value="{{office}}" placeholder="您的职位信息" /></view>
|
||||
<view class="item"><text>邮箱:</text><input disabled="{{!isEdit}}" model:value="{{email}}" placeholder="您的邮箱" /></view>
|
||||
<view class="item"><text>自我介绍:</text><input disabled="{{!isEdit}}" model:value="{{introduction}}" maxlength="20" placeholder="20字以内" /></view>
|
||||
<view class="item btnItem" wx:if="{{isEdit}}">
|
||||
<btn plain width="150rpx" height="60rpx" bindtap="handleCancelEdit">退出编辑</btn>
|
||||
<btn width="150rpx" height="60rpx" style="margin-left: 28rpx;" bindtap="handleSave">保存</btn>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
<view class="otherLayout" wx:if="{{type!=0}}">
|
||||
<!-- <view class="welcome">
|
||||
<image class="icon_quote" src="/assets/images/card/icon_quote.png"></image>
|
||||
<image class="icon_quote quote_end" src="/assets/images/card/icon_quote.png"></image>
|
||||
HI,很高兴认识你,这是我的与评口碑名片,想了解更多信息就点击下方按钮进入查看吧~
|
||||
</view> -->
|
||||
<btn type="primary" plain width="572rpx" height="90rpx" fontSize="32rpx" bindtap="handleSaveContract" style="margin-top:20rpx;margin-bottom: 20rpx;">保存至通讯录</btn>
|
||||
<btn type="primary" width="572rpx" height="90rpx" fontSize="32rpx" bindtap="handleDetail">查看更多口碑评价</btn>
|
||||
<image class="icon_logo" src="/assets/images/card/icon_logo.png"></image>
|
||||
<image class="icon_slogan" src="/assets/images/card/icon_slogan.png"></image>
|
||||
|
||||
<view class="description">与评™是<text bindtap="showExplain">全国人力资源信息数据验证平台 </text>
|
||||
<image class="icon_q" src="/assets/images/card/icon_q.png"></image> 授权并监管的一款个人综合社交评价工具,根据国家《中华人民共和国网络安全法》《互联网信息服务管理办法》等条例规定,所有基础数据存储、隐私安全保障、用户行为数据溯源均由全国人力资源信息数据验证平台提供相应接口及支撑,国家监管确保与评不向第三方提供原始数据信息。
|
||||
</view>
|
||||
</view>
|
||||
<!-- <canvas class='canvas card' width="253px" height="253px" canvas-id='cardQr'></canvas> -->
|
||||
<!-- <painter class="painter-cmp" palette="{{cardPainter}}" bind:imgOK="onImgOK" /> -->
|
||||
<view class="btns" wx:if="{{type==0}}">
|
||||
<!-- <btn type="primary" plain width="211rpx" height="88rpx" fontSize="30rpx" bindtap="handleEdit">{{isEdit?'保存':'编辑'}}</btn> -->
|
||||
<button class="shareBtn" open-type="share">
|
||||
分享我的名片
|
||||
</button>
|
||||
</view>
|
||||
|
||||
<view class="explain-box" wx:if="{{dialogExplain}}">
|
||||
<view class="explain">
|
||||
<view class="title">全国人力资源信息数据验证平台</view>
|
||||
<view class="content">
|
||||
全国人力资源信息数据验证平台”是由中国防伪行业协会“全国产品防伪溯源验证公共平台”建立的国家数据平台。中国防伪行业协会的业务指导部门为国家市场监督管理总局,党建工作机构为中央和国家机关工作委员会。
|
||||
</view>
|
||||
<btn width="505rpx" height="80rpx" fontSize="28rpx" bindtap="closeExplain">我已了解</btn>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="explain-box" wx:if="{{dialogDetail}}">
|
||||
<view class="explain" style="width: 100%;">
|
||||
<view class="title">{{detailTitle}}</view>
|
||||
<view class="content">
|
||||
{{detailInfo}}
|
||||
</view>
|
||||
<btn fontSize="28rpx" bindtap="closeDetail">关闭</btn>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"usingComponents": {
|
||||
"btn":"/components/btn/btn"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,29 @@
|
|||
/* pages/commentResult/commentResult.wxss */
|
||||
.box {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
margin-top: 156rpx;
|
||||
|
||||
.icon_status {
|
||||
width: 161rpx;
|
||||
height: 208rpx;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 36rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: bold;
|
||||
color: #3E3E3E;
|
||||
margin-bottom: 23rpx;
|
||||
}
|
||||
|
||||
.content {
|
||||
font-size: 28rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #A1A1A1;
|
||||
margin-bottom: 36rpx;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,80 @@
|
|||
// pages/commentResult/commentResult.ts
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
status: 'faild'
|
||||
},
|
||||
goback(){
|
||||
wx.navigateBack({
|
||||
delta: 1
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
this.setData({
|
||||
status: options.status
|
||||
})
|
||||
if (options.status === 'success') {
|
||||
setTimeout(() => {
|
||||
wx.redirectTo({
|
||||
url: `/pages/searchResult/searchResult?phone=${options.phone}`
|
||||
})
|
||||
}, 3000)
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
|
@ -0,0 +1,7 @@
|
|||
<!--pages/commentResult/commentResult.wxml-->
|
||||
<view class="box">
|
||||
<image class="icon_status" src="/assets/images/comment/icon_{{status}}.png"></image>
|
||||
<view class="title">操作{{status==='faild'?'失败':'成功'}}!</view>
|
||||
<view class="content">{{status==='faild'?'您的实名认证信息有误,请重新填写':'即将跳转至上一页'}}</view>
|
||||
<btn width="303rpx" wx:if="{{status==='faild'}}" height="78rpx" fontSize="32rpx" plain bind:tap="goback">返回重新填写</btn>
|
||||
</view>
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"btn": "/components/btn/btn"
|
||||
"btn": "/components/btn/btn",
|
||||
"message-box": "/components/message/message"
|
||||
}
|
||||
}
|
|
@ -2,7 +2,7 @@
|
|||
page {
|
||||
background: #7E8BFF;
|
||||
// height: 100%;
|
||||
background: url("https://chrivc.obs.cn-north-4.myhuaweicloud.com/1cde69cc683a42219c12e8e7e4f6bed0:生意伙伴人品如何@2x.png");
|
||||
background: url("https://chrivc.obs.cn-north-4.myhuaweicloud.com/ee3b42fbe99b4b79bed33816b87a02d2:组 4 拷贝@2x.png");
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
|
@ -21,9 +21,9 @@ page {
|
|||
flex-direction: column;
|
||||
|
||||
.name {
|
||||
width: 135rpx;
|
||||
height: 61rpx;
|
||||
margin-bottom: 17rpx;
|
||||
width: 176rpx;
|
||||
height: 73rpx;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
|
||||
.slogan {
|
||||
|
@ -38,10 +38,20 @@ page {
|
|||
font-size: 24rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #FFFFFF;
|
||||
color: #C4CAFF;
|
||||
line-height: 22px;
|
||||
opacity: 0.58;
|
||||
margin-bottom: 31rpx;
|
||||
text-align: center;
|
||||
|
||||
text {
|
||||
color: #fff;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.icon_q {
|
||||
width: 19rpx;
|
||||
height: 19rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.pic {
|
||||
|
@ -56,6 +66,8 @@ page {
|
|||
// border-radius: 32rpx;
|
||||
// margin-top: 36rpx;
|
||||
// padding: 64rpx 48rpx;
|
||||
margin-top: 96rpx;
|
||||
margin-bottom: 35rpx;
|
||||
|
||||
.top {
|
||||
display: flex;
|
||||
|
@ -89,7 +101,7 @@ page {
|
|||
color: #FFFFFF;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 180rpx;
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -112,12 +124,14 @@ page {
|
|||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 25rpx;
|
||||
justify-content: center;
|
||||
|
||||
.sourceItem {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-right: 25rpx;
|
||||
|
||||
|
||||
.icon_seemore {
|
||||
width: 26.8rpx;
|
||||
height: 26rpx;
|
||||
|
@ -135,7 +149,38 @@ page {
|
|||
height: 25.6rpx;
|
||||
margin-right: 7rpx;
|
||||
}
|
||||
|
||||
text {
|
||||
color: #C4CAFF;
|
||||
}
|
||||
}
|
||||
|
||||
.sourceLogos {
|
||||
margin-right: 10px;
|
||||
|
||||
.icon_gh {
|
||||
width: 34.6rpx;
|
||||
height: 33.4rpx;
|
||||
margin-right: 9rpx;
|
||||
}
|
||||
|
||||
.icon_fw {
|
||||
width: 34.9rpx;
|
||||
height: 33.4rpx;
|
||||
// margin-right: 7rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.sourceNames {
|
||||
.name {
|
||||
font-size: 20rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #C4CAFF;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
@ -176,3 +221,46 @@ page {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.explain-box {
|
||||
background: rgba(0, 0, 0, .5);
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 99;
|
||||
|
||||
.explain {
|
||||
background: #fff;
|
||||
border-radius: 24rpx;
|
||||
// padding: 24rpx 58rpx 41rpx 58rpx;
|
||||
margin: 60rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
padding-bottom: 42rpx;
|
||||
|
||||
.title {
|
||||
font-size: 32rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: bold;
|
||||
color: #3E3E3E;
|
||||
margin-bottom: 26rpx;
|
||||
margin-top: 42rpx;
|
||||
}
|
||||
|
||||
.content {
|
||||
font-size: 28rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #9F9F9F;
|
||||
margin-bottom: 33rpx;
|
||||
padding: 0 58rpx;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -16,6 +16,7 @@ Page({
|
|||
canIUseGetUserProfile: false,
|
||||
canIUseOpenData: wx.canIUse('open-data.type.userAvatarUrl') && wx.canIUse('open-data.type.userNickName'), // 如需尝试获取用户信息可改为false
|
||||
// isBind: false
|
||||
dialogExplain: false
|
||||
},
|
||||
// 事件处理函数
|
||||
handleResult() {
|
||||
|
@ -114,6 +115,17 @@ Page({
|
|||
}
|
||||
})
|
||||
},
|
||||
showExplain() {
|
||||
this.setData({
|
||||
dialogExplain: true
|
||||
})
|
||||
},
|
||||
closeExplain() {
|
||||
this.setData({
|
||||
dialogExplain: false
|
||||
})
|
||||
},
|
||||
|
||||
onLoad() {
|
||||
// @ts-ignore
|
||||
if (wx.getUserProfile) {
|
||||
|
|
|
@ -4,18 +4,7 @@
|
|||
<image class="name" src="/assets/images/index/name.png"></image>
|
||||
<image class="slogan" src="/assets/images/index/slogan.png"></image>
|
||||
</view>
|
||||
<view class="source">
|
||||
<view class="sourceItem">
|
||||
<image class="icon_seemore" src="/assets/images/index/icon_seemore.png"></image>
|
||||
<text>四川私慕科技有限公司</text>
|
||||
</view>
|
||||
<view class="sourceItem">
|
||||
<image class="icon_gh" src="/assets/images/index/icon_gh.png"></image>
|
||||
<image class="icon_fw" src="/assets/images/index/icon_fw.png"></image>
|
||||
<text>全国人力资源信息数据验证平台</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="description">众评是四川私慕科技有限公司与全国人力资源信息数据验证平台共同推出的一款个人综合社交评价工具,所有关键数据存储、隐私安全保障、用户行为数据溯源均由全国人力资源信息数据验证平台提供相应接口及支撑。</view>
|
||||
|
||||
<view class="search_box">
|
||||
<!-- <view class="top"> -->
|
||||
<!-- <view>手机号:</view> -->
|
||||
|
@ -31,16 +20,50 @@
|
|||
</btn>
|
||||
</view>
|
||||
<!-- <view>
|
||||
<input type="number" maxlength="11" placeholder="输入一个手机号码,查看此号码的众评数据" model:value="{{phone}}" />
|
||||
<input type="number" maxlength="11" placeholder="输入一个手机号码,查看此号码的与评数据" model:value="{{phone}}" />
|
||||
</view> -->
|
||||
<view class="btns">
|
||||
<btn type="primary45" width="100%" height="90rpx" fontSize="32rpx" style="margin-bottom: 27rpx;" bindtap="handleResult">查看众评数据</btn>
|
||||
<btn type="primary45" width="100%" height="90rpx" fontSize="32rpx" style="margin-bottom: 27rpx;" bindtap="handleResult">查看与评数据</btn>
|
||||
<btn type="default45" width="100%" fontSize="32rpx" height="90rpx" bindtap="checkMy">查看我的号码</btn>
|
||||
</view>
|
||||
</view>
|
||||
<view class="source">
|
||||
<!-- <view class="sourceItem">
|
||||
<image class="icon_fw" src="/assets/images/index/icon_fw.png"></image>
|
||||
<text>中国防伪行业协会</text>
|
||||
</view>
|
||||
<text style="margin-right: 20rpx;">|</text>
|
||||
<view class="sourceItem">
|
||||
<image class="icon_gh" src="/assets/images/index/icon_gh.png"></image>
|
||||
|
||||
<text>全国人力资源信息数据验证平台</text>
|
||||
</view> -->
|
||||
<view class="sourceLogos">
|
||||
<image class="icon_gh" src="/assets/images/index/icon_gh.png"></image>
|
||||
<image class="icon_fw" src="/assets/images/index/icon_fw.png"></image>
|
||||
</view>
|
||||
<view class="sourceNames">
|
||||
<view class="name" style="letter-spacing: 3.1px;">中 国 防 伪 行 业 协 会</view>
|
||||
<view class="name">全国人力资源信息数据验证平台</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="description">与评是四川私慕科技有限公司与全国人力资源信息数据验证平台共同推出的一款个人综合社交评价工具,所有关键数据存储、隐私安全保障、用户行为数据溯源均由全国人力资源信息数据验证平台提供相应接口及支撑。</view> -->
|
||||
<view class="description">与评™是<text bindtap="showExplain">全国人力资源信息数据验证平台 </text>
|
||||
<image class="icon_q" src="/assets/images/index/icon_q.png"></image> 授权并监管的一款个人综合社交评价工具,根据国家《中华人民共和国网络安全法》《互联网信息服务管理办法》等条例规定,所有基础数据存储、隐私安全保障、用户行为数据溯源均由全国人力资源信息数据验证平台提供相应接口及支撑,国家监管确保与评不向第三方提供原始数据信息。
|
||||
</view>
|
||||
<view class="footer">
|
||||
<view bindtap="goPrivacy">《隐私政策》| </view>
|
||||
<view bindtap="goService">《用户协议》| </view>
|
||||
<view bindtap="goQA"> Q&A</view>
|
||||
</view>
|
||||
<view class="explain-box" wx:if="{{dialogExplain}}">
|
||||
<view class="explain">
|
||||
<view class="title">全国人力资源信息数据验证平台</view>
|
||||
<view class="content">
|
||||
全国人力资源信息数据验证平台”是由中国防伪行业协会“全国产品防伪溯源验证公共平台”建立的国家数据平台。中国防伪行业协会的业务指导部门为国家市场监督管理总局,党建工作机构为中央和国家机关工作委员会。
|
||||
</view>
|
||||
<btn width="505rpx" height="80rpx" fontSize="28rpx" bindtap="closeExplain">我已了解</btn>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <message-box id="shadow2" iconShow="{{false}}" title="全国人力资源信息数据验证平台" message="全国人力资源信息数据验证平台”是由中国防伪行业协会“全国产品防伪溯源验证公共平台”建立的国家数据平台。中国防伪行业协会的业务指导部门为国家市场监督管理总局,党建工作机构为中央和国家机关工作委员会。" confirmText="我已了解" bind:confirm="closeExplain" /> -->
|
||||
</view>
|
|
@ -71,3 +71,31 @@
|
|||
justify-content: center;
|
||||
margin-top: 46rpx;
|
||||
}
|
||||
|
||||
.privacy {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 22rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #8D8D8D;
|
||||
margin-top: 25rpx;
|
||||
|
||||
.checkbox {
|
||||
width: 28rpx;
|
||||
height: 28rpx;
|
||||
background: #FFFFFF;
|
||||
border: 2rpx solid #D4D4D4;
|
||||
border-radius: 8rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-right: 10rpx;
|
||||
|
||||
image {
|
||||
width: 17rpx;
|
||||
height: 13rpx;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -19,6 +19,7 @@ Page({
|
|||
sending: false,
|
||||
sendNum: 60,
|
||||
sendTimer: 0,
|
||||
isChecked: false
|
||||
},
|
||||
|
||||
/**
|
||||
|
@ -36,7 +37,13 @@ Page({
|
|||
|
||||
send() {
|
||||
console.log('send');
|
||||
|
||||
if (!this.data.isChecked) {
|
||||
wx.showToast({
|
||||
icon: 'none',
|
||||
title: '请先阅读并勾选隐私政策和用户协议'
|
||||
})
|
||||
return
|
||||
}
|
||||
if (this.data.sending) return
|
||||
// const rsa = new RSA()
|
||||
// rsa.setPublicKey(this.data.publicKey)
|
||||
|
@ -85,6 +92,27 @@ Page({
|
|||
|
||||
defaultLogin() {
|
||||
const { phone, code } = this.data
|
||||
if (!phone) {
|
||||
wx.showToast({
|
||||
icon: 'none',
|
||||
title: '手机号不能为空'
|
||||
})
|
||||
return
|
||||
}
|
||||
if (!code) {
|
||||
wx.showToast({
|
||||
icon: 'none',
|
||||
title: '验证码不能为空'
|
||||
})
|
||||
return
|
||||
}
|
||||
if (!this.data.isChecked) {
|
||||
wx.showToast({
|
||||
icon: 'none',
|
||||
title: '请先阅读并勾选隐私政策和用户协议'
|
||||
})
|
||||
return
|
||||
}
|
||||
bindPhone({ phone, code }).then(res => {
|
||||
if (res.c === 200) {
|
||||
bindPhoneList().then(resp => {
|
||||
|
@ -96,11 +124,18 @@ Page({
|
|||
// wx.redirectTo({
|
||||
// url: `/pages/my/my?phone=${phone}`
|
||||
// })
|
||||
let from = wx.getStorageSync('from')
|
||||
if (from.page === 'comment') {
|
||||
wx.removeStorageSync('from')
|
||||
wx.redirectTo({
|
||||
url: `/pages/searchResult/searchResult?phone=${from.phone}`
|
||||
})
|
||||
} else {
|
||||
wx.redirectTo({
|
||||
url: `/pages/my/my`
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -122,6 +157,23 @@ Page({
|
|||
url: "/pages/agreement/agreement"
|
||||
})
|
||||
},
|
||||
handleChecked() {
|
||||
console.log('handleChecked');
|
||||
|
||||
this.setData({
|
||||
isChecked: !this.data.isChecked
|
||||
})
|
||||
},
|
||||
goPrivacy() {
|
||||
wx.navigateTo({
|
||||
url: '/pages/privacy/privacy'
|
||||
})
|
||||
},
|
||||
goService() {
|
||||
wx.navigateTo({
|
||||
url: '/pages/service/service'
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
|
||||
</view>
|
||||
<view class="btn_login">
|
||||
<btn width="518rpx" height="88rpx" fontSize="34rpx" bindtap="defaultLogin">立即绑定</btn>
|
||||
<btn width="518rpx" height="88rpx" fontSize="34rpx" bindtap="defaultLogin">立即登录</btn>
|
||||
</view>
|
||||
<view class="privacy"><view class="checkbox" bindtap="handleChecked"><image wx:if="{{isChecked}}" src="/assets/images/comment/icon_checked.png"></image></view>我已同意<text bindtap="goPrivacy">《隐私政策》</text>和<text bindtap="goService">《用户协议》</text></view>
|
||||
</view>
|
||||
|
|
|
@ -101,6 +101,23 @@ page {
|
|||
// background: #F9F9F9;
|
||||
// height: 7rpx;
|
||||
// }
|
||||
.btn_clear {
|
||||
text-decoration: underline;
|
||||
font-size: 24rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #ACACAC;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-top: 30rpx;
|
||||
|
||||
.icon_clear {
|
||||
width: 27rpx;
|
||||
height: 27rpx;
|
||||
margin-right: 6rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.scoreLayout {
|
||||
font-size: 53rpx;
|
||||
|
|
|
@ -23,7 +23,8 @@ Page({
|
|||
dialogClear: false,
|
||||
dialogGoPay: false,
|
||||
form_phone: '',
|
||||
form_name: ''
|
||||
form_name: '',
|
||||
dialogCard: false
|
||||
},
|
||||
handleTagRecord() {
|
||||
const { checkCondition } = this.data
|
||||
|
@ -361,6 +362,26 @@ Page({
|
|||
dialogGoPay: false
|
||||
})
|
||||
},
|
||||
handleSearchOther(){
|
||||
wx.navigateTo({
|
||||
url:'/pages/index/index'
|
||||
})
|
||||
},
|
||||
handleCard() {
|
||||
const { realName, phone } = this.data.userInfo
|
||||
if (realName) {
|
||||
wx.navigateTo({
|
||||
url: `/pages/card/card?phone=${phone}&type=0`,
|
||||
})
|
||||
} else {
|
||||
// this.dialogCard = true
|
||||
this.setData({
|
||||
dialogCard: true,
|
||||
visible: true
|
||||
})
|
||||
}
|
||||
|
||||
},
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
|
@ -474,13 +495,13 @@ Page({
|
|||
const promise = new Promise(resolve => {
|
||||
setTimeout(() => {
|
||||
resolve({
|
||||
title: '邀请您到【众评】上对我做出印象评价',
|
||||
title: '邀请您到【与评™】上对我做出印象评价',
|
||||
path: `/pages/searchResult/searchResult?phone=${this.data.userInfo.phone}`,
|
||||
})
|
||||
})
|
||||
})
|
||||
return {
|
||||
title: '邀请您到【众评】上对我做出印象评价',
|
||||
title: '邀请您到【与评™】上对我做出印象评价',
|
||||
path: '/pages/login/login',
|
||||
promise
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<view class="dialog_title">实名认证</view>
|
||||
<view class="dialog_content">
|
||||
<view class="dialogToLogin">
|
||||
<text>手机号码已完成全国人力资源信息数据验证平台实名认证的用户,将通过“实名认证”标签展示,用户可前往“全国人力资源信息数据验证平台”小程序完成本人实名认证。</text>
|
||||
<text>{{dialogCard?'创建口碑名片需先通过“全国人力资源信息数据验证平台”实名认证。':'手机号码已完成全国人力资源信息数据验证平台实名认证的用户,将通过“实名认证”标签展示,用户可前往“全国人力资源信息数据验证平台”小程序完成本人实名认证。'}}</text>
|
||||
<btn fontSize="24rpx" width="374rpx" height="64rpx" bindtap="goChrivc">前往认证</btn>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -84,9 +84,13 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="btn_clear" bindtap="handleClear">
|
||||
<image class="icon_clear" src="/assets/images/my/icon_clear.png"></image>清空评价数据
|
||||
</view>
|
||||
<view class="btns_fixed_bottom" style="display: flex;justify-content: space-between;">
|
||||
<btn fontSize="30rpx" width="330rpx" height="88rpx" plain bindtap="handleClear">清空所有评价数据</btn>
|
||||
<btn fontSize="30rpx" width="330rpx" height="88rpx" bindtap="handleShare" style="margin-left: 28rpx;" bindtap="showDialogShare">邀请好友评价</btn>
|
||||
<btn fontSize="28rpx" width="220rpx" height="88rpx" plain bindtap="handleSearchOther" type="default1" fontColor="#7A7A7A">查他人号码</btn>
|
||||
<btn fontSize="28rpx" width="220rpx" height="88rpx" plain bindtap="handleCard" style="margin-left: 14rpx;">口碑名片</btn>
|
||||
<btn fontSize="28rpx" width="220rpx" height="88rpx" bindtap="handleShare" style="margin-left: 14rpx;" bindtap="showDialogShare">邀请好友评价</btn>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -206,7 +210,7 @@
|
|||
<view class="shareBox">
|
||||
<image class="avatar" src="/assets/images/searchResult/a-ziyuan106@2x.png"></image>
|
||||
<view class="phone">{{userInfo.phone}}</view>
|
||||
<view class="contentText">“邀请您到【众评】上对我做出印象评价,国家平台隐私保护,完全匿名”</view>
|
||||
<view class="contentText">“邀请您到【与评™】上对我做出印象评价,国家平台隐私保护,完全匿名”</view>
|
||||
<star score="0" starType="cStars" size="40rpx" />
|
||||
<image class="sharePic" src="https://chrivc.obs.cn-north-4.myhuaweicloud.com/4b02ae3ccca446df82aa7ba1d7fa591e:sharePic.png"></image>
|
||||
</view>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"navigationBarTitleText": "众评小程序隐私政策",
|
||||
"navigationBarTitleText": "与评™小程序隐私政策",
|
||||
"usingComponents": {}
|
||||
}
|
|
@ -29,7 +29,7 @@
|
|||
<view class="flex space-between">
|
||||
<view class="btn_certification" bindtap="goReport">查看证书>
|
||||
</view>
|
||||
<btn wx:if="{{!item.checked}}" fontSize="24rpx" width="266rpx" height="56rpx" bindtap="handleEtc" data-id="{{item.electronicCertificateId}}">添加至众评个人主页</btn>
|
||||
<btn wx:if="{{!item.checked}}" fontSize="24rpx" width="266rpx" height="56rpx" bindtap="handleEtc" data-id="{{item.electronicCertificateId}}">添加至与评™个人主页</btn>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="reportItem">
|
||||
|
@ -41,7 +41,7 @@
|
|||
<view class="flex space-between">
|
||||
<view class="btn_certification">查看证书>
|
||||
</view>
|
||||
<btn fontSize="24rpx" width="266rpx" height="56rpx">添加至众评个人主页</btn>
|
||||
<btn fontSize="24rpx" width="266rpx" height="56rpx">添加至与评™个人主页</btn>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
|
|
|
@ -311,8 +311,10 @@ Page({
|
|||
},
|
||||
submitComment() {
|
||||
console.log('submitComment');
|
||||
const { phone, form, tagList, userInfo } = this.data
|
||||
let { phone, form, tagList, userInfo } = this.data
|
||||
let evaluateLabelIds = tagList.map(m => m.id).toString();
|
||||
let evaluateLabelLevels = tagList.map(m => m.evaluateLevel);
|
||||
|
||||
if (form.score === 0) {
|
||||
wx.showToast({
|
||||
icon: 'none',
|
||||
|
@ -320,13 +322,46 @@ Page({
|
|||
})
|
||||
return
|
||||
}
|
||||
form.evaluateLabelIds = evaluateLabelIds
|
||||
form.phone = phone
|
||||
wx.removeStorageSync('from')
|
||||
if (form.score < 3) {
|
||||
|
||||
if (!userInfo.phone) {
|
||||
wx.navigateTo({
|
||||
url: '/pages/login/login'
|
||||
})
|
||||
wx.setStorageSync('from', { page: 'comment', phone })
|
||||
return
|
||||
}
|
||||
wx.setStorageSync('commentParams', form)
|
||||
wx.navigateTo({
|
||||
url: `/pages/validComment/validComment?phone=${phone}&sponsorPhone=${userInfo.phone}`
|
||||
})
|
||||
|
||||
} else if (evaluateLabelLevels.indexOf(2) > -1) {
|
||||
if (!userInfo.phone) {
|
||||
wx.navigateTo({
|
||||
url: '/pages/login/login'
|
||||
})
|
||||
return
|
||||
}
|
||||
wx.setStorageSync('commentParams', form)
|
||||
// wx.navigateTo({
|
||||
// url: '/pages/validComment/validComment'
|
||||
// })
|
||||
wx.navigateTo({
|
||||
url: `/pages/validComment/validComment?phone=${phone}&sponsorPhone=${userInfo.phone}`
|
||||
})
|
||||
|
||||
} else {
|
||||
let paylod = {
|
||||
evaluateLabelIds,
|
||||
phone,
|
||||
score: form.score,
|
||||
sponsorPhone: userInfo.phone || undefined
|
||||
}
|
||||
// console.log(paylod);
|
||||
console.log(paylod);
|
||||
|
||||
evaluateLaunch(paylod).then(res => {
|
||||
console.log(res);
|
||||
|
@ -339,6 +374,7 @@ Page({
|
|||
})
|
||||
this.getInfo()
|
||||
})
|
||||
}
|
||||
},
|
||||
getTagListOrigin() {
|
||||
console.log('tagListOrigi1n');
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<view class="searchResult-page {{popup?'page-overflow-hidden':''}}">
|
||||
<guide title="查号码" realName="{{accountList.length>0}}"></guide>
|
||||
<userInfo phone="{{phone}}" realName="{{consumer.realName}}" />
|
||||
<view class="zhanwei"></view>
|
||||
<!-- <view class="zhanwei"></view> -->
|
||||
|
||||
<view class="overflowBox">
|
||||
<view wx:if="{{!consumer.evaluatedScore}}" class="noRatingValue">分数已隐藏</view>
|
||||
|
@ -108,7 +108,7 @@
|
|||
<view class="dialog" style="max-height: 90%;">
|
||||
<btnClose bindtap="dialogCommentClose" />
|
||||
<view class="dialog_title">评价对方</view>
|
||||
<view class="dialog_subTitle" wx:if="{{!consumer.evaluatedScore}}">评价对方后,即可查看对方众评数据</view>
|
||||
<view class="dialog_subTitle" wx:if="{{!consumer.evaluatedScore}}">评价对方后,即可查看对方与评™数据</view>
|
||||
<star score="{{form.score}}" starKey="c" starType="cStars" bind:setScore="handleScore" />
|
||||
<view class="cStarScore">{{form.score}}</view>
|
||||
<view class="dialog_content" style="overflow: auto;height: 500rpx;">
|
||||
|
@ -193,44 +193,7 @@
|
|||
</shadow>
|
||||
<!-- 邀请实名认证提示框 -->
|
||||
<dialog visible="{{dialogInvite}}" bind:close="closeInvite" />
|
||||
<!-- <shadow position="center" wx:if="{{dialogInvite}}">
|
||||
<view class="dialog dialog_center">
|
||||
<btnClose bindtap="hideDialogInvite" />
|
||||
<view class="dialog_title">标题</view>
|
||||
<view class="dialog_content">
|
||||
<view class="dialogToLogin">
|
||||
<text>您即将进入全国人力资源信息数据验证平台,邀请对方授权个人信息报告,操作流程如下:</text>
|
||||
<view class="timeLine">
|
||||
<view class="timeLine_item">
|
||||
<view class="step">1</view>
|
||||
<view class="timeLine_content">
|
||||
<view>登录小程序</view>
|
||||
<view class="contentText">通过手机号+验证码登录小程序;</view>
|
||||
<image class="invite_pic" src="/assets/images/searchResult/invite_pic1.png"></image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="timeLine_item">
|
||||
<view class="step">2</view>
|
||||
<view class="timeLine_content">
|
||||
<view>实名认证</view>
|
||||
<view class="contentText">基于国家数据平台的信息安全规范,平台用户均为实名用户,请先完成实名认证。</view>
|
||||
<image class="invite_pic" src="/assets/images/searchResult/invite_pic1.png"></image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="timeLine_item">
|
||||
<view class="step">3</view>
|
||||
<view class="timeLine_content">
|
||||
<view>查验他人</view>
|
||||
<view class="contentText">进入查验他人页面,输入准确的姓名和手机号码,向他人发起实名查验申请,他人同意并授权后即可查看其个人信息报告。</view>
|
||||
<image class="invite_pic" src="/assets/images/searchResult/invite_pic1.png"></image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<btn fontSize="24rpx" width="403rpx" height="64rpx">跳转至溯源优才小程序</btn>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</shadow> -->
|
||||
|
||||
<shadow position="bottom" wx:if="{{dialogTagRecord}}">
|
||||
<view class="dialog" style="max-height: 90%;">
|
||||
<btnClose bindtap="dialogTagRecordClose" />
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"navigationBarTitleText": "众评用户服务协议",
|
||||
"navigationBarTitleText": "与评™用户服务协议",
|
||||
"usingComponents": {}
|
||||
}
|
|
@ -6,13 +6,13 @@ Page({
|
|||
*/
|
||||
data: {
|
||||
nodes:`<p style="text-align: left;">
|
||||
<span style="background-color: white; color: rgb(17, 17, 17); font-family: 微软雅黑, "sans-serif";">为使用众评微信小程序服务(以下简称“本服务”或“小程序服务”),您应当阅读并遵守《众评小程序用户协议》,请务必审慎阅读、充分理解各条款内容,特别是免除或限制责任的相应条款,以及开通或使用某项服务的单独协议,并选择接受或不接受。</span>
|
||||
<span style="background-color: white; color: rgb(17, 17, 17); font-family: 微软雅黑, "sans-serif";">为使用与评™微信小程序服务(以下简称“本服务”或“小程序服务”),您应当阅读并遵守《与评™小程序用户协议》,请务必审慎阅读、充分理解各条款内容,特别是免除或限制责任的相应条款,以及开通或使用某项服务的单独协议,并选择接受或不接受。</span>
|
||||
</p>
|
||||
<p style="text-align: left;">
|
||||
<span style="background-color: white; color: rgb(17, 17, 17); font-family: 微软雅黑, "sans-serif";"><br/></span>
|
||||
</p>
|
||||
<p>
|
||||
<span style=";font-family:'微软雅黑','sans-serif';color:#111111;background:white">除非您已阅读并接受本条款所有条款,否则您无权使用众评微信小程序服务。您对本服务的登录、查看、发布信息等行为即视为已阅读并同意本条款的约束。</span>
|
||||
<span style=";font-family:'微软雅黑','sans-serif';color:#111111;background:white">除非您已阅读并接受本条款所有条款,否则您无权使用与评™微信小程序服务。您对本服务的登录、查看、发布信息等行为即视为已阅读并同意本条款的约束。</span>
|
||||
</p>
|
||||
<p>
|
||||
<span style=";font-family:'微软雅黑','sans-serif';color:#111111;background:white"><br/></span>
|
||||
|
@ -39,7 +39,7 @@ Page({
|
|||
<span style=";font-family:'微软雅黑','sans-serif';color:#111111">二、</span><span style=";font-family:'微软雅黑','sans-serif';color:#111111;background:white">用户信息的提供、保护和保证、授权 </span>
|
||||
</p>
|
||||
<p style="margin-left:7px;text-indent:0">
|
||||
<span style=";font-family:'微软雅黑','sans-serif';color:#111111">三、</span><span style=";font-family:'微软雅黑','sans-serif';color:#111111;background:white">众评服务使用规则 </span>
|
||||
<span style=";font-family:'微软雅黑','sans-serif';color:#111111">三、</span><span style=";font-family:'微软雅黑','sans-serif';color:#111111;background:white">与评™服务使用规则 </span>
|
||||
</p>
|
||||
<p style="margin-left:7px;text-indent:0">
|
||||
<span style=";font-family:'微软雅黑','sans-serif';color:#111111">四、</span><span style=";font-family:'微软雅黑','sans-serif';color:#111111;background:white">不可抗力及其他免责事由 </span>
|
||||
|
@ -69,7 +69,7 @@ Page({
|
|||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">(一)</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">用户资格 </span></span>
|
||||
</p>
|
||||
<p>
|
||||
<span style="font-family: 微软雅黑, "sans-serif"; background: white; font-size: 14px; color: rgb(127, 127, 127);">请确认,在您开始登录程序使用众评服务前,您应当具备中华人民共和国法律规定的与您行为相适应的民事行为能力。若您不具备前述与您行为相适应的民事行为能力,则您及您的监护人应依照法律规定承担因此而导致的后果。 此外,您还需确保您不是任何国家、国际组织或者地域实施的贸易限制、制裁或其他法律、规则限制的对象。 </span>
|
||||
<span style="font-family: 微软雅黑, "sans-serif"; background: white; font-size: 14px; color: rgb(127, 127, 127);">请确认,在您开始登录程序使用与评™服务前,您应当具备中华人民共和国法律规定的与您行为相适应的民事行为能力。若您不具备前述与您行为相适应的民事行为能力,则您及您的监护人应依照法律规定承担因此而导致的后果。 此外,您还需确保您不是任何国家、国际组织或者地域实施的贸易限制、制裁或其他法律、规则限制的对象。 </span>
|
||||
</p>
|
||||
<p style="margin-left:0;text-indent:0">
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">(二)</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">账户说明 </span></span>
|
||||
|
@ -78,13 +78,13 @@ Page({
|
|||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">1、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">账户获得 </span></span>
|
||||
</p>
|
||||
<p>
|
||||
<span style="font-family: 微软雅黑, "sans-serif"; background: white; font-size: 14px; color: rgb(127, 127, 127);">当您阅读并同意本协议,且按照提示完成全部登录绑定程序后,您可获得众评账户。 如众评系统判断您存在不当注册或不当使用账户的情形,我们可采取封禁账户等措施。 </span>
|
||||
<span style="font-family: 微软雅黑, "sans-serif"; background: white; font-size: 14px; color: rgb(127, 127, 127);">当您阅读并同意本协议,且按照提示完成全部登录绑定程序后,您可获得与评™账户。 如与评™系统判断您存在不当注册或不当使用账户的情形,我们可采取封禁账户等措施。 </span>
|
||||
</p>
|
||||
<p style="margin-left:0;text-indent:0">
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">2、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">账户使用 </span></span>
|
||||
</p>
|
||||
<p>
|
||||
<span style="font-family: 微软雅黑, "sans-serif"; background: white; font-size: 14px; color: rgb(127, 127, 127);">您有权使用您设置或确认的手机号码等(“账户名称”)登录众评。 由于您的账户关联您的个人信息,您的账户仅限您本人使用。您享有您账户的使用权。我们享有账户的所有权。在使用中,您不应以任何方式私自转让该使用权,也不应以任何形式盗用他人账户。账户的行为将被视为账户注册用户的行为。 如您账户的使用可能危及您的账户安全及/或其他用户信息安全的,我们可采取相应安全措施。 </span>
|
||||
<span style="font-family: 微软雅黑, "sans-serif"; background: white; font-size: 14px; color: rgb(127, 127, 127);">您有权使用您设置或确认的手机号码等(“账户名称”)登录与评™。 由于您的账户关联您的个人信息,您的账户仅限您本人使用。您享有您账户的使用权。我们享有账户的所有权。在使用中,您不应以任何方式私自转让该使用权,也不应以任何形式盗用他人账户。账户的行为将被视为账户注册用户的行为。 如您账户的使用可能危及您的账户安全及/或其他用户信息安全的,我们可采取相应安全措施。 </span>
|
||||
</p>
|
||||
<p style="margin-left:0;text-indent:0">
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">3、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">账户安全 </span></span>
|
||||
|
@ -96,7 +96,7 @@ Page({
|
|||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">4、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">日常维护 </span></span>
|
||||
</p>
|
||||
<p>
|
||||
<span style="font-family: 微软雅黑, "sans-serif"; background: white; font-size: 14px; color: rgb(127, 127, 127);">如发现任何未经授权使用您账户登录众评或其他可能导致您账户遭窃、遗失的情况,建议您立即通知我们,并授权我们为保护您的账户信息采取相应措施。请理解,我们对您的任何请求采取行动均需要合理时间,且应您请求而采取的行动可能无法避免或阻止侵害后果的形成或扩大。</span>
|
||||
<span style="font-family: 微软雅黑, "sans-serif"; background: white; font-size: 14px; color: rgb(127, 127, 127);">如发现任何未经授权使用您账户登录与评™或其他可能导致您账户遭窃、遗失的情况,建议您立即通知我们,并授权我们为保护您的账户信息采取相应措施。请理解,我们对您的任何请求采取行动均需要合理时间,且应您请求而采取的行动可能无法避免或阻止侵害后果的形成或扩大。</span>
|
||||
</p>
|
||||
<p>
|
||||
<span style="font-family: 微软雅黑, "sans-serif"; background: white; font-size: 14px; color: rgb(127, 127, 127);"><br/></span>
|
||||
|
@ -114,7 +114,7 @@ Page({
|
|||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">1、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">用户信息的保护 </span></span>
|
||||
</p>
|
||||
<p>
|
||||
<span style="font-family: 微软雅黑, "sans-serif"; background: white; font-size: 14px; color: rgb(127, 127, 127);">保护用户信息是我们的一项基本原则。我们将按照本协议及《众评隐私政策》的规定收集、使用、储存和分享您的个人信息。本协议对信息保护相关内容未作明确规定的,均以《众评隐私政策》的内容为准。 </span>
|
||||
<span style="font-family: 微软雅黑, "sans-serif"; background: white; font-size: 14px; color: rgb(127, 127, 127);">保护用户信息是我们的一项基本原则。我们将按照本协议及《与评™隐私政策》的规定收集、使用、储存和分享您的个人信息。本协议对信息保护相关内容未作明确规定的,均以《与评™隐私政策》的内容为准。 </span>
|
||||
</p>
|
||||
<p style="margin-left:7px;text-indent:0">
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">(二)</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">用户信息的保证、授权 </span></span>
|
||||
|
@ -141,58 +141,58 @@ Page({
|
|||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">(5)</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">侮辱、诽谤、恐吓、涉及他人隐私等侵害他人合法权益的; </span></span>
|
||||
</p>
|
||||
<p style="margin-left:0;text-indent:0">
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">(6)</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">存在可能破坏、篡改、删除、影响众评系统正常运行或未经授权秘密获取众评及其他用户的数据、个人资料的病毒、木马、爬虫等恶意软件、程序代码的; </span></span>
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">(6)</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">存在可能破坏、篡改、删除、影响与评™系统正常运行或未经授权秘密获取与评™及其他用户的数据、个人资料的病毒、木马、爬虫等恶意软件、程序代码的; </span></span>
|
||||
</p>
|
||||
<p style="margin-left:0;text-indent:0">
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">(7)</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">其他违背社会公共利益或公共道德不适合在众评上发布的。 </span></span>
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">(7)</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">其他违背社会公共利益或公共道德不适合在与评™上发布的。 </span></span>
|
||||
</p>
|
||||
<p style="margin-left:7px;text-indent:0">
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">2、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">用户信息的授权 </span></span>
|
||||
</p>
|
||||
<p style="margin-left:7px">
|
||||
<span style="font-family: 微软雅黑, "sans-serif"; background: white; font-size: 14px; color: rgb(127, 127, 127);">为方便您使用众评的其他相关服务,请您授权我们将您在账户注册和使用众评服务过程中提供、形成的信息传递给其他相关服务提供者,或从其他相关服务提供者获取您在注册、使用相关服务期间提供、形成的信息。</span>
|
||||
<span style="font-family: 微软雅黑, "sans-serif"; background: white; font-size: 14px; color: rgb(127, 127, 127);">为方便您使用与评™的其他相关服务,请您授权我们将您在账户注册和使用与评™服务过程中提供、形成的信息传递给其他相关服务提供者,或从其他相关服务提供者获取您在注册、使用相关服务期间提供、形成的信息。</span>
|
||||
</p>
|
||||
<p style="margin-left:7px">
|
||||
<span style="font-family: 微软雅黑, "sans-serif"; background: white; font-size: 14px; color: rgb(127, 127, 127);"><br/></span>
|
||||
</p>
|
||||
<p style="margin-left:7px;text-indent:0">
|
||||
<span style="font-size: 20px;"><strong><span style="color: rgb(38, 38, 38);"><span style="font-family: 微软雅黑, "sans-serif";">三、</span><span style="font-family: 微软雅黑, "sans-serif"; background: white;">众评服务使用规则</span></span></strong></span><span style=";font-family:'微软雅黑','sans-serif';color:#111111;background:white"> </span>
|
||||
<span style="font-size: 20px;"><strong><span style="color: rgb(38, 38, 38);"><span style="font-family: 微软雅黑, "sans-serif";">三、</span><span style="font-family: 微软雅黑, "sans-serif"; background: white;">与评™服务使用规则</span></span></strong></span><span style=";font-family:'微软雅黑','sans-serif';color:#111111;background:white"> </span>
|
||||
</p>
|
||||
<p style="margin-left:7px;text-indent:0">
|
||||
<span style="font-size: 20px;"><strong><span style="color: rgb(38, 38, 38);"><span style="font-family: 微软雅黑, "sans-serif"; background: white;"><br/></span></span></strong></span>
|
||||
</p>
|
||||
<p style="margin-left:7px;text-indent:0">
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">(一)</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">在使用众评的产品或服务过程中,您应当遵守如下规则: </span></span>
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">(一)</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">在使用与评™的产品或服务过程中,您应当遵守如下规则: </span></span>
|
||||
</p>
|
||||
<p style="margin-left:0;text-indent:0">
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">1、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">遵守中国法律、法规、行政规章及规范性文件; </span></span>
|
||||
</p>
|
||||
<p style="margin-left:0;text-indent:0">
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">2、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">遵守与众评服务有关的协议、政策等文件; </span></span>
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">2、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">遵守与与评™服务有关的协议、政策等文件; </span></span>
|
||||
</p>
|
||||
<p style="margin-left:0;text-indent:0">
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">3、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">不应为任何违法、犯罪目的而使用众评服务; </span></span>
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">3、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">不应为任何违法、犯罪目的而使用与评™服务; </span></span>
|
||||
</p>
|
||||
<p style="margin-left:0;text-indent:0">
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">4、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">不应以任何形式侵犯任何第三方的合法权利;</span></span>
|
||||
</p>
|
||||
<p style="margin-left:0;text-indent:0">
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">5、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">不应进行任何可能对互联网正常运转造成不利影响的行为。 对于您上传到众评网站或平台的任何文本、图片、图形、音频和/ 或视频等,或您的其他使用行为,我们将依据法律法规的规定,保留对其内容监督的权利。 </span></span>
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">5、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">不应进行任何可能对互联网正常运转造成不利影响的行为。 对于您上传到与评™网站或平台的任何文本、图片、图形、音频和/ 或视频等,或您的其他使用行为,我们将依据法律法规的规定,保留对其内容监督的权利。 </span></span>
|
||||
</p>
|
||||
<p style="margin-left:7px;text-indent:0">
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">(二)</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">用户行为违约及处理 </span></span>
|
||||
</p>
|
||||
<p style="margin-left:7px;text-indent:0">
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">1、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">在使用众评的产品或服务时,如您有如下情形之一的,视为违约: </span></span>
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">1、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">在使用与评™的产品或服务时,如您有如下情形之一的,视为违约: </span></span>
|
||||
</p>
|
||||
<p style="margin-left:0;text-indent:0">
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">(1)</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">违反法律法规等相关规定的; </span></span>
|
||||
</p>
|
||||
<p style="margin-left:0;text-indent:0">
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">(2)</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">违反本协议、《众评隐私政策》等约定的; </span></span>
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">(2)</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">违反本协议、《与评™隐私政策》等约定的; </span></span>
|
||||
</p>
|
||||
<p style="margin-left:7px;text-indent:0">
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">2、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">请确认,您对众评产品或服务的使用承担独立且完全的法律责任。如您有违约行为,相关国家机关或机构可能会对您提起诉讼、罚款或采取其他制裁措施,并要求我们给予协助。因此造成损害的(包括但不限于直接经济损失、商誉损失及支出的赔偿金、律师费、诉讼费等间接经济损失),您应承担全部责任。 此外,我们保留对您的使用等行为进行监督的权利。如您被投诉或被发现有违约行为,为及时解决问题,保护各方合法权利,我们可以独立判断并采取相应措施(包括但不限于通过技术手段删除、屏蔽相关内容或断开链接、暂停或中止向您提供服务等)。 </span></span>
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">2、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">请确认,您对与评™产品或服务的使用承担独立且完全的法律责任。如您有违约行为,相关国家机关或机构可能会对您提起诉讼、罚款或采取其他制裁措施,并要求我们给予协助。因此造成损害的(包括但不限于直接经济损失、商誉损失及支出的赔偿金、律师费、诉讼费等间接经济损失),您应承担全部责任。 此外,我们保留对您的使用等行为进行监督的权利。如您被投诉或被发现有违约行为,为及时解决问题,保护各方合法权利,我们可以独立判断并采取相应措施(包括但不限于通过技术手段删除、屏蔽相关内容或断开链接、暂停或中止向您提供服务等)。 </span></span>
|
||||
</p>
|
||||
<p style="margin-left:7px;text-indent:0">
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">(三)</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">服务的变更、中断、终止 </span></span>
|
||||
|
@ -207,7 +207,7 @@ Page({
|
|||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">(1)</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">根据法律法规规定,您应提交真实信息,而您提供的信息不真实、或与注册时信息不一致又未能提供合理证明。 </span></span>
|
||||
</p>
|
||||
<p style="margin-left:7px;text-indent:0">
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">(2)</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">您违反相关法律法规的规定、违反《众评隐私政策》或违反本协议的约定。 </span></span>
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">(2)</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">您违反相关法律法规的规定、违反《与评™隐私政策》或违反本协议的约定。 </span></span>
|
||||
</p>
|
||||
<p style="margin-left:7px;text-indent:0">
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">(3)</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">按照法律法规规定,司法机关或主管部门的要求。 </span></span>
|
||||
|
@ -225,7 +225,7 @@ Page({
|
|||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">1、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">请确认,我们可能自行或由第三方通过短信、电子邮件或电子信息等多种方式向您发送、展示广告或其他信息(包括商业与非商业信息),广告或其他信息的具体发送及展示形式、频次及内容等以实际提供为准。如您不希望收到这些信息,可以按照我们的相关提示,在设备上选择取消订阅。 </span></span>
|
||||
</p>
|
||||
<p style="margin-left:7px;text-indent:0">
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">2、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">我们将依照相关法律法规要求开展广告业务。对众评的产品或服务中出现的广告,您应审慎判断其真实性和可靠性,除法律明确规定外,您应对因该广告而实施的行为负责。 </span></span>
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">2、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">我们将依照相关法律法规要求开展广告业务。对与评™的产品或服务中出现的广告,您应审慎判断其真实性和可靠性,除法律明确规定外,您应对因该广告而实施的行为负责。 </span></span>
|
||||
</p>
|
||||
<p style="margin-left:7px;text-indent:0">
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">3、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">我们可能在必要时(例如因系统维护而暂停某一项服务时)向您发出与服务有关的公告。您可能无法取消这些与服务有关、性质不属于推广的公告。</span></span>
|
||||
|
@ -240,7 +240,7 @@ Page({
|
|||
<strong><span style="font-size: 20px; color: rgb(38, 38, 38);"><span style="font-size: 20px; font-family: 微软雅黑, "sans-serif"; background: white;"><br/></span></span></strong>
|
||||
</p>
|
||||
<p style="margin-left:7px;text-indent:0">
|
||||
<span style="color: rgb(127, 127, 127); font-size: 14px;"><span style="color: rgb(127, 127, 127); font-family: 微软雅黑, "sans-serif";">(一)</span><span style="color: rgb(127, 127, 127); font-family: 微软雅黑, "sans-serif"; background: white;">在使用众评的产品或服务的过程中,可能会遇到不可抗力等风险因素,使产品或服务受到影响。不可抗力是指不能预见、不能克服并不能避免且造成重大影响的客观事件,包括但不限于自然灾害如洪水、地震、瘟疫流行和风暴等以及社会事件如战争、动乱、政府行为等。出现上述情况时,我们将努力在第一时间与相关单位配合,争取及时进行处理,但是由此给您造成的损失在法律允许的范围内免责。 </span></span>
|
||||
<span style="color: rgb(127, 127, 127); font-size: 14px;"><span style="color: rgb(127, 127, 127); font-family: 微软雅黑, "sans-serif";">(一)</span><span style="color: rgb(127, 127, 127); font-family: 微软雅黑, "sans-serif"; background: white;">在使用与评™的产品或服务的过程中,可能会遇到不可抗力等风险因素,使产品或服务受到影响。不可抗力是指不能预见、不能克服并不能避免且造成重大影响的客观事件,包括但不限于自然灾害如洪水、地震、瘟疫流行和风暴等以及社会事件如战争、动乱、政府行为等。出现上述情况时,我们将努力在第一时间与相关单位配合,争取及时进行处理,但是由此给您造成的损失在法律允许的范围内免责。 </span></span>
|
||||
</p>
|
||||
<p style="margin-left:7px;text-indent:0">
|
||||
<span style="color: rgb(127, 127, 127); font-size: 14px;"><span style="color: rgb(127, 127, 127); font-size: 14px; font-family: 微软雅黑, "sans-serif";">(二)</span><span style="color: rgb(127, 127, 127); font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">在法律允许的范围内,我们对以下情形导致的服务中断或受阻、损失等后果不承担责任: </span></span>
|
||||
|
@ -261,7 +261,7 @@ Page({
|
|||
<span style="font-size: 14px;"><span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">5、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">其他我们无法控制或合理预见的情形。</span></span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; color: rgb(17, 17, 17); background: white;"> </span></span>
|
||||
</p>
|
||||
<p style="margin-left:7px;text-indent:0">
|
||||
<span style="color: rgb(127, 127, 127); font-size: 14px;"><span style="color: rgb(127, 127, 127); font-size: 14px; font-family: 微软雅黑, "sans-serif";">(三)</span><span style="color: rgb(127, 127, 127); font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">在使用众评服务的过程中,可能会遇到网络信息或其他用户行为带来的风险,可能会遇到其他用户损害合法权利(包括但不仅限于知识产权)的行为,我们不对任何信息的准确性、真实性、适用性、合法性作承诺保证或承担责任,也不对因用户的侵权行为造成的损害负责。这些风险包括但不限于: </span></span>
|
||||
<span style="color: rgb(127, 127, 127); font-size: 14px;"><span style="color: rgb(127, 127, 127); font-size: 14px; font-family: 微软雅黑, "sans-serif";">(三)</span><span style="color: rgb(127, 127, 127); font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">在使用与评™服务的过程中,可能会遇到网络信息或其他用户行为带来的风险,可能会遇到其他用户损害合法权利(包括但不仅限于知识产权)的行为,我们不对任何信息的准确性、真实性、适用性、合法性作承诺保证或承担责任,也不对因用户的侵权行为造成的损害负责。这些风险包括但不限于: </span></span>
|
||||
</p>
|
||||
<p style="margin-left:7px;text-indent:0">
|
||||
<span style="font-size: 14px;"><span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">1、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">来自他人匿名或冒名的含有威胁、诽谤、令人反感或非法内容的信息。</span></span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; color: rgb(17, 17, 17); background: white;"> </span></span>
|
||||
|
@ -318,7 +318,7 @@ Page({
|
|||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">1、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">未经您明确同意,我们不会限制您按照本协议所应享有的权利。</span></span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; color: rgb(17, 17, 17); background: white;"> </span>
|
||||
</p>
|
||||
<p style="margin-left:7px;text-indent:0">
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">2、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">对于重大变更(包括但不限于我们的服务模式发生重大变化),我们还会提供更为显著的通知。在该种情况下,若您继续使用我们的服务,即表示同意受经修订的协议约束。若您不接受修改后的最新协议条款,可立即停止使用众评服务,或注销账户。</span></span>
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">2、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">对于重大变更(包括但不限于我们的服务模式发生重大变化),我们还会提供更为显著的通知。在该种情况下,若您继续使用我们的服务,即表示同意受经修订的协议约束。若您不接受修改后的最新协议条款,可立即停止使用与评™服务,或注销账户。</span></span>
|
||||
</p>
|
||||
<p style="margin-left:7px;text-indent:0">
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;"><br/></span></span>
|
||||
|
@ -333,7 +333,7 @@ Page({
|
|||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">1、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">本协议的成立、生效、履行、解释及因本协议产生的任何争议,均适用中华人民共和国法律(不包括港澳台地区法律)。如法律无相关规定的,参照商业惯例及/或行业惯例。 </span></span>
|
||||
</p>
|
||||
<p style="margin-left:7px;text-indent:0">
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">2、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">您因使用众评产品或服务所产生的与众评服务有关的任何纠纷或争议,首先应友好协商解决;协商不成的,您同意将纠纷或争议提交北京淘友天下科技发展有限公司所在地有管辖权的人民法院管辖。 </span></span>
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">2、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">您因使用与评™产品或服务所产生的与与评™服务有关的任何纠纷或争议,首先应友好协商解决;协商不成的,您同意将纠纷或争议提交北京淘友天下科技发展有限公司所在地有管辖权的人民法院管辖。 </span></span>
|
||||
</p>
|
||||
<p style="margin-left:7px;text-indent:0">
|
||||
<span style="font-size: 14px; color: rgb(127, 127, 127);"><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif";">3、</span><span style="font-size: 14px; font-family: 微软雅黑, "sans-serif"; background: white;">本协议所有条款的标题仅为阅读方便,本身并无实际涵义,不能作为本协议涵义解释的依据。 </span></span>
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
<view class="shareBox">
|
||||
|
||||
<image class="avatar" src="/assets/images/searchResult/a-ziyuan106@2x.png"></image>
|
||||
<view class="contentText">“邀请您到【众评】上对我做出印象评价,国家平台隐私保护,完全匿名”</view>
|
||||
<view class="contentText">“邀请您到【与评™】上对我做出印象评价,国家平台隐私保护,完全匿名”</view>
|
||||
<star score="0" starType="cStars" size="40rpx" />
|
||||
<image class="sharePic" src="https://chrivc.obs.cn-north-4.myhuaweicloud.com/4b02ae3ccca446df82aa7ba1d7fa591e:sharePic.png"></image>
|
||||
<view style="display: flex;justify-content: center;margin-top: 39rpx;margin-bottom: 10rpx;">
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"navigationBarBackgroundColor": "#FFFFFF",
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"btn":"/components/btn/btn"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
/* pages/validComment/validComment.wxss */
|
||||
page {
|
||||
background: #F6F6F6;
|
||||
|
||||
.tip {
|
||||
padding: 24rpx 30rpx;
|
||||
background: #FFEBEB;
|
||||
font-size: 22rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #FF614C;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
|
||||
.form {
|
||||
.form-box-item {
|
||||
margin-bottom: 20rpx;
|
||||
background: #fff;
|
||||
padding: 36rpx 30rpx 10rpx 30rpx;
|
||||
|
||||
.form-label {
|
||||
margin-bottom: 24rpx;
|
||||
}
|
||||
|
||||
.form-item {
|
||||
border-bottom: 1px solid #EBEBEB;
|
||||
|
||||
|
||||
&:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
input {
|
||||
height: 88rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.center{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.mt30{
|
||||
margin-top: 30rpx;
|
||||
}
|
|
@ -0,0 +1,138 @@
|
|||
// pages/validComment/validComment.ts
|
||||
import { evaluateLaunch } from "../../apis/phone";
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
// form: {
|
||||
name: "",
|
||||
phone: "",
|
||||
sponsorName: "",
|
||||
sponsorPhone: "",
|
||||
// },
|
||||
commentParams: {}
|
||||
},
|
||||
submit() {
|
||||
const { name, phone, sponsorName, sponsorPhone, commentParams } = this.data
|
||||
if (!name) {
|
||||
wx.showToast({
|
||||
icon: 'none',
|
||||
title: '请输入对方姓名'
|
||||
})
|
||||
return
|
||||
}
|
||||
if (!phone) {
|
||||
wx.showToast({
|
||||
icon: 'none',
|
||||
title: '请输入对方手机号'
|
||||
})
|
||||
return
|
||||
}
|
||||
if (!sponsorName) {
|
||||
wx.showToast({
|
||||
icon: 'none',
|
||||
title: '请输入您的姓名'
|
||||
})
|
||||
return
|
||||
}
|
||||
if (!sponsorPhone) {
|
||||
wx.showToast({
|
||||
icon: 'none',
|
||||
title: '请输入您的手机号'
|
||||
})
|
||||
return
|
||||
}
|
||||
const payload = {
|
||||
evaluateLabelIds: commentParams.evaluateLabelIds,
|
||||
score: commentParams.score,
|
||||
name,
|
||||
phone,
|
||||
sponsorName,
|
||||
sponsorPhone
|
||||
}
|
||||
// console.log(payload);
|
||||
|
||||
evaluateLaunch(payload).then(res => {
|
||||
// console.log(res);
|
||||
if (res.c === 200) {
|
||||
wx.navigateTo({
|
||||
url: `/pages/commentResult/commentResult?phone=${payload.phone}&status=success`
|
||||
})
|
||||
} else if (res.c === 501007) {
|
||||
wx.showToast({
|
||||
icon: 'none',
|
||||
// image: '/assets/images/comment/fail.png',
|
||||
title: res.m,
|
||||
duration: 2000
|
||||
})
|
||||
} else {
|
||||
wx.navigateTo({
|
||||
url: `/pages/commentResult/commentResult?status=faild`
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
console.log(options, wx.getStorageSync('commentParams'));
|
||||
this.setData({
|
||||
commentParams: wx.getStorageSync('commentParams'),
|
||||
sponsorPhone: options.sponsorPhone,
|
||||
phone: options.phone,
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
|
@ -0,0 +1,28 @@
|
|||
<!--pages/validComment/validComment.wxml-->
|
||||
<view>
|
||||
<view class="tip">根据《中华人民共和国网络安全法》《互联网信息服务管理办法》法律法规和国家有关规定,为规避恶意评价、随意诋毁他人,现按照“后台实名、前台匿名”原则,要求本平台记录低分评价前,须验证评价人确实认识被评价人,同时要求评价人为实名用户,请放心验证,您和对方的实名信息以及您的评价细节数据受国家平台监管,遵守最高等级隐私信息安全保护,不会对任何第三方透露。</view>
|
||||
<view class="form">
|
||||
<view class="form-box-item">
|
||||
<view class="form-label">验证对方信息</view>
|
||||
<view class="form-item">
|
||||
<input type="text" model:value="{{name}}" placeholder="请输入对方姓名" />
|
||||
</view>
|
||||
<view class="form-item">
|
||||
<input type="text" model:value="{{phone}}" placeholder="请输入对方手机号" disabled />
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="form-box-item">
|
||||
<view class="form-label">验证用户本人信息</view>
|
||||
<view class="form-item">
|
||||
<input type="text" model:value="{{sponsorName}}" placeholder="请输入您的姓名" />
|
||||
</view>
|
||||
<view class="form-item">
|
||||
<input type="text" model:value="{{sponsorPhone}}" placeholder="请输入您的手机号" disabled />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="center mt30">
|
||||
<btn width="518rpx" height="88rpx" fontSize="34rpx" bind:tap="submit" fontWeight="bold">提交认证</btn>
|
||||
</view>
|
||||
</view>
|
|
@ -1,19 +1,90 @@
|
|||
import { loadImg } from './util'
|
||||
import { parseTime } from './index'
|
||||
export async function card(QRCode: string) {
|
||||
export async function card() {
|
||||
const scale = 2;
|
||||
const bg = await loadImg('https://chrivc.obs.cn-north-4.myhuaweicloud.com/cab0fd6a9335480bbc882968f5a356f4:组 1 拷贝 6.png')
|
||||
const bg = await loadImg('https://chrivc.obs.cn-north-4.myhuaweicloud.com/09f36e4cf9474682b194f3c0694d239d:card_bg.png')
|
||||
const tags = [{
|
||||
type: 'text',
|
||||
text: '特别靠谱',
|
||||
css: {
|
||||
width: `${124 * scale}rpx`,
|
||||
height: `${34.86 * scale}rpx`,
|
||||
display: 'inline-block',
|
||||
textAlign: 'center',
|
||||
padding: `${11 * scale}rpx 0 ${11 * scale}rpx 0`,
|
||||
background: '#2235B6',
|
||||
borderRadius: `${22 * scale}rpx`,
|
||||
color: '#ffffff',
|
||||
fontSize: `${22 * scale}rpx`,
|
||||
// fontWeight: 'bold',
|
||||
top: `${150 * scale}rpx`,
|
||||
left: `${391 * scale}rpx`,
|
||||
}
|
||||
},
|
||||
{
|
||||
type: 'text',
|
||||
text: '才华横溢',
|
||||
css: {
|
||||
width: `${124 * scale}rpx`,
|
||||
height: `${43 * scale}rpx`,
|
||||
textAlign: 'center',
|
||||
padding: `${11 * scale}rpx`,
|
||||
boxSizing: 'border-box',
|
||||
background: '#2235B6',
|
||||
borderRadius: `${22 * scale}rpx`,
|
||||
color: '#ffffff',
|
||||
fontSize: `${22 * scale}rpx`,
|
||||
top: `${150 * scale}rpx`,
|
||||
left: `${559 * scale}rpx`,
|
||||
}
|
||||
}]
|
||||
const tagNums = [{
|
||||
type: 'text',
|
||||
text: 'x50',
|
||||
css: {
|
||||
width: `${36 * scale}rpx`,
|
||||
height: `${19 * scale}rpx`,
|
||||
textAlign: 'center',
|
||||
padding: `${4 * scale}rpx ${6 * scale}rpx ${5 * scale}rpx ${3 * scale}rpx`,
|
||||
fontWeight: 'bold',
|
||||
fontStyle: 'italic',
|
||||
background: '#FF662A',
|
||||
borderRadius: `${9 * scale}rpx ${8 * scale}rpx ${8 * scale}rpx ${4 * scale}rpx`,
|
||||
color: '#ffffff',
|
||||
fontSize: `${14 * scale}rpx`,
|
||||
top: `${145 * scale}rpx`,
|
||||
left: `${508 * scale}rpx`,
|
||||
}
|
||||
},
|
||||
{
|
||||
type: 'text',
|
||||
text: 'x99',
|
||||
css: {
|
||||
textAlign: 'center',
|
||||
padding: `${4 * scale}rpx ${6 * scale}rpx ${5 * scale}rpx ${3 * scale}rpx`,
|
||||
fontWeight: 'bold',
|
||||
fontStyle: 'italic',
|
||||
background: '#FF662A',
|
||||
boxSizing: 'border-box',
|
||||
borderRadius: `${9 * scale}rpx ${8 * scale}rpx ${8 * scale}rpx ${4 * scale}rpx`,
|
||||
color: '#ffffff',
|
||||
fontSize: `${14 * scale}rpx`,
|
||||
top: `${145 * scale}rpx`,
|
||||
left: `${665 * scale}rpx`,
|
||||
}
|
||||
},
|
||||
]
|
||||
return {
|
||||
width: `${429 * scale}rpx`,
|
||||
height: `${546 * scale}rpx`,
|
||||
width: `${719 * scale}rpx`,
|
||||
height: `${382 * scale}rpx`,
|
||||
views: [
|
||||
// 背景
|
||||
{
|
||||
type: 'image',
|
||||
url: bg.path,
|
||||
css: {
|
||||
width: `${429 * scale}rpx`,
|
||||
height: `${546 * scale}rpx`,
|
||||
width: `${719 * scale}rpx`,
|
||||
height: `${382 * scale}rpx`,
|
||||
left: '0rpx',
|
||||
top: '0rpx'
|
||||
}
|
||||
|
@ -29,17 +100,189 @@ export async function card(QRCode: string) {
|
|||
// left: `${82 * scale}rpx`,
|
||||
// }
|
||||
// },
|
||||
{
|
||||
type: 'text',
|
||||
text: '高叶',
|
||||
css: {
|
||||
color: '#ffffff',
|
||||
fontSize: `${48 * scale}rpx`,
|
||||
fontWeight: 'bold',
|
||||
top: `${59 * scale}rpx`,
|
||||
left: `${60 * scale}rpx`,
|
||||
}
|
||||
},
|
||||
{
|
||||
type: 'text',
|
||||
text: '4.5',
|
||||
css: {
|
||||
color: '#ffffff',
|
||||
fontSize: `${78 * scale}rpx`,
|
||||
fontWeight: 'bold',
|
||||
top: `${56 * scale}rpx`,
|
||||
left: `${509 * scale}rpx`,
|
||||
}
|
||||
},
|
||||
{
|
||||
type: 'text',
|
||||
text: '分',
|
||||
css: {
|
||||
color: '#ffffff',
|
||||
fontSize: `${48 * scale}rpx`,
|
||||
fontWeight: 'bold',
|
||||
top: `${78 * scale}rpx`,
|
||||
left: `${632 * scale}rpx`,
|
||||
}
|
||||
},
|
||||
...tags,
|
||||
...tagNums,
|
||||
// {
|
||||
// type: 'text',
|
||||
// text: '溯源优才',
|
||||
// text: '特别靠谱',
|
||||
// css: {
|
||||
// color: '#3A61B1',
|
||||
// fontSize: `${48 * scale}rpx`,
|
||||
// fontWeight: 'bold',
|
||||
// top: `${59 * scale}rpx`,
|
||||
// left: `${142 * scale}rpx`,
|
||||
// width: `${124 * scale}rpx`,
|
||||
// height: `${34.86 * scale}rpx`,
|
||||
// display: 'inline-block',
|
||||
// textAlign: 'center',
|
||||
// padding: `${11 * scale}rpx 0 ${11 * scale}rpx 0`,
|
||||
// background: '#2235B6',
|
||||
// borderRadius: `${22 * scale}rpx`,
|
||||
// color: '#ffffff',
|
||||
// fontSize: `${22 * scale}rpx`,
|
||||
// // fontWeight: 'bold',
|
||||
// top: `${150 * scale}rpx`,
|
||||
// left: `${391 * scale}rpx`,
|
||||
// }
|
||||
// },
|
||||
// {
|
||||
// type: 'text',
|
||||
// text: 'x50',
|
||||
// css: {
|
||||
// width: `${36 * scale}rpx`,
|
||||
// height: `${19 * scale}rpx`,
|
||||
// textAlign: 'center',
|
||||
// padding: `${4 * scale}rpx`,
|
||||
// fontWeight: 'bold',
|
||||
// fontStyle: 'italic',
|
||||
// background: '#FF662A',
|
||||
// borderRadius: `${9 * scale}rpx ${8 * scale}rpx ${8 * scale}rpx ${4 * scale}rpx`,
|
||||
// color: '#ffffff',
|
||||
// fontSize: `${14 * scale}rpx`,
|
||||
// top: `${145 * scale}rpx`,
|
||||
// left: `${504 * scale}rpx`,
|
||||
// }
|
||||
// },
|
||||
// {
|
||||
// type: 'text',
|
||||
// text: '才华横溢',
|
||||
// css: {
|
||||
// width: `${124 * scale}rpx`,
|
||||
// height: `${43 * scale}rpx`,
|
||||
// textAlign: 'center',
|
||||
// padding: `${11 * scale}rpx`,
|
||||
// boxSizing: 'border-box',
|
||||
// background: '#2235B6',
|
||||
// borderRadius: `${22 * scale}rpx`,
|
||||
// color: '#ffffff',
|
||||
// fontSize: `${22 * scale}rpx`,
|
||||
// top: `${150 * scale}rpx`,
|
||||
// left: `${559 * scale}rpx`,
|
||||
// }
|
||||
// },
|
||||
// {
|
||||
// type: 'text',
|
||||
// text: 'x99',
|
||||
// css: {
|
||||
// textAlign: 'center',
|
||||
// padding: `${4 * scale}rpx ${6 * scale}rpx ${5 * scale}rpx ${3 * scale}rpx`,
|
||||
// fontWeight: 'bold',
|
||||
// fontStyle: 'italic',
|
||||
// background: '#FF662A',
|
||||
// boxSizing: 'border-box',
|
||||
// borderRadius: `${9 * scale}rpx ${8 * scale}rpx ${8 * scale}rpx ${4 * scale}rpx`,
|
||||
// color: '#ffffff',
|
||||
// fontSize: `${14 * scale}rpx`,
|
||||
// top: `${145 * scale}rpx`,
|
||||
// left: `${665 * scale}rpx`,
|
||||
// }
|
||||
// },
|
||||
{
|
||||
type: 'text',
|
||||
text: '暂无职位信息',
|
||||
css: {
|
||||
color: '#ffffff',
|
||||
fontSize: `${32 * scale}rpx`,
|
||||
top: `${143 * scale}rpx`,
|
||||
left: `${60 * scale}rpx`,
|
||||
}
|
||||
},
|
||||
{
|
||||
type: 'text',
|
||||
text: '暂无公司信息',
|
||||
css: {
|
||||
color: '#ffffff',
|
||||
fontSize: `${24 * scale}rpx`,
|
||||
fontWeight: 'bold',
|
||||
top: `${184 * scale}rpx`,
|
||||
left: `${60 * scale}rpx`,
|
||||
}
|
||||
},
|
||||
{
|
||||
type: 'image',
|
||||
url: '/assets/images/card/icon_phone.png',
|
||||
text: '暂无公司信息',
|
||||
css: {
|
||||
color: '#ffffff',
|
||||
top: `${268 * scale}rpx`,
|
||||
left: `${61 * scale}rpx`,
|
||||
}
|
||||
},
|
||||
{
|
||||
type: 'text',
|
||||
text: '18702872377',
|
||||
css: {
|
||||
color: '#ffffff',
|
||||
fontSize: `${24 * scale}rpx`,
|
||||
fontWeight: 'bold',
|
||||
top: `${258 * scale}rpx`,
|
||||
left: `${92 * scale}rpx`,
|
||||
}
|
||||
},
|
||||
{
|
||||
type: 'image',
|
||||
url: '/assets/images/card/icon_email.png',
|
||||
text: '暂无公司信息',
|
||||
css: {
|
||||
color: '#ffffff',
|
||||
// fontSize: `${48 * scale}rpx`,
|
||||
// fontWeight: 'bold',
|
||||
top: `${268 * scale}rpx`,
|
||||
left: `${289 * scale}rpx`,
|
||||
}
|
||||
},
|
||||
{
|
||||
type: 'text',
|
||||
text: '暂未添加邮箱',
|
||||
css: {
|
||||
color: '#ffffff',
|
||||
fontSize: `${24 * scale}rpx`,
|
||||
fontWeight: 'bold',
|
||||
top: `${258 * scale}rpx`,
|
||||
left: `${324 * scale}rpx`,
|
||||
}
|
||||
},
|
||||
{
|
||||
type: 'text',
|
||||
text: '自我介绍 : 暂未添加自我介绍',
|
||||
css: {
|
||||
color: 'rgba(255,255,255,.43)',
|
||||
fontSize: `${24 * scale}rpx`,
|
||||
// fontWeight: 'bold',
|
||||
maxLines: "1",
|
||||
top: `${301 * scale}rpx`,
|
||||
left: `${63 * scale}rpx`,
|
||||
}
|
||||
},
|
||||
|
||||
// {
|
||||
// type: 'text',
|
||||
// text: '全国人力资源信息数据验证平台',
|
||||
|
@ -51,28 +294,28 @@ export async function card(QRCode: string) {
|
|||
// left: `${61 * scale}rpx`,
|
||||
// }
|
||||
// },
|
||||
{
|
||||
type: 'rect',
|
||||
css: {
|
||||
top: `${187 * scale}rpx`,
|
||||
left: `${71 * scale}rpx`,
|
||||
width: `${293 * scale}rpx`,
|
||||
height: `${293 * scale}rpx`,
|
||||
borderRadius: `${10 * scale}rpx`,
|
||||
color: "#FFFFFF"
|
||||
},
|
||||
},
|
||||
// {
|
||||
// type: 'rect',
|
||||
// css: {
|
||||
// top: `${187 * scale}rpx`,
|
||||
// left: `${71 * scale}rpx`,
|
||||
// width: `${293 * scale}rpx`,
|
||||
// height: `${293 * scale}rpx`,
|
||||
// borderRadius: `${10 * scale}rpx`,
|
||||
// color: "#FFFFFF"
|
||||
// },
|
||||
// },
|
||||
// 二维码
|
||||
{
|
||||
type: 'image',
|
||||
url: QRCode,
|
||||
css: {
|
||||
width: `${253 * scale}rpx`,
|
||||
height: `${253 * scale}rpx`,
|
||||
top: `${207 * scale}rpx`,
|
||||
left: `${91 * scale}rpx`,
|
||||
}
|
||||
}
|
||||
// {
|
||||
// type: 'image',
|
||||
// url: QRCode,
|
||||
// css: {
|
||||
// width: `${253 * scale}rpx`,
|
||||
// height: `${253 * scale}rpx`,
|
||||
// top: `${207 * scale}rpx`,
|
||||
// left: `${91 * scale}rpx`,
|
||||
// }
|
||||
// }
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
// export const baseUrl = 'https://www.chrivc.com/api';
|
||||
// export const baseUrl = 'https://app.pc.seemore.club';
|
||||
export const baseUrl = 'http://office.xianci.info:19092';
|
||||
export const baseUrl = 'https://app.pc.seemore.club';
|
||||
// export const baseUrl = 'http://office.xianci.info:19092';
|
||||
// export const baseUrl = 'http://192.168.168.189:9090';
|
||||
// export const baseUrl = 'http://120.77.82.246:18085';
|
||||
// export const baseUrl = 'http://192.168.168.234:18085';
|
||||
|
@ -56,6 +55,17 @@ export function request(config: WechatMiniprogram.RequestOption) {
|
|||
title: msg
|
||||
})
|
||||
}
|
||||
if (data.c === 501007 || data.c === 501006) {
|
||||
resolve(data)
|
||||
}
|
||||
// if (data.c === 501006) {
|
||||
// wx.showToast({
|
||||
// duration: 1500,
|
||||
// icon: 'none',
|
||||
// image: '/assets/images/comment/fail.png',
|
||||
// title: msg
|
||||
// })
|
||||
// }
|
||||
reject(data)
|
||||
})
|
||||
} else {
|
||||
|
|
|
@ -13,8 +13,9 @@ interface IAppOption {
|
|||
userInfo?: WechatMiniprogram.UserInfo & UserInfo,
|
||||
openId?: string,
|
||||
unionId?: string,
|
||||
ready?: Boolean
|
||||
}
|
||||
ready?: Boolean,
|
||||
smsCode?: string,
|
||||
},
|
||||
userInfoReadyCallback?: WechatMiniprogram.GetUserInfoSuccessCallback,
|
||||
getUserInfo: Function,
|
||||
reload: Function,
|
||||
|
|