Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
groupPurchase-miniapp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
彭佳妮(贵阳日报)
groupPurchase-miniapp
Commits
33ab06b0
Commit
33ab06b0
authored
Aug 14, 2024
by
石建新(贵阳日报)
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.platform.xinhuaapp.com/pengjiani/groupPurchase-miniapp
parents
a4034d75
58cc4489
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
9 deletions
+12
-9
manifest.json
src/manifest.json
+1
-1
addressEdit.vue
src/pages/address/addressEdit.vue
+1
-1
RuralTravel.vue
src/pages/assistingAgriculture/RuralTravel/RuralTravel.vue
+3
-4
building.vue
src/pages/assistingAgriculture/index/building.vue
+1
-1
index.vue
src/pages/assistingAgriculture/index/index.vue
+5
-1
presale.vue
src/pages/assistingAgriculture/index/presale.vue
+1
-1
No files found.
src/manifest.json
View file @
33ab06b0
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
"sdkConfigs"
:
{
"sdkConfigs"
:
{
"maps"
:
{
"maps"
:
{
"qqmap"
:
{
"qqmap"
:
{
"key"
:
"
MN4BZ-7JXKW-2RYRD-32QGF-AHONV-PAFUN
"
"key"
:
"
B7VBZ-PT5RB-WRHUT-J2EEQ-3WTUE-APFX4
"
}
}
}
}
}
}
...
...
src/pages/address/addressEdit.vue
View file @
33ab06b0
...
@@ -145,7 +145,7 @@ async function changeLocation() {
...
@@ -145,7 +145,7 @@ async function changeLocation() {
uni
.
request
({
uni
.
request
({
url
:
'/ws/geocoder/v1/'
,
url
:
'/ws/geocoder/v1/'
,
data
:
{
data
:
{
key
:
'
MN4BZ-7JXKW-2RYRD-32QGF-AHONV-PAFUN
'
,
key
:
'
B7VBZ-PT5RB-WRHUT-J2EEQ-3WTUE-APFX4
'
,
location
:
`
${
res
.
latitude
}
,
${
res
.
longitude
}
`
,
location
:
`
${
res
.
latitude
}
,
${
res
.
longitude
}
`
,
},
},
success
:
function
(
res
)
{
success
:
function
(
res
)
{
...
...
src/pages/assistingAgriculture/RuralTravel/RuralTravel.vue
View file @
33ab06b0
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
iconSrc=
"/static/assistingAgriculture/assets/left.png"
iconSrc=
"/static/assistingAgriculture/assets/left.png"
placeholderText=
"请输入要搜索的关键词"
placeholderText=
"请输入要搜索的关键词"
@
search=
"toSearch"
@
search=
"toSearch"
v-model=
"keyword"
></Search>
></Search>
</view>
</view>
<view
class=
"bac-img"
>
<view
class=
"bac-img"
>
...
@@ -301,9 +300,9 @@ const screenParams = (selectedItems, type) => {
...
@@ -301,9 +300,9 @@ const screenParams = (selectedItems, type) => {
}
}
};
};
// 搜索
// 搜索
const
toSearch
=
(
data
)
=>
{
// 搜索
keyword
.
value
=
data
.
detail
.
value
;
const
toSearch
=
()
=>
{
getProd
(
keyword
.
value
);
xma
.
navigateTo
({
url
:
'/pages/assistingAgriculture/searchPage/searchPage?prodType=10'
}
);
};
};
// 查询列表
// 查询列表
...
...
src/pages/assistingAgriculture/index/building.vue
View file @
33ab06b0
...
@@ -176,7 +176,7 @@ onMounted(async () => {
...
@@ -176,7 +176,7 @@ onMounted(async () => {
// 搜索
// 搜索
const
toSearch
=
()
=>
{
const
toSearch
=
()
=>
{
xma
.
navigateTo
({
url
:
'/pages/assistingAgriculture/searchPage/searchPage'
});
xma
.
navigateTo
({
url
:
'/pages/assistingAgriculture/searchPage/searchPage
?prodType=7
'
});
};
};
// 获取购物车列表
// 获取购物车列表
const
getshoppingCartListFn
=
()
=>
{
const
getshoppingCartListFn
=
()
=>
{
...
...
src/pages/assistingAgriculture/index/index.vue
View file @
33ab06b0
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
backIcon=
"black"
backIcon=
"black"
iconSrc=
"/static/assistingAgriculture/assets/return.png"
iconSrc=
"/static/assistingAgriculture/assets/return.png"
placeholderText=
"请输入要搜索的内容"
placeholderText=
"请输入要搜索的内容"
@
search=
"toSearch"
></Search>
></Search>
<view>
<view>
<wd-swiper
<wd-swiper
...
@@ -117,7 +118,10 @@ const getPresale = () => {
...
@@ -117,7 +118,10 @@ const getPresale = () => {
});
});
});
});
};
};
// 搜索
const
toSearch
=
()
=>
{
xma
.
navigateTo
({
url
:
'/pages/assistingAgriculture/searchPage/searchPage?prodType=[7,10]'
});
};
const
onChange
=
(
e
)
=>
{
const
onChange
=
(
e
)
=>
{
// console.log(e);
// console.log(e);
};
};
...
...
src/pages/assistingAgriculture/index/presale.vue
View file @
33ab06b0
...
@@ -161,7 +161,7 @@ onMounted(async () => {
...
@@ -161,7 +161,7 @@ onMounted(async () => {
});
});
// 搜索
// 搜索
const
toSearch
=
()
=>
{
const
toSearch
=
()
=>
{
xma
.
navigateTo
({
url
:
'/pages/assistingAgriculture/searchPage/searchPage'
});
xma
.
navigateTo
({
url
:
'/pages/assistingAgriculture/searchPage/searchPage
?prodType=7
'
});
};
};
// 获取购物车列表
// 获取购物车列表
const
getshoppingCartListFn
=
()
=>
{
const
getshoppingCartListFn
=
()
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment