Browse Source

上传

master
前端-胡立永 7 months ago
parent
commit
0b4b037537
20 changed files with 58 additions and 35 deletions
  1. BIN
      album.psd
  2. +1
    -1
      service-uniapp-client/.env
  3. +2
    -2
      service-uniapp-client/components/address/redactAddress.vue
  4. +1
    -1
      service-uniapp-client/components/couponList.vue
  5. +17
    -15
      service-uniapp-client/components/placard.vue
  6. +1
    -1
      service-uniapp-client/manifest.json
  7. +1
    -1
      service-uniapp-client/pages.json
  8. +18
    -8
      service-uniapp-client/pages/mine/distribution.vue
  9. +16
    -5
      service-uniapp-client/pages/mine/withdraw.vue
  10. +1
    -1
      service-uniapp-client/pages/technician/technicianDetail.vue
  11. BIN
      service-uniapp-client/static/address/address-icon.png
  12. BIN
      service-uniapp-client/static/address/position-icon.png
  13. BIN
      service-uniapp-client/static/home/time-icon.png
  14. BIN
      service-uniapp-client/static/login/logo.png
  15. BIN
      service-uniapp-client/static/logo.png
  16. BIN
      service-uniapp-client/static/placard/logo.png
  17. BIN
      service-uniapp-client/static/placard/placard-bg.png
  18. BIN
      service-uniapp-client/static/technician/address.png
  19. BIN
      service-uniapp-client/static/technician/album.png
  20. BIN
      service-uniapp-client/static/technician/logo.png

BIN
album.psd View File


+ 1
- 1
service-uniapp-client/.env View File

@ -10,4 +10,4 @@ VITE_REDIRECT_URI=https://h5.yixuandaojia.com
VITE_APPID=wxe36bd1a3deea74a3
VITE_MAP_KEY=V5RBZ-QRK63-JAO3B-RLSOB-FLWJF-DVFGH
VITE_MAP_KEY=LGABZ-VJZ6U-6ZMVR-G3SYN-IND2V-7BBG3

+ 2
- 2
service-uniapp-client/components/address/redactAddress.vue View File

@ -116,7 +116,7 @@
display: flex;
align-items: center;
height: 78rpx;
color: #5FCC9F;
color: #6e3009;
}
.van-cell__value {
@ -126,7 +126,7 @@
}
&::v-deep .van-field__error-message {
color: #5AC796;
color: #6e3009;
font-size: 20rpx;
margin-top: 10rpx;
}


+ 1
- 1
service-uniapp-client/components/couponList.vue View File

@ -27,7 +27,7 @@
</view>
</view>
<van-empty v-else image="/static/empty/coupon.png" image-size="400rpx" description="暂无优惠券"/>
<van-empty v-else image="/static/empty/data.png" image-size="400rpx" description="暂无优惠券"/>
</template>
<script>


+ 17
- 15
service-uniapp-client/components/placard.vue View File

@ -27,6 +27,7 @@
export default {
name: 'Placard',
components : { VueQrcode },
props : ['userInfo'],
data() {
return {
qrCodeValue: import.meta.env.VITE_REDIRECT_URI + `?vid=${this.getUserInfo()}`,
@ -46,7 +47,7 @@
tempFilePath: '',
_rpx: 0,
_center: 0
_center: 0,
}
},
methods: {
@ -66,7 +67,7 @@
bg.src = import.meta.env.VITE_REDIRECT_URI + '/static/placard/placard-bg.png'
//logo
let logo = new Image();
logo.src = import.meta.env.VITE_REDIRECT_URI + '/static/placard/logo.png'
logo.src = import.meta.env.VITE_REDIRECT_URI + '/static/login/logo.png'
bg.onload = () => {
logo.onload = () => { //logo(logo)
@ -86,7 +87,7 @@
//
ctx.font = `bold ${40 * rpx}px 楷体`
ctx.textAlign = 'center'
ctx.fillStyle = "#59B495";
ctx.fillStyle = "#ecb978";
ctx.fillText('上门服务', center, 200 * rpx, 400)
ctx.fillStyle = "#0A543B";
@ -114,12 +115,12 @@
//
this.paintingCapsule(ctx, center - (90 * rpx / 2), 250 * rpx, 90 * rpx, 25 * rpx,
13 * rpx, '#59B495', 'time')
13 * rpx, '#ecb978', 'time')
this.paintingCapsule(ctx, center + (130 * rpx / 2), 530 * rpx, 25 * rpx, 70 * rpx,
13 * rpx, '#BCEED6', 'coupon')
13 * rpx, '#ffe6ed', 'coupon')
////
this.drawList(ctx, 135 * rpx, 650 * rpx, 60 * rpx, 20 * rpx, 10 * rpx, '#59B495')
this.drawList(ctx, 135 * rpx, 650 * rpx, 60 * rpx, 20 * rpx, 10 * rpx, '#ecb978')
uni.canvasToTempFilePath({
x: 0, //
@ -219,13 +220,14 @@
})
},
getUserInfo(){
if(localStorage.getItem('userInfo')){
return JSON.parse(localStorage.getItem('userInfo')).id
}else{
uni.navigateTo({
url: '/pages/login/login'
})
}
// if(localStorage.getItem('userInfo')){
// return JSON.parse(localStorage.getItem('userInfo')).id
// }else{
// uni.navigateTo({
// url: '/pages/login/login'
// })
// }
return this.userInfo.id
}
}
}
@ -257,10 +259,10 @@
width: 72%;
height: 80rpx;
border-radius: 40rpx;
color: white;
font-size: 28rpx;
background: linear-gradient(180deg, #6FDFBE, #5AC796);
margin-top: 40rpx;
background: linear-gradient(178deg, #ffe6ed, #ecb978);
color: #6e3009;
}
}
}


+ 1
- 1
service-uniapp-client/manifest.json View File

@ -88,7 +88,7 @@
"sdkConfigs" : {
"maps" : {
"qqmap" : {
"key" : "V5RBZ-QRK63-JAO3B-RLSOB-FLWJF-DVFGH"
"key" : "LGABZ-VJZ6U-6ZMVR-G3SYN-IND2V-7BBG3"
}
}
},


+ 1
- 1
service-uniapp-client/pages.json View File

@ -177,7 +177,7 @@
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "秦柔到家",
"navigationBarTitleText": "宜轩到家",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8",
"navigationStyle":"custom"


+ 18
- 8
service-uniapp-client/pages/mine/distribution.vue View File

@ -47,7 +47,7 @@
<van-overlay :show="show" @click="show = false" z-index="999999">
<div style="display: flex;justify-content: center;
height: 100%;align-items: center;">
<placard ref="placard"></placard>
<placard ref="placard" :userInfo="userInfo"></placard>
</div>
</van-overlay>
</view>
@ -73,13 +73,23 @@
{ title : '费用明细' },
{ title : '提现记录' },
{ title : '收益记录' }
]
],
userInfo : {},
}
},
onShow() {
this.getAgentFlow()
this.getUserInfo()
},
methods: {
//
getUserInfo() {
this.$api('getUserInfo', {}, res => {
if (res.code == 200) {
this.userInfo = res.result;
}
})
},
getAgentFlow() {
this.$api('getAgentFlow', {
type: this.type
@ -176,7 +186,7 @@
.box1 {
height: 100px;
background: linear-gradient(to right, #4899a6, #6fc6ad);
background: linear-gradient(to right, #ecb978, #ffe6ed);
}
.content {
@ -185,12 +195,12 @@
justify-content: space-around;
width: 94%;
height: 140px;
background-color: #F5FDFB;
background-color: #F0F0F0;
top: 20px;
left: 3%;
z-index: 9;
border-radius: 10px;
box-shadow: 0px 1px 7px 1px #4899a6;
box-shadow: 0px 1px 7px 1px #6e300955;
.content-box {
display: flex;
@ -224,7 +234,7 @@
width: 200rpx;
display: flex;
justify-content: space-around;
color: #4C9FA6;
color: #6e3009;
font-size: 18px;
}
@ -248,8 +258,8 @@
display: inline-block;
padding: 5px 20px;
text-align: center;
border: 1px solid #96C8CB;
color: #76B7BA;
border: 1px solid #6e3009;
color: #6e3009;
border-radius: 5px;
}


+ 16
- 5
service-uniapp-client/pages/mine/withdraw.vue View File

@ -4,11 +4,22 @@
<view class="banner" />
<view class="b-relative center font-m">
<image src="/static/ms/w.png" />
<image src="/static/ms/1120.jpg" />
<view class="title" style="position: absolute; top: 40rpx; left: 40rpx">
<view style="line-height: 40rpx; font-size: 28rpx">账号余额</view>
<view style="line-height: 60rpx; font-size: 40rpx">{{ userInfo.price }}</view>
</view>
<!-- <view class="title" style="position: absolute; top: 0; left: 0;
width: 100%;height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 50rpx;">
<view style="line-height: 40rpx; font-size: 38rpx">账号余额</view>
<view style="line-height: 60rpx; font-size: 50rpx">{{ userInfo.price }}</view>
</view> -->
</view>
<view class="from-body">
@ -144,7 +155,7 @@
.banner {
width: 100vw;
height: 256rpx;
background: #cfece7;
background: rgba(#ecb978, 0.2);
}
.center {
@ -164,7 +175,7 @@
font-weight: 700;
text-align: left;
color: #ffffff;
text-shadow: 0 4rpx 6rpx 0 rgba(40, 170, 133, 0.81);
text-shadow: 0 4rpx 6rpx 0 rgba(#ecb978, 0.81);
}
.item-line input {
@ -278,11 +289,11 @@
width: 85%;
height: 80rpx;
border-radius: 40rpx;
color: white;
color: $uni-color;
text-align: center;
line-height: 80rpx;
font-size: 28rpx;
background: linear-gradient(180deg, #6FDFBE, #5AC796);
background: linear-gradient(178deg, #ffe6ed, #ecb978);
}
@media all and (min-width: 961px) {


+ 1
- 1
service-uniapp-client/pages/technician/technicianDetail.vue View File

@ -241,7 +241,7 @@
this.getReview(this.reviewQueryParams.fraction)
if (res.result.msgTechnician.images == '') { //
this.technicianImages = ['/static/technician/album.png']
this.technicianImages = ['/static/technician/album.png?a=1']
} else {
this.technicianImages = res.result.msgTechnician.images.split(',')
}


BIN
service-uniapp-client/static/address/address-icon.png View File

Before After
Width: 143  |  Height: 143  |  Size: 12 KiB Width: 143  |  Height: 143  |  Size: 18 KiB

BIN
service-uniapp-client/static/address/position-icon.png View File

Before After
Width: 42  |  Height: 54  |  Size: 2.1 KiB Width: 42  |  Height: 54  |  Size: 3.4 KiB

BIN
service-uniapp-client/static/home/time-icon.png View File

Before After
Width: 29  |  Height: 29  |  Size: 985 B Width: 29  |  Height: 29  |  Size: 1.8 KiB

BIN
service-uniapp-client/static/login/logo.png View File

Before After
Width: 505  |  Height: 504  |  Size: 154 KiB Width: 132  |  Height: 132  |  Size: 9.3 KiB

BIN
service-uniapp-client/static/logo.png View File

Before After
Width: 1680  |  Height: 1680  |  Size: 57 KiB

BIN
service-uniapp-client/static/placard/logo.png View File

Before After
Width: 505  |  Height: 504  |  Size: 154 KiB

BIN
service-uniapp-client/static/placard/placard-bg.png View File

Before After
Width: 897  |  Height: 1210  |  Size: 84 KiB Width: 897  |  Height: 1210  |  Size: 52 KiB

BIN
service-uniapp-client/static/technician/address.png View File

Before After
Width: 26  |  Height: 35  |  Size: 1.2 KiB Width: 26  |  Height: 35  |  Size: 1.8 KiB

BIN
service-uniapp-client/static/technician/album.png View File

Before After
Width: 1280  |  Height: 1548  |  Size: 69 KiB Width: 1280  |  Height: 1548  |  Size: 33 KiB

BIN
service-uniapp-client/static/technician/logo.png View File

Before After
Width: 9449  |  Height: 9449  |  Size: 657 KiB Width: 1280  |  Height: 1548  |  Size: 33 KiB

Loading…
Cancel
Save