Commit 20480cd5 authored by zhoucong's avatar zhoucong

vlog调接口

parent 5ff7840d
......@@ -9,7 +9,7 @@
let openid=uni.getStorageSync("openid")
if(!openid){
uni.navigateTo({
url: "pages/vlog/vlogIndex/vlogIndex"
url: "pages/login/login"
})
}
},
......
export default{
//调用方法时--this.$commonjs.aaa()
aaa(){
console.log(123456)
}
}
\ No newline at end of file
......@@ -3,11 +3,12 @@ import App from './App'
import uView from 'uview-ui'
import request from 'common/request.js'
import "./common/icon/iconfont.css"
import commonjs from "common/common.js"
Vue.prototype.$commonjs = commonjs
Vue.prototype.$request = request
Vue.use(uView)
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
......
......@@ -131,7 +131,7 @@
,{
"path" : "pages/vlog/scenicList/scenicList",
"style" : {
"navigationBarTitleText": "景区",
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor":"#192033",
"navigationBarTextStyle": "#F8F8F8"
......
......@@ -6,11 +6,10 @@
</view>
<view class="top-content">
<view>
<navigator url="../scenic/scenic">
<navigator url="../vlog/vlogIndex/vlogIndex">
<image src="../../static/img/index/classify1.png"></image>
<view>景区门票</view>
</navigator>
</view>
<view>
<navigator url="../hotel/hotel">
......@@ -70,6 +69,9 @@
<!-- <button @click="getUserInfo()"> 授权获取头像昵称 </button> -->
<!-- <view class="bottom" v-show="showBottom"> -->
<!--#ifdef MP-WEIXIN -->
<navigator url="../vlog/vlogIndex/vlogIndex">
<button type="default">vlog</button>
</navigator>
<!-- <web-view src="https://wx.pangdly.com"></web-view> -->
<!--#endif-->
<!-- </view> -->
......
......@@ -35,6 +35,7 @@
}
_this.$request('wechat/wx/getUserInfoByCode',data).then(res => {
if(res.code=='00'){
console.log(res);
let openid=res.data.openid
uni.setStorageSync('openid',openid)
uni.navigateBack({
......
<template>
<view class="content">
<view style="padding-top: 30rpx;">
<view class="item">
<video class="video" src="https://img.cdn.aliyun.dcloud.net.cn/guide/uniapp/%E7%AC%AC1%E8%AE%B2%EF%BC%88uni-app%E4%BA%A7%E5%93%81%E4%BB%8B%E7%BB%8D%EF%BC%89-%20DCloud%E5%AE%98%E6%96%B9%E8%A7%86%E9%A2%91%E6%95%99%E7%A8%8B@20200317.mp4" @error="error" controls @play="playing(1)" id="d1"></video>
<view class="title">
<text>[ 样片1 ]</text>
<button class="btnn" open-type="share"><u-icon name="share"></u-icon></button>
<block v-for="(item,index) in scenic.vlogSamples" :key="index">
<view class="item">
<video class="video" src="https://img.cdn.aliyun.dcloud.net.cn/guide/uniapp/%E7%AC%AC1%E8%AE%B2%EF%BC%88uni-app%E4%BA%A7%E5%93%81%E4%BB%8B%E7%BB%8D%EF%BC%89-%20DCloud%E5%AE%98%E6%96%B9%E8%A7%86%E9%A2%91%E6%95%99%E7%A8%8B@20200317.mp4" @error="error" controls @play="playing(1)" id="d1"></video>
<view class="title">
<text>[ 样片1 ]</text>
<button class="btnn" open-type="share"><u-icon name="share"></u-icon></button>
</view>
</view>
</view>
<view class="item">
<video class="video" src="https://img.cdn.aliyun.dcloud.net.cn/guide/uniapp/%E7%AC%AC1%E8%AE%B2%EF%BC%88uni-app%E4%BA%A7%E5%93%81%E4%BB%8B%E7%BB%8D%EF%BC%89-%20DCloud%E5%AE%98%E6%96%B9%E8%A7%86%E9%A2%91%E6%95%99%E7%A8%8B@20200317.mp4" @error="error" controls @play="playing(2)" id="d2"></video>
<view class="title">
<text>[ 样片2 ]</text>
<button class="btnn" open-type="share"><u-icon name="share"></u-icon></button>
</view>
</view>
</block>
</view>
<view class="bottom">
<image src="../../../static/img/vlog/icon/bottom.png"></image>
......@@ -31,15 +26,19 @@
export default {
data() {
return {
scenic:"",//景区详情
}
},
onReady() {
onReady() {//代替 vue 里面的 mounted
},
onLoad(res){
uni.setNavigationBarTitle({//动态更改标题
title: '标题名称'
})
onLoad(res){//代替 vue 里面的 created
let caseId=res.caseId
this.$request("distribution/vlog/getScenicInfo",{caseId}).then(res=>{
if(res.code==="00"){
this.scenic=res.data;
uni.setNavigationBarTitle({title:this.scenic.name})
}
})
},
methods: {
error(e){//视频播放出错触发函数
......
......@@ -36,22 +36,18 @@
</view>
</view>
</navigator>
<button type="default" @click="handleDownload">下载</button>
<view class="title">
<view class="shuxian"></view>
<view>景区VLOG样片</view>
</view>
<view class="row">
<navigator url="../scenicList/scenicList" class="item">
<image class="icon" src="../../../static/img/vlog/icon/icon_play.png"></image>
<image class="fengmian" src="https://cdn.uviewui.com/uview/swiper/1.jpg"></image>
<text>长江索道</text>
</navigator>
<navigator url="../scenicList/scenicList" class="item">
<image class="icon" src="../../../static/img/vlog/icon/icon_play.png"></image>
<image class="fengmian" src="https://cdn.uviewui.com/uview/swiper/1.jpg"></image>
<text>云端之眼·高空观景台</text>
</navigator>
<block v-for="(item,index) in scenicList" :key="index">
<navigator :url="'../scenicList/scenicList?caseId='+item.caseId" class="item">
<image class="icon" src="../../../static/img/vlog/icon/icon_play.png"></image>
<image class="fengmian" :src="item.coverImgUrl"></image>
<text>{{item.name}}</text>
</navigator>
</block>
</view>
<view class="bottom">
<image src="../../../static/img/vlog/icon/bottom.png"></image>
......@@ -68,6 +64,8 @@
export default {
data() {
return {
userInfo:"",//用户信息
scenicList:[],//景区列表
share:{
title:'vlog1231231',
path:'/pages/index/index',
......@@ -90,28 +88,64 @@ export default {
}
},
onLoad(){//代替 vue 里面的 created
this.openCamera()
this.getUserInfo()//获取用户信息
this.getScenicList()//获取景区列表
this.openCamera()//打开权限
},
onReady() {//代替 vue 里面的 mounted
uni.login({
provider: 'weixin',
success: function (loginRes) {
console.log(loginRes);
// 获取用户信息
uni.getUserInfo({
provider: 'weixin',
success: function (infoRes) {
console.log(infoRes);
console.log('用户昵称为:' + infoRes.userInfo.nickName);
}
});
}
});
},
onShareAppMessage(res){
onShareAppMessage(res){//分享
success:(res=>{console.log(res);})
},
methods: {
getUserInfo(){//获取用户信息
this.$request('wechatUser/wxUser/findWxUser',{
openid:uni.getStorageSync("openid")
})
.then((res)=>{
if(res.code==="00"){//请求成功
this.userInfo=res.data
if(this.userInfo.isVlog===0){//未注册
this.vlogRegister()
}else{
console.log("用户已注册");
}
}else{
uni.showModal({content: res.message,showCancel: false})
}
})
},
getScenicList(){//景区列表查询
let data={
"pageNo":1,
"pageSize":10
}
this.$request("distribution/vlog/getScenicList",data).then(res=>{
if(res.code==="00"){//请求成功
console.log("景区列表",res.data.list);
this.scenicList=res.data.list
}else{
uni.showModal({content: res.message,showCancel: false})
}
})
},
vlogRegister(){//用户注册
let data={
"nickName":this.userInfo.nickname, //昵称
"userId":this.userInfo.openid, //用户id(用微信openid)
"phone":18523953636,
"outUserId":this.userInfo.openid, //用户Id, //外部应用id(用微信openid)
"userType":"WECHAT", //ALIPAY-支付宝小程序,WECHAT-微信小程序,OTHER-其他
"gender":this.userInfo.gender //0-男,1-女
}
this.$request("distribution/vlog/vlogRegister",data).then(res=>{//注册
if(res.code==="00"){
console.log("注册成功");
}
})
},
handleDownload() { // 下载功能
uni.showLoading({title:"下载中",mask:true})
let fileName = new Date().valueOf();//获取时间戳
......
项目介绍文件
一、本地存储数据
1.uni.getStorageSync("openid")
2.uni.getStorageSync("alipayQrCode")
......@@ -36,5 +36,6 @@
"uniStatistics": {
"enable": true
},
"usingComponents": {}
"usingComponents": {},
"sitemapLocation": "sitemap.json"
}
\ No newline at end of file
......@@ -11,12 +11,13 @@
var _App = _interopRequireDefault(__webpack_require__(/*! ./App */ 9));
var _uviewUi = _interopRequireDefault(__webpack_require__(/*! uview-ui */ 15));
var _request = _interopRequireDefault(__webpack_require__(/*! common/request.js */ 44));
__webpack_require__(/*! ./common/icon/iconfont.css */ 45);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}
__webpack_require__(/*! ./common/icon/iconfont.css */ 45);
var _common = _interopRequireDefault(__webpack_require__(/*! common/common.js */ 46));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}
_vue.default.prototype.$commonjs = _common.default;
_vue.default.prototype.$request = _request.default;
_vue.default.use(_uviewUi.default);
_vue.default.config.productionTip = false;
_App.default.mpType = 'app';
var app = new _vue.default(_objectSpread({},
......@@ -107,7 +108,7 @@ var _default = {
var openid = uni.getStorageSync("openid");
if (!openid) {
uni.navigateTo({
url: "pages/vlog/vlogIndex/vlogIndex" });
url: "pages/login/login" });
}
},
......
......@@ -208,6 +208,8 @@ __webpack_require__.r(__webpack_exports__);
//
//
//
//
//
var _default =
{
data: function data() {
......
<view></view>
\ No newline at end of file
<view><navigator url="../vlog/vlogIndex/vlogIndex"><button type="default">vlog</button></navigator></view>
\ No newline at end of file
......@@ -165,6 +165,7 @@ var _default =
};
_this.$request('wechat/wx/getUserInfoByCode', data).then(function (res) {
if (res.code == '00') {
console.log(res);
var openid = res.data.openid;
uni.setStorageSync('openid', openid);
uni.navigateBack({
......
......@@ -139,7 +139,7 @@ __webpack_require__.r(__webpack_exports__);
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var orderCoupon = function orderCoupon() {__webpack_require__.e(/*! require.ensure | components/orderCoupon */ "components/orderCoupon").then((function () {return resolve(__webpack_require__(/*! @/components/orderCoupon.vue */ 179));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var orderCoupon = function orderCoupon() {__webpack_require__.e(/*! require.ensure | components/orderCoupon */ "components/orderCoupon").then((function () {return resolve(__webpack_require__(/*! @/components/orderCoupon.vue */ 187));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
......
......@@ -94,7 +94,7 @@ __webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
var components = {
uIcon: function() {
return __webpack_require__.e(/*! import() | uview-ui/components/u-icon/u-icon */ "uview-ui/components/u-icon/u-icon").then(__webpack_require__.bind(null, /*! @/uview-ui/components/u-icon/u-icon.vue */ 200))
return __webpack_require__.e(/*! import() | uview-ui/components/u-icon/u-icon */ "uview-ui/components/u-icon/u-icon").then(__webpack_require__.bind(null, /*! @/uview-ui/components/u-icon/u-icon.vue */ 208))
}
}
var render = function() {
......@@ -158,24 +158,23 @@ __webpack_require__.r(__webpack_exports__);
//
//
//
//
//
//
//
//
var _default =
{
data: function data() {
return {};
return {
scenic: "" //景区详情
};
},
onReady: function onReady() {
onReady: function onReady() {//代替 vue 里面的 mounted
},
onLoad: function onLoad(res) {
uni.setNavigationBarTitle({ //动态更改标题
title: '标题名称' });
onLoad: function onLoad(res) {var _this = this; //代替 vue 里面的 created
var caseId = res.caseId;
this.$request("distribution/vlog/getScenicInfo", { caseId: caseId }).then(function (res) {
if (res.code === "00") {
_this.scenic = res.data;
uni.setNavigationBarTitle({ title: _this.scenic.name });
}
});
},
methods: {
error: function error(e) {//视频播放出错触发函数
......
{
"navigationBarTitleText": "景区",
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#192033",
"navigationBarTextStyle": "white",
......
<view class="content data-v-396b8e72"><view style="padding-top:30rpx;" class="data-v-396b8e72"><view class="item data-v-396b8e72"><video class="video data-v-396b8e72" src="https://img.cdn.aliyun.dcloud.net.cn/guide/uniapp/%E7%AC%AC1%E8%AE%B2%EF%BC%88uni-app%E4%BA%A7%E5%93%81%E4%BB%8B%E7%BB%8D%EF%BC%89-%20DCloud%E5%AE%98%E6%96%B9%E8%A7%86%E9%A2%91%E6%95%99%E7%A8%8B@20200317.mp4" controls="{{true}}" id="d1" data-event-opts="{{[['error',[['error',['$event']]]],['play',[['playing',[1]]]]]}}" binderror="__e" bindplay="__e"></video><view class="title data-v-396b8e72"><text class="data-v-396b8e72">[ 样片1 ]</text><button class="btnn data-v-396b8e72" open-type="share"><u-icon vue-id="f4053dc2-1" name="share" class="data-v-396b8e72" bind:__l="__l"></u-icon></button></view></view><view class="item data-v-396b8e72"><video class="video data-v-396b8e72" src="https://img.cdn.aliyun.dcloud.net.cn/guide/uniapp/%E7%AC%AC1%E8%AE%B2%EF%BC%88uni-app%E4%BA%A7%E5%93%81%E4%BB%8B%E7%BB%8D%EF%BC%89-%20DCloud%E5%AE%98%E6%96%B9%E8%A7%86%E9%A2%91%E6%95%99%E7%A8%8B@20200317.mp4" controls="{{true}}" id="d2" data-event-opts="{{[['error',[['error',['$event']]]],['play',[['playing',[2]]]]]}}" binderror="__e" bindplay="__e"></video><view class="title data-v-396b8e72"><text class="data-v-396b8e72">[ 样片2 ]</text><button class="btnn data-v-396b8e72" open-type="share"><u-icon vue-id="f4053dc2-2" name="share" class="data-v-396b8e72" bind:__l="__l"></u-icon></button></view></view></view><view class="bottom data-v-396b8e72"><image src="../../../static/img/vlog/icon/bottom.png" class="data-v-396b8e72"></image><navigator url="../vlogface/vlogface" class="data-v-396b8e72"><view class="paizhao data-v-396b8e72"><image src="../../../static/img/vlog/icon/icon_scan.png" class="data-v-396b8e72"></image></view></navigator></view></view>
\ No newline at end of file
<view class="content data-v-396b8e72"><view style="padding-top:30rpx;" class="data-v-396b8e72"><block wx:for="{{scenic.vlogSamples}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block class="data-v-396b8e72"><view class="item data-v-396b8e72"><video class="video data-v-396b8e72" src="https://img.cdn.aliyun.dcloud.net.cn/guide/uniapp/%E7%AC%AC1%E8%AE%B2%EF%BC%88uni-app%E4%BA%A7%E5%93%81%E4%BB%8B%E7%BB%8D%EF%BC%89-%20DCloud%E5%AE%98%E6%96%B9%E8%A7%86%E9%A2%91%E6%95%99%E7%A8%8B@20200317.mp4" controls="{{true}}" id="d1" data-event-opts="{{[['error',[['error',['$event']]]],['play',[['playing',[1]]]]]}}" binderror="__e" bindplay="__e"></video><view class="title data-v-396b8e72"><text class="data-v-396b8e72">[ 样片1 ]</text><button class="btnn data-v-396b8e72" open-type="share"><u-icon vue-id="{{'f4053dc2-1-'+index}}" name="share" class="data-v-396b8e72" bind:__l="__l"></u-icon></button></view></view></block></block></view><view class="bottom data-v-396b8e72"><image src="../../../static/img/vlog/icon/bottom.png" class="data-v-396b8e72"></image><navigator url="../vlogface/vlogface" class="data-v-396b8e72"><view class="paizhao data-v-396b8e72"><image src="../../../static/img/vlog/icon/icon_scan.png" class="data-v-396b8e72"></image></view></navigator></view></view>
\ No newline at end of file
......@@ -94,10 +94,10 @@ __webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
var components = {
uSearch: function() {
return __webpack_require__.e(/*! import() | uview-ui/components/u-search/u-search */ "uview-ui/components/u-search/u-search").then(__webpack_require__.bind(null, /*! @/uview-ui/components/u-search/u-search.vue */ 186))
return __webpack_require__.e(/*! import() | uview-ui/components/u-search/u-search */ "uview-ui/components/u-search/u-search").then(__webpack_require__.bind(null, /*! @/uview-ui/components/u-search/u-search.vue */ 194))
},
uSwiper: function() {
return __webpack_require__.e(/*! import() | uview-ui/components/u-swiper/u-swiper */ "uview-ui/components/u-swiper/u-swiper").then(__webpack_require__.bind(null, /*! @/uview-ui/components/u-swiper/u-swiper.vue */ 193))
return __webpack_require__.e(/*! import() | uview-ui/components/u-swiper/u-swiper */ "uview-ui/components/u-swiper/u-swiper").then(__webpack_require__.bind(null, /*! @/uview-ui/components/u-swiper/u-swiper.vue */ 201))
}
}
var render = function() {
......@@ -199,14 +199,12 @@ __webpack_require__.r(__webpack_exports__);
//
//
//
//
//
//
//
var _default =
{
data: function data() {
return {
userInfo: "", //用户信息
scenicList: [], //景区列表
share: {
title: 'vlog1231231',
path: '/pages/index/index',
......@@ -229,28 +227,64 @@ var _default =
},
onLoad: function onLoad() {//代替 vue 里面的 created
this.openCamera();
this.getUserInfo(); //获取用户信息
this.getScenicList(); //获取景区列表
this.openCamera(); //打开权限
},
onReady: function onReady() {//代替 vue 里面的 mounted
uni.login({
provider: 'weixin',
success: function success(loginRes) {
console.log(loginRes);
// 获取用户信息
uni.getUserInfo({
provider: 'weixin',
success: function success(infoRes) {
console.log(infoRes);
console.log('用户昵称为:' + infoRes.userInfo.nickName);
} });
} });
},
onShareAppMessage: function onShareAppMessage(res) {
onShareAppMessage: function onShareAppMessage(res) {//分享
success: (function (res) {console.log(res);});
},
methods: {
getUserInfo: function getUserInfo() {var _this = this; //获取用户信息
this.$request('wechatUser/wxUser/findWxUser', {
openid: uni.getStorageSync("openid") }).
then(function (res) {
if (res.code === "00") {//请求成功
_this.userInfo = res.data;
if (_this.userInfo.isVlog === 0) {//未注册
_this.vlogRegister();
} else {
console.log("用户已注册");
}
} else {
uni.showModal({ content: res.message, showCancel: false });
}
});
},
getScenicList: function getScenicList() {var _this2 = this; //景区列表查询
var data = {
"pageNo": 1,
"pageSize": 10 };
this.$request("distribution/vlog/getScenicList", data).then(function (res) {
if (res.code === "00") {//请求成功
console.log("景区列表", res.data.list);
_this2.scenicList = res.data.list;
} else {
uni.showModal({ content: res.message, showCancel: false });
}
});
},
vlogRegister: function vlogRegister() {//用户注册
var data = {
"nickName": this.userInfo.nickname, //昵称
"userId": this.userInfo.openid, //用户id(用微信openid)
"phone": 18523953636,
"outUserId": this.userInfo.openid, //用户Id, //外部应用id(用微信openid)
"userType": "WECHAT", //ALIPAY-支付宝小程序,WECHAT-微信小程序,OTHER-其他
"gender": this.userInfo.gender //0-男,1-女
};
this.$request("distribution/vlog/vlogRegister", data).then(function (res) {//注册
if (res.code === "00") {
console.log("注册成功");
}
});
},
handleDownload: function handleDownload() {// 下载功能
uni.showLoading({ title: "下载中", mask: true });
var fileName = new Date().valueOf(); //获取时间戳
......
<view class="content data-v-8024691e"><u-search vue-id="3dcc23b5-1" placeholder="景区/关键词搜索" clearabled="{{true}}" show-action="{{true}}" action-text="搜索" animation="{{true}}" value="{{search}}" data-event-opts="{{[['^change',[['query']]],['^input',[['__set_model',['','search','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" class="data-v-8024691e" bind:__l="__l"></u-search><view class="swiper data-v-8024691e"><u-swiper vue-id="3dcc23b5-2" list="{{list}}" class="data-v-8024691e" bind:__l="__l"></u-swiper></view><view class="title data-v-8024691e"><view class="shuxian data-v-8024691e"></view><view class="data-v-8024691e">我的VLOG视频集</view></view><navigator url="../myVlog/myVlog" class="data-v-8024691e"><view class="photoGallery data-v-8024691e"><image class="img data-v-8024691e" src="../../../static/img/vlog/icon/bg.jpg"></image><view class="access data-v-8024691e"></view><view class="btnn data-v-8024691e"><image src="../../../static/img/vlog/icon/icon_clicktoenter.png" class="data-v-8024691e"></image><view class="data-v-8024691e">点击进入</view></view></view></navigator><view class="title data-v-8024691e"><view class="shuxian data-v-8024691e"></view><view class="data-v-8024691e">定制我的相片集</view></view><navigator url="../photoAlbum/photoAlbum" class="data-v-8024691e"><view class="photoGallery data-v-8024691e"><image class="img data-v-8024691e" src="../../../static/img/vlog/icon/bg.jpg"></image><view class="access data-v-8024691e"></view><view class="btnn data-v-8024691e"><image src="../../../static/img/vlog/icon/icon_clicktoenter.png" class="data-v-8024691e"></image><view class="data-v-8024691e">点击进入</view></view></view></navigator><button type="default" data-event-opts="{{[['tap',[['handleDownload',['$event']]]]]}}" bindtap="__e" class="data-v-8024691e">下载</button><view class="title data-v-8024691e"><view class="shuxian data-v-8024691e"></view><view class="data-v-8024691e">景区VLOG样片</view></view><view class="row data-v-8024691e"><navigator class="item data-v-8024691e" url="../scenicList/scenicList"><image class="icon data-v-8024691e" src="../../../static/img/vlog/icon/icon_play.png"></image><image class="fengmian data-v-8024691e" src="https://cdn.uviewui.com/uview/swiper/1.jpg"></image><text class="data-v-8024691e">长江索道</text></navigator><navigator class="item data-v-8024691e" url="../scenicList/scenicList"><image class="icon data-v-8024691e" src="../../../static/img/vlog/icon/icon_play.png"></image><image class="fengmian data-v-8024691e" src="https://cdn.uviewui.com/uview/swiper/1.jpg"></image><text class="data-v-8024691e">云端之眼·高空观景台</text></navigator></view><view class="bottom data-v-8024691e"><image src="../../../static/img/vlog/icon/bottom.png" class="data-v-8024691e"></image><navigator url="../vlogface/vlogface" class="data-v-8024691e"><view class="paizhao data-v-8024691e"><image src="../../../static/img/vlog/icon/icon_scan.png" class="data-v-8024691e"></image></view></navigator></view></view>
\ No newline at end of file
<view class="content data-v-8024691e"><u-search vue-id="3dcc23b5-1" placeholder="景区/关键词搜索" clearabled="{{true}}" show-action="{{true}}" action-text="搜索" animation="{{true}}" value="{{search}}" data-event-opts="{{[['^change',[['query']]],['^input',[['__set_model',['','search','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" class="data-v-8024691e" bind:__l="__l"></u-search><view class="swiper data-v-8024691e"><u-swiper vue-id="3dcc23b5-2" list="{{list}}" class="data-v-8024691e" bind:__l="__l"></u-swiper></view><view class="title data-v-8024691e"><view class="shuxian data-v-8024691e"></view><view class="data-v-8024691e">我的VLOG视频集</view></view><navigator url="../myVlog/myVlog" class="data-v-8024691e"><view class="photoGallery data-v-8024691e"><image class="img data-v-8024691e" src="../../../static/img/vlog/icon/bg.jpg"></image><view class="access data-v-8024691e"></view><view class="btnn data-v-8024691e"><image src="../../../static/img/vlog/icon/icon_clicktoenter.png" class="data-v-8024691e"></image><view class="data-v-8024691e">点击进入</view></view></view></navigator><view class="title data-v-8024691e"><view class="shuxian data-v-8024691e"></view><view class="data-v-8024691e">定制我的相片集</view></view><navigator url="../photoAlbum/photoAlbum" class="data-v-8024691e"><view class="photoGallery data-v-8024691e"><image class="img data-v-8024691e" src="../../../static/img/vlog/icon/bg.jpg"></image><view class="access data-v-8024691e"></view><view class="btnn data-v-8024691e"><image src="../../../static/img/vlog/icon/icon_clicktoenter.png" class="data-v-8024691e"></image><view class="data-v-8024691e">点击进入</view></view></view></navigator><view class="title data-v-8024691e"><view class="shuxian data-v-8024691e"></view><view class="data-v-8024691e">景区VLOG样片</view></view><view class="row data-v-8024691e"><block wx:for="{{scenicList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block class="data-v-8024691e"><navigator class="item data-v-8024691e" url="{{'../scenicList/scenicList?caseId='+item.caseId}}"><image class="icon data-v-8024691e" src="../../../static/img/vlog/icon/icon_play.png"></image><image class="fengmian data-v-8024691e" src="{{item.coverImgUrl}}"></image><text class="data-v-8024691e">{{item.name}}</text></navigator></block></block></view><view class="bottom data-v-8024691e"><image src="../../../static/img/vlog/icon/bottom.png" class="data-v-8024691e"></image><navigator url="../vlogface/vlogface" class="data-v-8024691e"><view class="paizhao data-v-8024691e"><image src="../../../static/img/vlog/icon/icon_scan.png" class="data-v-8024691e"></image></view></navigator></view></view>
\ No newline at end of file
......@@ -94,10 +94,10 @@ __webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
var components = {
uIcon: function() {
return __webpack_require__.e(/*! import() | uview-ui/components/u-icon/u-icon */ "uview-ui/components/u-icon/u-icon").then(__webpack_require__.bind(null, /*! @/uview-ui/components/u-icon/u-icon.vue */ 200))
return __webpack_require__.e(/*! import() | uview-ui/components/u-icon/u-icon */ "uview-ui/components/u-icon/u-icon").then(__webpack_require__.bind(null, /*! @/uview-ui/components/u-icon/u-icon.vue */ 208))
},
uButton: function() {
return __webpack_require__.e(/*! import() | uview-ui/components/u-button/u-button */ "uview-ui/components/u-button/u-button").then(__webpack_require__.bind(null, /*! @/uview-ui/components/u-button/u-button.vue */ 207))
return __webpack_require__.e(/*! import() | uview-ui/components/u-button/u-button */ "uview-ui/components/u-button/u-button").then(__webpack_require__.bind(null, /*! @/uview-ui/components/u-button/u-button.vue */ 215))
}
}
var render = function() {
......
{
"usingComponents": {},
"component": true
}
\ No newline at end of file
<view class="u-cell-box data-v-5723aa40"><block wx:if="{{title}}"><view class="u-cell-title data-v-5723aa40" style="{{$root.s0}}">{{''+title+''}}</view></block><view class="{{['u-cell-item-box data-v-5723aa40',(border)?'u-border-bottom u-border-top':'']}}"><slot></slot></view></view>
\ No newline at end of file
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/*分割线颜色*/
/*主题颜色*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.u-cell-box.data-v-5723aa40 {
width: 100%;
}
.u-cell-title.data-v-5723aa40 {
padding: 30rpx 32rpx 10rpx 32rpx;
font-size: 30rpx;
text-align: left;
color: #909399;
}
.u-cell-item-box.data-v-5723aa40 {
background-color: #FFFFFF;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
flex-direction: row;
}
{
"usingComponents": {
"u-icon": "/uview-ui/components/u-icon/u-icon"
},
"component": true
}
\ No newline at end of file
<view class="{{['u-cell data-v-65423b64',(borderBottom)?'u-border-bottom':'',(borderTop)?'u-border-top':'',(center)?'u-col-center':'',(required)?'u-cell--required':'']}}" style="{{'background-color:'+(bgColor)+';'}}" hover-stay-time="150" hover-class="{{hoverClass}}" data-event-opts="{{[['tap',[['click',['$event']]]]]}}" bindtap="__e"><block wx:if="{{icon}}"><u-icon class="u-cell__left-icon-wrap data-v-65423b64" vue-id="43042f10-1" size="{{iconSize}}" name="{{icon}}" custom-style="{{iconStyle}}" bind:__l="__l"></u-icon></block><block wx:else><view class="u-flex data-v-65423b64"><slot name="icon"></slot></view></block><view class="u-cell_title data-v-65423b64" style="{{$root.s0}}"><block wx:if="{{title!==''}}"><block class="data-v-65423b64">{{title}}</block></block><block wx:else><slot name="title"></slot></block><block wx:if="{{label||$slots.label}}"><view class="u-cell__label data-v-65423b64" style="{{$root.s1}}"><block wx:if="{{label!==''}}"><block class="data-v-65423b64">{{label}}</block></block><block wx:else><slot name="label"></slot></block></view></block></view><view class="u-cell__value data-v-65423b64" style="{{$root.s2}}"><block wx:if="{{value!==''}}"><block class="u-cell__value data-v-65423b64">{{value}}</block></block><block wx:else><slot></slot></block></view><block wx:if="{{$slots['right-icon']}}"><view class="u-flex u-cell_right data-v-65423b64"><slot name="right-icon"></slot></view></block><block wx:if="{{arrow}}"><u-icon class="u-icon-wrap u-cell__right-icon-wrap data-v-65423b64" style="{{$root.s3}}" vue-id="43042f10-2" name="arrow-right" bind:__l="__l"></u-icon></block></view>
\ No newline at end of file
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/*分割线颜色*/
/*主题颜色*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.u-cell.data-v-65423b64 {
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
flex-direction: row;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
position: relative;
box-sizing: border-box;
width: 100%;
padding: 26rpx 32rpx;
font-size: 28rpx;
line-height: 54rpx;
color: #606266;
background-color: #fff;
text-align: left;
}
.u-cell_title.data-v-65423b64 {
font-size: 28rpx;
}
.u-cell__left-icon-wrap.data-v-65423b64 {
margin-right: 10rpx;
font-size: 32rpx;
}
.u-cell__right-icon-wrap.data-v-65423b64 {
margin-left: 10rpx;
color: #969799;
font-size: 28rpx;
}
.u-cell__left-icon-wrap.data-v-65423b64,
.u-cell__right-icon-wrap.data-v-65423b64 {
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
flex-direction: row;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
height: 48rpx;
}
.u-cell-border.data-v-65423b64:after {
position: absolute;
box-sizing: border-box;
content: ' ';
pointer-events: none;
border-bottom: 1px solid #e4e7ed;
right: 0;
left: 0;
top: 0;
-webkit-transform: scaleY(0.5);
transform: scaleY(0.5);
}
.u-cell-border.data-v-65423b64 {
position: relative;
}
.u-cell__label.data-v-65423b64 {
margin-top: 6rpx;
font-size: 26rpx;
line-height: 36rpx;
color: #909399;
word-wrap: break-word;
}
.u-cell__value.data-v-65423b64 {
overflow: hidden;
text-align: right;
vertical-align: middle;
color: #909399;
font-size: 26rpx;
}
.u-cell__title.data-v-65423b64,
.u-cell__value.data-v-65423b64 {
-webkit-box-flex: 1;
-webkit-flex: 1;
flex: 1;
}
.u-cell--required.data-v-65423b64 {
overflow: visible;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
flex-direction: row;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
}
.u-cell--required.data-v-65423b64:before {
position: absolute;
content: '*';
left: 8px;
margin-top: 4rpx;
font-size: 14px;
color: #fa3534;
}
.u-cell_right.data-v-65423b64 {
line-height: 1;
}
{
"usingComponents": {
"u-cell-group": "/uview-ui/components/u-cell-group/u-cell-group",
"u-cell-item": "/uview-ui/components/u-cell-item/u-cell-item",
"u-icon": "/uview-ui/components/u-icon/u-icon"
},
"component": true
}
\ No newline at end of file
<block wx:if="{{active}}"><view data-event-opts="{{[['touchmove',[['e0',['$event']]]],['tap',[['e1',['$event']]]]]}}" class="u-dropdown-item data-v-43403030" catchtouchmove="__e" catchtap="__e"><block wx:if="{{!$slots.default&&!$slots.$default}}"><block class="data-v-43403030"><scroll-view style="{{'height:'+($root.g0)+';'}}" scroll-y="true" class="data-v-43403030"><view class="u-dropdown-item__options data-v-43403030"><u-cell-group vue-id="24c656d6-1" class="data-v-43403030" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{options}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-cell-item vue-id="{{('24c656d6-2-'+index)+','+('24c656d6-1')}}" arrow="{{false}}" title="{{item.label}}" title-style="{{$root.a0}}" data-event-opts="{{[['^click',[['cellClick',['$0'],[[['options','',index,'value']]]]]]]}}" bind:click="__e" class="data-v-43403030" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{value==item.value}}"><u-icon vue-id="{{('24c656d6-3-'+index)+','+('24c656d6-2-'+index)}}" name="checkbox-mark" color="{{activeColor}}" size="32" class="data-v-43403030" bind:__l="__l"></u-icon></block></u-cell-item></block></u-cell-group></view></scroll-view></block></block><block wx:else><slot></slot></block></view></block>
\ No newline at end of file
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/*分割线颜色*/
/*主题颜色*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
{
"usingComponents": {
"u-icon": "/uview-ui/components/u-icon/u-icon"
},
"component": true
}
\ No newline at end of file
<view class="u-dropdown data-v-0340bb60"><view class="{{['u-dropdown__menu data-v-0340bb60',(borderBottom)?'u-border-bottom':'']}}" style="{{'height:'+($root.g0)+';'}}"><block wx:for="{{menuList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['menuClick',[index]]]]]}}" class="u-dropdown__menu__item data-v-0340bb60" catchtap="__e"><view class="u-flex data-v-0340bb60"><text class="u-dropdown__menu__item__text data-v-0340bb60" style="{{'color:'+(item.disabled?'#c0c4cc':index===current||highlightIndex==index?activeColor:inactiveColor)+';'+('font-size:'+($root.g1)+';')}}">{{item.title}}</text><view class="{{['u-dropdown__menu__item__arrow data-v-0340bb60',(index===current)?'u-dropdown__menu__item__arrow--rotate':'']}}"><u-icon vue-id="{{'64d731a6-1-'+index}}" custom-style="{{$root.a0}}" name="{{menuIcon}}" size="{{$root.g2}}" color="{{index===current||highlightIndex==index?activeColor:'#c0c4cc'}}" class="data-v-0340bb60" bind:__l="__l"></u-icon></view></view></view></block></view><view data-event-opts="{{[['tap',[['maskClick',['$event']]]],['touchmove',[['',['$event']]]]]}}" class="u-dropdown__content data-v-0340bb60" style="{{$root.s0}}" bindtap="__e" catchtouchmove="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="u-dropdown__content__popup data-v-0340bb60" style="{{$root.s1}}" catchtap="__e"><slot></slot></view><view class="u-dropdown__content__mask data-v-0340bb60"></view></view></view>
\ No newline at end of file
{
"usingComponents": {
"u-popup": "/uview-ui/components/u-popup/u-popup"
},
"component": true
}
\ No newline at end of file
<view class="u-select data-v-a577ac80"><u-popup vue-id="097ce174-1" maskCloseAble="{{maskCloseAble}}" mode="bottom" popup="{{false}}" length="auto" safeAreaInsetBottom="{{safeAreaInsetBottom}}" z-index="{{uZIndex}}" value="{{value}}" data-event-opts="{{[['^close',[['close']]],['^input',[['__set_model',['','value','$event',[]]]]]]}}" bind:close="__e" bind:input="__e" class="data-v-a577ac80" bind:__l="__l" vue-slots="{{['default']}}"><view class="u-select data-v-a577ac80"><view data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" class="u-select__header data-v-a577ac80" catchtouchmove="__e"><view class="u-select__header__cancel u-select__header__btn data-v-a577ac80" style="{{'color:'+(cancelColor)+';'}}" hover-class="u-hover-class" hover-stay-time="{{150}}" data-event-opts="{{[['tap',[['getResult',['cancel']]]]]}}" bindtap="__e">{{''+cancelText+''}}</view><view class="u-select__header__title data-v-a577ac80">{{''+title+''}}</view><view class="u-select__header__confirm u-select__header__btn data-v-a577ac80" style="{{'color:'+(moving?cancelColor:confirmColor)+';'}}" hover-class="u-hover-class" hover-stay-time="{{150}}" data-event-opts="{{[['touchmove',[['',['$event']]]],['tap',[['getResult',['confirm']]]]]}}" catchtouchmove="__e" catchtap="__e">{{''+confirmText+''}}</view></view><view class="u-select__body data-v-a577ac80"><picker-view class="u-select__body__picker-view data-v-a577ac80" value="{{defaultSelector}}" data-event-opts="{{[['change',[['columnChange',['$event']]]],['pickstart',[['pickstart',['$event']]]],['pickend',[['pickend',['$event']]]]]}}" bindchange="__e" bindpickstart="__e" bindpickend="__e"><block wx:for="{{columnData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><picker-view-column class="data-v-a577ac80"><block wx:for="{{item}}" wx:for-item="item1" wx:for-index="index1" wx:key="index1"><view class="u-select__body__picker-view__item data-v-a577ac80"><view class="u-line-1 data-v-a577ac80">{{item1[labelName]}}</view></view></block></picker-view-column></block></picker-view></view></view></u-popup></view>
\ No newline at end of file
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