Browse Source

[新增] 屏蔽正式console

[完善] 个人中心页面
[接接口] 客服落地页
[修改] 商品详情页UI
[新增] 常见问题页UI
master
邓平艺 4 years ago
parent
commit
dc35cd9b86
  1. 1
      App.vue
  2. 1
      common/api.js
  3. 74
      common/styles/iconfont.css
  4. 13
      pages/contactService/index.vue
  5. 9
      pages/index/index.vue

1
App.vue

@ -85,6 +85,7 @@
@import './colorui/icon.css'; @import './colorui/icon.css';
@import "@/colorui/animation.css"; @import "@/colorui/animation.css";
@import '@/common/styles/common.css'; @import '@/common/styles/common.css';
@import "@/common/styles/iconfont.css";
/*每个页面公共css */ /*每个页面公共css */
// //
.btn-bottom { .btn-bottom {

1
common/api.js

@ -26,6 +26,7 @@ export const API_PRPAID = '/api/order/deal'
/* 个人中心相关 */ /* 个人中心相关 */
export const API_COLLECT_LIST = '/api/collect/list'; // 我的收藏列表 export const API_COLLECT_LIST = '/api/collect/list'; // 我的收藏列表
export const API_CONTACT = '/api/contact'; // 客服落地页信息
/* 用户相关 */ /* 用户相关 */
export const API_WXLOGIN = '/api/wxlogin'; // 用户登录 export const API_WXLOGIN = '/api/wxlogin'; // 用户登录

74
common/styles/iconfont.css

@ -0,0 +1,74 @@
@font-face {
font-family: "lf-iconfont"; /* Project id 2631569 */
src: url('//at.alicdn.com/t/font_2631569_rgieivs47oc.woff2?t=1624527625328') format('woff2'),
url('//at.alicdn.com/t/font_2631569_rgieivs47oc.woff?t=1624527625328') format('woff'),
url('//at.alicdn.com/t/font_2631569_rgieivs47oc.ttf?t=1624527625328') format('truetype');
}
.lf-iconfont {
font-family: "lf-iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.lf-icon-jia1:before {
content: "\e6d4";
}
.lf-icon-xiangyou-copy:before {
content: "\e623";
}
.lf-icon-dianhua:before {
content: "\e64c";
}
.lf-icon-shuaxin:before {
content: "\e60e";
}
.lf-icon-shibai:before {
content: "\e645";
}
.lf-icon-jianshao:before {
content: "\e663";
}
.lf-icon-cuo:before {
content: "\e63f";
}
.lf-icon-icon-test:before {
content: "\e61e";
}
.lf-icon-dizhi:before {
content: "\e612";
}
.lf-icon-fanhui-xianxing:before {
content: "\e641";
}
.lf-icon-weigouxuan:before {
content: "\e615";
}
.lf-icon-gouxuan-xianxing:before {
content: "\e616";
}
.lf-icon-jian1:before {
content: "\e646";
}
.lf-icon-chenggong:before {
content: "\e60a";
}
.lf-icon-fenxiangzhuanfa:before {
content: "\e74f";
}

13
pages/contactService/index.vue

@ -4,6 +4,7 @@
<view class="lf-color-gray">在线客服</view> <view class="lf-color-gray">在线客服</view>
<button class="btn" open-type="contact">在线联系</button> <button class="btn" open-type="contact">在线联系</button>
</view> </view>
<view class="lf-row-between item"> <view class="lf-row-between item">
<view class="lf-color-gray">服务时间</view> <view class="lf-color-gray">服务时间</view>
<view>10:0020:00</view> <view>10:0020:00</view>
@ -23,6 +24,7 @@
<text class="lf-m-l-20 lf-color-primary" @click="copy">复制</text> <text class="lf-m-l-20 lf-color-primary" @click="copy">复制</text>
</view> </view>
</view> </view>
<view class="lf-row-between item"> <view class="lf-row-between item">
<view class="lf-color-gray">当前版本</view> <view class="lf-color-gray">当前版本</view>
<view>{{ version }}</view> <view>{{ version }}</view>
@ -34,13 +36,22 @@
export default { export default {
data(){ data(){
return { return {
version: ''
version: '',
list: []
} }
}, },
onLoad(){ onLoad(){
this.version = this.API.VERSION; this.version = this.API.VERSION;
this.getInfo();
}, },
methods: { methods: {
//
getInfo(){
this.$http(this.API.API_CONTACT).then(res => {
console.log("info", res);
this.list = res.data;
})
},
// //
makePhoneCall(){ makePhoneCall(){
uni.makePhoneCall({ uni.makePhoneCall({

9
pages/index/index.vue

@ -155,9 +155,12 @@
this.getGoodsList(); this.getGoodsList();
uni.stopPullDownRefresh() uni.stopPullDownRefresh()
}, },
// onShareAppMessage(){
// }
onShareAppMessage(){
return {
title: '分享小程序',
path: '/pages/route/index'
}
}
} }
</script> </script>

Loading…
Cancel
Save