123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- <template>
- <view class="orderQuery">
- <u-toast ref="uToast" />
- <!-- 切换 -->
- <view class="tap">
- <view class="li" @tap=" indexUrl('phoneListInit')">
- <image src="../../static/img/tapimg1.png" mode=""></image>
- <text>全国靓号</text>
- </view>
- <view class="li" @tap=" indexUrl('loca')">
- <image src="../../static/img/tapimg2.png" mode=""></image>
- <text>本地靓号</text>
- </view>
- <view class="li" @tap="flow()">
- <image src="../../static/img/tapimg3.png" mode=""></image>
- <text v-if="configAll.system_index_m1==1">流量卡</text>
- <text v-if="configAll.system_index_m1==2">号码定制</text>
- <text v-if="configAll.system_index_m1==3">特价号</text>
- </view>
- <view class="li">
- <view class="buttonType">
- <button open-type="contact">
- <image src="../../static/img/tapimg4.png" mode=""></image>
- <text>联系客服</text>
- </button>
- </view>
- </view>
- <view class="li">
- <image src="../../static/img/tapimg5.png" mode=""></image>
- <text>订单查询</text>
- </view>
- </view>
- <view class="query">
- <u-input v-model="mobile" placeholder-style="font-size:26rpx;" :clearable="false" placeholder="请输入您下单时联系人手机号"/>
- <view class="btn" @tap="orderList()">
- 查询
- </view>
- </view>
-
-
- <!-- 联系客服 -->
- <w-Load :wx="wx" v-on:childByValue="childByValue"></w-Load>
- </view>
- </template>
- <script>
- import wLoad from "@/components/w-load/w-load.vue"
- export default {
- data() {
- return {
- wx:false,
- mobile:'',
- }
- },
- components:{
- wLoad : wLoad
- },
- onLoad() {
- let _this=this;
- },
- methods: {
- indexUrl(val){
- uni.navigateTo({
- url: '/pages/index/index?type='+val,
- })
- },
- // 特价号跳转
- flow(){
- if(this.configAll.system_index_m1==1){
- uni.navigateTo({
- url: '/pages/flow/flow',
- })
- }else if(this.configAll.system_index_m1==2){
- uni.navigateTo({
- url: '/pageA/customized/customized',
- })
- }else{
- uni.navigateTo({
- url: '/pages/index/index?system_index_m1='+this.configAll.system_index_m1,
- })
- }
- },
- childByValue: function (childValue) {
- this.wx = childValue
- },
- orderList(){
- uni.navigateTo({
- url: '/pageA/orderList/orderList?mobile='+this.mobile,
- })
- },
- }
- }
- </script>
- <style lang="scss">
- .orderQuery{
- .query{
- position: relative;
- width: 680rpx;
- margin: 50rpx auto;
- border: 1rpx solid $uni-color-BGC;
- border-radius: 20rpx;
- /deep/ input{
- padding-left: 20rpx;
- }
- .btn{
- position: absolute;
- right: 0;
- top:0;
- width: 120rpx;
- height: 100%;
- background-color: $uni-color-BGC;
- text-align: center;
- line-height: 70rpx;
- border-radius: 20rpx;
- font-size: 24rpx;
- color: #fff;
- z-index: 10;
- }
- }
- .tap{
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- margin-top: 24rpx;
- .li{
- width: 150rpx;
- text-align: center;
- image{
- width: 82rpx;
- height: 82rpx;
- }
- text{
- display: inline-block;
- width: 100%;
- font-size: 24rpx;
- color: #716F6F;
- }
- }
- }
-
-
- }
- </style>
|