-m
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
*/
|
*/
|
||||||
import {req} from "../request"
|
import {req} from "../request"
|
||||||
|
|
||||||
const videos = () => req({url: "videos"}) //获取视频列表
|
const videos = (data) => req({url: "videos", data: data}) //获取视频列表
|
||||||
|
|
||||||
export default({
|
export default({
|
||||||
videos
|
videos
|
||||||
|
|||||||
@@ -22,7 +22,9 @@ Page({
|
|||||||
* 生命周期函数--监听页面加载
|
* 生命周期函数--监听页面加载
|
||||||
*/
|
*/
|
||||||
onLoad() {
|
onLoad() {
|
||||||
wx.$api.video.videos().then(res => {
|
wx.$api.video.videos({
|
||||||
|
company_id: wx.getStorageSync("compayId")
|
||||||
|
}).then(res => {
|
||||||
this.setData({
|
this.setData({
|
||||||
videoList: res,
|
videoList: res,
|
||||||
videoId: res[0].video_id
|
videoId: res[0].video_id
|
||||||
|
|||||||
@@ -90,6 +90,12 @@
|
|||||||
"query": "orderid=20201229132338964625",
|
"query": "orderid=20201229132338964625",
|
||||||
"scene": null
|
"scene": null
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "pages/user/companyMine/companyOrder",
|
||||||
|
"pathName": "pages/user/companyMine/companyOrder",
|
||||||
|
"query": "orderid=20201229132338964625",
|
||||||
|
"scene": null
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "pages/user/companyMine/projectDetail/projectDetail",
|
"name": "pages/user/companyMine/projectDetail/projectDetail",
|
||||||
"pathName": "pages/user/companyMine/projectDetail/projectDetail",
|
"pathName": "pages/user/companyMine/projectDetail/projectDetail",
|
||||||
@@ -129,13 +135,6 @@
|
|||||||
{
|
{
|
||||||
"name": "pages/user/setting/aboutUs/aboutUs",
|
"name": "pages/user/setting/aboutUs/aboutUs",
|
||||||
"pathName": "pages/user/setting/aboutUs/aboutUs",
|
"pathName": "pages/user/setting/aboutUs/aboutUs",
|
||||||
"query": "",
|
|
||||||
"scene": null
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "pages/home/index",
|
|
||||||
"pathName": "pages/home/index",
|
|
||||||
"query": "",
|
|
||||||
"scene": null
|
"scene": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user