fix/0521-ch
ch 3 years ago
parent bf798aa12b
commit b696bd7b00

@ -283,5 +283,15 @@
"custom": { "custom": {
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
} }
},
"condition" : { //
"current": 0, //(list )
"list": [
{
"name": "", //
"path": "", //
"query": "" //onLoad
}
]
} }
} }

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2022-03-23 10:31:12 * @Date: 2022-03-23 10:31:12
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-05-05 18:37:20 * @LastEditTime: 2022-05-21 17:02:24
* @Description: file content * @Description: file content
--> -->
<template> <template>
@ -43,8 +43,14 @@ export default {
}, },
methods:{ methods:{
goDetail(idx){ goDetail(idx){
let item = this.data[idx];
if(item.link){
}else{
this.$Router.push(`/goodsDetail?id=${this.data[idx].id}`) this.$Router.push(`/goodsDetail?id=${this.data[idx].id}`)
} }
}
} }
} }
</script> </script>

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2019-08-22 19:41:20 * @Date: 2019-08-22 19:41:20
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-05-06 15:29:41 * @LastEditTime: 2022-05-21 16:30:22
* @Description: file content * @Description: file content
--> -->
<template> <template>
@ -56,6 +56,12 @@ export default {
return { return {
scrollTop : 0, scrollTop : 0,
bannerList: [ bannerList: [
{ url : 'https://msb-edu-prod.oss-cn-beijing.aliyuncs.com/uc/account-avatar/banner6.jpg',
link : 'https://m.mashibing.com/live/1530'
},
{ url : 'https://msb-edu-prod.oss-cn-beijing.aliyuncs.com/uc/account-avatar/banner5.jpg',
link : 'https://m.mashibing.com/course/1373/1/'
},
{ url : 'https://msb-edu-dev.oss-cn-beijing.aliyuncs.com/uc/account-avatar/banner4.jpg', { url : 'https://msb-edu-dev.oss-cn-beijing.aliyuncs.com/uc/account-avatar/banner4.jpg',
id : 13 id : 13
}, },

Loading…
Cancel
Save