Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
simgle_app
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f6733a23
authored
Nov 27, 2025
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 修复购买人输入框长度限制并移除调试代码
移除音频权限请求和埋点相关调试代码 调整订单列表样式间距 注释掉权益页面的初始化逻辑
1 parent
d00aeab3
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
17 deletions
components/HomeFrame/components/Order/OrderList.vue
components/HomeFrame/index.vue
pages/equity/createOrder.vue
pages/equity/index.vue
utils/Track.js
components/HomeFrame/components/Order/OrderList.vue
View file @
f6733a2
...
...
@@ -151,10 +151,10 @@ export default {
position
:
relative
;
.data-container
{
margin-top
:
toRpx
(
48
);
margin-top
:
toRpx
(
80
);
//
background
:
#ffffff
;
border-radius
:
toRpx
(
48
);
height
:
calc
(
100vh
-
#{
toRpx
(
1
36
)}
);
height
:
calc
(
100vh
-
#{
toRpx
(
1
92
)}
);
box-shadow
:
inset
0
0
toRpx
(
16
)
0
#ffffff
;
border
:
toRpx
(
2
)
solid
#fff
;
box-sizing
:
border-box
;
...
...
components/HomeFrame/index.vue
View file @
f6733a2
...
...
@@ -216,7 +216,7 @@ export default {
mounted
()
{
const
userInfo
=
uni
.
$storage
.
get
(
'userInfo'
)
||
{}
this
.
userInfo
=
userInfo
if
(
this
.
checkRecordAudio
)
permision
.
requestAndroidPermission
(
'android.permission.RECORD_AUDIO'
)
// 进入界面时检查权限
//
if (this.checkRecordAudio) permision.requestAndroidPermission('android.permission.RECORD_AUDIO') // 进入界面时检查权限
},
provide
()
{
return
{
...
...
pages/equity/createOrder.vue
View file @
f6733a2
...
...
@@ -68,6 +68,7 @@ export default {
label
:
'购买人'
,
value
:
'purchaser'
,
type
:
'input'
,
maxlength
:
10
,
required
:
true
,
},
{
...
...
pages/equity/index.vue
View file @
f6733a2
...
...
@@ -65,15 +65,15 @@ export default {
return
false
},
async
onLoad
()
{
uni
.
hideLoading
()
const
mockdata
=
await
uni
.
$api
.
systemApi
.
getMockData
(
true
)
//获取APP配置信息
if
(
this
.
channelType
==
1
&&
mockdata
.
boutiqueDefaultCarBrandId
)
{
this
.
$store
.
state
.
user
.
boutiqueDefaultCarBrandId
=
mockdata
.
boutiqueDefaultCarBrandId
//默认车辆品牌
if
(
mockdata
.
defaultCarId
)
this
.
$store
.
state
.
user
.
defaultCarId
=
mockdata
.
defaultCarId
//默认车系
}
//
uni.hideLoading()
//
const mockdata = await uni.$api.systemApi.getMockData(true) //获取APP配置信息
//
if (this.channelType == 1 && mockdata.boutiqueDefaultCarBrandId) {
//
this.$store.state.user.boutiqueDefaultCarBrandId = mockdata.boutiqueDefaultCarBrandId //默认车辆品牌
//
if (mockdata.defaultCarId) this.$store.state.user.defaultCarId = mockdata.defaultCarId //默认车系
//
}
// this.get_Vehicle_Sales_Data()
this
.
requested
=
true
this
.
$refs
.
home
.
updateApp
(
true
)
//
this.requested = true
//
this.$refs.home.updateApp(true)
},
async
onShow
()
{
this
.
init
()
...
...
utils/Track.js
View file @
f6733a2
...
...
@@ -4,7 +4,7 @@ import dayjs from 'dayjs'
class
Track
{
constructor
()
{
console
.
log
(
'---------------- 埋点初始化 ----------------'
)
this
.
sendTrack
()
//
this.sendTrack()
}
add
(
data
=
{})
{
const
{
...
...
@@ -39,17 +39,17 @@ class Track {
uni
.
setStorageSync
(
'TRACK_LIST'
,
trackList
)
if
(
!
TRACK_TIME
)
{
console
.
log
(
'---------------- 重新打开定时埋点 ----------------'
)
this
.
sendTrack
()
//开启定时埋点
//
this.sendTrack() //开启定时埋点
}
if
(
trackList
.
length
>
9
)
this
.
sendTrackData
()
//
if (trackList.length > 9) this.sendTrackData()
}
/**定时发送埋点数据 */
sendTrack
()
{
TRACK_TIME
=
setInterval
(()
=>
{
this
.
sendTrackData
()
},
TRACK_INTERVAL_TIME
)
//
TRACK_TIME = setInterval(() => {
//
this.sendTrackData()
//
}, TRACK_INTERVAL_TIME)
}
async
sendTrackData
()
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment