main
123456 2 months ago
parent 86d7ec8d70
commit 6a1aa0e558
  1. 14
      api/index.js
  2. 2
      api/request.js
  3. 6
      manifest.json
  4. 19
      pages/login/avatar.vue
  5. 7
      pages/login/index.vue
  6. 394
      pages/users/edit/index.vue
  7. 91
      pages/users/personal/index.vue
  8. 2
      pages/users/renzheng/index.vue
  9. 80
      pages/users/renzheng/zhenren.vue
  10. 218
      pages/users/yuyin/index.vue
  11. 4
      unpackage/cache/wgt/__UNI__7C06BEE/app-config-service.js
  12. 8
      unpackage/cache/wgt/__UNI__7C06BEE/app-service.js
  13. 2
      unpackage/cache/wgt/__UNI__7C06BEE/app-view.js
  14. 2
      unpackage/cache/wgt/__UNI__7C06BEE/manifest.json
  15. BIN
      unpackage/debug/android_debug.apk
  16. 4
      unpackage/dist/build/app-plus/app-config-service.js
  17. 8
      unpackage/dist/build/app-plus/app-service.js
  18. 2
      unpackage/dist/build/app-plus/app-view.js
  19. 2
      unpackage/dist/build/app-plus/manifest.json
  20. 4
      unpackage/dist/dev/app-plus/app-config-service.js
  21. 5624
      unpackage/dist/dev/app-plus/app-service.js
  22. 4120
      unpackage/dist/dev/app-plus/app-view.js
  23. 2
      unpackage/dist/dev/app-plus/manifest.json

@ -1,9 +1,17 @@
import { request } from './request'
const api = {
//手机认证
phoneAuth(data) {
//根据字典类型获取字典 学历 education_type 薪资 salary_type 婚姻 marriage_type 居住 live_type 异性-女标签 sex_type_2 星座 constellation_type 异性-男标签 sex_type_1
getDictDataByType(data) {
return request({
url: 'api/user/phoneAuth',
url: 'api/getDictDataByType',
method: 'get',
data
})
},
//真人认证
detectLivingFace(data) {
return request({
url: 'api/user/detectLivingFace',
method: 'post',
data
})

@ -5,7 +5,7 @@ Vue.prototype.$baseUrl = baseUrl;
export function request(prams) {
return new Promise((resolve, reject) => {
let url = baseUrl+"/prod-api/"+prams.url;
console.log(url,prams)
console.log(prams)
uni.request({
url,
data: prams.data,

@ -2,7 +2,7 @@
"name" : "chunwan",
"appid" : "__UNI__7C06BEE",
"description" : "",
"versionName" : "1.0.0",
"versionName" : "1.0.1",
"versionCode" : "100",
"transformPx" : false,
/* 5+App */
@ -22,7 +22,8 @@
"OAuth" : {},
"Camera" : {},
"Maps" : {},
"Payment" : {}
"Payment" : {},
"Record" : {}
},
/* */
"distribute" : {
@ -33,6 +34,7 @@
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
"<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",

@ -29,7 +29,13 @@
avatar: "",
};
},
mounted() {
onLoad() {
const that = this;
uni.$on("onPopup",res=>{
if(res == 1){
that.show=false
}
})
//
uni.$on('uAvatarCropper', path => {
const that = this;
@ -68,15 +74,6 @@
});
})
},
onLoad() {
const that = this;
uni.$on("onPopup",res=>{
if(res == 1){
that.show=false
}
})
},
methods: {
recorderAuthModal: function () {
const that = this;
@ -99,7 +96,7 @@
if(result != 1){
that.recorderAuthModal();
}else{
that.$refs.perpopup.close()
that.show=false
// uView"-JS"uniuni.navigateTo
that.$u.route({
// ""

@ -32,7 +32,7 @@
export default {
data() {
return {
isShow: true,
isShow: false,
isCheck: true,
isClick: true,
phone: "",
@ -44,13 +44,14 @@
},
onLoad() {
uni.setStorageSync("deviceSn",uni.getSystemInfoSync().deviceId)
console.log(uni.getStorageSync("userInfo").token)
if(uni.getStorageSync("userInfo").token){
this.isShow1 = true
this.isShow1 = false
uni.switchTab({
url:"/pages/index/index"
})
}else{
this.isShow1 = false
this.isShow1 = true
}
},
methods: {

@ -3,14 +3,15 @@
<view class="edit-navbar">
<u-navbar title="编辑资料" back-icon-color="#333333" title-color="#333333" :background="background">
<view class="slot-wrap" slot="right">
<view class="btn">保存</view>
<view class="btn" @click="toReg()">保存</view>
</view>
</u-navbar>
</view>
<view class="edit-user">
<view class="user">
<view class="pic">
<image class="avatar" src="@/static/nan.png"></image>
<view class="pic" @click="toNext(1)">
<image class="avatar" v-if="userInfo.faceImage" :src="userInfo.faceImage"></image>
<image class="avatar" v-else :src="baseUrl+userInfo.img"></image>
<image class="xiangji" src="@/static/xiangji.png"></image>
</view>
</view>
@ -22,17 +23,17 @@
<view class="title">交友宣言</view>
<view class="xuanyan">
<image class="icon" src="@/static/editor.png"></image>
<textarea placeholder="介绍一下自己"></textarea>
<textarea v-model="userInfo.declaration" placeholder="介绍一下自己"></textarea>
</view>
</view>
<view class="edit-hd">
<view class="title">语音签名</view>
<view class="qianming">
<view class="box">
暂无录音
<view class="box" v-if="userInfo.voiceTime">
{{userInfo.voiceTime?userInfo.voiceTime+"″":'暂无录音'}}
</view>
<view class="icon">
立即录制<image src="@/static/icon-arrow.png"></image>
<view class="icon" @click="toPage()">
{{userInfo.voiceTime?"重新录制":'立即录制'}}<image src="@/static/icon-arrow.png"></image>
</view>
</view>
</view>
@ -41,49 +42,67 @@
<view class="content">
<view class="item">
<view class="a">昵称</view>
<view class="b">李哈哈<image src="@/static/icon-arrow.png"></image></view>
<view class="b">
<input type="text" v-model="userInfo.nickname" placeholder="请输入" />
<image src="@/static/icon-arrow.png"></image></view>
</view>
<view class="item">
<view class="a">出生日期</view>
<view class="b">
<picker mode="date" @change="pickerDate1">请选择</picker>
<picker mode="date" :end="endDate" :value="userInfo.birthday" @change="pickerDate1">
{{userInfo.birthday}}
</picker>
<image src="@/static/icon-arrow.png"></image></view>
</view>
<view class="item">
<view class="a">性别</view>
<view class="b"></view>
<view class="b">{{userInfo.sex==1?'男':''}}</view>
</view>
<view class="item">
<view class="a">身高</view>
<view class="b"><picker mode="selector" @change="pickerDate3">请选择</picker><image src="@/static/icon-arrow.png"></image></view>
<view class="b"><picker :range="pickerList1" :value="userInfo.height" @change="pickerDate2">
<view class="txt" :class="userInfo.height?'txt-on':''">{{userInfo.height?userInfo.height:'请选择'}}</view>
</picker><image src="@/static/icon-arrow.png"></image></view>
</view>
<view class="item">
<view class="a">体重</view>
<view class="b"><picker mode="selector" @change="pickerDate4">请选择</picker><image src="@/static/icon-arrow.png"></image></view>
<view class="b"><picker :range="pickerList2" :value="userInfo.weight" @change="pickerDate3">
<view class="txt" :class="userInfo.weight?'txt-on':''">{{userInfo.weight?userInfo.weight:'请选择'}}</view>
</picker><image src="@/static/icon-arrow.png"></image></view>
</view>
<view class="item">
<view class="a">年收入</view>
<view class="b"><input type="text" placeholder="请输入" /><image src="@/static/icon-arrow.png"></image></view>
<view class="b"><picker :range="pickerList3" range-key="dictLabel" :value="userInfo.annualIncome" @change="pickerDate4">
<view class="txt" :class="userInfo.annualIncome?'txt-on':''">{{userInfo.annualIncome?userInfo.annualIncome:'请选择'}}</view>
</picker><image src="@/static/icon-arrow.png"></image>
</view>
</view>
<view class="item">
<view class="a">学历</view>
<view class="b"><picker mode="selector" @change="pickerDate2">请选择</picker><image src="@/static/icon-arrow.png"></image></view>
<view class="b"><picker :range="pickerList4" range-key="dictLabel" :value="userInfo.xueli" @change="pickerDate5">
<view class="txt" :class="userInfo.xueli?'txt-on':''">{{userInfo.xueli?userInfo.xueli:'请选择'}}</view>
</picker><image src="@/static/icon-arrow.png"></image>
</view>
</view>
<view class="item">
<view class="a">职业</view>
<view class="b"><picker mode="multiSelector" @change="pickerDate5">请选择</picker><image src="@/static/icon-arrow.png"></image></view>
<view class="b"><input type="text" v-model="userInfo.post" placeholder="请输入" /><image src="@/static/icon-arrow.png"></image></view>
</view>
<view class="item">
<view class="a">现居城市</view>
<view class="b"><picker mode="region" @change="pickerDate6">请选择</picker><image src="@/static/icon-arrow.png"></image></view>
<view class="b"><view class="txt" @click="openCity(1)" :class="userInfo.province?'txt-on':''">{{userInfo.province?(userInfo.province+"-"+userInfo.city+"-"+userInfo.district):'请选择'}}</view><image src="@/static/icon-arrow.png"></image></view>
</view>
<view class="item">
<view class="a">家乡</view>
<view class="b"><picker mode="region" @change="pickerDate7">请选择</picker><image src="@/static/icon-arrow.png"></image></view>
<view class="b"><view class="txt" @click="openCity(2)" :class="userInfo.province?'txt-on':''">{{userInfo.home?userInfo.home:'请选择'}}</view><image src="@/static/icon-arrow.png"></image></view>
</view>
<view class="item">
<view class="a">星座</view>
<view class="b"><picker mode="selector" @change="pickerDate8">请选择</picker><image src="@/static/icon-arrow.png"></image></view>
<view class="b">
<picker :range="pickerList5" range-key="dictLabel" :value="userInfo.constellation" @change="pickerDate6">
<view class="txt" :class="userInfo.constellation?'txt-on':''">{{userInfo.constellation?userInfo.constellation:'请选择'}}</view>
</picker><image src="@/static/icon-arrow.png"></image>
</view>
</view>
</view>
</view>
@ -92,14 +111,17 @@
<view class="content">
<view class="item">
<view class="a">情感状态</view>
<view class="b"><picker mode="selector" @change="pickerDate8">请选择</picker><image src="@/static/icon-arrow.png"></image></view>
<view class="b"><picker :range="pickerList6" range-key="dictLabel" :value="userInfo.emotion" @change="pickerDate7">
<view class="txt" :class="userInfo.emotion?'txt-on':''">{{userInfo.emotion?userInfo.emotion:'请选择'}}</view>
</picker><image src="@/static/icon-arrow.png"></image></view>
</view>
<view class="item">
<view class="a">喜欢什么样的异性</view>
<view class="b">
<view class="li">颜值高</view>
<view class="li">腿长</view>
<view class="li">社牛</view>
<view class="txt" @click="show = true" v-if="!userInfo.sexFlag">请选择</view>
<view class="list" v-else>
<view class="li" v-for="(a,i) in userInfo.sexFlag" @click="show = true">{{a}}</view>
</view>
<image src="@/static/icon-arrow.png"></image>
</view>
</view>
@ -108,11 +130,11 @@
<view class="edit-hd">
<view class="title">相册</view>
<view class="content">
<view class="items" v-for="i in 3" :key="i">
<image class="del" src="@/static/icon-del.png"></image>
<image class="pic" src="@/static/pic.jpg"></image>
<view class="items" v-for="(a,i) in userInfo.xiangce" :key="i">
<image class="del" @click.stop="toDel(i)" src="@/static/icon-del.png"></image>
<image class="pic" :src="baseUrl+a"></image>
</view>
<view class="upload">
<view class="upload" @click="toNext(2)">
<image src="@/static/jia.png"></image>
</view>
</view>
@ -121,16 +143,12 @@
<view class="tiao">
<view class="title">喜欢的异性</view>
<view class="content">
<view class="item" :class="tabIndex == 1?'item-on':''" @click="tabItem(1)">颜值高</view>
<view class="item" :class="tabIndex == 2?'item-on':''" @click="tabItem(2)">腿长</view>
<view class="item" :class="tabIndex == 3?'item-on':''" @click="tabItem(3)">小家碧玉</view>
<view class="item" :class="tabIndex == 4?'item-on':''" @click="tabItem(4)">顾家</view>
<view class="item" :class="tabIndex == 5?'item-on':''" @click="tabItem(5)">温柔可爱</view>
<view class="item" :class="tabIndex == 6?'item-on':''" @click="tabItem(6)">爱国</view>
<view class="item" v-for="(a,i) in pickerList7" :class="a.isSelect?'item-on':''" @click="tabItem(i)">{{a.dictLabel}}</view>
</view>
<view class="btn">确认</view>
<view class="btn" @click="toClick()">确认</view>
</view>
</u-popup>
<u-picker mode="region" v-model="show1" :defaultRegion="defaultRegion" @cancel="cancel" @confirm="confirm" ></u-picker>
</view>
</template>
@ -138,17 +156,294 @@
export default {
data() {
return {
show1: false,
tabIndex: 1,
show: true,
show: false,
background: {
"background": "#ffffff"
}
},
baseUrl: "",
userInfo: {},
pickerList1: [],
pickerList2: [],
pickerList3: [],
pickerList4: [],
pickerList5: [],
pickerList6: [],
pickerList7: [],
pickerList8: [],
cityType: 1,
defaultRegion: [],
uploadType: 1
};
},
computed: {
startDate() {
return this.getDate('start');
},
endDate() {
return this.getDate('end');
}
},
onReady() {
const that = this;
that.baseUrl = that.$baseUrl;
for(let i = 150;i<=210;i++){
that.pickerList1.push(i+"cm")
}
for(let i = 40;i<=120;i++){
that.pickerList2.push(i+"kg")
}
that.getUserInfo();
that.getDictDataByType();
uni.$on("yuyin",res=>{
})
//
uni.$on('uAvatarCropper', path => {
if(that.uploadType == 2){
//
uni.uploadFile({
url: that.$baseUrl+'/prod-api/common/upload',
filePath: path,
name: 'file',
complete: (res) => {
if(res.statusCode == 200){
const {code, fileName, url, msg} = JSON.parse(res.data);
if(code == 200){
uni.showToast({
title: "上传成功"
})
that.userInfo.xiangce.push(fileName);
that.$forceUpdate();
}else{
uni.showToast({
icon: "error",
title: "上传失败"
})
}
}else{
uni.showToast({
icon: "error",
title: "上传失败"
})
}
}
});
}else{
//
uni.$on('uAvatarCropper', path => {
const that = this;
//
uni.uploadFile({
url: that.$baseUrl+'/prod-api/api/user/uploadOSSFile',
filePath: path,
name: 'file',
formData: {
"userId": uni.getStorageSync("userInfo").id
},
complete: (res) => {
if(res.statusCode == 200){
const {code, data, msg} = JSON.parse(res.data);
if(code == 200){
uni.showToast({
title: "上传成功"
})
that.toReg(data)
}else{
uni.showToast({
icon: "error",
title: "上传失败"
})
}
}else{
uni.showToast({
icon: "error",
title: "上传失败"
})
}
}
});
})
}
})
},
methods: {
openCity(index) {
this.cityType = index;
if(index == 1){
this.defaultRegion = this.userInfo.province?[this.userInfo.province,this.userInfo.city,this.userInfo.district]:[]
}else{
this.defaultRegion = this.userInfo.home?this.userInfo.home.split("-"):[]
}
console.log(this.defaultRegion)
this.show1 = true;
},
cancel() {
this.show1 = false
},
confirm(e){
this.show1 = false
console.log(e)
if(this.cityType == 1){
this.userInfo.province = e.province.name;
this.userInfo.city = e.city.name;
this.userInfo.district = e.area.name;
this.defaultRegion = [e.province.name,e.city.name,e.area.name]
}else{
this.userInfo.home = e.province.name+"-"+e.city.name+"-"+e.area.name;
this.defaultRegion = [e.province.name,e.city.name,e.area.name]
}
},
getDate(type) {
const date = new Date();
let year = date.getFullYear();
let month = date.getMonth() + 1;
let day = date.getDate();
if (type === 'start') {
year = year - 60;
} else if (type === 'end') {
year = year + 2;
}
month = month > 9 ? month : '0' + month;
day = day > 9 ? day : '0' + day;
return `${year}-${month}-${day}`;
},
async getUserInfo() {
const { code, data , msg } = await this.$api.findUserInfo({userId: uni.getStorageSync("userInfo").id});
if(code == 200){
this.userInfo = data;
this.userInfo.xiangce = []
if(data.reserved1){
this.userInfo.xiangce = data.reserved1.split(",")
}
if(data.province){
this.defaultRegion = [data.province, data.city, data.district]
}else{
this.defaultRegion = uni.getStorageSync("jingweiInfo").province?[uni.getStorageSync("jingweiInfo").province, uni.getStorageSync("jingweiInfo").city, uni.getStorageSync("jingweiInfo").district]:[]
}
this.userInfo.province = this.defaultRegion[0];
this.userInfo.city = this.defaultRegion[1];
this.userInfo.district = this.defaultRegion[2];
console.log(this.defaultRegion)
}else{
uni.showToast({
title: mgs,
position: "bottom",
icon: "none",
})
}
},
//
async getDictDataByType() {
const res1 = await this.$api.getDictDataByType({dictType: 'salary_type'});
const res2 = await this.$api.getDictDataByType({dictType: 'education_type'});
const res3 = await this.$api.getDictDataByType({dictType: 'constellation_type'});
const res5 = await this.$api.getDictDataByType({dictType: this.userInfo.sex == 1?'sex_type_2':'sex_type_1'});
const res4 = await this.$api.getDictDataByType({dictType: 'marriage_type'});
const res6 = await this.$api.getDictDataByType({dictType: 'live_type'});
this.pickerList3 = res1.data;
this.pickerList4 = res2.data;
this.pickerList5 = res3.data;
this.pickerList6 = res4.data;
let arr = res5.data;
if(arr && arr.length > 0){
arr.map(a=>{
a.isSelect = false
})
}
this.pickerList7 = arr;
this.pickerList8 = res6.data;
},
tabItem(index){
this.tabIndex = index;
}
this.pickerList7[index].isSelect = !this.pickerList7[index].isSelect;
},
toClick(){
this.show = false
let arr = [];
if(this.pickerList7 && this.pickerList7.length > 0){
this.pickerList7.map(a=>{
if(a.isSelect){
arr.push(a.dictLabel)
}
})
}
this.userInfo.sexFlag = arr.length>=1?arr:""
},
pickerDate1(e){
this.userInfo.birthday = e.detail.value
},
pickerDate2(e){
this.userInfo.height = this.pickerList1[e.detail.value]
},
pickerDate3(e){
this.userInfo.weight = this.pickerList2[e.detail.value]
},
pickerDate4(e){
this.userInfo.annualIncome = this.pickerList3[e.detail.value].dictLabel
},
pickerDate5(e){
this.userInfo.xueli = this.pickerList4[e.detail.value].dictLabel
},
pickerDate6(e){
this.userInfo.constellation = this.pickerList5[e.detail.value].dictLabel
},
pickerDate7(e){
this.userInfo.emotion = this.pickerList6[e.detail.value].dictLabel
},
toDel(i){
this.userInfo.xiangce.splice(i,1);
this.$forceUpdate();
},
toNext(index) {
this.uploadType=index;
this.$u.route({
// ""
url: '/uni_modules/vk-uview-ui/components/u-avatar-cropper/u-avatar-cropper',
//
params: {
// px
destWidth: 700,
// px
rectWidth: 300,
// 'png'"jpg"
fileType: 'jpg',
}
})
},
//
async toReg(faceImage) {
const {code, data, msg} = await this.$api.detectLivingFace({
userId: uni.getStorageSync("userInfo").id,
faceImage
})
if(code == 200){
this.userInfo.faceImage = faceImage
this.$forceUpdate();
}else{
uni.showToast({
icon: "none",
position: "bottom",
title: msg
})
}
},
toPage() {
uni.setStorageSync("yuyinInfo",{
voice: this.userInfo.voice,
voiceTime: Math.floor(this.userInfo.voiceTime/60)+":"+(this.userInfo.voiceTime-Math.floor(this.userInfo.voiceTime/60)*60),
})
uni.navigateTo({
url: "/pages/users/yuyin/index"
})
},
}
}
</script>
@ -254,6 +549,28 @@
flex: 1;
color: #222222;
font-size: 30rpx;
.list{
max-width: 360rpx;
.li{
float: left;
padding: 0 20rpx;
line-height: 50rpx;
background: #000000;
border-radius: 50rpx;
font-weight: 500;
font-size: 24rpx;
text-align: center;
color: #FFFFFF;
margin-top: 10rpx;
margin-right: 10rpx;
}
}
.txt{
color: #a3a3a3;
&-on{
color: #222222;
}
}
image{
width: 30rpx;
height: 30rpx;
@ -262,6 +579,7 @@
top: 5rpx;
}
input{
flex: 1;
text-align: right;
}
}

@ -4,27 +4,28 @@
<u-navbar :title="title" back-icon-color="#333333" :immersive="true" :background="background"></u-navbar>
</view>
<view class="user-pic">
<image mode="widthFix" src="@/static/pic.jpg"></image>
<image mode="widthFix" v-if="userInfo.faceFlag==0" :src="baseUrl+userInfo.img"></image>
<image mode="widthFix" v-else :src="userInfo.faceImage"></image>
</view>
<view class="user-hd">
<view class="a">
<view class="title">李大花</view>
<view class="vip">VIP1</view>
<image class="sex" v-if="true" src="@/static/peiwan-nv.png"></image>
<view class="title">{{userInfo.realname?userInfo.realname:userInfo.nickname}}</view>
<view class="vip" v-if="userInfo.memberflag>=1">VIP{{userInfo.memberflag}}</view>
<image class="sex" v-if="userInfo.sex ==2" src="@/static/peiwan-nv.png"></image>
<image class="sex" v-else src="@/static/peiwan-nan.png"></image>
<view class="city"><image class="location" src="@/static/dingwei2.png"></image>江苏 · 南京</view>
<view class="city" v-if="userInfo.province"><image class="location" src="@/static/dingwei2.png"></image>{{userInfo.province+"-"+userInfo.city}}</view>
</view>
<view class="b">
<view class="tag">26</view>
<view class="tag">172cm</view>
<view class="tag">65kg</view>
<view class="tag">互联网测试</view>
<view class="tag" v-if="userInfo.age">{{userInfo.age}}</view>
<view class="tag" v-if="userInfo.height">{{userInfo.height}}cm</view>
<view class="tag" v-if="userInfo.weight">{{userInfo.weight}}kg</view>
<view class="tag" v-if="userInfo.post">{{userInfo.post}}</view>
</view>
<view class="c">
#交友宣言世间无敌舍我其谁霸气长存风云变色
<view class="c" v-if="userInfo.declaration">
#交友宣言{{userInfo.declaration}}
</view>
<view class="d" :class="isPlay?'d-on':''" @click="toToggle()">
288
<view class="d" :class="isPlay?'d-on':''" v-if="userInfo.voice" @click="toToggle()">
{{userInfo.voiceTime}}
</view>
</view>
<view class="user-tab">
@ -35,33 +36,29 @@
<view class="user-bd" v-if="current == 0">
<view class="xiangce">
<view class="title">相册
<view class="more" @click="openPage(7)">10张<image src="@/static/icon-arrow.png"></image></view>
<view class="more" v-if="userInfo.xiangce && userInfo.xiangce.length > 0" @click="openPage(7)">{{userInfo.xiangce.length > 0}}张<image src="@/static/icon-arrow.png"></image></view>
</view>
<view class="list">
<image v-for="i in 4" :key="i" src="@/static/pic.jpg"></image>
<view class="list" v-if="userInfo.xiangce && userInfo.xiangce.length > 0">
<image v-for="(a,i) in userInfo.xiangce" @click="openPage(8)" :key="i" :src="baseUrl+a"></image>
</view>
</view>
<view class="xiangce">
<view class="title">认证状态
</view>
<view class="list">
<view class="tag">手机号认证</view>
<view class="tag">实名认证</view>
<view class="tag">真人认证</view>
<view class="tag" v-if="userInfo.phoneFlag == 1">手机号认证</view>
<view class="tag" v-if="userInfo.realnameFlag == 1">实名认证</view>
<view class="tag" v-if="userInfo.faceFlag == 1">真人认证</view>
</view>
</view>
<view class="xiangce">
<view class="title">情感喜好
</view>
<view class="qinggan">
<view class="dd">情感状态<text>单身</text></view>
<view class="dd">情感状态<text>{{userInfo.emotion}}</text></view>
<view class="dd">喜欢什么样的异性
<view class="b">
<view class="tag">颜值高</view>
<view class="tag">腿长</view>
<view class="tag">社牛</view>
<view class="tag">单纯</view>
<view class="tag">热情</view>
<view class="tag" v-for="(a,i) in userInfo.sexFlag" :key="i">{{a}}</view>
</view>
</view>
</view>
@ -70,10 +67,10 @@
<view class="title">个人信息
</view>
<view class="qinggan">
<view class="li">年收入<text>6-8w</text></view>
<view class="li">家乡<text>江苏·南京</text></view>
<view class="li">学历<text>本科</text></view>
<view class="li">星座<text>处女座</text></view>
<view class="li">年收入<text>{{userInfo.annualIncome}}w</text></view>
<view class="li">家乡<text>{{userInfo.home}}</text></view>
<view class="li">学历<text>{{userInfo.xueli}}</text></view>
<view class="li">星座<text>{{userInfo.constellation}}</text></view>
</view>
</view>
</view>
@ -140,9 +137,11 @@
<script>
const systemInfoSync=uni.getSystemInfoSync();
const innerAudioContext = uni.createInnerAudioContext();
export default {
data() {
return {
baseUrl: "",
userInfo: {},
clickIndex: 1,
isShare: false,
@ -158,7 +157,8 @@
current: 0,
statusBarHeight: 0,
list:[{'name': '资料'},{'name': '陪玩'},{'name': '动态'}],
activeStyle: {'fontSize': '35rpx'}
activeStyle: {'fontSize': '35rpx'},
};
},
onPageScroll(e) {
@ -170,7 +170,7 @@
this.title =""
}else{
const t = e.scrollTop>=44?1:(e.scrollTop/44).toFixed(2)
this.title="李大花个人资料"
this.title = (this.userInfo.realname?this.userInfo.realname:this.userInfo.nickname)+"主页"
this.background = {
//
background: 'rgba(255,255,255,'+t+')',
@ -179,6 +179,10 @@
},
onLoad() {
this.statusBarHeight = systemInfoSync.statusBarHeight;
this.baseUrl = this.$baseUrl
},
onShow() {
this.getUserInfo();
},
methods: {
@ -186,6 +190,10 @@
const { code, data , msg } = await this.$api.findUserInfo({userId: uni.getStorageSync("userInfo").id});
if(code == 200){
this.userInfo = data;
this.userInfo.xiangce = []
if(data.reserved1){
this.userInfo.xiangce = data.reserved1.split(",")
}
}else{
uni.showToast({
title: mgs,
@ -196,7 +204,9 @@
},
openPage(index,id){
if(index == 1){
this.isCollect = !this.isCollect
uni.navigateTo({
url: "/pages/users/edit/index"
})
}else if(index == 2){
this.isShare = !this.isShare
}else if(index == 3){
@ -220,7 +230,24 @@
},
toToggle () {
this.isPlay = !this.isPlay
if(this.isPlay){
innerAudioContext.src = 'https://web-ext-storage.dcloud.net.cn/uni-app/ForElise.mp3';
innerAudioContext.play();
}else{
innerAudioContext.pause();
}
},
},
destroyed() {
if (innerAudioContext) {
try {
innerAudioContext.pause();
innerAudioContext.destroy()
innerAudioContext = null
} catch (e) {
}
}
}
}
</script>

@ -4,7 +4,7 @@
<view class="tips">平台提倡真实交友完成认证用户才能享受到平台各项权益</view>
<view class="item" @click="openPage(1)">手机认证<view class="btn" :class="userInfo.phoneFlag == 1?'btn-on':''">{{userInfo.phoneFlag == 1?'已认证':'未认证'}}</view></view>
<view class="item" @click="openPage(2)">实名认证<view class="btn" :class="userInfo.realnameFlag == 1?'btn-on':''">{{userInfo.realnameFlag == 1?'已认证':'未认证'}}</view></view>
<!-- <view class="item" v-if="userInfo.realnameFlag==1" @click="openPage(3)">真人认证<view class="btn" :class="userInfo.faceFlag == 1?'btn-on':''">{{userInfo.faceFlag == 1?'已认证':'未认证'}}</view></view> -->
<view class="item" v-if="userInfo.realnameFlag==1" @click="openPage(3)">真人认证<view class="btn" :class="userInfo.faceFlag == 1?'btn-on':''">{{userInfo.faceFlag == 1?'已认证':'未认证'}}</view></view>
</view>
</template>

@ -7,11 +7,11 @@
</view>
</view>
<!-- <view class="title">真人认证失败</view> -->
<view class="title" v-if="userInfo.faceFlag == 0">请拍照</view>
<view class="title">请拍照</view>
<!-- <view class="title">头像认证中请稍后</view> -->
<view class="tips"><text>提示真人认证我们会比对实名认证的活体采集与头像\n信息是否匹配若匹配认证通过\n若不匹配认证失败</text></view>
<view class="phone-fd">
<view class="btn" v-if="userInfo.faceFlag == 0">重新上传头像</view>
<view class="btn" @click="toNext">上传头像</view>
<!-- <view class="btn" v-if="userInfo.faceFlag == 1">确定</view> -->
</view>
</view>
@ -25,21 +25,83 @@
};
},
onReady() {
this.getUserInfo();
//
uni.$on('uAvatarCropper', path => {
const that = this;
//
uni.uploadFile({
url: that.$baseUrl+'/prod-api/api/user/uploadOSSFile',
filePath: path,
name: 'file',
formData: {
"userId": uni.getStorageSync("userInfo").id
},
complete: (res) => {
if(res.statusCode == 200){
const {code, data, msg} = JSON.parse(res.data);
if(code == 200){
uni.showToast({
title: "上传成功"
})
that.toReg(data)
}else{
uni.showToast({
icon: "error",
title: "上传失败"
})
}
}else{
uni.showToast({
icon: "error",
title: "上传失败"
})
}
}
});
})
},
methods: {
async getUserInfo() {
const { code, data , msg } = await this.$api.findUserInfo({userId: uni.getStorageSync("userInfo").id});
toNext() {
const that = this;
that.$u.route({
// ""
url: '/uni_modules/vk-uview-ui/components/u-avatar-cropper/u-avatar-shiming',
//
params: {
// px
destWidth: 700,
// px
rectWidth: 300,
// 'png'"jpg"
fileType: 'jpg',
}
})
},
//
async toReg(faceImage) {
const {code, data, msg} = await this.$api.detectLivingFace({
userId: uni.getStorageSync("userInfo").id,
faceImage
})
if(code == 200){
this.userInfo = data;
uni.showToast({
title: "提交成功"
})
setTimeout(()=>{
uni.navigateBack({
delta: 1
})
},2000)
}else{
uni.showToast({
title: mgs,
position: "bottom",
icon: "none",
position: "bottom",
title: msg
})
}
},
}
}
}
</script>

@ -1,35 +1,225 @@
<template>
<view class="yuyin">
<view class="a">
<view class="item">
<image src="/static/yuying-04.png"></image>
<view class="txt">点击录音</view>
<view class="a" v-if="!yuyinInfo.voice">
<view class="item" @click="toDo(1)">
<image class="img1" v-if="isPlays == false" @click="toDo(5)" src="@/static/yuying-04.png"></image>
<image class="img2" v-else @click="toDo(6)" src="@/static/yuying-02.png"></image>
<view class="txt">{{isPlays?'停止录音':'点击录音'}}</view>
<view class="txt" v-if="isPlays">{{yuyinInfo.voiceTime}}</view>
</view>
</view>
<view class="a">
<view class="items">
<view class="a" v-else>
<view class="items" @click="toDo(1)">
<image src="/static/yuying-05.png"></image>
<view class="txt">重新录制</view>
</view>
<view class="item">
<image class="img1" src="/static/yuying-02.png"></image>
<image class="img2" src="/static/yuying-04.png"></image>
<view class="txt">01:40</view>
<image class="img1" v-if="isPlay == false" @click="toDo(3)" src="@/static/yuying-04.png"></image>
<image class="img2" v-else @click="toDo(4)" src="@/static/yuying-02.png"></image>
<view class="txt">{{yuyinInfo.voiceTime}}</view>
</view>
<view class="items">
<view class="items" @click="toDo(5)">
<image src="/static/yuying-03.png"></image>
<view class="txt">保存提交</view>
</view>
</view>
<u-popup v-model="show" mode="top" :mask-close-able='false' :zIndex="5">
<view class="permissions_box">
当您使用APP时为了使用录音的功能我们需要申请麦克风权限
</view>
</u-popup>
</view>
</template>
<script>
const recorderManager = uni.getRecorderManager();
const innerAudioContext = uni.createInnerAudioContext();
import permision from "@/js_sdk/wa-permission/permission.js"
innerAudioContext.autoplay = true;
let timer = 0;
export default {
data() {
return {
baseUrl: "",
count: 0,
show: false,
isPlay: false,
isPlays: false,
yuyinInfo: {}
};
},
onLoad() {
const that = this;
that.yuyinInfo = uni.getStorageSync("yuyinInfo");
that.baseUrl = that.$baseUrl;
console.log(that.yuyinInfo)
recorderManager.onStop(function (res) {
console.log('recorder stop' + JSON.stringify(res));
//
uni.uploadFile({
url: that.$baseUrl+'/prod-api/common/upload',
filePath: res.tempFilePath,
name: 'file',
complete: (res) => {
console.log(res)
if(res.statusCode == 200){
const {code, fileName, url, msg} = JSON.parse(res.data);
if(code == 200){
uni.showToast({
title: "上传成功"
})
that.yuyinInfo.voice = url;
that.$forceUpdate();
}else{
uni.showToast({
icon: "error",
title: "上传失败"
})
}
}else{
uni.showToast({
icon: "error",
title: "上传失败"
})
}
}
});
console.log('that.voicePath:' +that.yuyinInfo.voice);
});
uni.$on("onPopup",res=>{
if(res == 1){
that.show = false
}
})
},
methods: {
recorderAuthModal: function () {
const that = this;
uni.showModal({
title: '温馨提示',
content: '为了麦克风的功能,我们需要申请麦克风权限,请您确认授权,否则无法使用该功能~',
cancelText: '关闭',
confirmText: '去授权',
success(res) {
that.show=false
if (res.confirm) {
permision.gotoAppPermissionSetting()
}
}
})
},
async requestAndroidPermission(permisionID) {
const that = this;
var result = await permision.requestAndroidPermission(permisionID);
if(result != 1){
that.recorderAuthModal();
}else{
that.show =false
}
},
toDo(index){
const that = this;
if(index == 1){
// APP
if(uni.getSystemInfoSync().platform == 'android') {
plus.android.checkPermission(
'android.permission.RECORD_AUDIO',
granted => {
if (granted.checkResult==-1){
that.show=true
}else{
that.show=false
that.yuyinInfo.voice = ""
that.yuyinInfo.voiceTime = that.formatFun(0);
}
},
error => {
console.error('Error checking permission:', error.message);
}
);
that.requestAndroidPermission('android.permission.RECORD_AUDIO')
return ;
}
that.yuyinInfo.voice = ""
that.yuyinInfo.voiceTime = that.formatFun(0);
}else if(index == 2){
recorderManager.stop();
}else if(index == 3){
innerAudioContext.src = this.yuyinInfo.voice;
this.isPlay = true;
innerAudioContext.play();
}else if(index == 4){
this.isPlay = false;
innerAudioContext.pause();
}else if(index == 5){
// APP
if(uni.getSystemInfoSync().platform == 'android') {
plus.android.checkPermission(
'android.permission.RECORD_AUDIO',
granted => {
if (granted.checkResult==-1){
that.show=true
}else{
that.show=false
that.yuyinInfo.voice = ""
that.yuyinInfo.voiceTime = that.formatFun(0);
that.isPlays = true;
clearInterval(timer)
timer = setInterval(()=>{
that.count++
that.yuyinInfo.voiceTime = that.formatFun(that.count)
},1000)
recorderManager.start({
format: "mp3"
})
}
},
error => {
console.error('Error checking permission:', error.message);
}
);
that.requestAndroidPermission('android.permission.RECORD_AUDIO')
return ;
}
that.yuyinInfo.voice = ""
that.yuyinInfo.voiceTime = that.formatFun(0)
that.isPlays = true;
clearInterval(timer)
timer = setInterval(()=>{
that.count++
that.yuyinInfo.voiceTime = that.formatFun(that.count)
},1000)
recorderManager.start({
format: "mp3"
})
}else if(index == 6){
this.isPlays = false;
that.count = 0;
clearInterval(timer);
recorderManager.stop();
}
},
formatFun(num){
let str = "",h,m,s;
h=Math.floor(num/3600);
m=Math.floor((num-h*3600)/60);
s=(num-h*3600-m*60);
str = (h<=9?'0'+h:h)+":"+(m<=9?'0'+m:m)+":"+(s<=9?'0'+s:s)
return str;
},
},
destroyed() {
if (innerAudioContext) {
try {
innerAudioContext.pause();
innerAudioContext.destroy()
innerAudioContext = null
} catch (e) {
}
}
}
}
</script>
@ -51,12 +241,6 @@ page{
width: 178rpx;
height: 178rpx;
margin: 0 auto;
&.img1{
display: block;
}
&.img2{
display: none;
}
}
.txt{
text-align: center;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1 +1 @@
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__7C06BEE","name":"chunwan","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"Geolocation":{},"OAuth":{},"Camera":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#FFFFFF"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"splashscreen":{"useOriginalMsgbox":true},"icons":{"android":{"hdpi":"unpackage/res/icons/72x72.png","xhdpi":"unpackage/res/icons/96x96.png","xxhdpi":"unpackage/res/icons/144x144.png","xxxhdpi":"unpackage/res/icons/192x192.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"}}},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"],"schemes":"com.chunwan","minSdkVersion":21,"targetSdkVersion":30,"abiFilters":["armeabi-v7a","arm64-v8a","x86"]},"apple":{"idfa":false,"dSYMs":false},"plugins":{"geolocation":{"amap":{"name":"amap_17321661234Ay6qpQnkC","__platform__":["ios","android"],"appkey_ios":"49e860f8b39479b15db1110fb3e62286","appkey_android":"d2e40f882c2fde0f3724791cb82cbd9c"}},"oauth":{},"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"safearea":{"background":"#ffffff","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"4.28","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"color":"#999999","selectedColor":"#000000","borderStyle":"rgba(0,0,0,0.4)","backgroundColor":"#ffffff","list":[{"pagePath":"pages/index/index","iconPath":"static/sy2.png","selectedIconPath":"static/sy1.png","text":"首页"},{"pagePath":"pages/peiwan/index","iconPath":"static/peiwan2.png","selectedIconPath":"static/peiwan1.png","text":"陪玩"},{"pagePath":"pages/dongtai/index","iconPath":"static/dt2.png","selectedIconPath":"static/dt1.png","text":"动态"},{"pagePath":"pages/xiaoxi/index","iconPath":"static/xiaoxi2.png","selectedIconPath":"static/xiaoxi1.png","text":"消息"},{"pagePath":"pages/user/index","iconPath":"static/wd2.png","selectedIconPath":"static/wd1.png","text":"我的"}],"height":"50px"},"launch_path":"__uniappview.html"},"locale":"zh-Hans"}
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__7C06BEE","name":"chunwan","version":{"name":"1.0.1","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"Geolocation":{},"OAuth":{},"Camera":{},"Maps":{"coordType":"gcj02"},"Payment":{},"Record":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#FFFFFF"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"splashscreen":{"useOriginalMsgbox":true},"icons":{"android":{"hdpi":"unpackage/res/icons/72x72.png","xhdpi":"unpackage/res/icons/96x96.png","xxhdpi":"unpackage/res/icons/144x144.png","xxxhdpi":"unpackage/res/icons/192x192.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"}}},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"],"schemes":"com.chunwan","minSdkVersion":21,"targetSdkVersion":30,"abiFilters":["armeabi-v7a","arm64-v8a","x86"]},"apple":{"idfa":false,"dSYMs":false},"plugins":{"geolocation":{"amap":{"name":"amap_17321661234Ay6qpQnkC","__platform__":["ios","android"],"appkey_ios":"49e860f8b39479b15db1110fb3e62286","appkey_android":"d2e40f882c2fde0f3724791cb82cbd9c"}},"oauth":{"weixin":{"appid":"wx3024f118e0e78f2f","UniversalLinks":""}},"ad":{},"maps":{"amap":{"name":"amap_17321661234Ay6qpQnkC","appkey_ios":"49e860f8b39479b15db1110fb3e62286","appkey_android":"d2e40f882c2fde0f3724791cb82cbd9c"}},"share":{},"payment":{"weixin":{"__platform__":["ios","android"],"appid":"wx3024f118e0e78f2f","UniversalLinks":""}},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"safearea":{"background":"#ffffff","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"4.28","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"color":"#999999","selectedColor":"#000000","borderStyle":"rgba(0,0,0,0.4)","backgroundColor":"#ffffff","list":[{"pagePath":"pages/index/index","iconPath":"static/sy2.png","selectedIconPath":"static/sy1.png","text":"首页"},{"pagePath":"pages/peiwan/index","iconPath":"static/peiwan2.png","selectedIconPath":"static/peiwan1.png","text":"陪玩"},{"pagePath":"pages/dongtai/index","iconPath":"static/dt2.png","selectedIconPath":"static/dt1.png","text":"动态"},{"pagePath":"pages/xiaoxi/index","iconPath":"static/xiaoxi2.png","selectedIconPath":"static/xiaoxi1.png","text":"消息"},{"pagePath":"pages/user/index","iconPath":"static/wd2.png","selectedIconPath":"static/wd1.png","text":"我的"}],"height":"50px"},"launch_path":"__uniappview.html"},"locale":"zh-Hans"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1 +1 @@
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__7C06BEE","name":"chunwan","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"Geolocation":{},"OAuth":{},"Camera":{},"Maps":{"coordType":"gcj02"},"Payment":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#FFFFFF"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"splashscreen":{"useOriginalMsgbox":true},"icons":{"android":{"hdpi":"unpackage/res/icons/72x72.png","xhdpi":"unpackage/res/icons/96x96.png","xxhdpi":"unpackage/res/icons/144x144.png","xxxhdpi":"unpackage/res/icons/192x192.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"}}},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"],"schemes":"com.chunwan","minSdkVersion":21,"targetSdkVersion":30,"abiFilters":["armeabi-v7a","arm64-v8a","x86"]},"apple":{"idfa":false,"dSYMs":false},"plugins":{"geolocation":{"amap":{"name":"amap_17321661234Ay6qpQnkC","__platform__":["ios","android"],"appkey_ios":"49e860f8b39479b15db1110fb3e62286","appkey_android":"d2e40f882c2fde0f3724791cb82cbd9c"}},"oauth":{"weixin":{"appid":"wx3024f118e0e78f2f","UniversalLinks":""}},"ad":{},"maps":{"amap":{"name":"amap_17321661234Ay6qpQnkC","appkey_ios":"49e860f8b39479b15db1110fb3e62286","appkey_android":"d2e40f882c2fde0f3724791cb82cbd9c"}},"share":{},"payment":{"weixin":{"__platform__":["ios","android"],"appid":"wx3024f118e0e78f2f","UniversalLinks":""}},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"safearea":{"background":"#ffffff","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"4.28","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"color":"#999999","selectedColor":"#000000","borderStyle":"rgba(0,0,0,0.4)","backgroundColor":"#ffffff","list":[{"pagePath":"pages/index/index","iconPath":"static/sy2.png","selectedIconPath":"static/sy1.png","text":"首页"},{"pagePath":"pages/peiwan/index","iconPath":"static/peiwan2.png","selectedIconPath":"static/peiwan1.png","text":"陪玩"},{"pagePath":"pages/dongtai/index","iconPath":"static/dt2.png","selectedIconPath":"static/dt1.png","text":"动态"},{"pagePath":"pages/xiaoxi/index","iconPath":"static/xiaoxi2.png","selectedIconPath":"static/xiaoxi1.png","text":"消息"},{"pagePath":"pages/user/index","iconPath":"static/wd2.png","selectedIconPath":"static/wd1.png","text":"我的"}],"height":"50px"},"launch_path":"__uniappview.html"},"locale":"zh-Hans"}
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__7C06BEE","name":"chunwan","version":{"name":"1.0.1","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"Geolocation":{},"OAuth":{},"Camera":{},"Maps":{"coordType":"gcj02"},"Payment":{},"Record":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#FFFFFF"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"splashscreen":{"useOriginalMsgbox":true},"icons":{"android":{"hdpi":"unpackage/res/icons/72x72.png","xhdpi":"unpackage/res/icons/96x96.png","xxhdpi":"unpackage/res/icons/144x144.png","xxxhdpi":"unpackage/res/icons/192x192.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"}}},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"],"schemes":"com.chunwan","minSdkVersion":21,"targetSdkVersion":30,"abiFilters":["armeabi-v7a","arm64-v8a","x86"]},"apple":{"idfa":false,"dSYMs":false},"plugins":{"geolocation":{"amap":{"name":"amap_17321661234Ay6qpQnkC","__platform__":["ios","android"],"appkey_ios":"49e860f8b39479b15db1110fb3e62286","appkey_android":"d2e40f882c2fde0f3724791cb82cbd9c"}},"oauth":{"weixin":{"appid":"wx3024f118e0e78f2f","UniversalLinks":""}},"ad":{},"maps":{"amap":{"name":"amap_17321661234Ay6qpQnkC","appkey_ios":"49e860f8b39479b15db1110fb3e62286","appkey_android":"d2e40f882c2fde0f3724791cb82cbd9c"}},"share":{},"payment":{"weixin":{"__platform__":["ios","android"],"appid":"wx3024f118e0e78f2f","UniversalLinks":""}},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"safearea":{"background":"#ffffff","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"4.28","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"color":"#999999","selectedColor":"#000000","borderStyle":"rgba(0,0,0,0.4)","backgroundColor":"#ffffff","list":[{"pagePath":"pages/index/index","iconPath":"static/sy2.png","selectedIconPath":"static/sy1.png","text":"首页"},{"pagePath":"pages/peiwan/index","iconPath":"static/peiwan2.png","selectedIconPath":"static/peiwan1.png","text":"陪玩"},{"pagePath":"pages/dongtai/index","iconPath":"static/dt2.png","selectedIconPath":"static/dt1.png","text":"动态"},{"pagePath":"pages/xiaoxi/index","iconPath":"static/xiaoxi2.png","selectedIconPath":"static/xiaoxi1.png","text":"消息"},{"pagePath":"pages/user/index","iconPath":"static/wd2.png","selectedIconPath":"static/wd1.png","text":"我的"}],"height":"50px"},"launch_path":"__uniappview.html"},"locale":"zh-Hans"}
Loading…
Cancel
Save