This commit is contained in:
许允枞 2025-03-03 15:32:31 +08:00
parent 5ec63b9f84
commit 0ee566077f
10 changed files with 137 additions and 109 deletions

View File

@ -2,8 +2,8 @@
<view class="bottoms">
<view class="box" @click="getgogo(1)">
<view class="imgs">
<image src="../../static/detection/sy.png" v-show="aindex == 1" ></image>
<image src="../../static/detection/syw.png" v-show="aindex != 1" ></image>
<image src="../../static/tabBar/homex.png" v-show="aindex == 1" ></image>
<image src="../../static/tabBar/home.png" v-show="aindex != 1" ></image>
</view>
<view class="xzz" v-show="aindex == 1">首页</view>
<view class="wxz" v-show="aindex != 1">首页</view>
@ -14,8 +14,8 @@
<view class="hongdian" v-if=" chuan != 0">
{{chuan}}
</view>
<image src="../../static/detection/dd.png" v-show="aindex == 2"></image>
<image src="../../static/detection/ddw.png" v-show="aindex != 2"></image>
<image src="../../static/tabBar/noticex.png" v-show="aindex == 2"></image>
<image src="../../static/tabBar/notice.png" v-show="aindex != 2"></image>
</view>
<view class="xzz" v-show="aindex == 2">通知</view>
<view class="wxz" v-show="aindex != 2">通知</view>
@ -24,8 +24,8 @@
<view class="box" @click="getgogo(3)">
<view class="imgs">
<image src="../../static/detection/wd.png" v-show="aindex == 3"></image>
<image src="../../static/detection/wdw.png" v-show="aindex != 3"></image>
<image src="../../static/tabBar/myx.png" v-show="aindex == 3"></image>
<image src="../../static/tabBar/my.png" v-show="aindex != 3"></image>
</view>
<view class="xzz" v-show="aindex == 3">我的</view>
<view class="wxz" v-show="aindex != 3">我的</view>
@ -199,8 +199,8 @@
.imgs{
margin: 0 auto;
margin-top: 10px;
width: 18px;
height: 16px;
width: 22px;
height: 20px;
image{
width: 100%;
height: 100%;

View File

@ -360,7 +360,7 @@
margin: 0px auto;
}
.lan{
color: #0D2E8D;
color: black;
}
.rbox{
width: 100%;
@ -416,7 +416,7 @@
.tb1{
font-size: 25px;
font-weight: 600;
color: #0D2E8D;
color: black;
}
.xhui{
font-size: 15px;

View File

@ -1,14 +1,17 @@
<template>
<view class="content">
<view class="top-heder">
<view class="t-left" @click="getback()">
<uni-icons type="left" size="18"></uni-icons>
</view>
<view class="t-title">
<text>检测详情</text>
</view>
<view class="t-you"></view>
</view>
<!-- <view class="top-heder">-->
<!-- <view class="t-left" @click="getback()">-->
<!-- <uni-icons type="left" size="18"></uni-icons>-->
<!-- </view>-->
<!-- <view class="t-title">-->
<!-- <text>检测详情</text>-->
<!-- </view>-->
<!-- <view class="t-you"></view>-->
<!-- </view>-->
<headersVue titles="检测详情" style="position: static !important;">
<u-icon name="arrow-left" color="#fff" size="18"></u-icon>
</headersVue>
<view class="x-box">
<view class="box-dis">
<view class="shop-img">
@ -216,7 +219,7 @@
</view>
</view>
<view class="bottomx" @click="submit()">
<uni-icons type="compose" color="#0D2E8D" size="20"></uni-icons>
<uni-icons type="compose" color="#0174F6" size="20"></uni-icons>
<text>提交</text>
</view>
</view>
@ -292,8 +295,10 @@
import config from '@/config'
import request from '../../utils/request';
import upload from '@/utils/upload.js'
import headersVue from "@/components/header/headers.vue";
export default {
components: {headersVue},
data() {
return {
baseImageUrl: this.$baseImageUrl,
@ -708,6 +713,7 @@ export default {
})
if (bankRes.code == 200) {
let tempList = []
this.bankList = []
if (bankRes.data && bankRes.data.length > 0) {
bankRes.data.forEach(it => {
tempList.push((it.remark) + it.label)
@ -811,7 +817,7 @@ image {
}
.lantong {
background-color: #0D2E8D !important;
background-color: #0174F6 !important;
color: white;
}
@ -921,11 +927,11 @@ image {
height: 46px;
border-radius: 6px 6px 6px 6px;
opacity: 1;
border: 1px solid #0D2E8D;
border: 1px solid #0174F6;
display: flex;
align-items: center;
justify-content: center;
color: #0D2E8D;
//color: #0174F6;
}
.bottomxx {
@ -936,8 +942,8 @@ image {
height: 46px;
border-radius: 50%;
opacity: 1;
border: 1px solid #0D2E8D;
background: #0D2E8D;
border: 1px solid #0174F6;
background: #0174F6;
display: flex;
align-items: center;
justify-content: center;

View File

@ -1,17 +1,20 @@
<template>
<view class="content">
<view class="top-heder">
<view class="t-left" @click="getback()">
<uni-icons type="left" size="18"></uni-icons>
</view>
<view class="t-title">
<text>我的钱包</text>
</view>
<view class="t-you"></view>
</view>
<!-- <view class="top-heder">-->
<!-- <view class="t-left" @click="getback()">-->
<!-- <uni-icons type="left" size="18"></uni-icons>-->
<!-- </view>-->
<!-- <view class="t-title">-->
<!-- <text>我的钱包</text>-->
<!-- </view>-->
<!-- <view class="t-you"></view>-->
<!-- </view>-->
<headersVue titles="我的钱包" style="position: static !important;">
<u-icon name="arrow-left" color="#fff" size="18"></u-icon>
</headersVue>
<view class="mubu">
<view class="lan-box">
<view class="cont-box">
<view class="c-left">
<view class="c-bt">总收益</view>
@ -38,7 +41,7 @@
</view>
</view> -->
</view>
<view class="bai-box" v-if="alist&&alist.length>0">
<!-- <view class="hui">2023-08</view> -->
<view class="on-box" v-for="(item,index) in alist" :key="index">
@ -58,19 +61,20 @@
<view class="ob-lv" v-if="item.type == 0">+{{item.changeAmount/100}}</view>
<view class="ob-hong" v-if="item.type == 1">-{{item.changeAmount/100}}</view>
</view>
</view>
</view>
<view class="" v-else>
<image src="http://www.nuoyunr.com/lananRsc/detection/qs.png" mode=""></image>
</view>
</view>
</view>
</view>
</template>
<script>
import config from '@/config'
import request from '../../utils/request';
import tabBar from'../../components/tabBar/tabBar.vue'
import headersVue from "@/components/header/headers.vue";
export default {
data() {
return {
@ -91,6 +95,7 @@
this.getshouru()
},
components:{
headersVue,
tabBar,
},
methods: {
@ -103,7 +108,7 @@
let ress = await request({
url:'/partnerOwn/partner/shopInfo',
method: 'get',
})
})
this.user = ress.data
},
async getshouru(){
@ -142,7 +147,7 @@
width: 100%;
height: calc(100vh);
background: #F4F4F4;
padding-top: 45px;
//padding-top: 45px;
}
.top-heder{
width: 100%;
@ -230,7 +235,7 @@
}
.mubu{
width: 100%;
background: #F4F4F4;
box-sizing: border-box;
padding: 10px 15px;
@ -326,7 +331,7 @@
display: flex;
justify-content: space-between;
align-items: center;
}
.c-left{
width: 50%;
@ -395,7 +400,7 @@
box-sizing: border-box;
width: 100%;
padding: 15px;
margin-bottom: 10px;
}
.dian-top{
@ -429,4 +434,4 @@
padding-bottom: 10px;
margin-bottom: 10px;
}
</style>
</style>

View File

@ -1,16 +1,20 @@
<!-- 店铺-->
<template>
<view class="content">
<view style="width: 100%; height: 44px;"></view>
<view class="top-heder">
<view class="t-left" @click="getback()">
<uni-icons type="left" size="18"></uni-icons>
</view>
<view class="t-title">
<text>店铺管理</text>
</view>
<view class="t-you"></view>
</view>
<!-- <view style="width: 100%; height: 44px;"></view>-->
<!-- <view class="top-heder">-->
<!-- <view class="t-left" @click="getback()">-->
<!-- <uni-icons type="left" size="18"></uni-icons>-->
<!-- </view>-->
<!-- <view class="t-title">-->
<!-- <text>店铺管理</text>-->
<!-- </view>-->
<!-- <view class="t-you"></view>-->
<!-- </view>-->
<headersVue titles="店铺管理" style="position: static !important;">
<u-icon name="arrow-left" color="#fff" size="18"></u-icon>
</headersVue>
<view class="mub">
<view class="top-ail">
@ -22,10 +26,10 @@
name="6"
multiple
:maxCount="1"
width="355px"
width="395px"
height="126px"
>
<image src="../../static/detection/dplogo.png" style="width: 344px;height: 126px;"></image>
<image src="../../static/detection/dplogo.png" style="width: 395px;height: 126px;"></image>
</u-upload>
<view class="top">
<!-- -->
@ -44,7 +48,7 @@
</view>
</view>
<view class="tb-right" @click="getmap()">
<uni-icons type="location-filled" color=" #0D2E8D" size="26"></uni-icons>
<uni-icons type="location-filled" color=" #0174F6" size="26"></uni-icons>
<!-- <image src="../../static/dingwei.png" mode=""></image> -->
</view>
</view>
@ -124,7 +128,9 @@
import config from '@/config';
import request from '../../utils/request';
import upload from '@/utils/upload.js'
import headersVue from "@/components/header/headers.vue";
export default {
components: {headersVue},
data() {
return {
baseUrl:this.$baseUrl,
@ -645,7 +651,7 @@
.dlanniu{
width: 80%;
height: 45px;
background: linear-gradient(180deg, #3F61C0 0%, #0D2E8D 100%);
background: linear-gradient(180deg, #0174F6 0%, #0174F6 100%);
border-radius: 50px;
display: flex;
align-items: center;

View File

@ -2,16 +2,19 @@
<template>
<view class="content">
<view style="width: 100%; height: 44px;"></view>
<view class="top-heder">
<view class="t-left" @click="getback()">
<uni-icons type="left" size="18"></uni-icons>
</view>
<view class="t-title">
<text>编辑价格</text>
</view>
<view class="t-you"></view>
</view>
<!-- <view style="width: 100%; height: 44px;"></view>-->
<!-- <view class="top-heder">-->
<!-- <view class="t-left" @click="getback()">-->
<!-- <uni-icons type="left" size="18"></uni-icons>-->
<!-- </view>-->
<!-- <view class="t-title">-->
<!-- <text>编辑价格</text>-->
<!-- </view>-->
<!-- <view class="t-you"></view>-->
<!-- </view>-->
<headersVue titles="编辑价格" style="position: static !important;">
<u-icon name="arrow-left" color="#fff" size="18"></u-icon>
</headersVue>
<!-- <view class="top-heder">
<view class="t-left" @click="getback()">
<uni-icons type="left" size="18"></uni-icons>
@ -21,7 +24,7 @@
</view>
<view class="t-you"></view>
</view> -->
<u-collapse accordion :value="'0'" style="margin-top: 15px;">
<u-collapse-item :name="index" :title="item.skuName" v-for="(item, index) in releasebox.skuList" :key="index">
<view class="list-box">
@ -43,11 +46,11 @@
</view>
</view>
</u-collapse-item>
</u-collapse>
</u-collapse>
<view class="dlanniu" @click="getgoods()" >
<text>提交</text>
</view>
</view>
</template>
@ -55,7 +58,9 @@
import config from '@/config';
import request from '../../utils/request';
import upload from '@/utils/upload.js'
import headersVue from "@/components/header/headers.vue";
export default {
components: {headersVue},
data() {
return {
baseUrl:this.$baseUrl,
@ -86,7 +91,7 @@
skuList:[
{skuName:'安检',price:''},
{skuName:'环检',price:''},
{skuName:'安检+环检',price:''},
{skuName:'安检+环检',price:''},
]
}
}
@ -97,9 +102,9 @@
mounted() {
this.releasebox.partnerId = uni.getStorageSync('partnerId')
this.getindex()
},
methods: {
async getindex(){
//
@ -107,7 +112,7 @@
url:'/partnerOwn/partner/goodsDetail?goodsId='+this.releasebox.id,
method: 'get',
})
console.log(resx);
this.releasebox = resx.data
this.releasebox.skuList.forEach(it=>{
@ -115,11 +120,11 @@
it.ygPrice = it.ygPrice/100
it.dwPrice = it.dwPrice/100
})
},
async getgoods(){
let reqData = JSON.parse(JSON.stringify(this.releasebox))
reqData.skuList.forEach(it=>{
it.dbPrice = it.dbPrice*100
@ -139,14 +144,14 @@
uni.navigateBack()
}, 1000);
}
},
getback(){
uni.navigateBack()
},
}
}
</script>
@ -164,7 +169,7 @@
height: calc(100vh);
background: white;
}
.top-heder{
width: 100%;
height: 46px;
@ -197,7 +202,7 @@
padding: 0 15px;
display: flex;
align-items: center;
}
.top-ail{
width: 100%;
@ -219,7 +224,7 @@
height: 126px;
border-radius: 8px;
box-sizing: border-box;
background-color: white;
image{
width: 100%;
@ -278,7 +283,7 @@
align-items: center;
justify-content: center;
margin: 10px ;
}
.hui-right{
border-left:1px solid #DDDDDD;
@ -335,7 +340,7 @@
display: flex;
align-items: center;
box-sizing: border-box;
}
.ipt-kuang{
width: 70%;
@ -359,7 +364,7 @@
.dlanniu{
width: 80%;
height: 45px;
background: linear-gradient(180deg, #3F61C0 0%, #0D2E8D 100%);
background: #0174F6;
border-radius: 50px;
display: flex;
align-items: center;

View File

@ -25,7 +25,7 @@
width="345px"
height="126px"
>
<image src="../../static/detection/tjspfmt.png" style="width: 345px;height: 126px;"></image>
<image src="../../static/detection/newtjspfmt.png" style="width: 395px;height: 126px;"></image>
</u-upload>
</view>
@ -626,7 +626,7 @@ import code from '../../uni_modules/uview-ui/libs/config/props/code';
.dlanniu{
width: 80%;
height: 45px;
background: linear-gradient(180deg, #3F61C0 0%, #0D2E8D 100%);
background: #0174F6;
border-radius: 50px;
display: flex;
align-items: center;

View File

@ -1,16 +1,20 @@
<!-- -->
<template>
<view class="content">
<view class="top-heder">
<view class="t-left" @click="getfan()">
<uni-icons type="left" size="18"></uni-icons>
</view>
<view class="c-title">安全</view>
<view style="width: 5%; height: 10px;"></view>
</view>
<!-- <view class="top-heder">-->
<!-- <view class="t-left" @click="getfan()">-->
<!-- <uni-icons type="left" size="18"></uni-icons>-->
<!-- </view>-->
<!-- <view class="c-title">安全</view>-->
<!-- <view style="width: 5%; height: 10px;"></view>-->
<!-- -->
<!-- </view>-->
<headersVue titles="安全" style="position: static !important;">
<u-icon name="arrow-left" color="#fff" size="18"></u-icon>
</headersVue>
<view class="mub">
<view class="xnmbox" @click="gochangepassword()">
<view class="">修改密码</view>
@ -21,15 +25,17 @@
</view>
<!-- 底部 -->
</view>
</template>
<script>
import config from '@/config'
import request from '../../utils/request';
import headersVue from "@/components/header/headers.vue";
export default {
components: {headersVue},
data() {
return {
msg:'3',
@ -51,11 +57,11 @@
onLoad() {
},
onShow() {
// this.baseUrl = this.$baseUrl
this.partnerId = uni.getStorageSync('partnerId')
},
methods: {
getfan(){
@ -108,14 +114,14 @@
padding: 0 15px;
display: flex;
align-items: center;
}
.top-ail{
width: 100%;
box-sizing: border-box;
padding: 15px;
background-color: #F4F4F4;
}
.sou{
width: 10%;
@ -148,7 +154,7 @@
display: flex;
justify-content: space-between;
align-items: center;
}
.tap-box{
width: 50%;
@ -205,7 +211,7 @@
font-size: 15px;
font-weight: 400;
color: #999999;
}
.s-ju{
font-size: 18px;

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

BIN
static/imgs/newXiaooxi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB