Commit dc9ea307 authored by xishifeng's avatar xishifeng

商铺详情修改

parent e958c6cf
...@@ -18,80 +18,80 @@ import agreement from '@/components/inviteRegister/agreement' ...@@ -18,80 +18,80 @@ import agreement from '@/components/inviteRegister/agreement'
Vue.use(Router) Vue.use(Router)
export default new Router({ export default new Router({
routes: [ //mode: 'history',可去掉路由里的#
{ routes: [{
path: '/', path: '/',
redirect: '/entrance' redirect: '/entrance'
}, },
{ {
path: '/entrance', path: '/entrance',
name: 'v-entrance', name: 'v-entrance',
component: entrance component: entrance
}, },
{ {
path: '/achieveFork', path: '/achieveFork',
name: 'v-achieve-fork', name: 'v-achieve-fork',
component: achieveFork component: achieveFork
}, },
{ {
path: '/achieveAgent', path: '/achieveAgent',
name: 'v-achieve-agent', name: 'v-achieve-agent',
component: achieveAgent component: achieveAgent
}, },
{ {
path: '/achieveRegion', path: '/achieveRegion',
name: 'v-achieve-region', name: 'v-achieve-region',
component: achieveRegion component: achieveRegion
}, },
{ {
path: '/achieveHouseResource', path: '/achieveHouseResource',
name: 'v-achieve-house-resource', name: 'v-achieve-house-resource',
component: achieveHouseResource component: achieveHouseResource
}, },
{ {
path: '/achieveAgentResource', path: '/achieveAgentResource',
name: 'v-achieve-agent-resource', name: 'v-achieve-agent-resource',
component: achieveAgentResource component: achieveAgentResource
}, },
{ {
path: '/achieveReceiptResource', path: '/achieveReceiptResource',
name: 'v-achieve-receipt-resource', name: 'v-achieve-receipt-resource',
component: achieveReceiptResource component: achieveReceiptResource
}, },
{ {
path: '/achieveSuperviseResource', path: '/achieveSuperviseResource',
name: 'v-achieve-supervise-resource', name: 'v-achieve-supervise-resource',
component: achieveSuperviseResource component: achieveSuperviseResource
}, },
{ {
path: '/achieveLookatResource', path: '/achieveLookatResource',
name: 'v-achieve-lookat-resource', name: 'v-achieve-lookat-resource',
component: achieveLookatResource component: achieveLookatResource
}, },
{ {
path: '/feeds', path: '/feeds',
name: 'v-feeds', name: 'v-feeds',
component: feeds component: feeds
}, },
{ {
path: '/reportDetails', path: '/reportDetails',
name: 'v-report-details', name: 'v-report-details',
component: reportDetails component: reportDetails
}, },
{ {
path: '/announcementDetails', path: '/announcementDetails',
name: 'v-announcement-details', name: 'v-announcement-details',
component: announcementDetails component: announcementDetails
}, },
{ {
path: '/inviteRegister', path: '/inviteRegister',
name: 'v-invite-register', name: 'v-invite-register',
component: inviteRegister component: inviteRegister
}, },
{ {
path: '/agreement', path: '/agreement',
name: 'v-agreement', name: 'v-agreement',
component: agreement component: agreement
} }
] ]
}) })
\ No newline at end of file
...@@ -294,9 +294,12 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function ...@@ -294,9 +294,12 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
_dajiangtangObj.find('iframe').contents().find('body').html(_data['auditorium']); //大讲堂 _dajiangtangObj.find('iframe').contents().find('body').html(_data['auditorium']); //大讲堂
//列表页封面图 //列表页封面图
_imgUploadLiebiao.html('<li><img title="点击查看大图" src="{0}" /><a href="javascript:;" class="delet-pic-btn">删除</a></li>'.stringFormatObj({ if(_data['cover']){
'0': _urlCut + _data['cover'] _imgUploadLiebiao.html('<li><img title="点击查看大图" src="{0}" /><a href="javascript:;" class="delet-pic-btn">删除</a></li>'.stringFormatObj({
})); '0': _urlCut + _data['cover']
}));
};
//详情页轮播图 //详情页轮播图
for(var i in _data['slide_show']) { for(var i in _data['slide_show']) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment