合并代码

This commit is contained in:
sx 2025-01-01 00:04:32 +08:00
parent 23b691c539
commit 849661cf00
5 changed files with 20 additions and 22 deletions

View File

@ -42,7 +42,7 @@ export const durian = {
*/ */
exchange(param) { exchange(param) {
return util.request({ return util.request({
url: `/app/durian/exchange`, url: `/coreplay/duriantreeinfo/exchange`,
method: 'POST', method: 'POST',
data: param.data, data: param.data,
load: true, load: true,

View File

@ -100,7 +100,7 @@ const util = {
// 请求头 // 请求头
obj.header = { obj.header = {
// 'Content-Type': 'multipart/form-data; ', // 'Content-Type': 'multipart/form-data; ',
'Content-Type': 'application/json;charset=UTF-8', 'Content-Type': 'multipart/form-data',
'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Origin': '*',
...obj.header, ...obj.header,
} }

View File

@ -84,7 +84,7 @@
durianlApi.exchange({ durianlApi.exchange({
data: { data: {
// userId: userinfo.value.userId, // userId: userinfo.value.userId,
DurianConfigId: selectItem.value.id, durianConfigId: selectItem.value.durianConfigInfoId,
type: type type: type
}, },
}).then(rs => { }).then(rs => {
@ -220,17 +220,17 @@
} }
.item:nth-child(9n-7) { .item:nth-child(9n-7) {
background-color: #FBC5C5;
}
.item:nth-child(9n-6) {
background-color: #FFF0B1; background-color: #FFF0B1;
} }
.item:nth-child(9n-5) { .item:nth-child(9n-6) {
background-color: #CAF0F3; background-color: #CAF0F3;
} }
.item:nth-child(9n-5) {
background-color: #FBC5C5;
}
.item:nth-child(9n-4) { .item:nth-child(9n-4) {
background-color: #C3EBBD; background-color: #C3EBBD;
} }

View File

@ -93,7 +93,7 @@
<template> <template>
<view class="app plr60"> <view class="app plr60">
<!-- 我的钱包 --> <!-- 我的钱包 -->
<view class="board mt60 ptb25 plr30 cfff f28 br25"> <view class="board mt60 ptb25 plr30 c111 f28 br25">
<view class="">总资产(余额)</view> <view class="">总资产(余额)</view>
<view class="balance rows"> <view class="balance rows">
@ -102,14 +102,12 @@
</view> </view>
<view class=""> <view class="">
<view> <navigator url="/pages/index/wallet/topUp" hover-class="none">
<navigator url="/pages/index/wallet/topUp" hover-class="none" class="btn sm bar black plr20">充值 <view class="btn sm bar black plr20">充值</view>
</navigator> </navigator>
</view> <navigator url="/pages/index/wallet/get" hover-class="none">
<view class="mt20"> <view class="btn sm bar black mt20 plr20">提现</view>
<navigator url="/pages/index/wallet/get" hover-class="none" class="btn sm bar black plr20">提现 </navigator>
</navigator>
</view>
</view> </view>
</view> </view>
@ -160,7 +158,7 @@
<style lang="scss" scoped> <style lang="scss" scoped>
// //
.board { .board {
background-image: linear-gradient(116deg, #27EFE2 0%, #6D00FF 48%, #FF004F 100%); background-image: linear-gradient(130deg, rgb(233, 170, 80) 0%, rgb(249, 217, 89) 50%, rgb(233, 170, 80) 100%);
} }
// //

View File

@ -6,7 +6,7 @@ import uni from '@dcloudio/vite-plugin-uni';
export default defineConfig({ export default defineConfig({
plugins: [uni()], plugins: [uni()],
server: { server: {
host: "localhost", host: "0.0.0.0",
port: 5173, port: 5173,
proxy: { proxy: {
"/shopify": { "/shopify": {
@ -14,15 +14,15 @@ export default defineConfig({
changeOrigin: true, changeOrigin: true,
}, },
"/user": { "/user": {
target: "http://192.168.1.236:8080", target: "http://192.168.1.241:8080",
changeOrigin: true, changeOrigin: true,
}, },
"/coreplay": { "/coreplay": {
target: "http://192.168.1.241:9400", target: "http://192.168.1.241:8080",
changeOrigin: true, changeOrigin: true,
}, },
"/file": { "/file": {
target: "http://192.168.1.241:8080", target: "http://192.168.1.236:8080",
changeOrigin: true, changeOrigin: true,
}, },
} }