6.18
@ -1,9 +1,12 @@
|
|||||||
export default {
|
export default {
|
||||||
init(vm){
|
init(vm){
|
||||||
return {
|
return {
|
||||||
postlogn({id,name}){
|
// 商品推荐
|
||||||
return vm.$u.get('url',{id,name});
|
getGoodsRecommend({page}){
|
||||||
}
|
return vm.$u.post('Goods/getGoodsRecommend', {
|
||||||
|
page: page
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,12 +1,6 @@
|
|||||||
export default {
|
export default {
|
||||||
init(vm){
|
init(vm){
|
||||||
return {
|
return {
|
||||||
phoneRegister({member_mobile, sms_code}) {
|
|
||||||
return vm.$u.post('auth/phoneRegister', {
|
|
||||||
member_mobile: member_mobile,
|
|
||||||
sms_code: sms_code
|
|
||||||
});
|
|
||||||
},
|
|
||||||
// 启动页
|
// 启动页
|
||||||
pageList({document_code}) {
|
pageList({document_code}) {
|
||||||
return vm.$u.post('StartUp/pageList', {});
|
return vm.$u.post('StartUp/pageList', {});
|
||||||
|
@ -20,10 +20,11 @@
|
|||||||
<!-- 用户协议弹窗 -->
|
<!-- 用户协议弹窗 -->
|
||||||
<view class="welcome_backes" v-if="protocol">
|
<view class="welcome_backes" v-if="protocol">
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<view class="title">用户协议</view>
|
<view class="title">{{ agreement.document_title }}</view>
|
||||||
<text class="protocol_content">
|
<!-- <text class="protocol_content"></text> -->
|
||||||
亲,感谢您对德铭阳光在线的信任!
请注意,在您使用本软件过程中我们会按照《德铭阳光在线隐私保护声明》、《权限声明》 收集、使用和共享您的个人信息,请认真阅读并充分理解。特别提示:
1、为向您提供交易相关基本功能,我们会收集、使用必要的信息;
2、基于您的授权,我们可能会获取您的位置等信息,您有权拒绝或取消授权;
3、我们会采取业界先进的安全措施保护您的信息安全;
4、未经您同意,我们不会从第三方处获取、共享或向其提供您的信息;
5、您可以查询、更正、删除您的个人信息,我们也提供账户注销的渠道。
|
<scroll-view scroll-y class="scroll">
|
||||||
</text>
|
<rich-text class="protocol_content" :nodes="agreement.document_content"></rich-text>
|
||||||
|
</scroll-view>
|
||||||
<view class="to_agree" @click="to_agree">我同意</view>
|
<view class="to_agree" @click="to_agree">我同意</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -43,25 +44,35 @@
|
|||||||
indicatorDots: true,
|
indicatorDots: true,
|
||||||
autoplay: true,
|
autoplay: true,
|
||||||
interval: 3000,
|
interval: 3000,
|
||||||
duration: 500
|
duration: 500,
|
||||||
|
agreement: { // 用户协议内容
|
||||||
|
document_title: "",
|
||||||
|
document_content: ""
|
||||||
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
unescapeHTML (temp){
|
||||||
|
temp = "" + temp;
|
||||||
|
return temp.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&").replace(/"/g, '"').replace(/'/g, "'");
|
||||||
|
},
|
||||||
apiwelcome(){
|
apiwelcome(){
|
||||||
this.$u.api.documentInfo({
|
this.$u.api.documentInfo({
|
||||||
document_code:'agreement'
|
document_code:'agreement'
|
||||||
}).then((res)=>{
|
}).then((res)=>{
|
||||||
console.log('协议',res)
|
if (res.errCode == 0) {
|
||||||
|
let agreement = res.data;
|
||||||
|
agreement.document_content = this.unescapeHTML(agreement.document_content);
|
||||||
|
// console.log(agreement);
|
||||||
|
this.agreement = agreement;
|
||||||
|
}
|
||||||
})
|
})
|
||||||
// 启动页
|
// 启动页
|
||||||
this.$u.api.pageList({}).then((res)=>{
|
this.$u.api.pageList({}).then((res)=>{
|
||||||
console.log('协议',res)
|
console.log('协议',res)
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 3秒倒计时
|
// 3秒倒计时
|
||||||
@ -110,7 +121,6 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|
||||||
.welcome_jumpes{
|
.welcome_jumpes{
|
||||||
width: 90rpx;
|
width: 90rpx;
|
||||||
height: 35rpx;
|
height: 35rpx;
|
||||||
@ -133,7 +143,7 @@
|
|||||||
}
|
}
|
||||||
uni-swiper,uni-view,uni-image{
|
uni-swiper,uni-view,uni-image{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: fixed;
|
// position: fixed;
|
||||||
height: 100%
|
height: 100%
|
||||||
}
|
}
|
||||||
uni-image{
|
uni-image{
|
||||||
@ -168,18 +178,22 @@
|
|||||||
line-height:29rpx;
|
line-height:29rpx;
|
||||||
margin: 30rpx 0 24rpx 0;
|
margin: 30rpx 0 24rpx 0;
|
||||||
}
|
}
|
||||||
.protocol_content{
|
.scroll {
|
||||||
width:494rpx;
|
height: 560rpx;
|
||||||
height:528rpx;
|
.protocol_content{
|
||||||
font-size:24rpx;
|
width:494rpx;
|
||||||
font-weight:400;
|
height:528rpx;
|
||||||
color:rgba(51,51,51,1);
|
font-size:24rpx;
|
||||||
display: block;
|
font-weight:400;
|
||||||
text-align: left;
|
color:rgba(51,51,51,1);
|
||||||
margin: 80rpx auto 33rpx;
|
display: block;
|
||||||
letter-spacing: 1rpx;
|
text-align: left;
|
||||||
text-align: justify;
|
margin: 80rpx auto 33rpx;
|
||||||
line-height: 36rpx;
|
letter-spacing: 1rpx;
|
||||||
|
text-align: justify;
|
||||||
|
line-height: 36rpx;
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.to_agree{
|
.to_agree{
|
||||||
width:558rpx;
|
width:558rpx;
|
||||||
|
@ -4,16 +4,11 @@
|
|||||||
商品推荐
|
商品推荐
|
||||||
</view>
|
</view>
|
||||||
<view class="label">
|
<view class="label">
|
||||||
<text>asd</text>
|
<text>分类名称</text>
|
||||||
<text>sda</text>
|
<text v-for="item in classifyList" :key="item.gc_id">{{ item.gc_name }}</text>
|
||||||
<text>w3eq</text>
|
|
||||||
</view>
|
</view>
|
||||||
<view class="item">
|
<view class="item">
|
||||||
<item></item>
|
<item v-for="item in goodsList" :key="item.goods_id" :info="item"></item>
|
||||||
<item></item>
|
|
||||||
<item></item>
|
|
||||||
<item></item>
|
|
||||||
<item></item>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@ -23,7 +18,11 @@ export default {
|
|||||||
name:"list",
|
name:"list",
|
||||||
components:{
|
components:{
|
||||||
item
|
item
|
||||||
}
|
},
|
||||||
|
props: {
|
||||||
|
classifyList: Array,
|
||||||
|
goodsList: Array,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@ -38,9 +37,10 @@ export default {
|
|||||||
.label{
|
.label{
|
||||||
display: flex;
|
display: flex;
|
||||||
color: #999;
|
color: #999;
|
||||||
|
flex-wrap: wrap;
|
||||||
>text{
|
>text{
|
||||||
margin-right: 34rpx;
|
margin-right: 34rpx;
|
||||||
|
margin-bottom: 10rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.item{
|
.item{
|
||||||
|
@ -1,16 +1,19 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="item">
|
<view class="item">
|
||||||
<image class="img"></image>
|
<image :src="$u.http.config.baseUrl + info.goods_image" class="img"></image>
|
||||||
<view class="info">
|
<view class="info">
|
||||||
<text class="title"></text>
|
<text class="title u-line-1">{{ info.goods_name }}</text>
|
||||||
<text class="jianjie"></text>
|
<text class="jianjie u-line-2">{{ info.goods_advword }}</text>
|
||||||
<text class="price"></text>
|
<text class="price">{{ info.goods_price }}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
name:"item"
|
name:"item",
|
||||||
|
props: {
|
||||||
|
info: Object
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@ -28,6 +31,7 @@ export default {
|
|||||||
|
|
||||||
}
|
}
|
||||||
.info{
|
.info{
|
||||||
|
width: 320rpx;
|
||||||
padding: 0 12rpx;
|
padding: 0 12rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
@ -1,12 +1,15 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="shop-item">
|
<view class="shop-item">
|
||||||
<image></image>
|
<image></image>
|
||||||
<text>名字哦</text>
|
<text>{{ info.gc_name }}</text>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
name:"shopItem"
|
name:"shopItem",
|
||||||
|
props: {
|
||||||
|
info: Object
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
@ -112,6 +112,11 @@
|
|||||||
console.log('success');
|
console.log('success');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
// 存储接口请求所需token
|
||||||
|
uni.setStorage({
|
||||||
|
key: 'token',
|
||||||
|
data: res.data.data.token,
|
||||||
|
});
|
||||||
// 注册返回参数
|
// 注册返回参数
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: res.message,
|
title: res.message,
|
||||||
@ -265,6 +270,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.labales {
|
.labales {
|
||||||
|
color: #FFF;
|
||||||
border-bottom: 1px #fff solid;
|
border-bottom: 1px #fff solid;
|
||||||
margin-bottom: 90rpx;
|
margin-bottom: 90rpx;
|
||||||
height: 70rpx;
|
height: 70rpx;
|
||||||
|
@ -96,11 +96,11 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
// 注册返回参数
|
// 注册返回参数
|
||||||
this.$refs.uToast.show({
|
// this.$refs.uToast.show({
|
||||||
title: res.message,
|
// title: res.message,
|
||||||
type: 'success',
|
// type: 'success',
|
||||||
url: '/pageA/topick/topick'
|
// url: '/pageA/topick/topick'
|
||||||
})
|
// })
|
||||||
}
|
}
|
||||||
if(res.errCode == 1){
|
if(res.errCode == 1){
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
<view :class="{'cur': rSelect.indexOf(index)!=-1}" v-for="(item,index) in tab_lables" :key="index" @click="tapClick(index)">{{item}}</view>
|
<view :class="{'cur': rSelect.indexOf(index)!=-1}" v-for="(item,index) in tab_lables" :key="index" @click="tapClick(index)">{{item}}</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 提交按钮 -->
|
<!-- 提交按钮 -->
|
||||||
<view class="submites">{{submites}}</view>
|
<view class="submites" @click="toHomePage">{{submites}}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@ -54,6 +54,11 @@
|
|||||||
} else {
|
} else {
|
||||||
this.rSelect.splice(this.rSelect.indexOf(index), 1); //取消
|
this.rSelect.splice(this.rSelect.indexOf(index), 1); //取消
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
toHomePage() {
|
||||||
|
uni.switchTab({
|
||||||
|
url: '/pages/index/index'
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="write-complaints">
|
<view class="write-complaints">
|
||||||
<view class="main-container">
|
<view class="main-container">
|
||||||
<textarea @blur="bindTextAreaBlur" auto-height placeholder="发表您的意见吧,我们会做得更好." maxlength="200" />
|
<textarea auto-height placeholder="发表您的意见吧,我们会做得更好." maxlength="200" v-model="text" />
|
||||||
<u-upload
|
<u-upload
|
||||||
ref="uUpload"
|
ref="uUpload"
|
||||||
@on-uploaded="onUploaded"
|
@on-uploaded="onUploaded"
|
||||||
@ -22,6 +22,7 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
count: 4, // 最大图片数量
|
count: 4, // 最大图片数量
|
||||||
|
text: '',
|
||||||
imageList: []
|
imageList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -30,7 +31,7 @@ export default {
|
|||||||
this.$refs.uUpload.upload();
|
this.$refs.uUpload.upload();
|
||||||
},
|
},
|
||||||
onUploaded(list) {
|
onUploaded(list) {
|
||||||
console.log(list)
|
console.log(this.text, list)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
24
pages.json
@ -621,18 +621,13 @@
|
|||||||
"buttons": [
|
"buttons": [
|
||||||
{
|
{
|
||||||
"type":"none",
|
"type":"none",
|
||||||
"text":"取消",
|
"text":"\ue62d",
|
||||||
"float":"left",
|
|
||||||
"fontSize":"14"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type":"none",
|
|
||||||
"text":"\ue264",
|
|
||||||
"float":"right",
|
"float":"right",
|
||||||
"fontSize":"14"
|
"fontSrc": "/static/fonts/customer.ttf",
|
||||||
|
"fontSize":"20"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"autoBackButton": false,
|
"autoBackButton": true,
|
||||||
"backButton": {
|
"backButton": {
|
||||||
"badgeText": "取消"
|
"badgeText": "取消"
|
||||||
}
|
}
|
||||||
@ -745,7 +740,7 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
"pages": [
|
||||||
{
|
{
|
||||||
"path": "pageA/welcome/welcome",
|
"path": "pageA/welcome/welcome",
|
||||||
"style": {
|
"style": {
|
||||||
@ -755,18 +750,15 @@
|
|||||||
{
|
{
|
||||||
"path": "pages/index/index",
|
"path": "pages/index/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "首页",
|
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/shop/index",
|
"path": "pages/shop/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "商城",
|
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"path": "pages/information/information",
|
"path": "pages/information/information",
|
||||||
"style": {
|
"style": {
|
||||||
@ -789,10 +781,12 @@
|
|||||||
"backgroundColor": "#FFFFFF",
|
"backgroundColor": "#FFFFFF",
|
||||||
"buttons": [
|
"buttons": [
|
||||||
{
|
{
|
||||||
|
"color": "#717171",
|
||||||
"type": "none",
|
"type": "none",
|
||||||
"text": "\ue502",
|
"text": "\ue63f",
|
||||||
|
"fontSrc": "/static/fonts/setting.ttf",
|
||||||
"float": "right",
|
"float": "right",
|
||||||
"fontSize": "14"
|
"fontSize": "18"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -197,6 +197,13 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(){}
|
onLoad(){
|
||||||
|
// this.$u.api.phoneLogin({
|
||||||
|
// member_mobile: 1,
|
||||||
|
// sms_code: 2
|
||||||
|
// }).then((res)=>{
|
||||||
|
// console.log(res)
|
||||||
|
// })
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
@ -128,8 +128,8 @@ export default {
|
|||||||
},
|
},
|
||||||
onLoad() {},
|
onLoad() {},
|
||||||
onNavigationBarButtonTap() {
|
onNavigationBarButtonTap() {
|
||||||
// console.log("setting");
|
console.log("setting");
|
||||||
this.toOtherPage("/pageE/setting/Index");
|
this.toOtherPage("/setting/Index");
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
toOtherPage(url) {
|
toOtherPage(url) {
|
||||||
@ -143,7 +143,7 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.mine {
|
.mine {
|
||||||
min-height: calc(100vh - var(--window-top));
|
min-height: calc(calc(100vh - var(--window-top)) - 50px);
|
||||||
background: #ECECEC;
|
background: #ECECEC;
|
||||||
.mine-top {
|
.mine-top {
|
||||||
width: 750rpx;
|
width: 750rpx;
|
||||||
|
@ -1,35 +1,35 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="shop">
|
<view class="shop">
|
||||||
<view class="top">
|
<view class="top">
|
||||||
<image class="local"></image>
|
<image src="/static/image/shop/1.png" class="local"></image>
|
||||||
<view class="add">
|
<view class="add" @click="chooseArea=true">
|
||||||
<text></text>
|
<text class="u-line-1">{{ area }}</text>
|
||||||
<image></image>
|
<image src="/static/image/shop/2.png"></image>
|
||||||
</view>
|
</view>
|
||||||
<u-search placeholder="日照香炉生紫烟" v-model="keyword" :show-action="false" bg-color="#fff" border-color="#999999"></u-search>
|
<u-search placeholder="日照香炉生紫烟" v-model="keyword" :show-action="false" bg-color="#fff" border-color="#999999"></u-search>
|
||||||
<image class="mnue"></image>
|
<image src="/static/image/shop/3.png" class="mnue"></image>
|
||||||
</view>
|
</view>
|
||||||
<u-swiper :list="list"></u-swiper>
|
<u-swiper :list="list"></u-swiper>
|
||||||
<view class="chengnuo">
|
<view class="chengnuo">
|
||||||
<view>
|
<view>
|
||||||
<image></image>
|
<image src="/static/image/shop/4.png"></image>
|
||||||
<text>免费洗衣</text>
|
<text>免费洗衣</text>
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view>
|
||||||
<image></image>
|
<image src="/static/image/shop/5.png"></image>
|
||||||
<text>全国包邮</text>
|
<text>全国包邮</text>
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view>
|
||||||
<image></image>
|
<image src="/static/image/shop/6.png"></image>
|
||||||
<text>延误必赔</text>
|
<text>延误必赔</text>
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view>
|
||||||
<image></image>
|
<image src="/static/image/shop/7.png"></image>
|
||||||
<text>上门取件</text>
|
<text>上门取件</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="fenlei">
|
<view class="fenlei">
|
||||||
<shopitem v-for="item in 5" class="item"></shopitem>
|
<shopitem v-for="item in classifyList" :key="item.gc_id" class="item" :info="item"></shopitem>
|
||||||
</view>
|
</view>
|
||||||
<view class="fenlei">
|
<view class="fenlei">
|
||||||
<shopitem v-for="item in 5" class="item"></shopitem>
|
<shopitem v-for="item in 5" class="item"></shopitem>
|
||||||
@ -45,7 +45,8 @@
|
|||||||
<image class="lingquan"></image>
|
<image class="lingquan"></image>
|
||||||
<youhq></youhq>
|
<youhq></youhq>
|
||||||
<view class="hr" style="margin-top:40rpx"></view>
|
<view class="hr" style="margin-top:40rpx"></view>
|
||||||
<list></list>
|
<list :classifyList="classifyList" :goodsList="goodsList"></list>
|
||||||
|
<u-picker mode="region" :params="areaParams" v-model="chooseArea" @confirm="setArea"></u-picker>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@ -68,28 +69,57 @@ export default {
|
|||||||
},
|
},
|
||||||
data(){
|
data(){
|
||||||
return {
|
return {
|
||||||
|
area: "北京市",
|
||||||
|
chooseArea: false,
|
||||||
|
areaParams: {
|
||||||
|
province: true,
|
||||||
|
city: true,
|
||||||
|
area: false
|
||||||
|
},
|
||||||
keyword:"",
|
keyword:"",
|
||||||
list:[{
|
list:[{
|
||||||
image: '/static/uView/swiper/swiper1.jpg',
|
image: '/static/uView/swiper/swiper1.jpg',
|
||||||
title: '蒹葭苍苍,白露为霜。所谓伊人,在水一方'
|
title: '蒹葭苍苍,白露为霜。所谓伊人,在水一方'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
image: '/static/uView/swiper/swiper2.jpg',
|
image: '/static/uView/swiper/swiper2.jpg',
|
||||||
title: '溯洄从之,道阻且长。溯游从之,宛在水中央'
|
title: '溯洄从之,道阻且长。溯游从之,宛在水中央'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
image: '/static/uView/swiper/swiper3.jpg',
|
image: '/static/uView/swiper/swiper3.jpg',
|
||||||
title: '蒹葭萋萋,白露未晞。所谓伊人,在水之湄'
|
title: '蒹葭萋萋,白露未晞。所谓伊人,在水之湄'
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
classifyList: [],
|
||||||
|
goodsList: []
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
onLoad() {
|
||||||
|
console.log(this.$u.http)
|
||||||
|
this.getGoodsRecommend();
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
getGoodsRecommend() {
|
||||||
|
this.$u.api.getGoodsRecommend({
|
||||||
|
page: 1,
|
||||||
|
}).then((res)=>{
|
||||||
|
console.log(res);
|
||||||
|
if (res.errCode == 0) {
|
||||||
|
this.classifyList = res.data.classifyList;
|
||||||
|
this.goodsList = res.data.goodsList;
|
||||||
|
// console.log(this.classifyList);
|
||||||
|
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
setArea(e) {
|
||||||
|
// console.log(e);
|
||||||
|
this.area = e.city.label;
|
||||||
|
}
|
||||||
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
/deep/image{
|
|
||||||
background-color: #0f0;
|
|
||||||
}
|
|
||||||
.shop{
|
.shop{
|
||||||
padding: 0 33rpx;
|
padding: 0 33rpx;
|
||||||
.top{
|
.top{
|
||||||
@ -112,6 +142,9 @@ export default {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
margin-left: 14rpx;
|
margin-left: 14rpx;
|
||||||
margin-right: 37rpx;
|
margin-right: 37rpx;
|
||||||
|
> text {
|
||||||
|
width: 80rpx;
|
||||||
|
}
|
||||||
>image{
|
>image{
|
||||||
width: 24rpx;
|
width: 24rpx;
|
||||||
height: 15rpx;
|
height: 15rpx;
|
||||||
|
BIN
static/fonts/customer.ttf
Normal file
BIN
static/fonts/setting.ttf
Normal file
BIN
static/image/emoji/1.gif
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
static/image/emoji/10.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/11.gif
Normal file
After Width: | Height: | Size: 779 B |
BIN
static/image/emoji/12.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/13.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/14.gif
Normal file
After Width: | Height: | Size: 830 B |
BIN
static/image/emoji/15.gif
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
static/image/emoji/16.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/17.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/18.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/19.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/2.gif
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
static/image/emoji/20.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/21.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/22.gif
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
static/image/emoji/23.gif
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
static/image/emoji/24.gif
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
static/image/emoji/25.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/26.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/27.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/28.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/29.gif
Normal file
After Width: | Height: | Size: 822 B |
BIN
static/image/emoji/3.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/30.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/31.gif
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
static/image/emoji/32.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/33.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/34.gif
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
static/image/emoji/35.gif
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
static/image/emoji/36.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/37.gif
Normal file
After Width: | Height: | Size: 843 B |
BIN
static/image/emoji/38.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/39.gif
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
static/image/emoji/4.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/40.gif
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
static/image/emoji/41.gif
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
static/image/emoji/42.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/43.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/44.gif
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
static/image/emoji/45.gif
Normal file
After Width: | Height: | Size: 817 B |
BIN
static/image/emoji/46.gif
Normal file
After Width: | Height: | Size: 844 B |
BIN
static/image/emoji/47.gif
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
static/image/emoji/48.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/49.gif
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
static/image/emoji/5.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/50.gif
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
static/image/emoji/51.gif
Normal file
After Width: | Height: | Size: 822 B |
BIN
static/image/emoji/52.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/53.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/54.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/55.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/56.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/57.gif
Normal file
After Width: | Height: | Size: 650 B |
BIN
static/image/emoji/58.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/59.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/6.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/60.gif
Normal file
After Width: | Height: | Size: 815 B |
BIN
static/image/emoji/61.gif
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
static/image/emoji/62.gif
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
static/image/emoji/63.gif
Normal file
After Width: | Height: | Size: 719 B |
BIN
static/image/emoji/64.gif
Normal file
After Width: | Height: | Size: 727 B |
BIN
static/image/emoji/65.gif
Normal file
After Width: | Height: | Size: 758 B |
BIN
static/image/emoji/66.gif
Normal file
After Width: | Height: | Size: 753 B |
BIN
static/image/emoji/67.gif
Normal file
After Width: | Height: | Size: 753 B |
BIN
static/image/emoji/68.gif
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
static/image/emoji/69.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/7.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/70.gif
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
static/image/emoji/71.gif
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
static/image/emoji/72.gif
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
static/image/emoji/73.gif
Normal file
After Width: | Height: | Size: 658 B |
BIN
static/image/emoji/74.gif
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
static/image/emoji/75.gif
Normal file
After Width: | Height: | Size: 654 B |
BIN
static/image/emoji/76.gif
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
static/image/emoji/77.gif
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
static/image/emoji/78.gif
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
static/image/emoji/79.gif
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
static/image/emoji/8.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/emoji/80.gif
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
static/image/emoji/81.gif
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
static/image/emoji/82.gif
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
static/image/emoji/9.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
static/image/shop/1.png
Normal file
After Width: | Height: | Size: 6.5 KiB |
BIN
static/image/shop/2.png
Normal file
After Width: | Height: | Size: 1.5 KiB |