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
788ac7aa
Commit
788ac7aa
authored
May 09, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
成交喜报优化
parent
da8e245a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
61 additions
and
12 deletions
+61
-12
index.html
public/app/dist/index.html
+2
-2
app.50b76cb9cc7de6300620.js
public/app/dist/static/js/app.50b76cb9cc7de6300620.js
+0
-0
app.50b76cb9cc7de6300620.js.map
public/app/dist/static/js/app.50b76cb9cc7de6300620.js.map
+0
-0
manifest.3ad1d5771e9b13dbdad2.js.map
...c/app/dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map
+2
-2
index.js
public/appnew/config/index.js
+1
-1
feeds.vue
public/appnew/src/components/feed/feeds.vue
+52
-6
entrance.vue
public/appnew/src/components/publicEg/entrance.vue
+4
-1
No files found.
public/app/dist/index.html
View file @
788ac7aa
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><title>
同联商业
</title><script
type=
text/javascript
>
!
function
(
n
,
e
){
var
t
=
n
.
documentElement
,
i
=
"orientationchange"
in
window
?
"orientationchange"
:
"resize"
,
d
=
function
(){
var
n
=
t
.
clientWidth
;
n
&&
(
t
.
style
.
fontSize
=
n
/
750
*
100
+
"px"
)};
n
.
addEventListener
&&
(
e
.
addEventListener
(
i
,
d
,
!
1
),
n
.
addEventListener
(
"DOMContentLoaded"
,
d
,
!
1
))}(
document
,
window
);
</script><link
href=
./static/css/app.a70b828a28d595331ed4f4d528057ad5.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
type=
text/javascript
src=
./static/js/manifest.3ad1d5771e9b13dbdad2.js
></script><script
type=
text/javascript
src=
./static/js/vendor.8ffd82b342bc2a4ca245.js
></script><script
type=
text/javascript
src=
./static/js/app.09abdd71206b486eef27.js
></script><script
type=
text/javascript
src=
./static/js/vconsole.min.js
></script><script
type=
text/javascript
>
var
vConsole
=
new
VConsole
();
</script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><title>
同联商业
</title><script
type=
text/javascript
>
!
function
(
n
,
e
){
var
t
=
n
.
documentElement
,
i
=
"orientationchange"
in
window
?
"orientationchange"
:
"resize"
,
d
=
function
(){
var
n
=
t
.
clientWidth
;
n
&&
(
t
.
style
.
fontSize
=
n
/
750
*
100
+
"px"
)};
n
.
addEventListener
&&
(
e
.
addEventListener
(
i
,
d
,
!
1
),
n
.
addEventListener
(
"DOMContentLoaded"
,
d
,
!
1
))}(
document
,
window
);
</script><link
href=
./static/css/app.a70b828a28d595331ed4f4d528057ad5.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
type=
text/javascript
src=
./static/js/manifest.3ad1d5771e9b13dbdad2.js
></script><script
type=
text/javascript
src=
./static/js/vendor.8ffd82b342bc2a4ca245.js
></script><script
type=
text/javascript
src=
./static/js/app.50b76cb9cc7de6300620.js
></script><script
type=
text/javascript
src=
./static/js/vconsole.min.js
></script><script
type=
text/javascript
>
var
vConsole
=
new
VConsole
();
</script></body></html>
\ No newline at end of file
public/app/dist/static/js/app.50b76cb9cc7de6300620.js
0 → 100644
View file @
788ac7aa
This diff is collapsed.
Click to expand it.
public/app/dist/static/js/app.50b76cb9cc7de6300620.js.map
0 → 100644
View file @
788ac7aa
This source diff could not be displayed because it is too large. You can
view the blob
instead.
public/app/dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map
View file @
788ac7aa
{"version":3,"sources":["webpack:///webpack/bootstrap 711165304b5b4e69c020"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","2","exports","module","l","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","p","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA,EAEA,IAAAD,KAAAF,EACAU,OAAAC,UAAAC,eAAAC,KAAAb,EAAAE,KACAY,EAAAZ,GAAAF,EAAAE,IAIA,IADAL,KAAAE,EAAAC,EAAAC,GACAK,EAAAC,QACAD,EAAAS,OAAAT,GAEA,GAAAL,EACA,IAAAI,EAAA,EAAYA,EAAAJ,EAAAM,OAA2BF,IACvCD,EAAAY,IAAAC,EAAAhB,EAAAI,IAGA,OAAAD,GAIA,IAAAc,KAGAV,GACAW,EAAA,GAIA,SAAAH,EAAAd,GAGA,GAAAgB,EAAAhB,GACA,OAAAgB,EAAAhB,GAAAkB,QAGA,IAAAC,EAAAH,EAAAhB,IACAG,EAAAH,EACAoB,GAAA,EACAF,YAUA,OANAN,EAAAZ,GAAAW,KAAAQ,EAAAD,QAAAC,IAAAD,QAAAJ,GAGAK,EAAAC,GAAA,EAGAD,EAAAD,QAKAJ,EAAAO,EAAAT,EAGAE,EAAAQ,EAAAN,EAGAF,EAAAS,EAAA,SAAAL,EAAAM,EAAAC,GACAX,EAAAY,EAAAR,EAAAM,IACAhB,OAAAmB,eAAAT,EAAAM,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMAX,EAAAiB,EAAA,SAAAZ,GACA,IAAAM,EAAAN,KAAAa,WACA,WAA2B,OAAAb,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAAS,EAAAE,EAAA,IAAAA,GACAA,GAIAX,EAAAY,EAAA,SAAAO,EAAAC,GAAsD,OAAA1B,OAAAC,UAAAC,eAAAC,KAAAsB,EAAAC,IAGtDpB,EAAAqB,EAAA,KAGArB,EAAAsB,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.3ad1d5771e9b13dbdad2.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t2: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"./\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 711165304b5b4e69c020"],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap b0afed8b8ca9d582b075"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","2","exports","module","l","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","p","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA,EAEA,IAAAD,KAAAF,EACAU,OAAAC,UAAAC,eAAAC,KAAAb,EAAAE,KACAY,EAAAZ,GAAAF,EAAAE,IAIA,IADAL,KAAAE,EAAAC,EAAAC,GACAK,EAAAC,QACAD,EAAAS,OAAAT,GAEA,GAAAL,EACA,IAAAI,EAAA,EAAYA,EAAAJ,EAAAM,OAA2BF,IACvCD,EAAAY,IAAAC,EAAAhB,EAAAI,IAGA,OAAAD,GAIA,IAAAc,KAGAV,GACAW,EAAA,GAIA,SAAAH,EAAAd,GAGA,GAAAgB,EAAAhB,GACA,OAAAgB,EAAAhB,GAAAkB,QAGA,IAAAC,EAAAH,EAAAhB,IACAG,EAAAH,EACAoB,GAAA,EACAF,YAUA,OANAN,EAAAZ,GAAAW,KAAAQ,EAAAD,QAAAC,IAAAD,QAAAJ,GAGAK,EAAAC,GAAA,EAGAD,EAAAD,QAKAJ,EAAAO,EAAAT,EAGAE,EAAAQ,EAAAN,EAGAF,EAAAS,EAAA,SAAAL,EAAAM,EAAAC,GACAX,EAAAY,EAAAR,EAAAM,IACAhB,OAAAmB,eAAAT,EAAAM,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMAX,EAAAiB,EAAA,SAAAZ,GACA,IAAAM,EAAAN,KAAAa,WACA,WAA2B,OAAAb,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAAS,EAAAE,EAAA,IAAAA,GACAA,GAIAX,EAAAY,EAAA,SAAAO,EAAAC,GAAsD,OAAA1B,OAAAC,UAAAC,eAAAC,KAAAsB,EAAAC,IAGtDpB,EAAAqB,EAAA,KAGArB,EAAAsB,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.3ad1d5771e9b13dbdad2.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t2: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"./\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap b0afed8b8ca9d582b075"],"sourceRoot":""}
\ No newline at end of file
public/appnew/config/index.js
View file @
788ac7aa
...
...
@@ -15,7 +15,7 @@ module.exports = {
// Various Dev Server settings
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
:
fals
e
,
autoOpenBrowser
:
tru
e
,
errorOverlay
:
true
,
notifyOnErrors
:
true
,
poll
:
false
,
// https://webpack.js.org/configuration/dev-server/#devserver-watchoptions-
...
...
public/appnew/src/components/feed/feeds.vue
View file @
788ac7aa
...
...
@@ -45,6 +45,7 @@
</
template
>
<
script
>
import
'@/assets/js/layer041002.js'
;
import
chengjiaoxibao_pic
from
'@/components/feed/images/chengjiaoxibao_pic.jpg'
;
import
chengjiaojiandan_pic
from
'@/components/feed/images/chengjiaojiandan_pic.png'
;
import
ic_star
from
'@/components/feed/images/ic_star.png'
;
...
...
@@ -64,19 +65,54 @@
five
,
deal_name
:
''
,
deal_time
:
''
,
deal_shop
:
''
,
deal_type
:
''
,
deal_shop
:
''
,
deal_type
:
''
,
zan_clickpic
:
zan
,
click_num
:
1
,
show_zannum
:
''
,
read_num
:
1
,
read_num
:
1
,
zan_pic
:
false
,
feed_id
:
''
,
feed_id
:
''
,
canClickFlag
:
true
,
canClickDecFalg
:
true
}),
created
()
{
let
_this
=
this
;
//请求发送状态判断
_this
.
axios
.
interceptors
.
request
.
use
((
config
)
=>
{
console
.
log
(
config
.
url
);
if
(
~
config
.
url
.
indexOf
(
'/broker/editFeedClick'
))
{
_this
.
canClickFlag
=
false
;
};
if
(
~
config
.
url
.
indexOf
(
'/broker/editDecFeedClick'
))
{
_this
.
canClickDecFalg
=
false
;
};
return
config
;
},
(
error
)
=>
{
return
Promise
.
reject
(
error
);
});
//请求返回状态判断
_this
.
axios
.
interceptors
.
response
.
use
((
res
)
=>
{
console
.
log
(
res
.
config
.
url
);
if
(
~
res
.
config
.
url
.
indexOf
(
'/broker/editFeedClick'
))
{
_this
.
canClickFlag
=
true
;
};
if
(
~
res
.
config
.
url
.
indexOf
(
'/broker/editDecFeedClick'
))
{
_this
.
canClickDecFalg
=
true
;
};
return
res
;
},
(
error
)
=>
{
return
Promise
.
reject
(
error
);
});
_this
.
feed_id
=
_this
.
$route
.
query
.
id
;
if
(
!
_this
.
feed_id
)
{
layer
.
tipsX
(
'feed_id获取出错'
);
return
false
;
};
_this
.
ajaxUl
();
_this
.
axios
({
method
:
'post'
,
...
...
@@ -111,11 +147,11 @@
_this
.
show_zannum
=
response
.
data
.
data
.
click_num
;
}
else
{}
})
},
clickZan
()
{
let
_this
=
this
;
if
(
_this
.
click_num
===
1
)
{
if
(
_this
.
canClickFlag
)
{
_this
.
zan_clickpic
=
zan_1
;
_this
.
zan_pic
=
five
;
_this
.
click_num
=
0
;
...
...
@@ -134,12 +170,18 @@
_this
.
show_zannum
=
_this
.
show_zannum
+
1
;
setTimeout
(
function
()
{
_this
.
zan_pic
=
false
;
},
850
);
},
850
);
}
})
.
catch
(
function
(
error
)
{});
}
else
{
console
.
log
(
'click ing'
);
return
false
;
}
}
else
{
if
(
_this
.
canClickDecFalg
)
{
_this
.
zan_clickpic
=
zan
;
_this
.
click_num
=
1
;
_this
.
axios
({
...
...
@@ -158,6 +200,10 @@
}
})
.
catch
(
function
(
error
)
{});
}
else
{
console
.
log
(
'click Dec ing'
);
return
false
;
}
}
...
...
public/appnew/src/components/publicEg/entrance.vue
View file @
788ac7aa
...
...
@@ -23,7 +23,10 @@
},
{
'path'
:
'/feeds'
,
'nameCustom'
:
'feed流'
'nameCustom'
:
'feed流'
,
'query'
:
{
'id'
:
1
}
}
]
}
...
...
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