CDN 使用 yudao 提供,解决不定期的 https 问题!
parent
07098527ff
commit
3e2749672e
3
.env
3
.env
|
@ -18,7 +18,8 @@ SHOPRO_WEBSOCKET_PATH = /infra/ws
|
||||||
SHOPRO_DEV_PORT = 3000
|
SHOPRO_DEV_PORT = 3000
|
||||||
|
|
||||||
# 客户端静态资源地址 空=默认使用服务端指定的CDN资源地址前缀 | local=本地 | http(s)://xxx.xxx=自定义静态资源地址前缀
|
# 客户端静态资源地址 空=默认使用服务端指定的CDN资源地址前缀 | local=本地 | http(s)://xxx.xxx=自定义静态资源地址前缀
|
||||||
SHOPRO_STATIC_URL = https://file.sheepjs.com
|
SHOPRO_STATIC_URL = http://test.yudao.iocoder.cn
|
||||||
|
### SHOPRO_STATIC_URL = https://file.sheepjs.com
|
||||||
|
|
||||||
# 是否开启直播 1 开启直播 | 0 关闭直播 (小程序官方后台未审核开通直播权限时请勿开启)
|
# 是否开启直播 1 开启直播 | 0 关闭直播 (小程序官方后台未审核开通直播权限时请勿开启)
|
||||||
SHOPRO_MPLIVE_ON = 0
|
SHOPRO_MPLIVE_ON = 0
|
||||||
|
|
|
@ -9,9 +9,17 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="menu-list ss-flex ss-flex-wrap">
|
<view class="menu-list ss-flex ss-flex-wrap">
|
||||||
<view v-for="(item, index) in state.menuList" :key="index" class="item-box ss-flex-col ss-col-center"
|
<view
|
||||||
@tap="sheep.$router.go(item.path)">
|
v-for="(item, index) in state.menuList"
|
||||||
<image class="menu-icon ss-m-b-10" :src="sheep.$url.static(item.img)" mode="aspectFill"></image>
|
:key="index"
|
||||||
|
class="item-box ss-flex-col ss-col-center"
|
||||||
|
@tap="sheep.$router.go(item.path)"
|
||||||
|
>
|
||||||
|
<image
|
||||||
|
class="menu-icon ss-m-b-10"
|
||||||
|
:src="sheep.$url.static(item.img)"
|
||||||
|
mode="aspectFill"
|
||||||
|
></image>
|
||||||
<view>{{ item.title }}</view>
|
<view>{{ item.title }}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -23,7 +31,8 @@
|
||||||
import { reactive } from 'vue';
|
import { reactive } from 'vue';
|
||||||
|
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
menuList: [{
|
menuList: [
|
||||||
|
{
|
||||||
img: '/static/img/shop/commission/commission_icon1.png',
|
img: '/static/img/shop/commission/commission_icon1.png',
|
||||||
title: '我的团队',
|
title: '我的团队',
|
||||||
path: '/pages/commission/team',
|
path: '/pages/commission/team',
|
||||||
|
@ -49,23 +58,21 @@
|
||||||
// path: '/pages/commission/apply',
|
// path: '/pages/commission/apply',
|
||||||
// isAgentFrom: true,
|
// isAgentFrom: true,
|
||||||
// },
|
// },
|
||||||
// todo @芋艿:邀请海报需要登录后的个人数据
|
|
||||||
{
|
{
|
||||||
img: '/static/img/shop/commission/commission_icon7.png',
|
img: '/static/img/shop/commission/commission_icon7.png',
|
||||||
title: '邀请海报',
|
title: '邀请海报',
|
||||||
path: 'action:showShareModal',
|
path: 'action:showShareModal',
|
||||||
},
|
},
|
||||||
// TODO @芋艿:缺少 icon
|
|
||||||
{
|
{
|
||||||
// img: '/static/img/shop/commission/commission_icon7.png',
|
img: '/static/img/shop/commission/commission_icon8.png',
|
||||||
title: '推广排行',
|
title: '推广排行',
|
||||||
path: '/pages/commission/promoter',
|
path: '/pages/commission/promoter',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// img: '/static/img/shop/commission/commission_icon7.png',
|
img: '/static/img/shop/commission/commission_icon9.png',
|
||||||
title: '佣金排行',
|
title: '佣金排行',
|
||||||
path: '/pages/commission/commission-ranking',
|
path: '/pages/commission/commission-ranking',
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue