Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
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
hujun
tl_estate
Commits
352bd3e2
Commit
352bd3e2
authored
Dec 18, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
推广
parent
f69590be
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
7 deletions
+26
-7
detaila_tuiguang.js
public/app/js/detaila_tuiguang.js
+1
-1
index.js
public/appnew/config/index.js
+1
-1
redPackMask.vue
public/appnew/src/components/shop/redPackMask.vue
+2
-0
shopList.vue
public/appnew/src/components/shop/shopList.vue
+22
-5
No files found.
public/app/js/detaila_tuiguang.js
View file @
352bd3e2
...
...
@@ -424,7 +424,7 @@
});
//点击 商铺详情的 更多商铺
$
(
'.shop-list'
).
click
(
function
()
{
location
.
href
=
ServerHost
+
"/app/dist/#/shopList?city="
+
p_city
+
'&type='
+
p_type
+
'&p_district_id='
+
p_district_id
+
'&p_store_id='
+
p_store_id
+
'&p_agent_id='
+
p_agent_id
+
'&generalizeId='
+
generalize_id
;
location
.
href
=
ServerHost
+
"/app/dist/#/shopList?city="
+
p_city
+
'&type='
+
p_type
+
'&p_district_id='
+
p_district_id
+
'&p_store_id='
+
p_store_id
+
'&p_agent_id='
+
p_agent_id
+
'&generalizeId='
+
generalize_id
+
'&redBag=1'
;
});
}
else
if
(
pc_isOfficial
){
$
(
'.pc-contact-agent'
).
show
();
...
...
public/appnew/config/index.js
View file @
352bd3e2
...
...
@@ -13,7 +13,7 @@ module.exports = {
proxyTable
:
{},
// Various Dev Server settings
host
:
'
192.168.0.74
'
,
// can be overwritten by process.env.HOST
host
:
'
localhost
'
,
// can be overwritten by process.env.HOST
port
:
8080
,
// can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser
:
true
,
errorOverlay
:
true
,
...
...
public/appnew/src/components/shop/redPackMask.vue
View file @
352bd3e2
...
...
@@ -74,4 +74,5 @@
background
:
url(images/icon_close@2x.png)
no-repeat
center
center
/
.72rem
.72rem
;
margin
:
0
auto
;
}
</
style
>
\ No newline at end of file
public/appnew/src/components/shop/shopList.vue
View file @
352bd3e2
...
...
@@ -83,11 +83,12 @@
</div>
<div
class=
"mark-shop-choose-gray"
v-for=
"(item, index) in mainDataChoose"
v-show=
"(initTabNumMainChoose == index) && item.isShow"
@
click=
"tabMainChoose(index)"
>
</div>
<div
class=
"to-five-page"
v-if=
'isGif'
@
click=
"tabFivePage()"
>
<
!--
<
div
class=
"to-five-page"
v-if=
'isGif'
@
click=
"tabFivePage()"
>
<img
:src=
"gif_img"
class=
"to-five-page-img"
/>
</div>
</div>
-->
<red-pack-mask
@
closeclick=
"showRedPackMask = false"
v-if=
"showRedPackMask"
></red-pack-mask>
<div
class=
"immediately-to-receive"
@
click=
"tabFivePage()"
></div>
</div>
</
template
>
...
...
@@ -180,7 +181,7 @@
'isShow'
:
false
,
}],
showRedPackMask
:
tru
e
,
//是否显示红包弹窗
showRedPackMask
:
fals
e
,
//是否显示红包弹窗
}),
created
()
{
let
_this
=
this
;
...
...
@@ -196,6 +197,12 @@
_this
.
p_agent_id
=
_this
.
$route
.
query
.
p_agent_id
;
_this
.
generalizeId
=
_this
.
$route
.
query
.
generalizeId
;
_this
.
site_area
=
6
;
if
(
_this
.
$route
.
query
.
redBag
){
_this
.
showRedPackMask
=
false
;
}
else
{
_this
.
showRedPackMask
=
true
;
}
};
//H5 官网
if
(
_this
.
$route
.
query
.
isOfficial
){
...
...
@@ -508,8 +515,9 @@
},
//到500代金券
tabFivePage
(){
console
.
log
(
555
)
let
_this
=
this
;
var
str1
=
this
.
common
.
ServerHost
+
"/app/baidu_send?"
+
'city='
+
_this
.
$route
.
query
.
city
+
'&type='
+
_this
.
$route
.
query
.
type
+
'&p_district_id='
+
_this
.
$route
.
query
.
p_district_id
+
'&p_store_id='
+
_this
.
$route
.
query
.
p_store_id
+
'&p_agent_id='
+
_this
.
$route
.
query
.
p_agent_id
+
'&generalizeId='
+
_this
.
$route
.
query
.
generalizeId
;
var
str1
=
this
.
common
.
ServerHost
+
"/app/baidu_send?"
+
'city='
+
_this
.
$route
.
query
.
city
+
'&type='
+
_this
.
$route
.
query
.
type
+
'&p_district_id='
+
_this
.
$route
.
query
.
p_district_id
+
'&p_store_id='
+
_this
.
$route
.
query
.
p_store_id
+
'&p_agent_id='
+
_this
.
$route
.
query
.
p_agent_id
+
'&generalizeId='
+
_this
.
$route
.
query
.
generalizeId
+
'&redBag=1'
;
location
.
href
=
str1
;
},
delMore
(){
...
...
@@ -917,4 +925,13 @@
.to-five-page
img
{
width
:
1.6rem
;
}
.immediately-to-receive
{
width
:
4.3rem
;
height
:
.9rem
;
position
:
absolute
;
top
:
7.6rem
;
right
:
1.5rem
;
z-index
:
999
;
cursor
:
pointer
;
}
</
style
>
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