Browse Source

Merge branch 'dz' of http://git.2weisou.com/liumin/NewZkgj into dz

undefined
lancer 3 years ago
parent
commit
c55cf5a57d
10 changed files with 130 additions and 89 deletions
  1. +4
    -4
      pages.json
  2. +14
    -2
      pages/center/Piabodata/Customerportrait/Receivedetailabout.vue
  3. +50
    -46
      pages/index/personal.vue
  4. +24
    -8
      pages/mine/Changehepassword.vue
  5. +36
    -27
      pages/mine/Myprofile.vue
  6. BIN
      static/images/Customer.png
  7. BIN
      static/images/password.png
  8. BIN
      static/images/setting.png
  9. BIN
      static/images/user-head-bgimg.png
  10. +2
    -2
      utils/tabbar.js

+ 4
- 4
pages.json View File

@@ -45,8 +45,8 @@
"path": "pages/index/personal",
"style": {
"navigationBarTitleText": "我的",
"navigationBarBackgroundColor": "#2671E2",
"navigationBarTextStyle": "white"
"navigationBarBackgroundColor": "#F8F8F8",
"navigationBarTextStyle": "black"
}
}
],
@@ -472,7 +472,7 @@
"pagePath": "pages/index/index",
"iconPath": "/static/images/tabBar/works.png",
"selectedIconPath": "/static/images/tabBar/worksActive.png",
"text": "首页"
"text": "工作台"
},
{
"pagePath": "pages/index/learning",
@@ -484,7 +484,7 @@
"pagePath": "pages/index/personal",
"iconPath": "/static/images/tabBar/user.png",
"selectedIconPath": "/static/images/tabBar/userActive.png",
"text": "个人"
"text": "我的"
}
]
},


+ 14
- 2
pages/center/Piabodata/Customerportrait/Receivedetailabout.vue View File

@@ -323,10 +323,10 @@
</view>
<view style="width: 690rpx;margin: 0 auto;display: flex;flex-wrap: wrap;" v-if="item.isshow==true">
<view class="sdfsaf" v-if="chend.showType==0"
v-for="(chend,i) in item.children" :key='i'>
v-for="(chend,i) in item.children" :key='i' @click="argece(chend)">
<view class="jiangshang sdfsaf">{{chend.text}}</view>
</view>
<view class="sdfsaf" v-if="chend.showType==1" @click="argece(chend)"
<view class="sdfsaf" v-if="chend.showType==1" @click="argece(chend)"
v-for="(chend,i) in item.children" :key='i'>
<view class="jiangshang1 sdfsaf" >{{chend.text}}</view>
</view>
@@ -530,6 +530,18 @@
this.innerAudioContext.destroy();
},
methods: {
// 跳转详情
argece(item) {
console.log(item)
this.innerAudioContext.destroy();
if (item.selected == 0) {
console.log(item)
uni.navigateTo({
url: '/pages/mine/ScoringPlaylist?customerId=' + this.customerId + "&id=" + item
.keywordsId + "&type=" + 1
})
}
},
//关键词点击
tapbadge(item){
//进搜索页面


+ 50
- 46
pages/index/personal.vue
File diff suppressed because it is too large
View File


+ 24
- 8
pages/mine/Changehepassword.vue View File

@@ -5,7 +5,7 @@
<view class="inpTextLable">
<view class="inpTextName">原密码</view>
</view>
<input placeholder="请输入原密码" placeholder-class="inpTextBox" class="inpTextBox1" maxlength="12"
<input placeholder="请输入原密码" placeholder-class="placeInpTextBox" class="inpTextBox1" maxlength="12"
v-model="password" type="text"></input>
</view>
</view>
@@ -14,20 +14,20 @@
<view class="inpTextLable">
<view class="inpTextName">新密码</view>
</view>
<input placeholder="请输入6-12位新密码" placeholder-class="inpTextBox" class="inpTextBox1" maxlength="12"
<input placeholder="请输入6-12位新密码" placeholder-class="placeInpTextBox" class="inpTextBox1" maxlength="12"
v-model="newPassword" type="password"></input>
</view>
</view>
<view class="inpText" >
<view class="inpText" style="padding-bottom: 8rpx;" >
<view class="inpTextBox" style="border: none;">
<view class="inpTextLable">
<view class="inpTextName">确认密码</view>
</view>
<input placeholder="请确认密码" placeholder-class="inpTextBox" class="inpTextBox1" maxlength="12"
<input placeholder="请确认密码" placeholder-class="placeInpTextBox" class="inpTextBox1" maxlength="12"
v-model="queryPassword" type="password"></input>
</view>
</view>
<button class="save" @tap="savePassword">保存</button>
<button class="save" @tap="savePassword">确定</button>
</view>
</template>

@@ -87,15 +87,16 @@
}
};
</script>
<style>
<style lang="scss">
.inpText {
padding: 0 30rpx;
width: 100%;
box-sizing: border-box;
padding: 0 20rpx;
background-color: #FFFFFF;
}

.inpTextBox {
padding: 36rpx 0 28rpx;
color: #BBBFC8;
text-align: left;
border-bottom: 1px solid #EEEEEE;
@@ -105,13 +106,28 @@
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
height: 109rpx;
}
.placeInpTextBox {
color: #999;
font-size: 30rpx;
}

.inpTextLable {
position: relative;
width: 155rpx;
display: flex;
align-items: center;
&::before {
content: '';
display: block;
position: absolute;
right: 0;
width: 2rpx;
height: 30rpx;
background: #999999;
}
}

.inpTextName {


+ 36
- 27
pages/mine/Myprofile.vue View File

@@ -1,22 +1,23 @@
<template>
<view>
<view class="main">
<view class="setBox">
<view class="setList" @tap="setHead" style="height: 140rpx;line-height: 120rpx;">
<text style="font-size: 30rpx;color: #333333;">头像</text>
<image src="/static/images/arrow.png" class="more">
</image>
<image
:src="avatar||'https://qufang.oss-cn-beijing.aliyuncs.com/upload/icon/xcx/zkgj/headPicture.png'"
class="headPicture"></image>
<view class="setList-right">
<image :src="avatar||'https://qufang.oss-cn-beijing.aliyuncs.com/upload/icon/xcx/zkgj/headPicture.png'"
class="headPicture"></image>
<image src="/static/images/arrow.png" class="more"></image>
</view>
</view>
<view>
<navigator class="setList" :url="'/pages/mine/nickname?userName=' + name + '&imgSrc=' + imgSrc">
<text style="font-size: 30rpx;color: #333333;">昵称</text>
<image src="/static/images/arrow.png" class="more"></image>
<text class="userName">{{name||"暂无昵称"}}</text>
<text style="font-size: 30rpx;color: #333333;">名字</text>
<view class="setList-right">
<text class="userName">{{name||"暂无昵称"}}</text>
<image src="/static/images/arrow.png" class="more"></image>
</view>
</navigator>
<!-- <navigator class="setList" url="/pages/mine/signature">
<text style="font-size: 30rpx;color: #333333;">签名</text>
<image src="/static/images/arrow.png" class="more"></image>
@@ -111,32 +112,42 @@
}
};
</script>
<style>
page {
width: 100%;
height: 100%;
background: #fff;


<style lang="scss" scoped>
.main {
width: 100vw;
min-height: calc(100vh - var(--window-top));
background: #F8F8F8;
display: flex;
flex-direction: column;
}

.setBox {
padding-top: 20rpx;
padding-left: 30rpx;
padding-right: 30rpx;
margin-top: 20rpx;
flex-grow: 1;
background: #fff;
}

.setList {
padding: 36rpx 30rpx;
width: 100%;
height: 100rpx;
background: #fff;
box-sizing: border-box;
line-height: 100rpx;
border-bottom: 1rpx solid #EEEEEE;
display: flex;
align-items: center;
justify-content: space-between;
.setList-right {
display: flex;
align-items: center;
}
}

.headPicture {
border-radius: 50%;
width: 100rpx;
height: 100rpx;
width: 120rpx;
height: 120rpx;
float: right;
object-fit: cover;
-o-object-fit: cover;
@@ -144,14 +155,12 @@
}

.userName {
float: right;
}

.more {
width: 18rpx;
height: 32rpx;
float: right;
margin-top: 32rpx;
margin-left: 20rpx;
}



BIN
static/images/Customer.png View File

Before After
Width: 36  |  Height: 36  |  Size: 1.5 KiB Width: 72  |  Height: 72  |  Size: 4.4 KiB

BIN
static/images/password.png View File

Before After
Width: 36  |  Height: 36  |  Size: 848 B Width: 72  |  Height: 72  |  Size: 1.7 KiB

BIN
static/images/setting.png View File

Before After
Width: 36  |  Height: 36  |  Size: 1.7 KiB Width: 72  |  Height: 72  |  Size: 3.7 KiB

BIN
static/images/user-head-bgimg.png View File

Before After
Width: 1456  |  Height: 652  |  Size: 68 KiB

+ 2
- 2
utils/tabbar.js View File

@@ -15,7 +15,7 @@ export default [{
"iconPath": "/static/images/tabBar/works.png",
"selectedIconPath": "/static/images/tabBar/worksActive.png",
"midButton": true,
"text": "首页"
"text": "工作台"
},
{
"pagePath": "/pages/index/learning",
@@ -27,6 +27,6 @@ export default [{
"pagePath": "/pages/index/personal",
"iconPath": "/static/images/tabBar/user.png",
"selectedIconPath": "/static/images/tabBar/userActive.png",
"text": "个人"
"text": "我的"
}
];

Loading…
Cancel
Save