Compare commits
No commits in common. "840ba58aa6d68bc803a32c08cd95e0d547e03b7b" and "0de127d3518314a16da806908e7dbf20cd65f67b" have entirely different histories.
840ba58aa6
...
0de127d351
@ -365,14 +365,6 @@ export default {
|
|||||||
addrefundall({order_id,reason_info}) {
|
addrefundall({order_id,reason_info}) {
|
||||||
return vm.$u.post('order/add_refund_all',{order_id,reason_info})
|
return vm.$u.post('order/add_refund_all',{order_id,reason_info})
|
||||||
},
|
},
|
||||||
//提示文字
|
|
||||||
tips(){
|
|
||||||
return vm.$u.post('Shop/tips')
|
|
||||||
},
|
|
||||||
//内容
|
|
||||||
tipsinfo({document_code}){
|
|
||||||
return vm.$u.post('Shop/tipInfo',{document_code})
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,10 +37,6 @@
|
|||||||
<text>{{ goodsInfo.is_collect == 1 ? '已收藏' : '收藏' }}</text>
|
<text>{{ goodsInfo.is_collect == 1 ? '已收藏' : '收藏' }}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="shuliang">
|
|
||||||
<text>历史销售数量:{{goodsInfo.goods_salenum}}</text>
|
|
||||||
<text>库存仅剩数量:{{goodsInfo.goods_storage}}</text>
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
<view class="hr"></view>
|
<view class="hr"></view>
|
||||||
<!-- <navs :value="领券"></navs> -->
|
<!-- <navs :value="领券"></navs> -->
|
||||||
@ -780,14 +776,6 @@ export default {
|
|||||||
.goods-name {
|
.goods-name {
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
.shuliang{
|
|
||||||
padding-top: 33rpx;
|
|
||||||
font-size: 24rpx;
|
|
||||||
color:#656565;
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
}
|
||||||
.price-collect {
|
.price-collect {
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -1264,7 +1252,6 @@ export default {
|
|||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
color: #ff3131;
|
color: #ff3131;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.num {
|
.num {
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
<template>
|
|
||||||
<view class="u-content">
|
|
||||||
<u-parse :html="info"></u-parse>
|
|
||||||
|
|
||||||
</view>
|
|
||||||
</template>
|
|
||||||
<style lang="scss" scoped>
|
|
||||||
|
|
||||||
</style>
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
data(){
|
|
||||||
return {
|
|
||||||
info:""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
onLoad(o){
|
|
||||||
console.log(o.id)
|
|
||||||
this.$u.api.tipsinfo({document_code:o.id}).then((res)=>{
|
|
||||||
console.log(JSON.stringify(res))
|
|
||||||
uni.setNavigationBarTitle({
|
|
||||||
title: res.data.document_title
|
|
||||||
});
|
|
||||||
this.info = res.data.document_content
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
11
pages.json
11
pages.json
@ -80,17 +80,6 @@
|
|||||||
{
|
{
|
||||||
"root": "pageB",
|
"root": "pageB",
|
||||||
"pages": [
|
"pages": [
|
||||||
{
|
|
||||||
"path": "tipsinfo/index",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "",
|
|
||||||
"app-plus":{
|
|
||||||
"titleNView":{
|
|
||||||
"backgroundColor":"#ffffff"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"path": "playVideo/index",
|
"path": "playVideo/index",
|
||||||
"style": {
|
"style": {
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<u-swiper :list="list" mode="dot" @click="clickImage"></u-swiper>
|
<u-swiper :list="list" mode="dot" @click="clickImage"></u-swiper>
|
||||||
</view>
|
</view>
|
||||||
<view class="chengnuo">
|
<view class="chengnuo">
|
||||||
<!-- <view>
|
<view>
|
||||||
<image src="/static/image/shop/4.png"></image>
|
<image src="/static/image/shop/4.png"></image>
|
||||||
<text>免费洗衣</text>
|
<text>免费洗衣</text>
|
||||||
</view>
|
</view>
|
||||||
@ -32,10 +32,6 @@
|
|||||||
<view>
|
<view>
|
||||||
<image src="/static/image/shop/7.png"></image>
|
<image src="/static/image/shop/7.png"></image>
|
||||||
<text>上门取件</text>
|
<text>上门取件</text>
|
||||||
</view> -->
|
|
||||||
<view v-for="(item,index) in tips" :key="index" @click="totips(item.document_code)">
|
|
||||||
<image :src="item.file_name"></image>
|
|
||||||
<text>{{item.document_title}}</text>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="fenlei">
|
<view class="fenlei">
|
||||||
@ -99,14 +95,12 @@
|
|||||||
pinTuanPush: {}, // 拼团推荐
|
pinTuanPush: {}, // 拼团推荐
|
||||||
activityInfo: {},
|
activityInfo: {},
|
||||||
areaList: [], // 位置信息
|
areaList: [], // 位置信息
|
||||||
tips:[]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
this.getShopTopList();
|
this.getShopTopList();
|
||||||
this.getLocation(); // 获取定位
|
this.getLocation(); // 获取定位
|
||||||
this.getStoreActivity();
|
this.getStoreActivity();
|
||||||
this.gettips()
|
|
||||||
// this.area = uni.getStorageSync("address") || "请选择";
|
// this.area = uni.getStorageSync("address") || "请选择";
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
@ -116,21 +110,6 @@
|
|||||||
this.getAllLoaction(); // 获取位置
|
this.getAllLoaction(); // 获取位置
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
totips(id){
|
|
||||||
this.$u.route({
|
|
||||||
type:"to",
|
|
||||||
url:"/pageB/tipsinfo/index",
|
|
||||||
params:{
|
|
||||||
id
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
|
||||||
gettips(){
|
|
||||||
this.$u.api.tips().then((res)=>{
|
|
||||||
console.log(res)
|
|
||||||
this.tips = res.data
|
|
||||||
})
|
|
||||||
},
|
|
||||||
sousuo() {
|
sousuo() {
|
||||||
// console.log(123)
|
// console.log(123)
|
||||||
this.$u.route({
|
this.$u.route({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user